BackupPC-users

Re: [BackupPC-users] ldap login

2013-02-12 03:43:07
Subject: Re: [BackupPC-users] ldap login
From: "Tyler J. Wagner" <tyler AT tolaris DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 12 Feb 2013 08:41:37 +0000
On 2013-02-12 07:39, Adi Spivak wrote:
> i did as is on the page like so:
>         #AuthUserFile /etc/backuppc/htpasswd
>         #AuthType basic
>         #AuthName "BackupPC admin"
>         #require valid-user
> 
>         AuthType Basic
>         AuthName "BackupPC login"
>         # replace MYDOMAIN, PORT, ORG and CO as needed
>         AuthLDAPURL ldap://ldap:389/ou=Users,dc=company,dc=com?uid
>         AuthzLDAPAuthoritative off
>         require valid-user
> 
> 
> however i get this error on apache error log:
> AuthUserFile not specified in the configuration

Are you loading mod_authnz_ldap and mod_ldap ? On Ubuntu, check
/etc/apache2/mods-enabled.

You also need:

        AuthBasicProvider ldap

I use:

        AuthBasicProvider file ldap

And specify both ldap and an AuthUserFile, so I have a fallback login in
case LDAP is down.

Regards,
Tyler

-- 
"We've arranged a civilization in which most crucial elements profoundly
depend on science and technology. We have also arranged things so that
almost no one understands science and technology. This is a prescription
for disaster. We might get away with it for awhile, but sooner or later
this combustible mixture of ignorance and power is going to blow up in
our faces."
   -- Carl Sagan

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>