
For example, if the LDAP server’s URL is
hostname.com
, the line:
#
uri"ldap://[myldap]/ou=external,dc=local"
should be uncommented and customized to look like the following:
uri"ldap://hostname.com/ou=external,dc=local"
3. Save the
/usr/local/openldap/etc/openldap/slapd.conf
file.
4. Restart the
slapd
daemon, which listens for LDAP connections.
[root@
login-1
~]#
service slapd restart
5. Restart the
oddjobd
daemon, which provides a means for invoking and taking limited control of applications.
[root@
login-1
~]#
service oddjobd restart
6. Ensure that LDAP has been set up properly
a. Log on to the System Management Workstation (SMW) as root.
b. Verify that the users registered with LDAP are listed on all the nodes.
In the following example,
system-smw
is used as an example for the SMW's hostname and
username
is
used as an example of an LDAP user's username.
# root@
system-smw
pdsh -w nid000[00-47] 'id username'
c. Log on to login node 1.
#
ssh root@login-1
d. Verify that all LDAP users are listed when the
ldapsearch
command is executed for all entries:
[root@nid00030 ~]#
ldapsearch -h 127.0.0.1 -D "cn=crayadm,dc=local" -w initial0 -b "dc=local"
For information about internal LDAP or the LDAP server, contact Cray Support. For advanced configuration
settings, see the OpenLDAP Software Administrator’s guide at
7.14.1 Enable LDAP for Connecting Tableau to HiveServer2
Prerequisites
This procedure requires root privileges.
About this task
This procedure provides instructions for enabling LDAP for connecting HiveServer2 to Tableau or other external
clients.
Procedure
1. Log on to the SMW.
Security
S3016
238