[Samba] Changing the PAM module
Gerald (Jerry) Carter
jerry at samba.org
Wed Aug 15 20:44:26 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
=====================================================================
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
"What man is a man who does not make the world better?" --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGw2WqIR7qMdg1EfYRApSLAKC4shYqy1d38fbSALXJLu5tczIs2gCgqrP+
+HyCoJ1GMqBtxIxWZznDZAE=
=F+S4
-----END PGP SIGNATURE-----
More information about the samba
mailing list