Can't authenticate to CIFS share; user missing from pdbedit -L

Status
Not open for further replies.

JC Denton

Dabbler
Joined
Sep 6, 2015
Messages
10
So I'm running FreeNAS-9.3-STABLE-201510290351. I was previously only exporting AFP/NFS shares. Since I recently brought a Windows machine back into my LAN, I decided to enable CIFS and create a share. I couldn't authenticate and got the classic, "NT_STATUS_ACCESS_DENIED". I checked my user account and saw I hadn't checked "Microsoft Account", so I checked this and changed the password for good measure. Unfortunately, my user still does not show up in pdbedit -L, so I'm at a loss as to how to proceed. Should I create the user manually with pdbedit?

Poking around through some of the old bugs, it looks like this behavior occurred in 9.2, but was presumably fixed in 9.3.

Any advice is welcome and appreciated! Thanks!
 
D

dlavigne

Guest
Which version of Windows. Are other users showing up, just not this one?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Windows 10 Pro. Only root is showing up. I ended up adding my user with "pdbedit -a -u myuser".

If you don't mind, post output of following separately enclosed in code tags.
  • net getlocalsid
  • net usersidlist
  • net groupmap list
  • getent group
  • getent passwd
  • pdbedit -L
  • interesting entries from /var/log/samba4/log.wb-<hostname>
  • getfacl output for share (i.e. "getfacl /mnt/Tank/Share")
 
Last edited:

JC Denton

Dabbler
Joined
Sep 6, 2015
Messages
10
If you don't mind, post output of following separately enclosed in code tags.
  • net getlocalsid
  • net usersidlist
  • net groupmap list
  • getent group
  • getent passwd
  • pdbedit -L
  • interesting entries from /var/log/samba4/log.wb-<hostname>
  • getfacl output for share (i.e. "getfacl /mnt/Tank/Share")
Anything in particular you're looking for? "getent passwd" will have the hash when ran as root...

Before I added my user with pdbedit, only root was showing up in the Samba related commands. /etc/passwd was fine, for instance.
 
Status
Not open for further replies.
Top