Alias in ldap web authentication

Discussion in 'Apache' started by nathan_nz, Oct 23, 2007.

  1. #1
    Hi everyone...
    I am a newbie here.

    Working presently authentication with Apache and openldap. Autnetication is working properly but I want a bit more.

    What I want is to search for aliases in the Openldap tree during authentication(in .htaccess file).
    The tree structure is:
    A user tree. Each user has a list of applications whick he can access. These applications are aliased to the user. I want to authentcate the user if he has valid application.

    versions are Apache-2.2.6
    Openldap-2.3
    Thanks in advance..
     
    nathan_nz, Oct 23, 2007 IP
  2. Ladadadada

    Ladadadada Peon

    Messages:
    382
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Sounds like you're jumping straight in at the deep end. Good for you !

    I have achieved the same effect by using LDAP groups. I just put the people I want to access certain pages in a certain group and then require that group for that page in the apache config.

    I don't have access to the config I used but I will on Monday. I'll post it then.
     
    Ladadadada, Oct 27, 2007 IP
  3. nathan_nz

    nathan_nz Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I couldn't get what I required.
    But what you suggested is absolutely right( I am using that also).
    I changed my directory structureso that I can hold the application list(page list) in some attribute (no alias) of the user and it worked too.

    Thanks for the reply:)
     
    nathan_nz, Nov 1, 2007 IP