[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] Connecting to a samba share at startup
From:       Anne Wilson <cannewilson () googlemail ! com>
Date:       2007-07-30 11:52:21
Message-ID: 200707301252.22056.cannewilson () googlemail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 30 Jul 2007, Boyan Tabakov wrote:
> On Monday 30 July 2007 14:22:50 Anne Wilson wrote:
> > On Monday 30 Jul 2007, Werner Joss wrote:
> > > > How can I ensure that I connect to my home directory on a server,
> > > > when I log
> > > > in to a session?
> > >
> > > Anne,
> > > you could create a shellscript in your ~/.kde/env directory, e.g.
> > > smbmount.sh,
> > > which mounts the samba share via smbmount command.
> > > scripts in ~/.kde/env are executed automatically at login.
> >
> > Yes, of course.  I should have remembered that.   Could you give me an
> > example of the syntax for passing username and password?  I've little
> > experience of shellscripts, and none for this kind of job.  Thanks
> >
> > Anne
>
> Hi,
>
> Better use mount (it will call smbmount):
>
> mount -t smbfs -o username=myname password=mypass //service/path
> /mount/point
>
> If you would like to mount the samba share on boot, you could add a fstab
> entry for it too:
>
> //service/path	/mount/point	smbfs	username=myname,password=mypass	0 0
>
Very helpful, as always Boyan.  I'll try the kde startup version first, 
putting the mount into an env shellscript.  Thanks

Anne

[Attachment #5 (application/pgp-signature)]

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic