[Samba] smbldap.c
Antoine Jacoutot
ajacoutot at lphp.org
Tue Sep 16 14:21:49 GMT 2003
Hi !
I was just wondering if that piece of code was important (for security
and such), because I had to comment it in smbldap.c before compiling
samba-3.0; otherwise, I would have errors like:
"(Insufficient access)smbldap_open: cannot access LDAP when not root"
#ifndef NO_LDAP_SECURITY
if (geteuid() != 0) {
DEBUG(0, ("smbldap_open: cannot access LDAP when not
root..\n"));
return LDAP_INSUFFICIENT_ACCESS;
}
#endif
Thanks in advance for your answer.
Antoine
More information about the samba
mailing list