summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-24 22:35:16 +0000
committerJeremy Allison <jra@samba.org>1998-09-24 22:35:16 +0000
commit9f2edc69af5d23539c13f07613dd79ad92ebffaf (patch)
tree877c93e989462a80665ba3d67a1aa07b7097a6bb /source3
parentdc36d8768aa13000c48b520f09f6678ea9ffbf28 (diff)
downloadsamba-9f2edc69af5d23539c13f07613dd79ad92ebffaf.tar.gz
samba-9f2edc69af5d23539c13f07613dd79ad92ebffaf.tar.bz2
samba-9f2edc69af5d23539c13f07613dd79ad92ebffaf.zip
Updates to the scripts for the new 14-char space format of account
attributes. Jeremy. (This used to be commit 32b6f6640d45b083ce35a8c11b1e6f23c19df62c)
Diffstat (limited to 'source3')
-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) }
'