diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-24 22:35:16 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-24 22:35:16 +0000 |
commit | 9f2edc69af5d23539c13f07613dd79ad92ebffaf (patch) | |
tree | 877c93e989462a80665ba3d67a1aa07b7097a6bb /source3/script | |
parent | dc36d8768aa13000c48b520f09f6678ea9ffbf28 (diff) | |
download | samba-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/script')
-rw-r--r-- | source3/script/addtosmbpass | 2 | ||||
-rwxr-xr-x | source3/script/mksmbpasswd.sh | 2 |
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) } ' |