summaryrefslogtreecommitdiffstats
path: root/source3/script/mksmbpasswd.sh
blob: 854e1bd1b57cafa3ad8ed46383a29e61f723d9a8 (plain)
1
2
3
4
5
6
#!/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) }
'