Re: [squid-users] ldap_auth example

This is a discussion on Re: [squid-users] ldap_auth example within the Squid Users forums, part of the Web Server and Related Forums category; On Tue, 2 Mar 2004, none none wrote: > Is anyone able to help me with a real example of ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2004
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] ldap_auth example

On Tue, 2 Mar 2004, none none wrote:

> Is anyone able to help me with a real example of squid_ldap_auth.exe if my Active directory looks like this:


The example in the manual for squid_ldap_auth is a real one for Active
Directory:

If you want to search for the user DN and your directory
does not allow anonymous searches then you must also use
the -D and -w flags to specify a user DN and password to
log in as to perform the searches, as in the following
complex Active Directory example

squid_ldap_auth -p -R -b "dc=your,dc=domain"
-D "cn=squid,cn=users,dc=your,dc=domain"
-w "secret*squidpassword"
-f "(&(userPrincipalName=%s)(objectClass=Person)) "
activedirectoryserver

If you want to use the short login (without domain) then replace
userPrincipalName by sAMAccountName.

Regards
Henrik

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

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



All times are GMT +1. The time now is 08:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0