Skip to Content.
Sympa Menu

grouper-users - [grouper-users] PSP update samAccountName

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] PSP update samAccountName

Chronological Thread 
  • From: Andrew Morgan <>
  • To:
  • Subject: [grouper-users] PSP update samAccountName
  • Date: Tue, 9 Jun 2015 18:30:19 -0700 (PDT)

I'm having trouble configuring the PSP to update the AD samAccountName attribute when a group's ID (name) is changed. I'm building the samAccountName value on the fly using a script. When I change a group's ID, the cn attribute is correctly updated. However, the samAccountName is unchanged.

In psp.xml:

name="samAccountName" />

In psp-resolver.xml:

<resolver:Dependency ref="groupNameInStem" />

// Create the attribute to be returned.
samAccountName = new BasicAttribute("samAccountName");
tmp = new BasicAttribute("tmp");

if(groupNameInStem.getValues().size() > 0){
// Strip the baseStem off the front
var regex =
var tmp = new
var tmp2 = tmp.replace(regex, "");


The log messages show no change in samAccountName being generated by the PSP.

I'm guessing I have something wrong with the resolver:Dependency refs, but I've been looking at these config files for so long.

Does anyone have a working config with the right dependencies? The active directory example included with the PSP doesn't even have samAccountName in psp-resolver.xml!

I promise to document a working configuration when I'm done. :)


Archive powered by MHonArc 2.6.16.

Top of Page