[Samba] Mounting Samba Share using linux login

David Kuntadi d.kuntadi at gmail.com
Thu Jun 12 03:09:28 GMT 2008


I have followed below guidelines which is a little bit outdated:
https://wiki.ubuntu.com/MountWindowsSharesPermanently#head-4956b77e68a8e33082ab7c38e52b50541c417d95

It is mounted successfully by editing /etc/security/pam_mount.conf.xml
instead of /etc/security/pam_mount.conf, and follow the direction in
the /etc/security/pam_mount.conf.xml.

Now user could change samba password using usermin, and then followed
by changeing its own password to match, and the share would mount
autimatically.

Thanks again,
David
On Thu, Jun 12, 2008 at 7:54 AM, David Kuntadi <d.kuntadi at gmail.com> wrote:
> Yes, I think pam mount is what I need. I will study it and report if
> it is successfull.
>
> Anyway, thanks also for Helmut for the idea.
>
> Regards,
> David
>
> On Thu, Jun 12, 2008 at 3:13 AM, Gustavo Homem <gustavo at angulosolido.pt> wrote:
>> On Wednesday 11 June 2008 14:50, John Drescher wrote:
>>> > Sorry - I've written a batch file for DOS/Windows.
>>> > Linux users should use a shell script.
>>> > There are several options to run this shell:
>>>
>>> Although I have not done this yet (waiting for linux dfs client to
>>> work 2.6.26 kernel), I believe pam_mount is also a good option for
>>> this purpose:
>>>
>>> http://pam-mount.sourceforge.net/
>>
>> pam_mount is the best solution as it mounts the sahre with the unix user
>> credentials.
>>
>> Best regards
>> Gustavo
>>
>> --
>> Angulo Sólido - Tecnologias de Informação
>> http://angulosolido.pt
>>
>


More information about the samba mailing list