lots of the time I want to pull data from shared files on windows computers.???? The shares used to show up under network in any number of file programs, caja, konqueror, etc.?? What protocol has replaced that access?
Robert
On 2020-08-10 11:08, Robert McBroom via users wrote:
lots of the time I want to pull data from shared files on windows computers.???? The shares used to show up under network in any number of file programs, caja, konqueror, etc.?? What protocol has replaced that access?
If you execute
smbclient -L <windowsIP or DNS name>
Do you get a list of available shares?
If so, you can then mount the share using a type of cifs.
On 8/9/20 11:44 PM, Ed Greshko wrote:
On 2020-08-10 11:08, Robert McBroom via users wrote:
lots of the time I want to pull data from shared files on windows computers.???? The shares used to show up under network in any number of file programs, caja, konqueror, etc.?? What protocol has replaced that access?
If you execute
smbclient -L <windowsIP or DNS name>
Do you get a list of available shares?
If so, you can then mount the share using a type of cifs.
[root@xxxPC ~]# smbclient -L //10.237.214.183 Enter WORKGROUP\root's password: session setup failed: NT_STATUS_ACCESS_DENIED
On 2020-08-10 19:26, Robert McBroom via users wrote:
On 8/9/20 11:44 PM, Ed Greshko wrote:
On 2020-08-10 11:08, Robert McBroom via users wrote:
lots of the time I want to pull data from shared files on windows computers.???? The shares used to show up under network in any number of file programs, caja, konqueror, etc.?? What protocol has replaced that access?
If you execute
smbclient -L <windowsIP or DNS name>
Do you get a list of available shares?
If so, you can then mount the share using a type of cifs.
[root@xxxPC ~]# smbclient -L //10.237.214.183 Enter WORKGROUP\root's password: session setup failed: NT_STATUS_ACCESS_DENIED
You should do this as a normal user which would have to the shares. Meaning, an account on the Windows side.
On 8/10/20 7:34 AM, Ed Greshko wrote:
On 2020-08-10 19:26, Robert McBroom via users wrote:
On 8/9/20 11:44 PM, Ed Greshko wrote:
On 2020-08-10 11:08, Robert McBroom via users wrote:
lots of the time I want to pull data from shared files on windows computers.???? The shares used to show up under network in any number of file programs, caja, konqueror, etc.?? What protocol has replaced that access?
If you execute
smbclient -L <windowsIP or DNS name>
Do you get a list of available shares?
If so, you can then mount the share using a type of cifs.
[root@xxxPC ~]# smbclient -L //10.237.214.183 Enter WORKGROUP\root's password: session setup failed: NT_STATUS_ACCESS_DENIED
You should do this as a normal user which would have to the shares. Meaning, an account on the Windows side.
smbclient -L //10.237.214.183 --user=rm3 --workgroup=WORKGROUP Enter WORKGROUP\rm3's password:
Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin C$ Disk Default share D$ Disk Default share D-z440 Disk E$ Disk Default share F$ Disk Default share H$ Disk Default share IPC$ IPC Remote IPC J$ Disk Default share print$ Disk Printer Drivers SMB1 disabled -- no workgroup available
Windows has SMB2 AND 3 available. Don't see anything in smb.conf to set a protocol
On Mon, Aug 10, 2020 at 02:51:03PM -0400, Robert McBroom via users wrote:
On 8/10/20 7:34 AM, Ed Greshko wrote:
On 2020-08-10 19:26, Robert McBroom via users wrote:
On 8/9/20 11:44 PM, Ed Greshko wrote:
On 2020-08-10 11:08, Robert McBroom via users wrote:
lots of the time I want to pull data from shared files on windows computers.???? The shares used to show up under network in any number of file programs, caja, konqueror, etc.?? What protocol has replaced that access?
If you execute
smbclient -L <windowsIP or DNS name>
Do you get a list of available shares?
If so, you can then mount the share using a type of cifs.
[root@xxxPC ~]# smbclient -L //10.237.214.183 Enter WORKGROUP\root's password: session setup failed: NT_STATUS_ACCESS_DENIED
You should do this as a normal user which would have to the shares. Meaning, an account on the Windows side.
smbclient -L //10.237.214.183 --user=rm3 --workgroup=WORKGROUP Enter WORKGROUP\rm3's password:
Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin C$ Disk Default share D$ Disk Default share D-z440 Disk E$ Disk Default share F$ Disk Default share H$ Disk Default share IPC$ IPC Remote IPC J$ Disk Default share print$ Disk Printer Drivers SMB1 disabled -- no workgroup available
Windows has SMB2 AND 3 available. Don't see anything in smb.conf to set a protocol
excerpt from /etc/samba/smb.conf on my CentOS box:
; max protocol = SMB2 server min protocol = SMB3_11 client max protocol = SMB3_11 client min protocol = SMB3_11
which forces smb3.
Fred
On 2020-08-11 02:51, Robert McBroom via users wrote:
smbclient -L //10.237.214.183 --user=rm3 --workgroup=WORKGROUP Enter WORKGROUP\rm3's password:
Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin C$ Disk Default share D$ Disk Default share D-z440 Disk E$ Disk Default share F$ Disk Default share H$ Disk Default share IPC$ IPC Remote IPC J$ Disk Default share print$ Disk Printer Drivers SMB1 disabled -- no workgroup available
Windows has SMB2 AND 3 available. Don't see anything in smb.conf to set a protocol
Well, you should now be able to mount the share....
mount.cifs //10.237.214.183/D-z440 /mnt -o user=rm3,uid=rm3,gid=rm3
for example.
Of course you may need to change uid and gid as well as the mount point.
On 2020-08-10 19:26, Robert McBroom via users wrote:
On 8/9/20 11:44 PM, Ed Greshko wrote:
On 2020-08-10 11:08, Robert McBroom via users wrote:
lots of the time I want to pull data from shared files on windows computers.???? The shares used to show up under network in any number of file programs, caja, konqueror, etc.?? What protocol has replaced that access?
If you execute
smbclient -L <windowsIP or DNS name>
Do you get a list of available shares?
If so, you can then mount the share using a type of cifs.
[root@xxxPC ~]# smbclient -L //10.237.214.183 Enter WORKGROUP\root's password: session setup failed: NT_STATUS_ACCESS_DENIED
Hit sent too quickly....
You can use -U with the smbclient command to specify a Windows user name.
See the man page for other options.