From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 14:40:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4000416A4CE for ; Tue, 13 Jul 2004 14:40:32 +0000 (GMT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id A078E43D49 for ; Tue, 13 Jul 2004 14:40:31 +0000 (GMT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.11/8.12.8) with ESMTP id i6DEeUZd098204 for ; Tue, 13 Jul 2004 16:40:30 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)i6DEeTLS098201 for ; Tue, 13 Jul 2004 16:40:30 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Tue, 13 Jul 2004 16:40:29 +0200 (CEST) From: Konrad Heuer To: freebsd-questions@freebsd.org Message-ID: <20040713163922.X28795@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Apache modauthldap works but REMOTE_USER not there X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 14:40:32 -0000 I want to use modauthldap with Apache 1.3.29 to restrict access to some web pages, especially to some dynamic ones generated by cgi scripts. LDAP authentication seems to work fine with following .htaccess file: AuthName "Realm:" AuthType Basic AuthLDAPurl ldap://localhost:389/ou=users,dc=domain,dc=country?uid require valid-user The problem is: CGI scripts called by the HTML pages in the protected directory don't see a REMOTE_USER environment variable (GET method), so they don't know about the current user. Any ideas? I'd greatly appreciate any help. Best regards Konrad Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany