[Date Prev][Date Next] [Chronological] [Thread] [Top]

how to ldap simple bind

i want to do a ldap_simple_bind...how do i do that...plz note i *dont have root access*...and also i connect to the server without a password, that is i authenticate thru DSA.  so as a normal user i have to bind to the particular node...also see enclosed command line error message when i try to add a test user...and also the ldif file....

>  zeo@rock:~> ldapadd -f testldapadd.ldif -x
>  adding new entry "uid>  ldap_add: Insufficient access
>  additional info: no write access to parent
>  ldif_record() 
# zeo1, People, zeomega, com
dn: uiduid: zeo1
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: cdObject
cdName: zope owner
shadowLastChange: 10934
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 509
gidNumber: 100
homeDirectory: /home/zeo
sn: ZeOmega1
cn: ZeOmega1 User
userPassword:: e2NyeXB0fWUva2Vp