[Samba] krb5cc cache upon login. Possible?

Rowland Penny rpenny at f2s.com
Fri Apr 12 10:15:41 MDT 2013


On 12/04/13 17:01, steve wrote:
> openSUSE 12.3 clients joined to a Samba4 Domain
>
> Hi everyone
>
> We are using the cifs multiuser option with sec=krb5. This requires 
> the user to have a ticket cache under /tmp
> I know we can get that by using kinit, but I hear rumours that pam can 
> do it upon successful authentication.
>
> Can anyone point me in the right direction?
> Cheers,
> Steve
Hi Steve, libpam-script, you need three scripts an auth script to get 
the ticket cache, then a script to do something with it when the user 
logs in and another to do something when they log out, I seem to have 
this working. I tried libpam-mount, but it had a nasty habit of not 
removing the mount on log off.

Rowland

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list