repo.or.cz
/
Samba
/
wip.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s4-torture: verify #8373 and add ndr nbt tests for LOGON_PRIMARY_QUERY nbt_netlogon_r...
[Samba/wip.git]
/
source3
/
script
/
mksmbpasswd.sh
blob
119a55611ece5f9374b51df6207c10a47e44518c
1
#!/bin/sh
2
awk
'BEGIN {FS=":"
3
printf("#
\n
# SMB password file.
\n
#
\n
")
4
}
5
{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UD ]:LCT-00000000:%s
\n
",
$1
,
$3
,
$5
) }
6
'