Networking Forums

Networking Forums > Computer Networking > Linux Networking > LDAP Queries to Windows Global Catalog

Reply
Thread Tools Display Modes

LDAP Queries to Windows Global Catalog

 
 
dln
Guest
Posts: n/a

 
      10-29-2004, 02:22 PM
Hello all,

I really hope this is the correct newsgroup to post this question
against - I've had a hard time tracking down a good place to post it
and I've tried a few of the MS newsgroups with no response, but I
could really use some help - if I'm in the wrong place please direct
me to a more appropriate venue.

I'm trying to solve a particular issue at our site where we need to
authenticate users logging into UNIX boxes against our site's AD and
Kerberos servers. After reading the documentation at
http://www.microsoft.com/downloads/d...displaylang=en,
I've been able to successfully authentication against a single domain.
However I would like to expand the authentication scenario so that on
a few of our UNIX boxes any user in any domain under the same AD
forest could log into the box. I figure that instead of doing a
domain LDAP query (port 389), I need to make a query against the
Global Catalog (port 3268), but I can't figure out the configuration I
need. I have tried changing my /etc/ldap.conf configuration to query
on port 3268 and use a common search
root, but it doesn't work. I've tried the following configurations
(although not all at once) in my /etc/ldap.conf file:

# "gc" works with some Windows tools, but I don't know if OpenLDAP
supports it
uri gc://<fully qualified host name>
# port 3268 being the port the global catalog server listens on
uri ldap://<fully qualified host name>:3268
# this works, but I can only query a single domain at a time
uri ldap://<fully qualified host name>

I've verified that Kerberos authentication works by using kinit. I've
also used ldapsearch to successfully make an ldap query against the
Global Catalog. Unfortunately I'm at a loss to figure out how to get
the system to query the GC for account information.

Does anybody know of any documentation out there that could aid me and
has anybody else successfully gotten this type of configuration to
work? Any and all help would be appreciated (and again, really sorry
if this isn't the right newsgroup).

dln
 
Reply With Quote
 
 
 
 
Geoffrey King
Guest
Posts: n/a

 
      10-29-2004, 08:42 PM
On Fri, 29 Oct 2004 07:22:38 -0700, dln wrote:

> I have tried changing my /etc/ldap.conf configuration to query
> on port 3268 and use a common search root, but it doesn't work.


AD will give you different results (or none at all) depending on the
credentials your using (or lack of them). Make sure the credentials
you're using to query the GC with has sufficient access to 'see' the
users on the other domains in the forest.

--
Zoidberg: This letter has to be very personal, so I'm
writing it in my own ink.

 
Reply With Quote
 
Scott Lowe
Guest
Posts: n/a

 
      10-31-2004, 09:05 PM
On 2004-10-29 10:22:38 -0400, (E-Mail Removed) (dln) said:

> Hello all,
>
> I really hope this is the correct newsgroup to post this question
> against - I've had a hard time tracking down a good place to post it
> and I've tried a few of the MS newsgroups with no response, but I
> could really use some help - if I'm in the wrong place please direct
> me to a more appropriate venue.
>
> I'm trying to solve a particular issue at our site where we need to
> authenticate users logging into UNIX boxes against our site's AD and
> Kerberos servers. After reading the documentation at
> http://www.microsoft.com/downloads/d...displaylang=en,

I've
>
> I've been able to successfully authentication against a single domain.
> However I would like to expand the authentication scenario so that on
> a few of our UNIX boxes any user in any domain under the same AD
> forest could log into the box. I figure that instead of doing a
> domain LDAP query (port 389), I need to make a query against the
> Global Catalog (port 3268), but I can't figure out the configuration I
> need. I have tried changing my /etc/ldap.conf configuration to query
> on port 3268 and use a common search
> root, but it doesn't work. I've tried the following configurations
> (although not all at once) in my /etc/ldap.conf file:
>
> # "gc" works with some Windows tools, but I don't know if OpenLDAP
> supports it
> uri gc://<fully qualified host name>
> # port 3268 being the port the global catalog server listens on
> uri ldap://<fully qualified host name>:3268
> # this works, but I can only query a single domain at a time
> uri ldap://<fully qualified host name>
>
> I've verified that Kerberos authentication works by using kinit. I've
> also used ldapsearch to successfully make an ldap query against the
> Global Catalog. Unfortunately I'm at a loss to figure out how to get
> the system to query the GC for account information.
>
> Does anybody know of any documentation out there that could aid me and
> has anybody else successfully gotten this type of configuration to
> work? Any and all help would be appreciated (and again, really sorry
> if this isn't the right newsgroup).
>
> dln



--
Scott Lowe

 
Reply With Quote
 
Scott Lowe
Guest
Posts: n/a

 
      10-31-2004, 09:08 PM
On 2004-10-29 10:22:38 -0400, (E-Mail Removed) (dln) said:

> I'm trying to solve a particular issue at our site where we need to
> authenticate users logging into UNIX boxes against our site's AD and
> Kerberos servers. After reading the documentation at
> http://www.microsoft.com/downloads/d...displaylang=en,

I've
>
> I've been able to successfully authentication against a single domain.
> However I would like to expand the authentication scenario so that on
> a few of our UNIX boxes any user in any domain under the same AD
> forest could log into the box. I figure that instead of doing a
> domain LDAP query (port 389), I need to make a query against the
> Global Catalog (port 3268), but I can't figure out the configuration I
> need. I have tried changing my /etc/ldap.conf configuration to query
> on port 3268 and use a common search
> root, but it doesn't work. I've tried the following configurations
> (although not all at once) in my /etc/ldap.conf file:
>


Sorry about that empty post....mouse was freaking out...

Anyway, I could be mistaken, but I believe that you won't be able to
actually authenticate against a Global Catalog. The Global Catalog
only stores a subset of all the attributes for all the objects in all
the domains in the forest. I don't believe that authentication
information, such as passwords, are included in the Global Catalog
replication set.

Of course, I could be wrong. (Wouldn't be the first time!)

--
Scott Lowe

 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Global Catalog Server Chris Windows Networking 0 11-02-2006 11:43 PM
Global catalog Mr.B Windows Networking 0 07-26-2005 12:16 PM
Global Catalog Sean Connery Windows Networking 2 02-03-2004 03:51 PM
WIN2K, Global Catalog and Exchange =?Utf-8?B?SmVycnk=?= Windows Networking 0 01-28-2004 10:31 PM
Global Catalog Server =?Utf-8?B?c25kMWs=?= Windows Networking 2 12-10-2003 03:19 PM



1 2 3 4 5 6 7 8 9 10 11