[Samba] Re: SAMBA3 + LDAP

Craig White craigwhite at azapple.com
Mon Dec 19 14:31:17 GMT 2005

On Mon, 2005-12-19 at 15:19 +0100, Louis van Belle wrote:
> wel, 
> index objectClass eq,pres
> index ou,cn,mail,surname,givenname eq,pres,sub
> index loginShell eq,pres
> index nisMapName,nisMapEntry eq,pres,sub
> index displayName eq,pres,sub
> index uidNumber eq
> index gidNumber eq
> index memberUID eq
> index sambaSID eq
> index sambaPrimaryGroupSID eq
> index default sub 
> one of these is wrong, of you did not run 
> slapindex
> stop the ldap server
> slapindex
> start the ldap server
on RHEL 4...this would necessarily be...

service ldap stop
chown -R ldap:ldap /var/lib/ldap
service ldap start

when you run slapindex as root, new index files are root:root and that
doesn't work for openldap which runs as user ldap.


More information about the samba mailing list