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

Doug Campbell doug at bpta.net
Fri Feb 25 10:10:01 GMT 2005


I am using Samba 3.0.10-1 on Fedora Core 3.  Most everything seems to be
working as I expect it to except when I try to use the srvtools package to
administrate the users and groups in the domain.

I want to check and see whether maybe I am just misunderstanding usage as
opposed to their being a configuration problem.

If I log into my workstation as Administrator, either the local account or
into the domain.  I can administrate the server using the srvtools.

But if I login as a user who is in the Administrators group, Domain Admins
group and I even added the user to the root group and I try to run srvtools.
I can view all the settings but when I try to submit changes I get the
following error showing up in the smbd.log file:

smbldap_open: cannot access LDAP when not root...

Is this normal?  I would think that Samba would check and see that I am a
part of the Domain Admins group and allow the changes I have submitted but
it doesn't want to allow anyone but root to access LDAP.

Appreciate any insight on this.

Thanks!



More information about the samba mailing list