Re: [MRBS-general] LDAP authentication AD2003
Brought to you by:
jberanek
From: PsyPix.net <in...@ps...> - 2007-12-06 13:33:41
|
Yes, and i replaced auth_ldap.inc with the version you sent. Thanks for your help, Etienne -----Original Message----- From: mrb...@li... [mailto:mrb...@li...] On Behalf Of John Beranek Sent: 06 December 2007 13:12 To: General purpose list (support/developers/users) Subject: Re: [MRBS-general] LDAP authentication AD2003 Etienne wrote: > Thanks John. I have tried the fix but it does not work for me. I get > no error it just won't log in. > > Interestingly enough when I use ldp.exe I see the following. > > searching base dn [scope:base] = does not work > > ***Searching... > ldap_search_s(ld, "DC=xxx,DC=xxx,DC=xxx", 0, "(sAMAccountName=userx)", > attrList, 0, &msg) > > > searching base dn [scope:subtree] = works > > ***Searching... > ldap_search_s(ld, "DC=xxx,DC=xxx,DC=xxx", 2, "(sAMAccountName=userx)", > attrList, 0, &msg) > > Is there anyway I can change the code to search the subtree? MRBS will be doing a subtree search. You've set: $ldap_dn_search_attrib = 'sAMAccountName'; yes? John. -- John Beranek To generalise is to be an idiot. http://redux.org.uk/ -- William Blake ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ mrbs-general mailing list mrb...@li... https://lists.sourceforge.net/lists/listinfo/mrbs-general |