summaryrefslogtreecommitdiffstats
path: root/source3/script/mksmbpasswd.sh
blob: 119a55611ece5f9374b51df6207c10a47e44518c (plain)
1
2
3
4
5
6
#!/bin/sh
awk 'BEGIN {FS=":"
	printf("#\n# SMB password file.\n#\n")
	}
{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UD         ]:LCT-00000000:%s\n", $1, $3, $5) }
'