RESOLVED: Can't list user's shares on command line

Windows Access Rights Management
Post Reply
itteam
Know my way around
Posts: 100
Joined: Thu Jul 25, 2013 1:25 am

RESOLVED: Can't list user's shares on command line

Post by itteam »

Code: Select all

 /mnt/ext/opt/samba/bin/smbclient -L localhost -U montypython
WARNING: The "null passwords" option is deprecated
Enter montypython's password:
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE

I have a note that this stopped working on NAS in March 2019; don't know if it was a change to the way we add the user or a change in QNAP. On our *Nix servers, the expected output is a list of shares the user has access to. In this way we have verified that the password is correct.

Any ideas if this is expected on QNAP now or what we may be doing wrong/missing ?
Last edited by itteam on Sat Mar 12, 2022 11:38 pm, edited 1 time in total.
[ TS-873U-RP @HQ ][ TS-220 + TS-221 +TS-419 U II @Satellite branches ] [ TS-212P + HS453-DX @Home ]
itteam
Know my way around
Posts: 100
Joined: Thu Jul 25, 2013 1:25 am

Re: Can't list user's shares on command line

Post by itteam »

RESOLVED - add to the command: -m SMB3

Code: Select all

 /mnt/ext/opt/samba/bin/smbclient -L localhost -m SMB3 -U montypython
[ TS-873U-RP @HQ ][ TS-220 + TS-221 +TS-419 U II @Satellite branches ] [ TS-212P + HS453-DX @Home ]
Post Reply

Return to “Windows”