[Samba] SMBLDAP tools reports "modifications require authentication at /usr/sbin//smbldap_tools.pm" but manually command works.

Mike A. Leonetti mleonetti at evolutionce.com
Mon Mar 29 12:01:48 MDT 2010


Mike A. Leonetti wrote:
> Every time I try and join a Vista system to the domain I get this error
> in the log:
>
> [2010/03/26 15:18:58, 0] smbd/service.c:make_connection(1191)
>   april (192.168.1.194) couldn't find service public
> Error: modifications require authentication at
> /usr/sbin//smbldap_tools.pm line 1083.
> [2010/03/26 15:19:16, 0] passdb/pdb_interface.c:pdb_default_create_user(329)
>   _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
> "april$"' gave 1
>
>
> But when I run the command above manually it works fine:
> evoserver ~ # /usr/sbin/smbldap-useradd -w "april$"
> Cannot confirm uidNumber 1014 is free: checking for the next one
> Cannot confirm uidNumber 1015 is free: checking for the next one
> Cannot confirm uidNumber 1016 is free: checking for the next one
> Cannot confirm uidNumber 1017 is free: checking for the next one
> evoserver ~ # /usr/sbin/smbldap-useradd -w "april$"
> /usr/sbin/smbldap-useradd: user april$ exists
>
> What could be the difference from what Samba does and what I do?
>   
After adding the machine myself I got the following error:
smbldap_open: cannot access LDAP when not root..

Which was solved by updating samba to 3.3.10.


More information about the samba mailing list