https://github.com/oops-org-php/mod_nis
https://github.com/oops-org-php/mod_nis
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oops-org-php/mod_nis
- Owner: OOPS-ORG-PHP
- License: other
- Created: 2016-05-22T15:37:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T18:31:26.000Z (over 3 years ago)
- Last Synced: 2025-01-08T10:38:59.821Z (6 months ago)
- Language: C
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PHP nis extension
==
[](https://raw.githubusercontent.com/php/php-src/master/LICENSE)

[](https://github.com/OOPS-ORG-PHP/mod_nis/releases)
[](https://github.com/OOPS-ORG-PHP/mod_nis/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/OOPS-ORG-PHP/mod_nis/pulls?q=is%3Apr+is%3Aclosed)## 1. License
Copyright 2022. JoungKyun.Kim <http://oops.org> All rights reserved.
This program is under ***PHP License***.
## 2. Description
mod_nis php 확장은 nis entry 를 이용하여 인증을 하기 위한 모듈이다. shadow system 에서는 mod_pam 의 경우, root 권한이 있어야 정상 작동을 하기 때문에, root 권한이 없는 apache module 로서의 사용시에 NIS 인증을 할 수 있도록 하기 위한 모듈이다.
단 단점으로는, NIS entry 에 존재하는 리스트만 인증이 가능하다. PAM 처럼 local account 까지 처리를 해 주지는 못한다.
## 3. Warning
* 이 확장은 매우 실험적인 버전이다. pruduct 에 적용하는 것을 권장하지 않는다.
* 1.0.x 부터는 PHP 7 이상만을 지원한다. PHP 7 미만에서는 0.x 버전을 사용 해야 한다. (기능적 차이는 없다.)
* 이 확장은 thread safe 하지 못하다!## 4. Installation
```bash
[root@host nis]# phpize
[root@host nis]# ./configure
[root@host nis]# make
[root@host nis]# make install
```## 5. Usage
### 5.1 Configurations
#### 5.1.1 module loading
If build with PHP dynamic extension, you will need to load ***nis.so*** file in ***php.ini***. Add follow configuration in th php.ini.
```ini
; for php 7.1 and before
extension = nis.so; for php 7.2 and after
; default extension dir
extension = nis
; use absolute path
extension = /path/nis.so
```