u can manually ldapadd/ldapmodify the data.
use the command -
# strings <id2entry.dbb>
or whatever your file name is if your r using ldbm as database format
redirect the output to an .ldif file and modify it and use the ldapadd command.
ldapadd -f your.ldif -xv -D "cn=<admin_user_name,o=<your_o>" -w secret
regards
Jim Christiansen wrote:
Hello,
I have ldap installed and running and when root runs directory_administrator I can open my ldap profile and everything seems to be fine.
When I click the NewUser button, I get a bunch of menus to fill up but when I click finish I get a nice gui box that says "insufficient access".
The error messages in the console say:
"called: ldap_create_record LDAP_MOD_ADD objectclass organizationalPerson inetOrgPerson account top posixAccount shadowAccount LDAP_MOD_ADD host * LDAP_MOD_ADD uid dc4509 LDAP_MOD_ADD uidnumber 65535 LDAP_MOD_ADD gidnumber 4 LDAP_MOD_ADD givenname dana LDAP_MOD_ADD sn c LDAP_MOD_ADD cn dana c LDAP_MOD_ADD homedirectory /home/dc4509 LDAP_MOD_ADD loginshell /bin/sh LDAP_MOD_ADD gecos dana c LDAP_MOD_ADD userPassword {crypt}$1$TY0T4H2T$a5rIKZdAr3U07XTnQqpne/ LDAP_MOD_ADD shadowLastChange 12219 Insufficient access(null)You have new mail in /var/spool/mail/root
In pico /etc/openldap/slapd.conf
My rootdn is cn=root,dc=ji...
And the 'Test Config" button in directory_administrator always responds with good setup or what ever...
Now, I check my password in /etc/ldap.secret and it too is ok...
So... Users on clients can log on. So ldap is working becuase their are no users on the clients boxes. I just can't add new users!
I've read over the directory_administrator archives but there isn't anything there to help...
Thanks for any ideas,
Jim
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963