Hi folks,

I can't seem to get the Google driver to properly query the group name
in our Google apps system. This is the standard policy in the default
package. Here is the trace...Any help would be appreciated! I'm
stumped!


Code:
--------------------
[2012/10/19 8:29:05.445] DEV-Google-Apps ST: execute
[2012/10/19 8:29:05.445] DEV-Google-Apps ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="Group" event-id="0" scope="subtree">
<search-class class-name="Group"/>
<search-attr attr-name="Name">
<value type="string">Reports Daily Comp</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
[2012/10/19 8:29:05.445] DEV-Google-Apps ST: connect
[2012/10/19 8:29:05.445] DEV-Google-Apps ST: dispatch
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: association == null
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: class-name == 'Group'
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: dest-dn == null
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: event-id == '0'
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: max-result-count == 2147483647
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: qualified-src-dn == null
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: scope == 'subtree'
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: src-dn == null
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: src-entry-id == null
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: queryHandler: search-attr: Name. Value = Reports Daily Comp
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: Ready to process read attributes
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: Query for Group object
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: Search Attribute: Name
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: Association: null
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: Querying on Name
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: appsForYourDomainClient.retrieveGroup
[2012/10/19 8:29:05.446] DEV-Google-Apps ST: appsForYourDomainClient.retrieveGroup - GroupID = Reports Daily Comp
[2012/10/19 8:29:05.566] DEV-Google-Apps ST: ServiceException: com.google.gdata.util.InvalidEntryException: Bad Request
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 400 (Bad Request)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px }body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
</style>
<a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
<p><b>400.</b> <ins>Thats an error.</ins>
<p>Your client has issued a malformed or illegal request. <ins>Thats all we know.</ins>

[2012/10/19 8:29:05.566] DEV-Google-Apps ST: Generating query results for group
[2012/10/19 8:29:05.566] DEV-Google-Apps ST: SubscriptionShim.execute() returned:
[2012/10/19 8:29:05.566] DEV-Google-Apps ST:
<nds dtdversion="3.0">
<source>
<product build="20120207_0907" instance="DEV-Google-Apps" version="4.0.1.3">GoogleApps Driver</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="error" type="driver-status">
<description>Service Exception: com.google.gdata.util.InvalidEntryException: Bad Request
&lt;!DOCTYPE html>
&lt;html lang=en>
&lt;meta charset=utf-8>
&lt;meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
&lt;title>Error 400 (Bad Request)!!1&lt;/title>
&lt;style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px }body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
&lt;/style>
&lt;a href=//www.google.com/>&lt;img src=//www.google.com/images/errors/logo_sm.gif alt=Google>&lt;/a>
&lt;p>&lt;b>400.&lt;/b> &lt;ins>Thats an error.&lt;/ins>
&lt;p>Your client has issued a malformed or illegal request. &lt;ins>Thats all we know.&lt;/ins>
</description>
<exception class-name="com.google.gdata.util.InvalidEntryException" >
<message>Bad Request</message>
</exception>
</status>
</output>
</nds>
--------------------


--
aperez
------------------------------------------------------------------------
aperez's Profile: https://forums.netiq.com/member.php?userid=221
View this thread: https://forums.netiq.com/showthread.php?t=44999