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

2005-03-01 Thread Craig White
On Wed, 2005-03-02 at 10:40 +0800, Doug Campbell wrote: > > > > Yes. I have to agree with Craig White here (I usually do ;) LDAP for me is > > the be-all and end-all. i use it for across-platform authentication in > > production for *everything* It is the corner stone to all services that my > > u

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

2005-03-01 Thread Doug Campbell
> > I don't have any certificates to deal with as I am not using SSL/TLS. I > > actually tried to do this as a learning exercise but couldn't get it to > > work based on the documentation I read. > > Try http://www.openldap.org/pub/ksoper/OpenLDAP_TLS_howto.html I will check that out. [snip] > >

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

2005-03-01 Thread Tony Earnshaw
Doug Campbell: [...] > Sorry, I forgot to put some of these answers in last time :( > > > slapd appears to be running as user ldap when I run ps aux > > I enabled it to start automatically on boot up using the chkconfig > utility in FC3. > > All config files are owned by root and have root as t

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

2005-03-01 Thread Tony Earnshaw
Sergey Loskutov: [...] > samba have next code in smbldap.c: > > #ifndef NO_LDAP_SECURITY > 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

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

2005-03-01 Thread Doug Campbell
l Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Tony > Earnshaw > Sent: Monday, February 28, 2005 9:41 PM > To: samba@lists.samba.org > Subject: RE: [Samba] Srvtools causes smbldap_open: cannot access LDAP > when not root > > > > Doug Ca

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

2005-02-28 Thread Craig White
On Tue, 2005-03-01 at 09:01 +0800, Doug Campbell wrote: > > Doug Campbell: > > > > [...] > > > > >>> smbldap_open: cannot access LDAP when not root... > > > > [...] > > > > >> As which user (Unix) is slapd (presume this is OpenLDAP)running? > > >> Do you have an 'ldap admin dn' entry in smb.conf wi

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

2005-02-28 Thread Doug Campbell
> Doug Campbell: > > [...] > > >>> smbldap_open: cannot access LDAP when not root... > > [...] > > >> As which user (Unix) is slapd (presume this is OpenLDAP)running? > >> Do you have an 'ldap admin dn' entry in smb.conf with rights > to all LDAP > >> ACLs? > >> > >> > >> I.e., I don't have this p

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

2005-02-28 Thread Sergey Loskutov
Tony Earnshaw: Doug Campbell: [...] smbldap_open: cannot access LDAP when not root... [...] As which user (Unix) is slapd (presume this is OpenLDAP)running? Do you have an 'ldap admin dn' entry in smb.conf with rights to all LDAP ACLs? I.e., I don't have this problem with Samba 3.0.11/OL 2.2.17-

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

2005-02-28 Thread Tony Earnshaw
Doug Campbell: [...] >>> smbldap_open: cannot access LDAP when not root... [...] >> As which user (Unix) is slapd (presume this is OpenLDAP)running? >> Do you have an 'ldap admin dn' entry in smb.conf with rights to all LDAP >> ACLs? >> >> >> I.e., I don't have this problem with Samba 3.0.11/

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

2005-02-27 Thread Doug Campbell
> > 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 > >

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

2005-02-26 Thread Tony Earnshaw
Doug Campbell: > 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

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

2005-02-25 Thread Doug Campbell
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 co