php / NIS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathan B.

    php / NIS

    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.
Working...