Required Parameter Group:
|
The Retrieve Directory Server Attributes (QgldRtvDirSvrA) API retrieves information about the directory server configuration. It can be used to retrieve information about:
The variable to receive output data. See Format of Output Data for a description of the format of the output data associated with a specific format name.
The length of the receiver variable area.
The format name identifying the type of information to be retrieved. The possible format names follow:
See Format of Output Data for a description of these formats.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
For details about the format of the output data, see the following sections. For details about the fields in each format, see Field Descriptions.
This format is used to retrieve basic server configuration
information.
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | BINARY(4) | Bytes returned |
| 4 | 4 | BINARY(4) | Bytes available |
| 8 | 8 | BINARY(4) | Version |
| 12 | C | BINARY(4) | Read only |
| 16 | 10 | BINARY(4) | Server is replica |
| 20 | 14 | BINARY(4) | Security |
| 24 | 18 | BINARY(4) | Unencrypted port number |
| 28 | 1C | BINARY(4) | Encrypted port number |
| 32 | 20 | BINARY(4) | Current cipher protocols |
| 36 | 24 | BINARY(4) | Installed cipher protocols |
| 40 | 28 | BINARY(4) | Search time limit |
| 44 | 2C | BINARY(4) | Search size limit |
| 48 | 30 | BINARY(4) | Maximum connections |
| 52 | 34 | BINARY(4) | Reserved |
| 56 | 38 | BINARY(4) | Referral port |
| 60 | 3C | BINARY(4) | Password format |
| 64 | 40 | BINARY(4) | Offset to referral server |
| 68 | 44 | BINARY(4) | Length of referral server |
| 72 | 48 | BINARY(4) | Offset to administrator distinguished name (DN) |
| 76 | 4C | BINARY(4) | Length of administrator DN |
| 80 | 50 | BINARY(4) | Offset to update DN |
| 84 | 54 | BINARY(4) | Length of update DN |
| 88 | 58 | BINARY(4) | Reserved |
| 92 | 5C | BINARY(4) | Reserved |
| 96 | 60 | BINARY(4) | Offset to database path |
| 100 | 64 | BINARY(4) | Length of database path |
| 104 | 68 | BINARY(4) | Reserved |
| 108 | 6C | BINARY(4) | SSL authentication method |
| 112 | 70 | BINARY(4) | Number of database connections |
| 116 | 74 | BINARY(4) | Schema checking level |
| 120 | 78 | BINARY(4) | Offset to master server URL |
| 124 | 7C | BINARY(4) | Length of master server URL |
| 128 | 80 | BINARY(4) | Change log indicator |
| 132 | 84 | BINARY(4) | Maximum number of change log entries |
| 136 | 88 | BINARY(4) | Terminate idle connections |
|
|
| CHAR(*) | Referral server |
|
|
| CHAR(*) | Administrator DN |
|
|
| CHAR(*) | Update DN |
|
|
| CHAR(*) | Database path |
|
|
| CHAR(*) | Master server URL |
This format is used to retrieve
the attributes for publishing users in an LDAP directory.
User information from the system distribution directory can
be published to an LDAP server by the
Synchronize System Distribution Directory to LDAP (QGLDSSDD) API and
from AS/400 Operations Navigator. The publishing attributes define
how to publish user information.
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | BINARY(4) | Bytes returned |
| 4 | 4 | BINARY(4) | Bytes available |
| 8 | 8 | BINARY(4) | Offset to server name |
| 12 | C | BINARY(4) | Length of server name |
| 16 | 10 | BINARY(4) | LDAP port number |
| 20 | 14 | BINARY(4) | Connection type |
| 24 | 18 | BINARY(4) | Offset to parent distinguished name. |
| 28 | 1C | BINARY(4) | Length of parent distinguished name. |
|
|
| CHAR(*) | Server name |
|
|
| CHAR(*) | Parent distinguished name. |
Administrator DN. A distinguished name (DN) that has access to all objects in the directory. This field is specified in UCS-2 (CCSID 13488).
Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.
Bytes returned.
The number of bytes of data returned.
Change log indicator.
The indicator of whether a change log exists for entries that have been added, changed and deleted.
The following values may be specified:
Connection type. The type of connection to use to the LDAP server. The following values may be specified:
Current cipher protocols. The cipher protocols that the server allows when using encrypted connections. The value is the sum of zero or more of the following values:
Database path. The integrated file system path name of the library containing the directory database. This field is specified in UCS-2 (CCSID 13488).
Encrypted port number. The port number to use for encrypted connections. The standard port number for encrypted connections is 636.
Installed cipher protocols. The cipher protocols installed on the system. Refer to the current cipher protocols field for a description of the values.
LDAP port number. The LDAP server's TCP/IP port.
Length of administrator DN. The length, in Unicode characters, of the administrator DN field.
Length of database path.
The length, in Unicode characters, of the
database path field.
Length of master server URL.
The length, in Unicode characters, of the
master server URL field.
Length of parent distinguished name. The length, in Unicode characters, of the parent distinguished name field.
Length of server name. The length, in Unicode characters, of the server name field.
Length of referral server. The length, in Unicode characters, of the referral server field.
Length of update DN.
The length, in Unicode characters, of the
update DN field.
Master server URL.
The uniform resource locator (URL) of the master server.
This field is specified in UCS-2 (CCSID 13488).
The following special value may be returned:
Maximum connections. Returns the maximum number of simultaneous connections that can be established with the server. The following special value may be specified:
Maximum number of change log entries. The maximum number of change log entries that can be stored. If the maximum is reached, the change log entries will be deleted starting with the oldest entry. This value only valid if 'Change log indicator' is set to 1. The following special values may be specified:
Number of database connections. The number of database connections used by the server.
Offset to administrator DN. The offset, in bytes, from the start of the receiver variable to the administrator DN field.
Offset to database path.
The offset, in bytes, from the start of the receiver variable to
the database path field.
Offset to master server URL.
The offset, in bytes, from the start of the receiver variable to the
master server URL field.
Offset to parent distinguished name. The offset, in bytes, from the start of the receiver variable to the parent distinguished name field.
Offset to referral server. The offset, in bytes, from the start of the receiver variable to the referral server field.
Offset to server name. The offset, in bytes, from the start of the receiver variable to the server name field.
Offset to update DN. The offset, in bytes, from the start of the receiver variable to the update DN field.
Parent distinguished name. The parent distinguished name for published objects. For example, if the parent distinguished name is "ou=rochester, o=ibm, c=us", a published directory object for user John Smith might be "cn=john smith, ou=rochester, o=ibm, c=us". This field is specified in UCS-2 (CCSID 13488).
Password format. The format of the encrypted password. The following values may be specified:
Read only. Whether the directory server allows changes to be made to the directory contents. The following values may be specified:
Referral port. An optional port number to be returned to a client when a request is made for a directory object that does not reside on this server. The referral port and referral server together are used to form a referral URL. The following special value may be specified:
Referral server. The IP name of a server to return to a client when a request is made for a directory object that does not reside on this server. This field is specified in UCS-2 (CCSID 13488). The referral port and referral server are used together to form a referral URL. The following special value may be specified:
Reserved.
A reserved field. This field must be set to zero.
Schema checking level.
The level of schema checking performed by the server.
The following values may be specified:
Search size limit. The maximum number of entries that the server will return for a given search request. The following special value may be specified:
Search time limit. The maximum time, in seconds, that the server will spend performing a given search request. The following special value may be specified:
Security. Whether the server is to use encrypted connections. The following values may be specified:
Note: SSL is used for encrypted connections to the server.
Server is replica. Whether the server is a master server or a replica server. The following values may be specified:
Server name.
The name of the server.
This field is specified in UCS-2 (CCSID 13488).
SSL authentication method.
The method used during SSL authentication.
The following values may be specified:
Terminate idle connections.
The server will terminate idle connections when necessary.
The following values may be specified:
Unencrypted port number. The port number to be used for unencrypted connections. The standard port number is 389.
Update DN. The distinguished name that the master server must use when propagating directory updates to this replica server. This field is specified in UCS-2 (CCSID 13488). The following value may be specified:
Use encrypted connections. Whether this server should use encrypted connections when making updates to the replica server. The following values may be specified:
Version. Returns the version of the LDAP server.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |