[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Using PAM and MSSQL

On Wed, Jan 08, 2003 at 04:16:02PM -0200, Leandro Rodrigo Saad Cruz wrote:
> Hi all. I've never written a module to authenticate users with PAM. Now
> I have to do it using MSSQL server and allow the user if he has the
> right permission set on a table, like this :

> username password hasEmailAccount hasWebAccount hasXXXAcount
> leandro  leandro     true            false        false

> So, for example, if want to check my emails on a popd, I will, but I
> can't use the web through squid or XXX.

> Is it possible to write a module to do this without changing the client
> application ? ( using the conversation mechanism ).

I know of modules that do the same thing for mysql and pgsql, so it is
possible.  The 'hasXXXAccount' could be handled within the module by
mapping service names to database fields.

From a security standpoint, it is not recommended to use a networked,
plaintext protocol SQL database for your PAM backend.

Steve Langasek
postmodern programmer

Attachment: pgp00000.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []