[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

The get_next_id-error was fixed with this:

[Petter Reinholdtsen]
> Checked the original and the library, and thus function is now called
> user_next_uid(); Try editing machineadd-gosa and replace
> 'get_next_id($config{usersdn}, "uidNumber" );' with
> 'user_next_uid();'.

And I am now able to join the domain from a Windows XP PC :-)

However, I'm still unable to log in.

I get the error: "The system could not log you on. Make sure your User name 
and domain are correct, then type the password again". My 
/var/log/samba/log.static21 only contains:
[2013/08/08 07:27:52.459238,  0] 
  pdb_increment_bad_password_count: pdb_get_account_policy failed.

In Gosa, in have tried both to add the PC-entry before joining the domain 
(Create, Workstation as didn't find any winstation entry in the menu) and not 
adding it (letting join domain add the entry).

In the first case the entry shows up in Gosa as static 21. I am able to set 
Activated mode and view and set NIS netgroups (added only winstations-hosts).

In the second case the entry shows up in Gosa as static21$ with a windows icon 
in the second column. But I have no "Activated" mode drop-down box and when I 
go to the NIS netgroups tab, it shows: 
  "This host cannot be added to NIS Netgroups
  Only hosts with a fully qualified domain name or those with DNS settings
  enabled in GOsa can be added to NIS Netgroups!"

I have enabled DHCP and DNS for static21 so this should not be the problem.

Arne Sørli

Reply to: