adding
AuthBasicProvider file ldap
solved the problem.
thank you.
----- Original Message -----
| 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>
| Cc: "Adi Spivak" <adi.spivak AT compulab.co DOT il>
| Sent: Tuesday, February 12, 2013 10:41:37 AM
| Subject: Re: [BackupPC-users] ldap login
|
| 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
|
--
Regards,
Adi Spivak
IT Manager
17 HaYetzira St, "Mordot HaCarmel" Industrial Park, Yokneam Elite
Mail: P.O Box 687, Yokneam 20692. Israel
TelFax.: (+972) 48-290-124. (+972) 48-290-100
www.fit-pc.com
www.compulab.co.il
------------------------------------------------------------------------------
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/
|