Hey guys,

Is there some form of encoding or encryption on the server IP address
value. When i try and query for it, it comes back with the following
result:

<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.1.4427">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="NCP Server"
qualified-src-dn="O=Riverview\OU=Servers\CN=STAFF_NODE5_POOL1_SE RVER"
src-dn="\STIGNATS\Riverview\Servers\STAFF_NODE5_POOL1_ SERVER"
src-entry-id="39383">
<attr attr-name="Network Address">
<value timestamp="1174519915#27" type="structured">
<component name="netAddrType">8</component>
<component name="netAddr">AgwKA/+g</component>
</value>
<value timestamp="1174519915#28" type="structured">
<component name="netAddrType">9</component>
<component name="netAddr">AgwKA/+g</component>
</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>

Does anyone know why it's giving me odd characters?

Here's the background story:

I'm adding a bunch of aux attributes to a user when they're being
provisioned into the metadirectory.

A couple of these attributes hold information about home directories
and their locations.

The policy in question gets the home dir volume name, then queries that
for the server object currently hosting the volume (clustered
environment) and then it uses that result to query the server object for
its Network Address value.

Any help would be muchly appreciated.

IDM 3.6
eDir 8.8.3 - FTF2
SLES 10sp2

Here's the trace for that policy - spread across three posts.
Thanks again.

11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:Applying policy:
Add STIGapple attributes.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Applying to
modify #1.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Evaluating
selection criteria for rule 'Store Home Directory volume on add'.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-class-name
equal "User") = TRUE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-operation
equal "add") = FALSE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Rule rejected.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Evaluating
selection criteria for rule 'Store Home Directory volume on modify'.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-class-name
equal "User") = TRUE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-operation
equal "modify") = TRUE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-op-attr
'Home Directory' available) = TRUE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Rule selected.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Applying rule
'Store Home Directory volume on modify'.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Action:
do-set-local-variable("dc-homeDir-volume",scope="driver",token-parse-dn(dest-dn-format="slash",length="1",src-dn-format="slash",start="3",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='volume']/text()"))).
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
arg-string(token-parse-dn(dest-dn-format="slash",length="1",src-dn-format="slash",start="3",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='volume']/text()")))
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
token-parse-dn(dest-dn-format="slash",length="1",src-dn-format="slash",start="3",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='volume']/text()"))
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
token-parse-dn(dest-dn-format="slash",length="1",src-dn-format="slash",start="3",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='volume']/text()"))
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='volume']/text()")
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Token Value:
"\STIGNATS\Riverview\Servers\STAFF_FILE_VOL1".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Arg Value:
"\STIGNATS\Riverview\Servers\STAFF_FILE_VOL1".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Token Value:
"STAFF_FILE_VOL1".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Arg Value:
"STAFF_FILE_VOL1".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Evaluating
selection criteria for rule 'Store Home Directory path on add'.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-class-name
equal "User") = TRUE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-operation
equal "add") = FALSE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Rule rejected.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Evaluating
selection criteria for rule 'Store Home Directory path on modify'.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-class-name
equal "User") = TRUE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-operation
equal "modify") = TRUE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: (if-op-attr
'Home Directory' available) = TRUE.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Rule selected.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Applying rule
'Store Home Directory path on modify'.
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Action:
do-set-local-variable("dc-homeDir-path",scope="driver",token-replace-all("\\","/",token-substring(start="1",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='path']/text()")))).
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
arg-string(token-replace-all("\\","/",token-substring(start="1",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='path']/text()"))))
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
token-replace-all("\\","/",token-substring(start="1",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='path']/text()")))
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
token-replace-all("\\","/",token-substring(start="1",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='path']/text()")))
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
token-substring(start="1",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='path']/text()"))
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
token-substring(start="1",token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='path']/text()"))
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST:
token-xpath("modify-attr[@attr-name='Home
Directory']/add-value/value/component[@name='path']/text()")
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Token Value:
"\hero5\path5\test7".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Arg Value:
"\hero5\path5\test7".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Token Value:
"hero5\path5\test7".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Arg Value:
"hero5\path5\test7".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Token Value:
"hero5/path5/test7".
11:16:03 9BCBBBA0 Drvrs: STIGNATS-2-RIVERVIEWVAULT ST: Arg Value:
"hero5/path5/test7".


--
aarondickinson
------------------------------------------------------------------------
aarondickinson's Profile: http://forums.novell.com/member.php?userid=8703
View this thread: http://forums.novell.com/showthread.php?t=358148