mounting samba share on server pc
Noah Dain
noahdain at gmail.com
Mon Jan 30 20:20:07 UTC 2006
On 1/30/06, John DeCarlo <johndecarlo at gmail.com> wrote:
> On 1/30/06, Reuben Kagan <kaganreuben at yandex.ru> wrote:
> > I have a question regarding cifs. I am currently using it, but I only can
> mount it manually, as it is askig password twice.
> > Is there a way to do it automatically at startup?
> >
>
> You don't say how you are trying to mount it.
>
> In the options section of your /etc/fstab file, are you using the
> "credentials=filename" option?
>
>
> --
> John DeCarlo, My Views Are My Own
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
I use fstab entries following this syntax:
fstab (this is one line in fstab, not sure if it will get wrapped in email):
//sambaserver/share /mountpoint cifs
credentials=credfile,uid=localuser,auto,user
"credfile" should be a text file that looks like:
username=samba-user-name
password=samba-user-password
--
Noah Dain
"Single failures can occur for a variety of reasons that have nothing
to do with a hardware defect, such as cosmic radiation ..." - IBM
Thinkpad R40 maintenance manual, page 25
More information about the kubuntu-users
mailing list