Adding user by LDAP server

From: geeta@cdfd.org.in
Date: Fri Oct 07 2005 - 08:33:25 EDT


Hello Managers,

I am new to LDAP.
I have the following .ldif file
-------------------------------------
dn: uid=geetha,ou=People,o=cdfd.org.in,dc=cdfd,dc=org,dc=in
dataSource: cdfd-provisioning-tool
givenName: geetha
sn: geetha
loginShell: /bin/sh
mailUserStatus: active
gidNumber: 0
uidNumber: 9999
mail: geetha@cdfd.org.in
mailHost: cdfd-srsrv.cdfd.org.in
inetUserStatus: active
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
objectClass: inetUser
objectClass: inetSubscriber
objectClass: ipUser
objectClass: nsManagedPerson
objectClass: inetmailuser
objectClass: inetlocalmailrecipient
objectClass: userpresenceprofile
objectClass: posixAccount
objectClass: shadowAccount
uid: geetha
mailDeliveryOption: mailbox
cn: geetha geethhomeDirectory: /users/geetha
userPassword: geetha123
---------------------------------------
when I try to add this user by the following command

ldapmodify -a -D "cn=Directory Manager" -w password -f ldiffile

I get the following error
----------------------
ldap_simple_bind_s: Invalid credentials

Please help me to find out the problem...

should i have to create the home directory /users/geetha manually before
executing the ldapmodify command.

Please clear this confusion also.

Thanks in advance

Geetha Thanu

-
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:32:15 EDT