I am testing a new NxSettings driver which we intend to use to set
simple posix attribs on our ~115,000 or so user accounts. I am seeing an
error in the trace that I can not resolve even after finding a few other
users on these forums with a similar problem and following the advice in
those threads. The GCV for the driver DN is set as you can see, but it
still reports no instance of the driver subscription shim found?

Level 3 trace follows:

[09/29/10 11:17:36.872]:NxSettings ST: (if-src-attr 'uidNumber'
not-available) = TRUE.
[09/29/10 11:17:36.872]:NxSettings ST: (if-global-variable
'ModifyUsers' equal "true") = TRUE.
[09/29/10 11:17:36.872]:NxSettings ST: (if-global-variable
'UseLUMForUIDGID' equal "false") = TRUE.
[09/29/10 11:17:36.873]:NxSettings ST: Rule selected.
[09/29/10 11:17:36.873]:NxSettings ST: Applying rule 'Set Required
POSIX Attributes Using NxSettings Custom XML Document, GID=UID'.
[09/29/10 11:17:36.873]:NxSettings ST: Action:
do-set-local-variable("searchBase",token-global-variable("UIDInUseSearchSubtree")).
[09/29/10 11:17:36.873]:NxSettings ST:
arg-string(token-global-variable("UIDInUseSearchSubtree"))
[09/29/10 11:17:36.874]:NxSettings ST:
token-global-variable("UIDInUseSearchSubtree")
[09/29/10 11:17:36.874]:NxSettings ST: Token Value:
"uga\users".
[09/29/10 11:17:36.874]:NxSettings ST: Arg Value:
"uga\users".
[09/29/10 11:17:36.874]:NxSettings ST: Action:
do-set-local-variable("DriverDN",token-global-variable("DriverDN")).
[09/29/10 11:17:36.875]:NxSettings ST:
arg-string(token-global-variable("DriverDN"))
[09/29/10 11:17:36.875]:NxSettings ST:
token-global-variable("DriverDN")
[09/29/10 11:17:36.875]:NxSettings ST: Token Value:
"uga\services\UGADriverSet\NxSettings".
[09/29/10 11:17:36.876]:NxSettings ST: Arg Value:
"uga\services\UGADriverSet\NxSettings".
[09/29/10 11:17:36.876]:NxSettings ST: Action:
do-set-local-variable("driverShimInstance",arg-object(token-xpath("NxSettingsInstance:getInstance($DriverDN)") )).
[09/29/10 11:17:36.876]:NxSettings ST:
arg-object(token-xpath("NxSettingsInstance:getInstance($DriverDN)") )
[09/29/10 11:17:36.876]:NxSettings ST:
token-xpath("NxSettingsInstance:getInstance($DriverDN)")
[09/29/10 11:17:36.877]:NxSettings ST: Nxsettings: Error: No
instances of NxSettingsSubcriptionShim found.
[09/29/10 11:17:36.877]:NxSettings ST: Nxsettings: Searching
for dn 'uga\services\ugadriverset\nxsettings'
[09/29/10 11:17:36.877]:NxSettings ST: Nxsettings:
NxSettingsSubscriptionShims registered under the following DNs
[09/29/10 11:17:36.878]:NxSettings ST: Nxsettings:
\idmtest\uga\services\ugadriverset\nxsettings
[09/29/10 11:17:36.878]:NxSettings ST: Action:
do-set-src-attr-value("uidNumber",token-xpath("driverShim:getNextUIDFromXMLDoc($driverShim Instance,"DefaultSet",
"uid", $searchBase)")).
[09/29/10 11:17:36.879]:NxSettings ST:
arg-string(token-xpath("driverShim:getNextUIDFromXMLDoc($driverShim Instance,"DefaultSet",
"uid", $searchBase)"))
[09/29/10 11:17:36.879]:NxSettings ST:
token-xpath("driverShim:getNextUIDFromXMLDoc($driverShim Instance,"DefaultSet",
"uid", $searchBase)")
[09/29/10 11:17:36.880]:NxSettings ST:
DirXML Log Event -------------------
Driver: \IDMTEST\uga\services\UGADriverSet\NxSettings
Channel: Subscriber
Object: \IDMTEST\uga\Users\bad8
Status: Error
Message: Code(-9131) Error in
vnd.nds.stream://IDMTEST/uga/services/UGADriverSet/NxSettings/Subscriber/XMLDOC%2C+Set+Req+Posix+Attrs#XmlData:37
: Error evaluating XPATH expression 'token-xpath("driverS
him:getNextUIDFromXMLDoc($driverShimInstance,"Defa ultSet", "uid",
$searchBase)")' : com.novell.xml.xpath.XPathConversionException: unable
to convert type 'null' to type 'com.Omnibond.nds.dirxml.driver.NxSett
ings.NxSettingsSubscriptionShim'.


--
keithbmartin
------------------------------------------------------------------------
keithbmartin's Profile: http://forums.novell.com/member.php?userid=48654
View this thread: http://forums.novell.com/showthread.php?t=422146