Questo contenuto non è disponibile nella lingua selezionata.
9.13. Using SASL with LDAP Clients
To use SASL with the LDAP clients, such as
ldapsearch
, pass the -Y SASL_mechanism
to the command. For example:
- To use the
GSSAPI
SASL mechanism over the LDAP protocol:ldapsearch -Y GSSAPI -U "dn:uid=user_name,ou=people,dc=example,dc=com" -R EXAMPLE.COM -H ldap://server.example.com -b "dc=example,dc=com"
# ldapsearch -Y GSSAPI -U "dn:uid=user_name,ou=people,dc=example,dc=com" -R EXAMPLE.COM -H ldap://server.example.com -b "dc=example,dc=com"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To use the
PLAIN
SASL mechanism over the LDAPS protocol:ldapsearch -Y PLAIN -D "uid=user_name,ou=people,dc=example,dc=com" -W -H ldaps://server.example.com -b "dc=example,dc=com"
# ldapsearch -Y PLAIN -D "uid=user_name,ou=people,dc=example,dc=com" -W -H ldaps://server.example.com -b "dc=example,dc=com"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Note
SASL proxy authorization is not supported in Directory Server. Therefore, Directory Server ignores any SASL
authzid
value supplied by the client.