As part of a long needed update to my FreeBSD servers, I also upgraded Samba 3 to Samba 4. Since the upgrade my previous login no longer works. In searching the web, it seems the old smbpasswd has been replaced with samba-tool? OK, so I attempt to recreate my user with that tool:
Originally, this file did not exist. However, I created it and set the mode like the other files:
Can anyone please nudge me toward what I'm missing?
Thanks,
Drew
Code:
# samba-tool user create drew
New Password:
Retype Password:
Unable to open tdb '/var/db/samba4/private/sam.ldb': Input/output error
Failed to connect to 'tdb:///var/db/samba4/private/sam.ldb' with backend 'tdb': Unable to open tdb '/var/db/samba4/private/sam.ldb': Input/output error
ERROR(ldb): Failed to add user 'drew': - Unable to open tdb '/var/db/samba4/private/sam.ldb': Input/output error
Code:
root@vm pts/0 03:13:04 Fri Nov 20 /var/db/samba4/private/
# ll
total 1049
drwx------ 3 root wheel 6 Nov 20 02:51 .
drwxr-xr-x 6 root wheel 27 Nov 20 03:16 ..
drwx------ 2 root wheel 12 Nov 20 03:15 msg.sock
-rw------- 1 root wheel 421888 Nov 5 21:10 passdb.tdb
-rw------- 1 root wheel 0 Nov 20 02:51 sam.ldb
-rw------- 1 root wheel 430080 Nov 5 21:10 secrets.tdb
Thanks,
Drew