Sending null BaseDN

Walter Huf walter.huf at corvisa.com
Mon Oct 15 16:15:24 CEST 2012


In my case, I needed to use an expansion to either use a empty BaseDN or
use a specific domain's BaseDN if the user did not provide a domain
name.
The code for the expansion returns an error if the expansion returns 0
as the length of the result.

On ĵaŭ, 2012-10-11 at 16:24 +0100, Phil Mayers wrote:
> On 11/10/12 15:13, Walter Huf wrote:
> > For a certain use-case of mine, I need to connect to the Active
> > Directory Global Catalog port of 3268 and do a search with a BaseDN of
> > "". What is the correct way to do this with FreeRADIUS?
> 
> Why doesn't it work if you just use an empty string? From the code, I 
> can't see any reason it would fail.
> 
> e.g.
> 
> ldap ldap_gc {
>   ...
>   basedn = ""
>   ...
> }
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



-----------------------------------------
CONFIDENTIALITY: The information contained in this communication may be confidential and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are hereby notified that
any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete any copy of it from your computer system.


More information about the Freeradius-Users mailing list