samba@lists.samba.org
[Top] [All Lists]

Re: [Samba] How do I mount a share on my Debian server ?

Subject: Re: [Samba] How do I mount a share on my Debian server ?
From: Gungne Gungneson
Date: Fri, 19 Feb 2010 13:26:28 +0100
This worked :-)

First i made a new folder inside /mnt

/mnt/Share_name

then:

myserver:~# mount -t cifs //10.23.150.100/Share /mnt/Share_name -v -o
user=my-username,pass=my-password,domain=CORPNET

mount.cifs kernel mount options: unc=//10.23.150.100
\Share,ip=10.23.150.100,ver=1,rw,user=my-username,domain=CORPNET,pass=********
myserver:~#

On the server I now can view the files. But how do I
mount this share permanently, and how do I make the
folder accessible for users on the local server?


Gungne



On Fri, Feb 19, 2010 at 11:01 AM, Eero Volotinen <eero.volotinen@xxxxxx>wrote:

> 2010/2/19 Gungne Gungneson <gungne2@xxxxxxxxx>:
> > This line is getting me forward:
> >
> > smbclient -U my-username -W WORKGROUP -L 10.23.150.100
> > Enter my-username's password:
> >
> > Domain=[CORPNET] OS=[Windows Server 2003 R2 3790 Service Pack 2]
> > Server=[Windows Server 2003 R2 5.2]
> >
> > Sharename Type Comment
> > --------- ---- -------
> > print$ Disk Printer Drivers
> > C$ Disk Default share
> > ...
> > a-lot-of-shares
> > ...
> > F$ Disk Default share
> > ADMIN$ Disk Remote Admin
> > ...
> > a-lot-of-printers
> > ...
> >
> > session request to 10.23.150.100 failed (Called name not present)
> > session request to 10 failed (Called name not present)
> > Domain=[CORPNET] OS=[Windows Server 2003 R2 3790 Service Pack 2]
> > Server=[Windows Server 2003 R2 5.2]
> >
> >
> > Tanks for a lot of use full hints so fare.
> > I'm new to samba, so I am now sure what
> > to use as search terms. But the answers
> > here has helped me much.
> >
> > Now I have to mount the share permanent
> > on my server. And here I need some help and
> > hints...
>
> Like this in /etc/fstab
>
> //ip.or.hostname/WORK /mnt/work                      cifs
>
> noperm,uid=eero,rw,user=eero,iocharset=utf8,credentials=/home/eero/credentials
>  0 0
>
> crendentials file contains line password=user-password
>
> --
> Eero
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

<Prev in Thread] Current Thread [Next in Thread>