1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/script/mksmbpasswd.sh
Jeremy Allison 9f2edc69af Updates to the scripts for the new 14-char space format of account
attributes.
Jeremy.
(This used to be commit 32b6f6640d)
1998-09-24 22:35:16 +00:00

7 lines
205 B
Bash
Executable File

#!/bin/sh
awk 'BEGIN {FS=":"
printf("#\n# SMB password file.\n#\n")
}
{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:%s\n", $1, $3, $5) }
'