Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This script will perform a authentication for the user credentials passed in the parameters.

Result: 0 for successful authentication

ParameterDescriptionDefaultMandatory
userIdThis is the userID for the account to validate in the Directory Server. This will be in an account specified by $SSHLDAP_USERS_TENANT_DN.The "login" attribute of the current user's .netrc file.No
userPasswdThis is the password for the userID.The "password" attribute of the current user's .netrc file.No

...

This script will perform authorization of the given user against the current host.

Result: 0 for successful authorization

ParameterDescriptionDefaultMandatory
userId (if called directly)This is the userID for the account to validate in the Directory Server. This will be in an account specified by $SSHLDAP_USERS_TENANT_DN.N/ANo
${PAM_USER} (if called by PAM)See aboveThe "machine" attribute of theĀ /etc/${ziD}/sshldap/.netrc file.No

...

This script returns the sshpub key from the Directory Server for the given user.

Result: All SSH pubkeys on a separate line for each key.

ParameterDescriptionDefaultMandatory
userId (if called directly)This is the userID for the account to retrieve the ssh pubkey from the Directory Server.N/ANo

...