summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/mksmbpasswd.awk
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian/mksmbpasswd.awk')
-rw-r--r--packaging/Debian/debian/mksmbpasswd.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/Debian/debian/mksmbpasswd.awk b/packaging/Debian/debian/mksmbpasswd.awk
new file mode 100644
index 0000000000..a7b41a725d
--- /dev/null
+++ b/packaging/Debian/debian/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) }