repo.or.cz
/
Samba
/
gbeck.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libcli/ldap: move ldap_errors.h to the toplevel and install it
[Samba/gbeck.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
'