[Samba] no login after upgrade

Achim Klausmann (V) achim at klaurie.de
Tue May 10 20:39:46 UTC 2016


Hello,
this is a openSUSE 13.1, installed originally with
samba 4.1.19

This is a simple workgroup setup.

smb.conf as follows:

[global]
	security = USER
	server string = Samba Server
	workgroup = WORKGROUP
	os level = 66
	guest ok = no
	null passwords = yes
	unix password sync = yes
	passwd program = /usr/bin/passwd %u
	passdb expand explicit = no
	passdb backend = tdbsam
	lanman auth = yes
	client lanman auth = yes
	client plaintext auth = yes
	smb encrypt = no
	interfaces = eth* lo
	bind interfaces only = yes
	socket options = SO_KEEPALIVE TCP_NODELAY
         smb ports = 139

	unix extensions = no
	host msdfs = no

	log level = 2
	log file = /var/log/samba/samba.log.%U

	time server = yes
	local master = yes

	domain master = yes
	preferred master = yes

	wins support = yes
	name resolve order = wins lmhosts host bcast
	dns proxy = no
	wins proxy = no

	load printers = yes
	printing = cups
	printer name = cups
	printcap name = cups
	printcap cache time = 750
	lpq cache time = 0
	cups options = raw
	show add printer wizard = no

# entry for SAMBA 4 in openSUSE 13.1
	acl allow execute always = yes

[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = No
	read only = No
	inherit acls = Yes

[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
	valid users = +workgroup
	write list = +workgroup
	use client driver = yes
	read only = yes

[share]
	comment = Share
	guest ok = no
	valid users = +workgroup
	browseable = yes
	writeable = yes
	force group = workgroup
	create mask = 740
	directory mask = 750
	force create mode = 020
	force directory mode = 020
	dos filemode = yes
	dos filetimes = yes
	dos filetime resolution = yes
	hide dot files = yes
	hide files = /lost+found/
	nt acl support = no
	store dos attributes = yes
	map archive = no
	strict locking = yes
	oplocks = no
	level2 oplocks = no
	use sendfile = no
	msdfs root = no
	change notify = yes

The users a created with:
for ((i=1;i<21;i++));do smbpasswd -a -n user$i;done
for ((i=1;i<21;i++));do smbpasswd -e -s user$i;done <<EOF
$PASSWORD
$PASSWORD
EOF

for ((i=1;i<21;i++));do pdbedit -c '[NX ]' -u user$i;done > /dev/null 2>&1

After Update/Upgrade (it is now a evergreen LTS) from repos
i have samba version 4.2.4 and cannot access the shares anymore
with WINDOWS7.

WINDOWS shows system error 67
and samba shows in log:
SPNEGO: login failed: NT_STATUS_NO_SUCH_USER

How can i get rid of that?
What do you need? testparm output?

I tried:
allow nt4 crypto = yes
require strong key = no

But they all didn't help

Best regards

-- 





More information about the samba mailing list