repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
smbd: Simplify dropbox special case in unix_convert
[Samba.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
'