Hi,

I'm working with the Google Apps driver and seem to have hit a snag
creating nicknames in a subdomain. Both the parent and subdomain are
valid domains in our Google Apps account and I can create the same
nickname through the admin console. Do I need to use a different syntax
for the Nicknames attribute when setting a fully-qualified email address
in another domain?

Here is what I am submitting to the shim and the resulting error:

[03/19/13 15:43:32.488]:Google Apps TEST ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify cached-time="20130319194331.014Z" class-name="UserEntry"
event-id="Wayne#20130319194330#1#1:5f8862a4-aaf4-4091-3095-a462885ff4aa"
qualified-src-dn="dc=edu\dc=drew\OU=People\CN=eltest"
src-dn="\PORTAL-PROD\edu\drew\People\eltest" src-entry-id="33641"
timestamp="1363722210#1">
<association
state="associated">https://apps-apis.google.com/a/feeds/testg.drew.edu/user/2.0/eltest</association>
<modify-attr attr-name="NickNames">
<add-value>
<value type="string">eltest@alumni.testg.drew.edu</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[03/19/13 15:43:32.496]:Google Apps TEST ST:connect
[03/19/13 15:43:32.496]:Google Apps TEST ST:dispatch
[03/19/13 15:43:32.496]:Google Apps TEST ST:modifyHandler
[03/19/13 15:43:32.496]:Google Apps TEST ST:modifyHandler: class-name
== 'UserEntry'
[03/19/13 15:43:32.496]:Google Apps TEST ST:modifyHandler: association
==
'https://apps-apis.google.com/a/feeds/testg.drew.edu/user/2.0/eltest'
[03/19/13 15:43:32.496]:Google Apps TEST ST:modifyHandler: attr-name
== 'NickNames'
[03/19/13 15:43:32.497]:Google Apps TEST
ST:appsForYourDomain.isURLAssociation: Association Value =
https://apps-apis.google.com/a/feeds...ser/2.0/eltest
[03/19/13 15:43:32.497]:Google Apps TEST
ST:AppsForYourDomainClient.handleUserModify: Attempting to retrieve
object based on URL Link
[03/19/13 15:43:32.497]:Google Apps TEST
ST:appsForYourDomain.getUserEntry: User ID =
https://apps-apis.google.com/a/feeds...ser/2.0/eltest
[03/19/13 15:43:32.497]:Google Apps TEST
ST:AppsForYourDomainClient.getUserEntry creating URL from spec =
https://apps-apis.google.com/a/feeds...ser/2.0/eltest
[03/19/13 15:43:32.616]:Google Apps TEST
ST:appsForYourDomain.getUserName
[03/19/13 15:43:32.616]:Google Apps TEST
ST:appsForYourDomain.getUserDomain
[03/19/13 15:43:32.616]:Google Apps TEST
ST:appsForYourDomain.retrieveOrganizaionUser: CustomerId = C01o73r6y
[03/19/13 15:43:32.616]:Google Apps TEST
ST:appsForYourDomain.retrieveOrganizaionUser: OrgUserEmail =
eltest@testg.drew.edu
[03/19/13 15:43:32.794]:Google Apps TEST
ST:add_valueNicknameValueHandler: add-value ==
'eltest@alumni.testg.drew.edu'
[03/19/13 15:43:32.795]:Google Apps TEST ST:Creating nickname
'eltest@alumni.testg.drew.edu' for user 'eltest'.
[03/19/13 15:43:32.976]:Google Apps TEST ST:Exception occurred in
createNickname. Error code = 1303. Message: EntityNameNotValid(1303)
[03/19/13 15:43:32.976]:Google Apps TEST ST:AppsForYourDomainException:
EntityNameNotValid(1303): eltest@alumni.testg.drew.edu
[03/19/13 15:43:32.977]:Google Apps TEST ST:Restoring operation data to
output document
[03/19/13 15:43:32.977]:Google Apps TEST ST:SubscriptionShim.execute()
returned:
[03/19/13 15:43:32.977]:Google Apps TEST ST:
<nds dtdversion="3.0">
<source>
<product build="20120608_0352" instance="Google Apps TEST"
version="4.0.2">GoogleApps Driver</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="error" type="driver-status">
<description>AppsForYourDomainException: EntityNameNotValid(1303):
eltest@alumni.testg.drew.edu</description>
<exception
class-name="com.google.gdata.data.appsforyourdomain.Apps ForYourDomainException">
<message>AppsForYourDomainException</message>
</exception>
</status>
<status
event-id="Wayne#20130319194330#1#1:5f8862a4-aaf4-4091-3095-a462885ff4aa"
level="success" type="driver-status">
<operation-data AccountTracking-AppAccountStatus="-"
AccountTracking-IdvAccountStatus="-"
AccountTracking-Operation="modify"/>
</status>
</output>
</nds>


--
elarsson
------------------------------------------------------------------------
elarsson's Profile: https://forums.netiq.com/member.php?userid=3209
View this thread: https://forums.netiq.com/showthread.php?t=47120