On Wed, 23 May 2012 16:26:01 +0000, moularbi wrote:

> I'm trying to read user distribution list DNs but I'm getting an empty
> string:

As far as I can tell, there is no such thing, so your query doesn't make

It looks to me like Distribution Lists may be part of the Post Office or
Domain, I'm not sure which, but your query is for object class User.
Further, it looks like Distribution List has members (Users), but it
doesn't look to me like there's a backlink from User to the Distribution

The docs show some examples of adding a user to a distribution list. They
don't show any sort of query for distribution list, though, so this may
or may not even be possible.

> <do-set-local-variable name="current-user-lists" scope="policy">
> <arg-node-set>
> <token-dest-attr name="Distribution List DN"/>
> </arg-node-set>
> </do-set-local-variable>

What is it that this was supposed to do?

It looks like your intent was to find the list(s) that the current user
is a member of. As far as I can tell, you'd have to query for all lists,
get the members list for each, and check the current user against the
members list.

David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.novell.com

Please post questions in the forums. No support provided via email.