Re: auth against /etc/passwd
| From: | Michael Wallner | Date: | Wed, 10 Nov 2004 19:41:06 +0000 |
| Subject: | Re: auth against /etc/passwd | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15426@lists.php.net to get a copy of this message | ||
Hi Eduardo Gargiulo, you wrote:
> I'm developing an intranet system, and I would like to authenticate
> users against /etc/passwd file (system users), so I could use the
> same file to manage samba access and mail accounts.
>
> Is there a way to do that using some pear pakage? which one?
Yes, File_Passwd can do that:
http://pear.php.net/manual/en/package.fileformats.file-passwd.file-passwd-unix.staticauth.php
http://pear.php.net/manual/en/package.fileformats.file-passwd.file-passwd-smb.staticauth.php
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc