[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 2

get_auth_method Subroutine

Purpose

Returns the list of authentication methods for the secure rcmds.

Library

Authentication Methods Library (libauthm.a)

Syntax

int get_auth_method (uint ** authm)

Description

This method returns the authentication methods currently configured in the order in which they should be attempted in the unsigned integer pointer the user passed in.

The list in the unsigned integer pointer is either NULL (on an error) or is an array of unsigned integers terminated by a zero. Each integer identifies an authentication method. The order that a client should attempt to authenticate is defined by the order of the list.

Note
The calling routine is responsible for freeing the memory in which the list is contained.

The flags identifying the authentication methods are defined in the /usr/include/authm.h file.

Parameter

authm Points to an array of unsigned integers. The list of authentication methods is returned in the zero terminated list.

Return Values

Upon successful completion, the get_auth_method subroutine returns a zero.

Upon unsuccessful completion, the get_auth_method subroutine returns an errno.

Related Information

The chauthent command, ftp command, lsauthent command, rcp command, rlogin command, rsh command, telnet, tn, or tn3270 command.

The set_auth_method subroutine.

Network Overview in AIX 5L Version 5.2 System Management Guide: Communications and Networks.

Secure Rcmds in AIX 5L Version 5.2 System User's Guide: Communications and Networks.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]