mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Merge from 3.0:
>The -P option to smbclient no longer works - update all smbprint scripts to
>remove it. Closes bug #473.
(This used to be commit 87e8d584e9
)
This commit is contained in:
parent
dfc79d317e
commit
48a5e3fa09
@ -140,6 +140,5 @@ $smbclient \
|
||||
$IP \
|
||||
$debugargs \
|
||||
-U $username \
|
||||
-P \
|
||||
-c "$command"
|
||||
#
|
||||
|
@ -140,6 +140,5 @@ $smbclient \
|
||||
$IP \
|
||||
$debugargs \
|
||||
-U $username \
|
||||
-P \
|
||||
-c "$command"
|
||||
#
|
||||
|
@ -47,6 +47,6 @@ password=""
|
||||
echo translate
|
||||
echo "print -"
|
||||
cat $*
|
||||
) | /opt/samba/smbclient "\\\\$server\\$service" $password -N -P > /dev/null
|
||||
) | /opt/samba/smbclient "\\\\$server\\$service" $password -N > /dev/null
|
||||
exit $?
|
||||
|
||||
|
@ -74,4 +74,4 @@ echo "server $server, service $service" >> $logfile
|
||||
# echo translate
|
||||
echo "print -"
|
||||
cat
|
||||
) | /usr/bin/smbclient "//$server/$service" $password -U $server -N -P >> $logfile
|
||||
) | /usr/bin/smbclient "//$server/$service" $password -U $server -N >> $logfile
|
||||
|
@ -74,4 +74,4 @@ echo "server $server, service $service" >> $logfile
|
||||
# echo translate
|
||||
echo "print -"
|
||||
cat
|
||||
) | /usr/bin/smbclient "\\\\$server\\$service" $password -U $server -N -P >> $logfile
|
||||
) | /usr/bin/smbclient "\\\\$server\\$service" $password -U $server -N >> $logfile
|
||||
|
Loading…
Reference in New Issue
Block a user