andras-merenyinet
January 27th, 2015, 10:52 PM
Hello,
I purged the whole samba stuff and installed samba and smbclient packages.
I try to add users with both smbpasswd and pdbedit. It looks good first but no user in database.
root@snurf:~# smbpasswd -a andras
New SMB password:
Retype new SMB password:
root@snurf:~# pdbedit –L
Username not found!
root@snurf:~# pdbedit -a andras
new password:
retype new password:
Unix username: andras
NT username:
Account Flags: [U ]
User SID: S-1-5-21-2551009283-2798110900-269676425-1000
Primary Group SID: S-1-5-21-2551009283-2798110900-269676425-513
Full Name: Mer▒nyi Andr▒s
Home Directory: \\snurf\andras (file://\\snurf\andras)
HomeDir Drive:
Logon Script:
Profile Path: \\snurf\andras\profile (file://\\snurf\andras\profile)
Domain: SNURF
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Wed, 06 Feb 2036 16:06:39 CET
Kickoff time: Wed, 06 Feb 2036 16:06:39 CET
Password last set: Tue, 27 Jan 2015 22:36:52 CET
Password can change: Tue, 27 Jan 2015 22:36:52 CET
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
root@snurf:~# pdbedit –L
Username not found!
root@snurf:~#
I'm on Ubuntu 14.04.1 LTS.
Samba version 4.1.6-Ubuntu
smb.conf is the original one comes with the install.
Thanks in advance.
I purged the whole samba stuff and installed samba and smbclient packages.
I try to add users with both smbpasswd and pdbedit. It looks good first but no user in database.
root@snurf:~# smbpasswd -a andras
New SMB password:
Retype new SMB password:
root@snurf:~# pdbedit –L
Username not found!
root@snurf:~# pdbedit -a andras
new password:
retype new password:
Unix username: andras
NT username:
Account Flags: [U ]
User SID: S-1-5-21-2551009283-2798110900-269676425-1000
Primary Group SID: S-1-5-21-2551009283-2798110900-269676425-513
Full Name: Mer▒nyi Andr▒s
Home Directory: \\snurf\andras (file://\\snurf\andras)
HomeDir Drive:
Logon Script:
Profile Path: \\snurf\andras\profile (file://\\snurf\andras\profile)
Domain: SNURF
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Wed, 06 Feb 2036 16:06:39 CET
Kickoff time: Wed, 06 Feb 2036 16:06:39 CET
Password last set: Tue, 27 Jan 2015 22:36:52 CET
Password can change: Tue, 27 Jan 2015 22:36:52 CET
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
root@snurf:~# pdbedit –L
Username not found!
root@snurf:~#
I'm on Ubuntu 14.04.1 LTS.
Samba version 4.1.6-Ubuntu
smb.conf is the original one comes with the install.
Thanks in advance.