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

Re: using openldap as a translation layer.



OK, I got it working now (rwm/ldap anway, using cygwin instead of mingw, the process worked).

However, I'm not getting any results yet.

If I see these two lines in the output (-g -1):
==> rewrite_context_apply [depth=1] string='(&(objectClass=person)(uid=stapleton.41))'
==> rewrite_context_apply [depth=1] res={0,'NULL'}


The second line means the regex did not match, correct? I tried this with the original regex that was suggested to me, and the following match attempts, with the same {0,'NULL'} results:

 "\(\&\(objectClass=person\)\(uid=([a-zA-Z]+\.[0-9]+)\)\)"
 "\(&\(objectClass=person\)\(uid=([a-zA-Z]+\.[0-9]+)\)\)"
 "uid=([a-zA-Z]+\.[0-9]+)"


Any suggestions on what I am doing wrong? (I figure I am either reading the output wrong, or have botched the regex, possibly both)


Thanks,
-Jim Stapleton