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
patch to fix NetServerEnum with multiple workgroup lists kindly supplied.
[Samba.git]
/
source
/
script
/
mksmbpasswd.sh
blob
6e592acd6525bd0d9e3680d10ad800162106abb0
1
#!/bin/sh
2
awk
'BEGIN {FS=":"
3
printf("#
\n
# SMB password file.
\n
#
\n
")
4
}
5
{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s
\n
",
$1
,
$3
,
$5
,
$6
,
$7
) }
6
'