diff options
Diffstat (limited to 'source3/smbadduser')
-rwxr-xr-x | source3/smbadduser | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbadduser b/source3/smbadduser index 789cc927eb..e4e1b273d1 100755 --- a/source3/smbadduser +++ b/source3/smbadduser @@ -55,8 +55,7 @@ foreach one ($argv) echo "Adding: $unix to $smbpasswd" eval $passwd | \ awk -F: '$1==USR { \ - printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s\n", -$1, $3, $5, $6, $7) }' USR=$unix >> $smbpasswd + printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s\n", $1, $3, $5, $6, $7) }' USR=$unix >> $smbpasswd if ($unix != $ntid) then echo "Adding: {$unix = $ntid} to $user_map" echo "$unix = $ntid" >> $user_map @@ -71,4 +70,4 @@ foreach one ($new) echo $line echo "ENTER password for $one" smbpasswd $one -end
\ No newline at end of file +end |