cifs no guest if password specified
This commit is contained in:
parent
f368bd21b8
commit
c1c10e3a7b
|
@ -3746,7 +3746,7 @@ _get_type:
|
|||
if ( type == MOUNT_NET )
|
||||
{
|
||||
if ( ( !strcmp( fstype, "smbfs" ) || !strcmp( fstype, "cifs" ) )
|
||||
&& !netmount->user
|
||||
&& !netmount->user && !netmount->pass
|
||||
&& validate_in_list( "allowed_options", fstype, "guest" ) )
|
||||
{
|
||||
// try cifs as guest first
|
||||
|
|
Loading…
Reference in New Issue
Block a user