smbpasswd -> /etc/passwd
Rafał Szcześniak
rszczesniak at mis.com.pl
Mon Sep 25 17:15:05 GMT 2000
There's no script converting smbpasswd into passwd/shadow
because smb passwords are encrypted with different algorithm
than the unix passwd (both shadow and md5). So, direct converting
is almost impossible because it would have to work like
brute force attack...
The only way is to use samba 'unix sync password' feature.
To trace problem, you need more "rich" log files.
Rafał
"Brian Wilson" <wilson at sentrisystems.com>
Wysłane przez: samba-ntdom-admin at us4.samba.org
00-09-25 19:09
Do: <samba-ntdom at us4.samba.org>
DW:
Temat: smbpasswd -> /etc/passwd
Is there any way (a script, black magic, etc) to convert smbpasswd
passwords
to
either shadowed or md5'd passwords? I know there's a "unix sync password"
option,
but this doesn't work for me in the latest TNG:
getsmbfilepwent: returning passwd entry for unix user homey, unix uid
10042
Password change for user: homey
Dochild for user homey (uid=0,gid=0)
expect: Input/output error
Response 2 incorrect
Child failed to change password: homey
Thanks,
Brian
More information about the samba-ntdom
mailing list