[Samba] Srvtools causes smbldap_open: cannot access LDAP when not root

Tony Earnshaw tonye at billy.demon.nl
Tue Mar 1 10:07:35 GMT 2005

Sergey Loskutov:


> samba have next code in smbldap.c:
> if (geteuid() != 0) { DEBUG(0, ("smbldap_open: cannot access LDAP when not
> root..\n")); return  LDAP_INSUFFICIENT_ACCESS; }
> #endif
> If you user account not have uid=0 sometimes you have a problem
> described above.

This would be it, yes. This is covered in the Samba (3.0) docs.


mail: tonye at billy.demon.nl

More information about the samba mailing list