Hello,
I was going through link:http://www.redhat.com/docs/manuals/dir-server/8.1/admin/dna.html to configure DNA_plugin.
All I followed is:
ldapmodify
dn: ou=Ranges, dc=im,dc=sap, dc=com
objectclass: top
objectclass: extensibleObject
objectclass: organizationalUnit
ou: Ranges
dn: cn=Account UIDs, ou=Ranges, dc=im,dc=sap, dc=com
objectclass: top
objectclass: extensibleObject
cn: Account UIDs
-a
-D "cn=directory manager" -w secret -p 636 -h 389-dsdn: ou=Ranges, dc=im,dc=sap, dc=com
objectclass: top
objectclass: extensibleObject
objectclass: organizationalUnit
ou: Ranges
dn: cn=Account UIDs, ou=Ranges, dc=im,dc=sap, dc=com
objectclass: top
objectclass: extensibleObject
cn: Account UIDs
Next,
Enabled the DNA Plugin through Console
Next,
Create the new DNA Plug-in instance beneath the container entry
dn: cn=Account UIDs,cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config
objectClass: top
objectClass: extensibleObject
cn: Account UIDs
dnatype: uidNumber
dnafilter: (objectclass=posixAccount)
dnascope: ou=People, dc=im,dc=sap,dc=com
dnanextvalue: 1
dnaMaxValue: 1300
dnasharedcfgdn: cn=Account UIDs,ou=Ranges,dc=im,dc=sap,dc=com
dnathreshold: 100
dnaRangeRequestTimeout: 60
dnaMagicRegen: magic
objectClass: top
objectClass: extensibleObject
cn: Account UIDs
dnatype: uidNumber
dnafilter: (objectclass=posixAccount)
dnascope: ou=People, dc=im,dc=sap,dc=com
dnanextvalue: 1
dnaMaxValue: 1300
dnasharedcfgdn: cn=Account UIDs,ou=Ranges,dc=im,dc=sap,dc=com
dnathreshold: 100
dnaRangeRequestTimeout: 60
dnaMagicRegen: magic
Restarted the dirsrv service.
Now if I try to add a user through script:
ldapmodify -x -h 389-ds.sap.com -D "cn=Directory Manager" -w secret -f Users.ldif
adding new entry "uid=dav,ou=People,dc=im,dc=sap,dc=com"
ldapmodify: Object class violation (65)
additional info: missing attribute "gidNumber" required by object class "posixAccount"
adding new entry "uid=dav,ou=People,dc=im,dc=sap,dc=com"
ldapmodify: Object class violation (65)
additional info: missing attribute "gidNumber" required by object class "posixAccount"
[root@389-ds opt]#
Any Idea what i have missed?
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users