FUJITSU SPARC ENTERPRISE M4000 User Manual

Page 195

Advertising
background image

setldap(8)

System Administration

209

EXAMPLE 4

Setting the LDAP Server

EXAMPLE 5

Importing a Certificate

EXAMPLE 6

Testing the LDAP connection

EXIT STATUS

The following exit values are returned:

SEE ALSO

showldap(8)

XSCF>

setldap -s ldap://company.com,ldaps://company2.com

XSCF>

showldap

Bind Name:

user

Base Distinguished Name: ou=people,dc=company,dc=com
LDAP Search Timeout: 60
Bind Password: Set
LDAP Servers: ldap://company.com:389 ldaps://company2.com:636
CERTS: None

XSCF>

setldap -c

[email protected]:/path/to/cacert.pem

XSCF>

showldap

Bind Name:

user

Base Distinguished Name: ou=people,dc=company,dc=com
LDAP Search Timeout: 60
Bind Password: Set
LDAP Servers: ldap://company.com:389 ldaps://company2.com:636
CERTS: cacert.pem

XSCF>

setldap -t jsmith

company.com:389 PASSED

0

Successful completion.

>0

An error occurred.

Advertising