1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

JHT ==> Removed linefeed that caused problems.

This commit is contained in:
John Terpstra 0001-01-01 00:00:00 +00:00
parent ba28678e3f
commit 534b4c6d37

View File

@ -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
end