LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Paul Russell <[log in to unmask]>
Wed, 18 Feb 2009 11:13:32 -0500
text/plain (38 lines)
We are running LISTSERV 15.5 on Linux.  I am sitting here with our resident
LDAP guru attempting to figure out how to define dynamic queries using LDAP.
The examples in the documentation do not seem to make sense.  There are
comments which indicate that the query definition must be on a single line
in go.user, but the most extensive example involves a DISTRIBUTE job in
which the LDAP query is defined by multiple statements in the 'TO' DD.

This is the LDAP configuration in go.user (some values are masked with
asterisks; some lines are wrapped for readability):

	LDAP_SERVER_EDS=ldaps://directory.nd.edu:636
	LDAP_UID_EDS="ndGuid=********,ou=********,
		o=University of Notre Dame,st=Indiana,c=US"
	LDAP_AUTH_EDS=********
	LDAP_DEFAULT_EMAIL_EDS=mail
	LDAP_DEFAULT_NAME_EDS=displayName

This is the query we are trying to define:

	SERVER=EDS
	BASE=o=University of Notre Dame,st=Indiana,c=US
	FILTER='(|(uid=dowens)(uid=prussell))'
	ATTRS=mail
	SCOPE=SUBTREE

What is the correct syntax for the DYN_QUERY_queryname statement in go.user?
The BASE= string includes whitespace.  Do we need to quote any/all of the
BASE= string?  Do we need to request any attributes other than 'mail'?  The
documentation indicates that multiple attribute names in the ATTRS= string
are seperated by blanks.  If we need multiple attributes, do we need to
quote the ATTRS= string?

--
Paul Russell, Senior Systems Administrator
OIT Messaging Services Team
University of Notre Dame
[log in to unmask]

ATOM RSS1 RSS2