missing attribute firstinitial required by identity template for resource A

com.waveset.util.WavesetException: Missing attribute firstinitial required by the identity template for resource OND-AD

com.waveset.util.WavesetException: WorkflowServices.reProvision: missing user name.

I am getting the above error when provision a user to AD resource.

Anybody have any clues?

Thanks.

G

[341 byte] By [G_identitya] at [2007-11-27 2:10:06]
# 1
Hi,I think the required attribute fullname or samAccoutName is returning null.first initial is a required attribute in your schema or did you mention it in identity template?I got that error, when full name is returning null.Thanks
NSVa at 2007-7-12 2:01:24 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
it is mentioned in identity template, but not a required field. my identity system attribute is 'firstinitial' and mapped to resource attribute 'initial'.were you able to get rid of this error?thanks for you help.G
G_identitya at 2007-7-12 2:01:24 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

Hi,

If 'firstinitial' is there in identity template, you need to set that attribute to a value and you need to set the 'identity' while populating the attributes i.e. after appending the resource.

I think 'firstinitial' is returning null or your not setting 'identity'.

I got a similar error and able to resolve it. In my case 'location' is there in identity template and I set the 'identity'.

Thanks

NSVa at 2007-7-12 2:01:24 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4

When you say set, do mean this identity attribute should have a value.

In the resources, I checked the attributes mapping page and it is mapped firstinitals <--> initial.

Do my personal details form needs a derivation hidden field to set firstinitals of the user being created?

Thanks for your replies.

G

G_identitya at 2007-7-12 2:01:24 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

there is a template in AD object. and the first initial attribute is returing null.

Should I hardcode any value or am I missing anything here?

<Template>

<text>cn=</text>

<ObjectRef type='AttributeDefinition' id='#ID#AttributeDefinition:lastname' name='lastname'/>

<AttrDef name='firstinitial'/>

<text>,ou=</text>

<AttrDef name='division'/>

<text>,ou=</text>

<AttrDef name='region'/>

<text>,ou=common,dc=ad,dc=OMD,dc=net</text>

</Template> -->

Thanks.

G_identitya at 2007-7-12 2:01:24 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6

Hi,

first hardcode 'firstinitial', if it is working then try to set a value to 'firstinitial' in the workflow. afterwards pass 'firstinitial' attribute as a variable in the 'identity'.

I think your using checkout/checkin view to create resource account. in between checkout and checkin create a identity (see the below sample code)

<append name='user.waveset.resources'>

<s>AD</s>

</append>

<set name='user.accounts[AD].identity>

<rule name='getDN'>

<argument name='accountId' value='$(accountId)'/>

<argument name='location' value='$(location)'/>

<argument name='selectesResource' value='$(selectedResource)'/>

</rule>

</set>

<set name='user.accounts[AD].Location'>

<ref>location</ref>

</set>

in this case Location is the attribute in the resource schema.

Thanks

NSVa at 2007-7-12 2:01:24 > top of Java-index,Web & Directory Servers,Directory Servers...