[rhelv6-list] LDAP and Samba question

Götz Reinicke - IT-Koordinator goetz.reinicke at filmakademie.de
Fri Dec 10 08:16:32 UTC 2010


Am 09.12.10 20:38, schrieb Peter Ruprecht:
> Peter Ruprecht wrote:
>> Hi,
>>
>> I'm trying to replicate a setup that worked fine in RHEL 5 on a new
>> RHEL6 server.  I need to set up samba to get authentication and other
>> user info from a local openldap directory.
>>
>> But, I can't for the life of me get ldap to load the samba.schema file
>> (part of the samba rpm).
>>
>> Here's part of my /etc/openldap/slapd.conf file:
>>
>> include         /etc/openldap/schema/corba.schema
>> include         /etc/openldap/schema/core.schema
>> include         /etc/openldap/schema/cosine.schema
>> include         /etc/openldap/schema/duaconf.schema
>> include         /etc/openldap/schema/dyngroup.schema
>> include         /etc/openldap/schema/inetorgperson.schema
>> include         /etc/openldap/schema/java.schema
>> include         /etc/openldap/schema/misc.schema
>> include         /etc/openldap/schema/nis.schema
>> include         /etc/openldap/schema/openldap.schema
>> include         /etc/openldap/schema/ppolicy.schema
>> include         /etc/openldap/schema/samba.schema
>> include         /etc/openldap/schema/collective.schema
>>
>> and the samba.schema file is where it should be:
>>
>> # ls -l /etc/openldap/schema/samba.schema
>> -rw-r--r--. 1 root root 20221 Oct 13 10:38
>> /etc/openldap/schema/samba.schema
>>
>> But when I start slapd I see in its log that it reads all the include
>> files except samba.schema.  I hope I'm just doing something dumb;
>> maybe one of you has a quick guess what that might be?
>>
> 
> As always, just after posting, the answer becomes clear!  It looks like
> the current RHEL version of openldap uses the cn=... files in
> /etc/openldap/slapd.d in addition to info in slapd.conf.  The cn= files
> apparently need to be recreated using slaptest after changing slapd.conf.


I was faced with a similiar situation....and it is described in the
migration manual :-)

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Migration_Planning_Guide/index.html#id2161468

	/Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reinicke at filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner

Geschäftsführer:
Prof. Thomas Schadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6656 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/rhelv6-list/attachments/20101210/792d79c8/attachment.p7s>


More information about the rhelv6-list mailing list