RE: LDAP search scope directive? [unclas]

This is a discussion on RE: LDAP search scope directive? [unclas] within the FreeRADIUS Users forums, part of the Networking and Network Related category; As a workaround, put an ACL on the new subtree that blocks the radius server from seeing the entries. As ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-04-2007
Ranner, Frank MR
 
Posts: n/a
Default RE: LDAP search scope directive? [unclas]

As a workaround, put an ACL on the new subtree that blocks the
radius server from seeing the entries.

As a future solution, perhaps the ldap module can be enhanced to use
uri's rather than filters. A search uri contains server name, filter
and scope all in one package. LDAP uri's are already supported in the
xlat module so adding support to rlm_ldap should be possible.

Regards,
Frank Ranner

> -----Original Message-----
> From:
> freeradius-users-bounces+frank.ranner=defence.gov.au@lists.fre
> eradius.org
> [mailto:freeradius-users-bounces+frank.ranner=defence.gov.au@l
> ists.freeradius.org] On Behalf Of Martin Pauly
> Sent: Wednesday, 4 April 2007 01:41
> To: freeradius-users@lists.freeradius.org
> Subject: LDAP search scope directive?
>
> Hi,
>
> my current problem has already been discussed on this list --
> here's a snippet from Nov 2004:
>
> "Ron Wahler" <ron@rovingplanet.com> asked:
> > > It seems that one of our customers has a database in

> which it does
> > > Have duplicate users names, they were asking the

> following question:
> > >
> > > "Would also like to know how LDAP handles duplicate user

> names (if
> > > the baseDN was set to O=ACME instead of OU=Users,O=ACME)"
> > >
> > > If the basedn Is at the higher level there may be duplicates.

>
> Kostas Kalevras <kkalev@noc.ntua.gr> replied:
> > Do you mean that there may be:
> >
> > uid=user,o=acme and uid=user,ou=users,o=acme ?
> >
> > If that is the case the solution is simple:
> >
> > ldap ldap1{
> > basedn = "o=acme"
> > scope = "one"
> > }
> > ldap ldap2{
> > basedn = "ou=users,o=acme"
> > scope = "sub"
> > }
> >
> > authorize{
> > ldap1
> > ldap2
> > }
> >
> > authenticate{
> > ldap1
> > }
> >
> > The only problem is that a scope directive does not exist

> yet. Adding
> > one will not be hard though if it is needed. If that is

> what is needed
> > please open a bug request in bugs.freeradius.org.

>
> Due to a reorganization of our LDAP tree, we will need to
> duplicate our 15.000+ account entries in a new, separate
> subtree, located below the old one. During migration (which
> will hopefully run overnight, but certainly take severeal
> hours), services should be kept running as good as possible.
> So I'm going to face exactly the situation described above.
> To make the LDAP search result unique,
> > ldap ldap1{
> > basedn = "o=acme"
> > scope = "one"

> would do the job for me. Has such a directive been implemented?
>
> Thanks, Martin
>
> --
> Dr. Martin Pauly Fax: 49-6421-28-26994
> HRZ Univ. Marburg Phone: 49-6421-28-23527
> Hans-Meerwein-Str. E-Mail: pauly@HRZ.Uni-Marburg.DE
> D-35032 Marburg
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0