[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"

         if (geteuid() != 0) {
                 DEBUG(0, ("smbldap_open: cannot access LDAP when not 
                 return  LDAP_INSUFFICIENT_ACCESS;

Thanks in advance for your answer.


More information about the samba mailing list