summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/script/addtosmbpass2
-rwxr-xr-xsource3/script/mksmbpasswd.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/addtosmbpass b/source3/script/addtosmbpass
index 5a41022a27..84a7e6fac0 100644
--- a/source3/script/addtosmbpass
+++ b/source3/script/addtosmbpass
@@ -48,7 +48,7 @@ BEGIN {
}
END {
fmt = "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:";
- fmt = fmt "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U]:LCT-00000000:%s:\n";
+ fmt = fmt "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:%s:\n";
for(name in names) {
while ((getline < pwdf) > 0) {
if ($1 == name) {
diff --git a/source3/script/mksmbpasswd.sh b/source3/script/mksmbpasswd.sh
index 10acc1257d..854e1bd1b5 100755
--- a/source3/script/mksmbpasswd.sh
+++ b/source3/script/mksmbpasswd.sh
@@ -2,5 +2,5 @@
awk 'BEGIN {FS=":"
printf("#\n# SMB password file.\n#\n")
}
-{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U]:LCT-00000000:%s\n", $1, $3, $5) }
+{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:%s\n", $1, $3, $5) }
'