[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: samba and openldap configuration



Bill Dossett wrote:
> 
> Hi,
> 
> I'm working my way thru configuring samba to use openldap
> and seem to have hit upon a weird problem quite near the
> start.
> 
> I'm not sure if it's better to ask on the samba list or the ldap
> list but thought I'd try here first to see if anyone has seen this
> error message.
> 
> I'm following the document samba-ldap-howto on samba.org
> and it says to include:
> 
> include /etc/openldap/schema/samba.schema
> 
> in my slapd.conf which I have done.  I have copied
> the samba.schema to this location as well.
> 
> When I restarted ldap, it complains:
> 
> /etc/openldap/schema/samba.schema: line 147: AttributeType not found:
> "uidNumber"
> 
> Does anyone know why this is happening?  I am using samba-2.2.5
> and RedHat rpm of ldap labeled 2.0.23-4... open ldap server is working
> fine until I add this line.
> 
> Thanks
> 
> Bill

Don't forget to include nis.schema on top of samba.schema in
slapd.conf besides the ones Paul has mentioned. This was
required in case of openldap-2.0.12 at least.

Cheers,
Christian
-- 
Christian Reile
Feldstrasse 4, 85716 Unterschleissheim
Tel: +49-89-3106879, Fax: +49-89-31704897
eMail: Christian.Reile@t-online.de