Guys, It worked !! I followed this syntax: dn: uid=dave, ou=People,dc=im,dc=sap,dc=com changetype: add objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson objectClass: posixAccount cn: Dave Meyer gecos: test sn: Meyer givenName: Dave Meyer uidNumber: magic gidNumber: 1002 userPassword: {clear}redhat loginShell: /bin/bash homeDirectory: /home/dave And it worked !!! [root at localhost opt]# ldapmodify -x -a -D "cn=Directory Manager" -w password-h localhost -f Users.ldif adding new entry "uid=dave, ou=People,dc=im,dc=sap,dc=com Done !!! Thanks for all for reading this. On Sat, Jan 16, 2010 at 12:26 AM, Ajeet S Raina <ajeetraina at gmail.com>wrote: > > 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 at 389-ds opt]# > > Any Idea what i have missed? > -- ?It is not possible to rescue everyone who is caught in the Windows quicksand --Make sure you are on solid Linux ground before trying.? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20100116/31bb1b87/attachment.html