Think I found the issue. It looks like Samba by default will
synchronize the SMB passwords with the Unix passwords. I'm working now
to verify this, but if so it seems that uninstalling libpam-smbpass AND
setting "unix password sync = No " in your smb.conf file should resolve
this issue.
I'll let you know if the problem persists after doing this.
Shawn
On 12-03-19 08:30 PM, Shawn wrote:
I'm having a weird problem with my Samba setup.
I can get things to a point where I can mount the samba shares on my
workstation. Read/Write and everything works. I even have this automated
to happen on boot up and this works. Sometimes.
Occasionally the system refuses to mount the shares automatically on
boot. When I try to mount them manually I get told "permission denied".
I *know* I didn't change my password between mounting attempts. I have
no errors in /var/log/samba/log.smbd.
To resolve this I have two options - either reboot the computer and go
through the whole process again (which may or may not work). OR, I can
go through an "smbpasswd -r myserver" process to change my password to
something else and again to change it back. Mounting after the password
change resolves the problem for a while.
Is AppArmor getting in the way? Is there something else I've overlooked?
Thanks for any tips.
Shawn
_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying
_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying