php-nis

Description:

php NIS 인증 확장

Features:

sample codes:
1
<?php
2
$user = 'test';
3
$pass = 'testpass';
4
$domain = 'NIS-DOMAIN';
5
$map = 'passwd.byname';
6
7
if ( nis_auth ($user, $pass, $domain, $map) === FALSE )
8
echo "Auth Failed\n";
9
else
10
echo "Auth Success\n";
11
?>
Copied!

Reference:

Dependencies:

Sub Packages:

  • None

Releated Packages:

Last modified 2yr ago