zoon01 wrote:eswimm wrote:Unless something has changed in the configuration, the Webserver service doesn't seem to be properly populating the .websrv_htpasswd file in the document root.
Jan 5 16:10:59 nas4free lighttpd[1599]: (http_auth.c.241) opening plain-userfile /mnt/.websrv_htpasswd failed: Invalid argument
Jan 5 16:10:59 nas4free lighttpd[1599]: (http_auth.c.877) get_password failed, IP: 192.168.1.133
Worked fine in build 573. If I manually populate the file, I'm able to authenticate as I was before.
I'm try to reproduce but here it seems working fine!
Odd, I created a NAS4Free VM to make sure I could reproduce the issue on a 2nd config.
WebServer
Protocol: HTTP
Port: 8000
Run As: www
Document Root: /mnt
Enable Authentication checked
URL: / Realm: Webserver
Enable Directory Listing checked
User
Name: nas
Full Name: NAS User
Password: 3 letters
Shell: nologin (also tried various login shells)
Primary Group: nobody
Additional Groups: none
Home Directory: default
User Portal unchecked, but I've tried it checked as well.
In both the VM and my physical install I can access the URL with clear text authentication from browser under 573 and the /mnt/.websrv_htpasswd has the nas user in the file. Under 608, the .websrv_htpasswd file is empty and no account credentials work.
Both are embedded installs from the 431 Live ISO and upgraded via firmware update to 573, then 608.