|
From: Adi S. <adi...@co...> - 2013-02-12 09:05:32
|
adding AuthBasicProvider file ldap solved the problem. thank you. ----- Original Message ----- | From: "Tyler J. Wagner" <ty...@to...> | To: "General list for user discussion, questions and support" <bac...@li...> | Cc: "Adi Spivak" <adi...@co...> | 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 |