Forum Discussion

vaporlock_95814's avatar
vaporlock_95814
Icon for Nimbostratus rankNimbostratus
Feb 08, 2012

LDAP auth for specific uri

 

 

BigIP 6400s running 10.2.2

 

I need to authenticate users when they hit a specific uri. The rest of the site must remain open. The full requirements are:

 

 

1) Authenticate users against AD when they go to

 

https://www.mycompany.com/secretplace/secret.file

 

 

 

2) Change the pool and rewrite the uri to pull the file from

 

https://files.internal.mycompany.com/someotherplace/some.file

 

 

 

I have the second requirement done. For the first requirement, I searched but could not find an example using an authentication profile for just part of a site so I 'borrowed' _sys_auth_ldap and put a wrapper around the first block to test for the uri. This 'works' but feels wrong. Surely there is a better way...

 

 

 

Also, I don't need it here but will probably need to implement filtering and group checks in the future. I'm having trouble groking that.

 

 

 

 

 

 

1 Reply

  • For the first requirement, I searched but could not find an example using an authentication profile for just part of a site so I 'borrowed' _sys_auth_ldap and put a wrapper around the first block to test for the uri. This 'works' but feels wrong. Surely there is a better way...i do not think you are in wrong direction.

     

     

    this is one of past discussion i found.

     

     

    Irule for Ldap auth based on URL syntax

     

    http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/58425/showtab/groupforums/Default.aspx