mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
Updates to the scripts for the new 14-char space format of account
attributes. Jeremy. (This used to be commit 32b6f6640d45b083ce35a8c11b1e6f23c19df62c)
This commit is contained in:
parent
dc36d8768a
commit
9f2edc69af
@ -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) {
|
||||
|
@ -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) }
|
||||
'
|
||||
|
Loading…
x
Reference in New Issue
Block a user