Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 41982 invoked from network); 18 Jul 2006 07:06:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jul 2006 07:06:14 -0000 Received: (qmail 61719 invoked by uid 500); 18 Jul 2006 07:06:03 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 61215 invoked by uid 500); 18 Jul 2006 07:06:02 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 61204 invoked by uid 99); 18 Jul 2006 07:06:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 00:06:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [128.250.6.201] (HELO pyramid.its.unimelb.edu.au) (128.250.6.201) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 00:06:00 -0700 Received: from d4ry7d1s (scrc.bmu.unimelb.edu.au [128.250.196.26]) by pyramid.its.unimelb.edu.au (8.13.7/8.13.6) with ESMTP id k6I75bmG008707 for ; Tue, 18 Jul 2006 17:05:37 +1000 (EST) Message-Id: <200607180705.k6I75bmG008707@pyramid.its.unimelb.edu.au> From: "Alvin Wong" To: Date: Tue, 18 Jul 2006 17:05:37 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0031_01C6AA8C.640A5560" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcaqOJJGap+Y46WOSF+9RuIFEE6aHA== X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Apache on Windows with Active Directory Authentication X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0031_01C6AA8C.640A5560 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit We have managed to configure Apache authenticate against AD with the following lines in .htaccess: AuthName "Restricted Access" AuthType Basic AuthLDAPAuthoritative on AuthLDAPURL "ldap://ad.mycompany.com.au:389/dc=mycompany,dc=com,dc=au?sAMAccountNAme?sub ?(objectClass=user)" AuthLDAPBindDN "cn=myusername, ou=userou, dc=mycompany, dc=com, dc=au" AuthLDAPBindPassword mypassword require valid-user The problem is that after every 4-6 days, users are no longer able to access the website, requiring the computer to be restarted before it will continue to authenticate users . The log shows: [Tue Jul 18 14:59:37 2006] [warn] [client 128.250.196.11] [1276] auth_ldap authenticate: user myusername authentication failed; URI /website [ldap_search_ext_s() for user failed][Operations Error] [Tue Jul 18 14:59:40 2006] [warn] [client 128.250.196.11] [1276] auth_ldap authenticate: user myusername authentication failed; URI /website [ldap_search_ext_s() for user failed][Operations Error] Any hints/solution would be greatly appreciated. Thanks. ------=_NextPart_000_0031_01C6AA8C.640A5560 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

We have managed to configure Apache authenticate = against AD with the following lines in .htaccess:

 

  AuthName "Restricted = Access"

  AuthType Basic

  AuthLDAPAuthoritative = on

  AuthLDAPURL = "ldap://ad.mycompany.com.au:389/dc=3Dmycompany,dc=3Dcom,dc=3Dau?sAMA= ccountNAme?sub?(objectClass=3Duser)"

 

  AuthLDAPBindDN "cn=3Dmyusername, = ou=3Duserou, dc=3Dmycompany, dc=3Dcom, dc=3Dau"

  AuthLDAPBindPassword = mypassword

  require = valid-user

 

The problem is that after every 4-6 days, users are = no longer able to access the website, requiring the computer to be = restarted before it will continue to authenticate users .  The log = shows:

 

[Tue Jul 18 14:59:37 2006] [warn] [client = 128.250.196.11] [1276] auth_ldap authenticate: user myusername authentication failed; = URI /website [ldap_search_ext_s() for user failed][Operations = Error]

[Tue Jul 18 14:59:40 2006] [warn] [client = 128.250.196.11] [1276] auth_ldap authenticate: user myusername authentication failed; URI = /website [ldap_search_ext_s() for user failed][Operations = Error]

 

Any hints/solution would be greatly = appreciated.  Thanks.

------=_NextPart_000_0031_01C6AA8C.640A5560--