possible bug in samba.schema in 3.0alpha23

Guillaume LACHENAL glachenal at on-x.com
Wed Apr 16 07:12:29 GMT 2003


Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, 2 Apr 2003, Guillaume LACHENAL wrote:
> 
> 
>>Hi !
>>
>>This is my first attempt to install samba with LDAP backend,
>>but I've just noticed that slapd (2.1.16) refuse to start with
>>samba.schema from 30a23.
>>
>>It exit with the following message :
>>
>>/etc/openldap/schema/samba.schema: line 165: AttributeType not found: 
>>"gidNumber"
>>
>>No problem with the 30a22 one
> 
> 
> you need to include the nis.schema file in slapd.conf
> 


I think the Samba-HOWTO-Collection has to be updated :

SHC> 3.6.5.1. OpenLDAP configuration
(...)
SHC> ## needed for sambaAccount
SHC> include            /etc/openldap/schema/cosine.schema
SHC> include            /etc/openldap/schema/inetorgperson.schema
SHC> include            /etc/openldap/schema/samba.schema
SHC>
SHC> ## uncomment this line if you want to support the RFC2307 (NIS) schema
SHC> ## include         /etc/openldap/schema/nis.schema

as 'nis.schema' is needed, I think it would be better placed below 
'needed for sambaAccount'

Thanks for help.

> 
> 
> cheers, jerry
>  ----------------------------------------------------------------------
>  Hewlett-Packard            ------------------------- http://www.hp.com
>  SAMBA Team                 ---------------------- http://www.samba.org
>  GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
>  "You can never go home again, Oatman, but I guess you can shop there."  
>                             --John Cusack - "Grosse Point Blank" (1997)
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.0 (GNU/Linux)
> Comment: For info see http://quantumlab.net/pine_privacy_guard/
> 
> iD8DBQE+nHsAIR7qMdg1EfYRAk2fAKDt/Prp2EJlrgisZTHZqpa5L81PJQCgoeyc
> hwpr4OwN51Z9FW3Knrmiwpw=
> =z3LV
> -----END PGP SIGNATURE-----
> 




More information about the samba-technical mailing list