[Samba] Changing the PAM module

Bruno Jacquet bruno.jacquet at gmail.com
Thu Aug 16 17:05:47 GMT 2007


I've already compile it --with-pam, but I still don't know where to
change the PAM module.
I have to change it because of a requirement.

Thank you,

Jacquet

>
> Bruno Jacquet wrote:
> > Dear all,
> >
> > I want to give access to a shared directory in a way that the user has
> > to answer correctly to a trivia question, without the need of a
> > username and password. Therefore I've created a PAM module to do just
> > that.
> > The module works fine with a simple command line application I've done
> > to test it. But I can't get Samba to use it.
> >
> > - How can I configure Samba so that it uses my module?
>
> pam auth is ignored unless you include --with-pam at compile
> time and set 'encrypt passwords = no' in smb.conf.  But do
> you need a PAM module for this?  Just use the 'map to guest'
> option.
>
>
>
>
> cheers, jerry
>


More information about the samba mailing list