patch to fix NetServerEnum with multiple workgroup lists kindly supplied.
[Samba.git] / source / script / mksmbpasswd.sh
blob6e592acd6525bd0d9e3680d10ad800162106abb0
1 #!/bin/sh
2 awk 'BEGIN {FS=":"
3 printf("#\n# SMB password file.\n#\n")
5 { printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s\n", $1, $3, $5, $6, $7) }