php / NIS
From: Jonathan B. (joblais14_at_hotmail.com)
Date: 11/30/03
- Next message: Pedro Graca: "Re: text formatting using eregi_replace"
- Previous message: edward hage: "Re: different results , same php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Nov 2003 08:22:43 -0800
hi all !
Is there anyone here who can help with NIS. I must use NIS with php
and I dont even know how NIS work.
I know there's a lot of functions in php:
yp_all -- Traverse the map and call a function on each entry
yp_cat -- Return an array containing the entire map
yp_err_string -- Returns the error string associated with the given
error code
yp_errno -- Returns the error code of the previous operation
yp_first -- Returns the first key-value pair from the named map
yp_get_default_domain -- Fetches the machine's default NIS domain
yp_master -- Returns the machine name of the master NIS server for a
map
yp_match -- Returns the matched line
yp_next -- Returns the next key-value pair in the named map.
yp_order -- Returns the order number for a map
I must interrogate NIS with a username and get the password for this
username.
Which one I am going to use ? What I am going to get from this
function, the password, all the profile for this user, ... ??
Thank you so much for your help
Jonathan B.
- Next message: Pedro Graca: "Re: text formatting using eregi_replace"
- Previous message: edward hage: "Re: different results , same php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|