|
| validate user login and pwd - cn with space |
 |
Mon, 05 Mar 2007 08:48:53 GMT |
Base on the sample IDirEntries (use NWIDIRE.DLL), I modify it and make a
for loop to validate a list of user CN and password. if login success, the
username and password pair is valid.
But if the value of CN contains space, the program cannot validate the
pair in eDirectory.
How can I do to escape space in CN so as to validate all CN with space
successfully in eDirectory?
Regards,
David NG kei wai
|
| Post Reply
|
| Re: validate user login and pwd - cn with space |
 |
Wed, 07 Mar 2007 01:01:51 GMT |
Hi David,
keiwaing@gmail.com wrote in news:VPQGh.1537$Zb.1250@prv-
forum2.provo.novell.com:
> Base on the sample IDirEntries (use NWIDIRE.DLL), I modify it and make a
> for loop to validate a list of user CN and password. if login success, the
> username and password pair is valid.
>
> But if the value of CN contains space, the program cannot validate the
> pair in eDirectory.
>
> How can I do to escape space in CN so as to validate all CN with space
> successfully in eDirectory?
can you please explain a bit more what exacly you're doing and what error
you're getting? Best with a sample code?
Susan did kindly a quick test, but couldnt reproduce your issue:
I don't get an error and dstrace with +auth and +ldap shows me this:
New cleartext connection 0x8b3edee0 from 192.168.0.9:2909, monitor = 0xde,
index = 2
(192.168.0.9:2909)(0x0001:0x60) DoBind on connection 0x8b3edee0
(192.168.0.9:2909)(0x0001:0x60) Bind name:cn=test space,o=novell, version:3,
authentication:simple
1 GlobalGetSEV.
4 GlobalGetSEV succeeded.
[00013e67] <.test space.novell.TREE.> LocalLoginRequest. Error success,
conn:
26.
(192.168.0.9:2909)(0x0001:0x60) Sending operation result
0:"":"" to
connection 0x8b3edee0
greets, Guenter.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|