Oliver Liebel oliver at
Wed Jun 24 06:51:53 MDT 2009

alpha 7, but not from git.
in rfc2307bis and nis  posixAccount is usually declared as AUX,
so if i try to add a simple user-object (that makes no trouble
in conjunction with standard-ldap-schemas nis/rfc2307)  via ldapadd
with person as STRUCT, e.g.:

dn: uid=ckent,cn=users,dc=ldap,dc=local,dc=site
objectClass: person
objectClass: posixAccount
uid: ckent
cn: ckent
sn: Kent
uidNumber: 901
gidNumber: 100
loginShell: /bin/bash
homeDirectory: /home/ckent

i hit the error:  objectClass: value #1 invalid per syntax.

other ideas? maybe i should try a7 from git.


Sassy Natan schrieb:
> Which Version are you using?
> Samba4 Alpha 7 and up as RFC2307 built in - so u already have 
> posixAccount:
> uidNumber, gidNumber, loginShell etc....
> Sassy
> On Wed, Jun 24, 2009 at 2:50 PM, Oliver Liebel <oliver at 
> <mailto:oliver at>> wrote:
>     maybe there is a little conceptional problem with the
>     backend-schema.schema in samba 4, if someone
>     wants to use standard objectClasses/attributeTypes
>     for other objects than samba4-objects (e.g. like posixAccount:
>     uidNumber, gidNumber, loginShell)
>     with the openldap-backend too.
>     since many of the standard-attributes  are pre-defined
>     in backend-schema.schema (too), ist not possible to use
>     the standard schemas (core,cosine, nis etc.) in addition,
>     because slapd will ran into duplicate attribute errors when
>     started up.
>     what about a pre-defined, reduced
>     backend-schema.schema, that could be used
>     in addition to the standard schemas ?
>     e.g. maybe as provision-backend - option:
>     --with-ol-default-schemas
>     oliver

More information about the samba-technical mailing list