[KLUG Members] LDAP & PHP

Jeremy Leonard members@kalamazoolinux.org
Tue, 5 Aug 2003 14:06:24 -0400


FYI

I looked at all the attr's returned.
It looks like:
samaccountname
returns the info I'm looking for.

It's odd is this another case of M$ "embracing and extending" a standard or
did Novell meander.

In eDir cn="the user's account name" example "JeremyL"
in AD cn="The users full name" example "Jeremy F. Leonard"

Which one is correct for open ldap or does that do something completely
different?

I'm new to the ldap side of things. I've been using Novell sense 3.11.


----- Original Message -----
From: "Jeremy Leonard" <lists@elite4god.com>
To: <members@kalamazoolinux.org>
Sent: Tuesday, August 05, 2003 10:46 AM
Subject: Re: [KLUG Members] LDAP & PHP


> So use ldap auth with apache, get the user name from the variable and
search
> the dir for that to get the rest of the info? Is this correct?
>
> Also, the site uses AD for their ldap dir. it appears to me cn= the
display
> name for example:
>
> First Name: Jeremy
> Last Name: Leonard
> Middle Initial: F.
> Username: JeremyL
> Full Name: Jeremy F. Leonard
>
> Now the same user in Novell eDir. cn returns JeremyL AD seems to return
> Jeremy F. Leonard. Has anyone used AD? How can I get it to search by the
> username?
>
> Thanks for all the help.
>
>
>
> ----- Original Message -----
> From: "Adam Williams" <awilliam@whitemice.org>
> To: <members@kalamazoolinux.org>
> Sent: Tuesday, August 05, 2003 10:05 AM
> Subject: Re: [KLUG Members] LDAP & PHP
>
>
> > >> > I don't want to use htaccess.
> > >> > I want users to login so I have their information. Not neccisarily
> for
> > >> > security.
> > >> You can still have the information if you use htaccess. Apache stores
> > >> the name of the athenticated user in a variable accessible to PHP.
> > >> $username = getenv("REMOTE_USER");
> > >I'd still have to maintain an .htaccess file though. Wouldn't I?
> >
> > You could either have a .htaccess files to supply mod_auth_ldap with the
> > parameters (search base, etc...) or you could just put them in
httpd.conf
> > if you want the authentication to apply to everything.
> >
> > _______________________________________________
> > Members mailing list
> > Members@kalamazoolinux.org
> > 
> >
>
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 
>