mksmbpasswd.sh
RLDF
RLDF at antinea.com
Mon Jul 12 11:06:10 GMT 1999
Hi, i'm using a samba 2.0.3 with encrypted passwords and domain logon (PDC).
I have another linux for mails and i want to get these passwords to log in
the domain some win3.1, win95 and winNT workstation machines.
It work well when it create manually smbpasswd passwords.
I made a bash script to get the passwd from the mail server and add the
users from the gid i want in the passwd of the samba PDC.
i try the command
cat /etc/passwd.smb | /usr/bin/mksmbpasswd > /etc/smbpasswd.new
but the passwords aren't converted :( it's like ->
robert:661:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
:[U ]:LCT-00000000:Michel Robert
and i want something like
robert:661:10B952EA6203E653AAD3B435B51404EE:62FC1C83D064786A916DAD04EDD11B04
:[U ]:LCT-3784BD30:Michel Robert
is it possible ?
More information about the samba-ntdom
mailing list