wow. It works!

Thank you a lot!!!!!!

Concerning the graphical environment (just for your information): I use Gnome 
with my Debian system, but no window was opened.


Greetings,

Jutta




--------------------
Jutta Biernath
Freie Universität Berlin
Zentraleinrichtung für Datenverarbeitung (ZEDAT)
Identity & Customer Management, FUDIS
Fabeckstr. 32
14195 Berlin
Tel. +49 30 838-75090
Fax +49 30 838-475090

Von: Clément OUDOT [mailto:[email protected]]
Gesendet: Mittwoch, 26. November 2014 11:11
An: Biernath, Jutta
Cc: Marcin Baluta; lsc-userslsc-users
Betreff: Re: [lsc-users] Groups sync



2014-11-26 10:58 GMT+01:00 Biernath, Jutta 
<[email protected]<mailto:[email protected]>>:
Hello, Marcin, hello Clément,

with your help (thanks again!) I could figure out where the problem is.

It is this line (your sample here):
var destDn = ldap.search("ou=users,ou=demo", "(sAMAccountName=" + uid + ")");

In my case it is
var destDn = 
ldap.search("ou=People,ou=biernathtest,ou=grouper,ou=groups,o=fu-berlin,c=de", 
"(cn=" + uid + ")");
whicht gives the javax.naming.NameNotFoundException: [LDAP: error code 32 - No 
Such Object] exception; the uid however was correct.

Trying
var destDn = 
ldap.search("ou=People,ou=biernathtest,ou=grouper,ou=groups,o=fu-berlin,c=de", 
"(cn=biernath)");
gives the same exception.

But:

Opening my Softerra LDAP Administrator and copying and pasting exactly these 
strings into the search mask however shows a result:

[cid:[email protected]]


>> there IS an entry and it can also be found by a search!!!


What is wrong with the ldap.search-function? What must I do to make it work?

Try to remove  the context (o=fu-berlin,c=de) :


var destDn = ldap.search("ou=People,ou=biernathtest,ou=grouper,ou=groups", 
"(cn=" + uid + ")");






BTW: Rhino Debugger did not work. Maybe because I use Debian instead of Windows?



You need a graphical environement to open the debugger.

Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to