[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
question about the ldap client program..
Hi, all
I execute the client programs that locates in ldap/client/tools/*.c
and have questions about these programs (I run them under Win95):
1) I issue the command:
%ldapmodify.exe -h 203.67.126.181 -f d:/Modify.wu
where the Modify.wu is:
dn: cn=maison, ou=g2, o=mitt, c=tw
changetype: add
cn: Maison
cn: chi-wen
sn: Cheng
objectclass: person
telephoneNumber: 2755-6183-39
But it seems that not truly add in my ldap server, why?
The return code is 34, which means unavailable. What is it?
Do I miss s.t.?
2) In ldapsearch.c, the return of line 386(ldap_get_dn) and
line 393(ldap_dn2ufn) seems not save. They will halt on the
free() operation. Do their spaces really allocated by malloc()?
thank you in advance
with best regards
Chia-Jen Wu