[Samba] AttributeType not found: "gidNumber" errormessage - SuSE 9.2

Tony Earnshaw tonye at billy.demon.nl
Fri Jun 3 10:28:45 GMT 2005


fre, 03.06.2005 kl. 12.12 skrev Andreas:

> I'm geting errormessage, when I start sldap on commandoline:
> 
> amd:/usr/lib/openldap # /usr/lib/openldap/slapd
> /etc/openldap/schema/samba.schema: line 432: AttributeType not found:
> "gidNumber"
> I think, I must create a new group with a gid. But is the groupname
> sambaGroupMapping?

No. Forget the above ;)

[...]

> my slapd.conf:
> # See slapd.conf(5) for details on configuration options.
> # This file should NOT be world readable.
> #
> include         /etc/openldap/schema/core.schema
> include         /etc/openldap/schema/cosine.schema
> include         /etc/openldap/schema/yast.schema
> include         /etc/openldap/schema/inetorgperson.schema
> include         /etc/openldap/schema/samba.schema
> include         /etc/openldap/schema/rfc2307bis.schema
> include         /etc/openldap/schema/yast.schema

Simply add:
include         /etc/openldap/schema/nis.schema
to the above and restart slapd.

nis.schema includes a lot of other stuff you have to have for your
users' and machines' posixAccount information.

--Tonni

-- 
mail: tonye at billy.demon.nl
http://www.billy.demon.nl




More information about the samba mailing list