CIFS user not staying persistent across reboots

Status
Not open for further replies.

digilink

Cadet
Joined
Sep 5, 2015
Messages
9
So before I file a bug report, I just want to make sure I'm not missing something because it's driving me absolutely crazy. I built a single user and defined it as a Microsoft user, this same user is present on my Windows 7 workstation and joined under the same workgroup.

For some reason, I kept losing authentication to the shares after a reboot of the FreeNAS Mini box. Digging around suggested I could run a command called "pdbedit -L" to see what users are currently in the samba database and the only one currently listed is root. I added my user back with the following and these were the results:

Code:
[root@nas] ~# pdbedit -a -u sbrown
new password:
retype new password:
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL!
Failed to add entry for user sbrown.
[root@nas] ~# pdbedit -a -u sbrown
new password:
retype new password:
Unix username:        sbrown
NT username:          
Account Flags:        [U          ]
User SID:             S-1-5-21-1696146502-2460623826-3613378320-1001
Primary Group SID:    S-1-5-21-1696146502-2460623826-3613378320-513
Full Name:            
Home Directory:       \\nas\sbrown
HomeDir Drive:        
Logon Script:         
Profile Path:         \\nas\sbrown\profile
Domain:               NAS
Account desc:         
Workstations:         
Munged dial:          
Logon time:           0
Logoff time:          Sun, 04 Dec 219250468 10:30:07 EST
Kickoff time:         Sun, 04 Dec 219250468 10:30:07 EST
Password last set:    Sat, 12 Sep 2015 17:17:00 EDT
Password can change:  Sat, 12 Sep 2015 17:17:00 EDT
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


And for some reason, I had to issue the command twice as illustrated above. If I reboot, I have to run this again.

Am I missing something? Anywhere else to look to fix this? It's incredibly annoying.
 
D

dlavigne

Guest
Might be a bug, especially since you need to issue that command twice. Please create one at bugs.freenas.org and post the issue number here.
 
Status
Not open for further replies.
Top