Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

validate user login and pwd - cn with space

4 views
Skip to first unread message

keiw...@gmail.com

unread,
Mar 5, 2007, 3:48:53 AM3/5/07
to
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


Guenter

unread,
Mar 6, 2007, 8:01:51 PM3/6/07
to
Hi David,
keiw...@gmail.com wrote in news:VPQGh.1537$Zb.1250@prv-
forum2.provo.novell.com:

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.

0 new messages