Gungne Gungneson
2010-Feb-16 23:53 UTC
[Samba] How do I mount a share on my Debian server ?
I'm running a small debian server with 15 users. The server is behid a firewall on the inside of a large windows network. I need to access a share on one of the win2003 servers. How do I do this? I want to mount the win share so that I permanently can access it from the debain workstations. On my server I have debain 3.2 running . Do I have to open ports in my firewall? I have tried to access the shares from the Debain server, but without any luck. My ubuntu laptop connects to the shares with no problems, ( from behind my firewall) so I know it is possible to reach and mount the share. GG
Hallo, Gungne, Du meintest am 17.02.10:> I need to access a share on one of the win2003 servers. How do I do > this? I want to mount the win share so that I permanently can access > it from the debain workstations.Structure (not completely tested) smbclient -N -L <win2003> shows the names of the shares. mount //<win2003>/<Share> /mnt/localshare should ask for username and password; the mountpoint has to exist. I've just tried the mount line: "mount.cifs" doesn't work, but "mount" tells to try the "cifs" type and works well, "mount -t cifs" too. Samba 3.4.4 Viele Gruesse! Helmut
Gungne Gungneson put forth on 2/16/2010 5:53 PM:> Do I have to open ports in my firewall?Tell us more about the scenario when you're outside the firewall. Are you wanting to access SMB/CIFS over the internet from your laptop? Or is this firewall between two segments of a corporate network, say within the same building, or same campus LAN? -- Stan
Gungne Gungneson
2010-Feb-17 12:19 UTC
[Samba] How do I mount a share on my Debian server ?
On Wed, Feb 17, 2010 at 12:58 PM, Helmut Hullen <Hullen at t-online.de> wrote:> Hallo, Gungne, > > Du meintest am 17.02.10: > > > I just want to access the shares on the windows server. > > > My server (where I want to mount shares) > > > My gateway (FW) > > 10.23.152.1 > > 10.23.1.2 > > 10.23.150.100 (win2003 with shares) > > What tells > > smbclient -N -L 10.23.150.100 > >myserver:~# smbclient -N -L 10.23.150.100 Anonymous login successful Domain=[CORPNET] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2] Sharename Type Comment --------- ---- ------- cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine 10.23.150.100. Error was NT_STATUS_ACCE SS_DENIED Error returning browse list: NT_STATUS_ACCESS_DENIED session request to 10.23.150.100 failed (Called name not present) session request to 10 failed (Called name not present) Anonymous login successful Domain=[CORPNET] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2] Server Comment --------- ------- ... A-lot-of-servers-listed ... Workgroup Master --------- ------- STUDENS 23ADOO05 CORPNET 23ADM01 WORKGROUP MAC03 myserver:~# Cheers! Gungne G> Viele Gruesse! > Helmut > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >