I am trying to access Samba Version 4.5.12-Debian from my work domain-joined PC. (It used to work, but after upgrade Raspian from Wheezy to Stretch it fails.)
C:\Users\domainuser>net use \\samba_srv\my_share /USER:pi Enter the password for 'pi' to connect to 'samba_srv': System error 86 has occurred. The specified network password is not correct.
I also tested from an Ubuntu VM host, that works
osboxes@osboxes:~$ smbclient \\\\samba_srv\\my_share -U pi WARNING: The "syslog" option is deprecated Enter pi's password: Domain=[HEMMA] OS=[Windows 6.1] Server=[Samba 4.5.12-Debian]
Anyone has any ideas on how to progress?
log level = 6 but not much useful output:
Samba name server SAMBA_SRV is now a local master browser for workgroup HEMMA on subnet 192.168.1.2
I have been thinking that perhaps the upgrade corrupted the password-database or similar. Is it possible to re-initialize the databases from scratch? (Only 2 users in db.)
# cat smb.conf # Global parameters [global] server string = %h server workgroup = HEMMA log file = /var/log/samba/log.%m logging = file max log size = 10000 usershare allow guests = Yes unix extensions = No map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . passwd program = /usr/bin/passwd %u server role = standalone server unix password sync = Yes dns proxy = No idmap config * : backend = tdb mangled names = No valid users = @users [homes] comment = Home Directories browseable = No create mask = 0700 directory mask = 0700 valid users = %S [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = Yes [my_share] comment = my share path = /home/pi/ wide links = Yes create mask = 0770 directory mask = 0770 read only = No valid users = pi