summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-unstable/mksmbpasswd.awk
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian-unstable/mksmbpasswd.awk')
-rw-r--r--packaging/Debian/debian-unstable/mksmbpasswd.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/Debian/debian-unstable/mksmbpasswd.awk b/packaging/Debian/debian-unstable/mksmbpasswd.awk
new file mode 100644
index 0000000000..a7b41a725d
--- /dev/null
+++ b/packaging/Debian/debian-unstable/mksmbpasswd.awk
@@ -0,0 +1,5 @@
+#!/usr/bin/awk -f
+BEGIN {FS=":"
+ printf("#\n# SMB password file.\n#\n")
+ }
+{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:%s\n", $1, $3, $5) }