|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Authenticate users in Unix using C#Hi all,
does anyone has an idea of how to do this? We have a authentication engine, that would also support Unix users to authenticate in Unix, I was thinking in connecting to the Unix machine and when if sent the wrong user name or password an error would be returned and I would not authenticate the user. Is this possible? Thanks, Luís Miguel Pinho You can try connecting to a simple service that authenticates users on
that Unix box and talk to it (pop3/imap/telnet/ldap?). Other option is to write your own app for that unix box in c# (Mono project) that would authenticate users (library call to pam, or whatever you use to check logins, or maybe Mono.Unix.UnixUser...) and send feedback if data was ok. |
|||||||||||||||||||||||