summaryrefslogtreecommitdiff
path: root/debian/mksmbpasswd.awk
blob: 8e4371e305cbbcaa2a6847e040163fdfb4113149 (plain)
1
2
3
4
5
6
#!/usr/bin/awk -f
BEGIN {FS=":"
	printf("#\n# SMB password file.\n#\n")
	}
{ if ($3 >= 1000) {  
printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U          ]:LCT-00000000:%s\n", $1, $3, $5) } }