Hello List : i using .htaccess to restrict user to use web resource .
However, i type correct username & password in box that the web browser pops up when i attempts to access resource in protected area. i got error message ● in /var/log/apache/error.log as following : [Mon Apr 7 15:31:27 2003] [error] [client 192.168.10.254] Search must return exactly 1 entry; found 0 entries for search (&(objectclass=*)(uid=tester)): URI /admin [Mon Apr 7 15:31:28 2003] [error] [client 192.168.10.254] Search must return exactly 1 entry; found 0 entries for search (&(objectclass=*)(uid=tester)): URI /admin ● in /var/log/syslog : Apr 7 15:50:03 backup slapd[17788]: conn=3 op=4 SRCH base="dc=ezplay,dc=tv" scope=2 filter="(&(objectClass=*)(uid=tester))" Apr 7 15:50:03 backup slapd[17788]: conn=3 op=4 SEARCH RESULT tag=101 err=0 text= Apr 7 15:50:05 backup slapd[17789]: conn=7 op=2 SRCH base="dc=ezplay,dc=tv" scope=2 filter="(&(objectClass=*)(uid=tester))" Apr 7 15:50:05 backup slapd[17789]: conn=7 op=2 SEARCH RESULT tag=101 err=0 text= Apr 7 15:50:07 backup slapd[17788]: conn=4 op=4 SRCH base="dc=ezplay,dc=tv" scope=2 filter="(&(objectClass=*)(uid=tester))" Apr 7 15:50:07 backup slapd[17788]: conn=4 op=4 SEARCH RESULT tag=101 err=0 text= Apr 7 15:50:09 backup slapd[17789]: conn=5 op=5 SRCH base="dc=ezplay,dc=tv" scope=2 filter="(&(objectClass=*)(uid=tester))" =============================================================== ● My .htaccess as follow : AuthName "For Student to login" AuthLDAPUrl ldap://192.168.8.8/dc=ezplay,dc=tv?uid? AuthType Basic <Limit GET POST> Order deny,allow Deny from all Allow from all require user test </Limit> ● However, when i execute "ldapsearch" command , the result as follow: backup:/var/www/admin# ldapsearch -x -h 192.168.8.8 -b dc=ezplay,dc=tv uid=tester version: 2 # # filter: uid=tester # requesting: ALL # # search result search: 2 result: 0 Success # numResponses: 1 i am NO any idea to solve this problem, and i have been tried to find out answer in Maillist........Unfortunately,i didnt got answer about my problem.... Please Help me......... -- Trust & Unique ... axacheng <[EMAIL PROTECTED]>