RES: Adding user by LDAP server

From: Luiz Alfredo Baggiotto (luiz@pucrs.br)
Date: Fri Oct 07 2005 - 07:25:01 EDT


Hello

Try to use "-x" option, to disable SASL feature:

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

Regards

> -----Mensagem original-----
> De: sunmanagers-bounces@sunmanagers.org
> [mailto:sunmanagers-bounces@sunmanagers.org] Em nome de
> geeta@cdfd.org.in
> Enviada em: sexta-feira, 7 de outubro de 2005 09:33
> Para: sunmanagers@sunmanagers.org
> Cc: geeta@www.cdfd.org.in
> Assunto: Adding user by LDAP server
>
> 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
_______________________________________________
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