[389-users] Object class violation !!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 -a -D "cn=directory manager" -w secret -p 636 -h 389-ds

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
 
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
 
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"

[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

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux