mounting samba share on server pc

Reuben Kagan kaganreuben at yandex.ru
Tue Jan 31 10:54:20 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

John, Noah, Thank you very much , it works.
I thought credentials is for remote password.
By the way, for whom credfile should be readable for it to work?
Would root be enough?
Reuben. 




More information about the kubuntu-users mailing list