Hi!
Trying to share a directory with NFS works fine, then another time as CIFS fails with error:
session setup failed: NT_STATUS_LOGON_FAILURE
Users exist in /etc/passwd and /etc/samba/samba-passwd
[CODE] smbclient -L //bigmama12 -N -W WORKGROUP
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.4-11.1-3616-SUSE-SLE_12-x86_64]
Sharename Type Comment
--------- ---- -------
sapmnt Disk TRANSDIR
data Disk Common information
IPC$ IPC IPC Service (Samba 4.2.4-11.1-3616-SUSE-SLE_12-x86_64)
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.4-11.1-3616-SUSE-SLE_12-x86_64]
Server Comment
--------- -------
BIGMA50P
BIGMAMA12 Samba 4.2.4-11.1-3616-SUSE-SLE_12-x86_64
NASF886E3 NAS Server
Workgroup Master
--------- -------
WORKGROUP BIGMAMA12
[/CODE]
I wonder where I got 3 servers from…
Anyway listing is fine so far beside that anomaly.
smbclient -L //desap60f -U ralf
Enter ralf’s password:
session setup failed: NT_STATUS_LOGON_FAILURE
Checked password for OS and samba, re-entered password to make sure it matches.
Same result: session setup failed: NT_STATUS_LOGON_FAILURE
Did I miss something?
[CODE] testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section “[sapmnt]”
Processing section “[data]”
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
Global parameters
[global]
security = USER
passdb backend = smbpasswd:samba-passwd
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
wins support = Yes
idmap config * : backend = tdb
[sapmnt]
comment = TRANSDIR
path = /data/transdir
read only = No
inherit acls = Yes
[data]
comment = Common information
path = /data
valid users = ralf
read only = No
inherit acls = Yes
[/CODE]