Home > Archive > LDAP > January 2006 > ok it uses php, buts it an LDAP Q all the same
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
ok it uses php, buts it an LDAP Q all the same
|
|
| jon.newsgroups@gmail.com 2006-01-24, 7:11 pm |
| Hi,
With my org we are running MS active directory 2000, we have populated
user details with AD to include user phone Extensions.
We have recently invested in an Avaya IP telephone solution which is
working gr8
On the Avaya site they offer code for a webserver that these phones can
be point to, this webserver offers the client(phone) the ability to
query Active directory to recieve back the extension number.
Whilst configuring this webserver one of the questions is
LDAP search base (ex. ou=people,o=avaya.com)
Here is my problem, when I enter
OU=Users, OU=Country, OU=Offices, DC=company, DC=com
It works and gives the results of all users with x country
What my problem is, our AD structure is divided into many users
seperated at the OU=Country level and if I try some like
OU=Users, OU=*, OU=Offices, DC=company, DC=com
it fails, if I try using a search base such as
OU=Offices, DC=company, DC=com
it fails.
Will the design of our AD restrict use from searching our full AD or
can someone suggest a solution?
thank you in advance
Jon
| |
| Giuoco, Aaron 2006-01-24, 7:11 pm |
| Change the scope from 'base' to 'sub'. From your description, it sounds =
like the LDAP search is only doing a 'base' search (only looking in the =
current OU). Changing the scope to 'sub' would allow the search to look =
at the current OU and all OUs underneath it.
If they don't give you that option, you're probably out of luck. The =
only other solution would be to stuff all of your users into one OU, =
which is probably not what you want to do.
AG
> -----Original Message-----
> From: jon.newsgroups@gmail.com [mailto:jon.newsgroups@gmail.com]
> Sent: Monday, January 23, 2006 1:06 PM
> To: perl-ldap@perl.org; perl-ldap@moderators.isc.org
> Subject: ok it uses php, buts it an LDAP Q all the same
>=20
>=20
> Hi,
>=20
> With my org we are running MS active directory 2000, we have populated
> user details with AD to include user phone Extensions.
> We have recently invested in an Avaya IP telephone solution which is
> working gr8
> On the Avaya site they offer code for a webserver that these=20
> phones can
> be point to, this webserver offers the client(phone) the ability to
> query Active directory to recieve back the extension number.
> Whilst configuring this webserver one of the questions is
> LDAP search base (ex. ou=3Dpeople,o=3Davaya.com)
> Here is my problem, when I enter
> OU=3DUsers, OU=3DCountry, OU=3DOffices, DC=3Dcompany, DC=3Dcom
> It works and gives the results of all users with x country
> What my problem is, our AD structure is divided into many users
> seperated at the OU=3DCountry level and if I try some like
> OU=3DUsers, OU=3D*, OU=3DOffices, DC=3Dcompany, DC=3Dcom
> it fails, if I try using a search base such as
> OU=3DOffices, DC=3Dcompany, DC=3Dcom
> it fails.
> Will the design of our AD restrict use from searching our full AD or
> can someone suggest a solution?
>=20
> thank you in advance
> Jon
>=20
>=20
|
|
|
|
|