Multiple search contexts in LDAP
hey all, I would like to have multiple search contexts to get around ambiguous search results due to duplicate object names found in branches under the same basedn = "ou=darlinghurst,ou=nsw,o=myorg,c=au" For instance, I would like to search ou=people,ou=darlinghurst,ou=nsw,o=myorg,c=au & ou=roles,ou=darlinghurst,ou=nsw,o=myorg,c=au only and not all other branches under the ou=darlinghurst branch. Is this possible? currently I've got set in radiusd.conf for LDAP searches: ldap { server = myldap identity = "cn=superuser,o=myorg,c=au" password = <mypassword> filter = "(cn=%u)" basedn = "ou=darlinghurst,ou=nsw,o=myorg,c=au" #basedn = "ou=people,ou=darlinghurst,ou=nsw,o=schs,c=au" - - } cheers Peter ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been virus scanned and although no viruses were detected by the system, St Vincents & Mater Health Sydney accepts no liability for any consequential damage resulting from email containing any computer viruses. **********************************************************************
Peter Param wrote:
hey all,
I would like to have multiple search contexts to get around ambiguous search results due to duplicate object names found in branches under the same basedn = "ou=darlinghurst,ou=nsw,o=myorg,c=au"
Peter
Hi Peter, You could try using multiple instances of the ldap module, one to search one ou and the other to search the other ou, then invoke them one after the other wherever you currently invoke the single ldap instance. Cheers, -- James Wakefield, Unix Administrator, Information Technology Services Division Deakin University, Geelong, Victoria 3217 Australia. Phone: 03 5227 8690 International: +61 3 5227 8690 Fax: 03 5227 8866 International: +61 3 5227 8866 E-mail: james.wakefield@deakin.edu.au Website: http://www.deakin.edu.au
participants (2)
-
James Wakefield -
Peter Param