[Samba] help on lib/smbldap.c:smbldap_open(1009) smbldap_open: cannot access LDAP when not root..

Ricardo Dias Campos rdcampos at rsi.com.br
Thu Apr 19 14:02:02 GMT 2007


Hi, James.

Thank you for your reply.

On Wed, 18 Apr 2007, James Tran wrote:

> Did you notice this line?
> smbldap_open: cannot access LDAP when not root..

Yes, I did.

> might have your binding ldap directives incorrect

May be you are right but this could not explain why everything functions
OK. People can log into the server, can share files and so on.
Nevertheless I get thousands of messages like that all the time making the
system slow. By the way, making the system slow and a lot of log messages
are the only 'sensible' problems, if you understand.

Another thing I could not understand is why we have the option in smbldap
of not having the test if geteuid is root. As I could recompile smbd
taking this test out it seems to be unnecessary...

Thank you again for your reply. I'll dive into the conf files
looking for any ldap misconfigurations.

Ricardo.



More information about the samba mailing list