Hello,
I am authenticating a group of users using auth_ldap thus:
AuthName "Protected files"
AuthType Basic
AuthLDAPURL ldap://ldapserver
require user username1 username2
Which works fine. But I need to add someone who does not have their username in the ldap server. I tried creating a .htusers passwd file with them in it and adding an AuthUserFile directive:
AuthName "Protected files"
AuthType Basic
AuthUserFile /webroot/dir/.htusers
AuthLDAPURL ldap://ldapserver
require user username1 username2 newuser
.htusers:
newuser:hashedpasswd
But this didn't work (the ldap configured users still worked, but not 'newuser')
Can anyone help?
P.S. I'm using the above config in a .htaccess file, not the httpd.conf C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
I am authenticating a group of users using auth_ldap thus:
AuthName "Protected files"
AuthType Basic
AuthLDAPURL ldap://ldapserver
require user username1 username2
Which works fine. But I need to add someone who does not have their username in the ldap server. I tried creating a .htusers passwd file with them in it and adding an AuthUserFile directive:
AuthName "Protected files"
AuthType Basic
AuthUserFile /webroot/dir/.htusers
AuthLDAPURL ldap://ldapserver
require user username1 username2 newuser
.htusers:
newuser:hashedpasswd
But this didn't work (the ldap configured users still worked, but not 'newuser')
Can anyone help?
P.S. I'm using the above config in a .htaccess file, not the httpd.conf C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!