This works for us.

<Location /cgi-bin/BackupPC_Admin>
   SSLRequireSSL
   AuthName        BackupPC
   AuthType        Basic
   AuthzLDAPEngine on
   AuthzLDAPServer "localhost:389"
   AuthzLDAPUserKey uid
   AuthzLDAPUserBase ou=people,dc=example,dc=com

   require valid-user
</Location>


Dale

  ----- Original Message ----- 
  From: ravi thakur 
  To: [email protected] 
  Sent: Monday, July 02, 2007 6:49 AM
  Subject: [BackupPC-users] Ldap authentication using mod_authz_ldap


  below is my httpd.conf file for backuppc. I am unable to authenticate using 
mod_authz_ldap .

  plz if anybody worked on it let me know.

  <Directory "/var/www/cgi-bin/backuppc">

  SetHandler perl-script

  PerlResponseHandler ModPerl::Registry

  PerlOptions +ParseHeaders

  Options +ExecCGI

  Allow from all

  AllowOverride Indexes AuthConfig

  Options FollowSymLinks



  AuthzLDAPEngine on

  AuthzLDAPServer ldaps://ldap.etrade.com:636

  AuthzLDAPUserBase dc=etrade,dc=com

  AuthzLDAPUserKey uid

  AuthzLDAPUserScope subtree

  AuthzLDAPBindDN uid=proxyuser,ou=People,dc=etrade,dc=com

  AuthzLDAPBindPassword "secret"

  AuthzLDAPLogLevel debug

  AuthType basic

  AuthName "[EMAIL PROTECTED]"

  Require valid-user

  </Directory>
  -- 
  Ravi Bhushan Thakur
  Network Administrator
  Subex Technologies Ltd 


------------------------------------------------------------------------------


  -------------------------------------------------------------------------
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/


------------------------------------------------------------------------------


  _______________________________________________
  BackupPC-users mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/backuppc-users
  http://backuppc.sourceforge.net/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to