mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
The -P option to smbclient no longer works - update all smbprint scripts to
remove it. Closes bug #473. (This used to be commit a9f22ed9d715e4acf529ff873b0d99d4b29c5f1b)
This commit is contained in:
parent
3a48e4b287
commit
804fca6e49
@ -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…
x
Reference in New Issue
Block a user