Quantcast
Channel: Microsoft Identity Manager forum
Viewing all articles
Browse latest Browse all 7443

AD attributes and passwords not setting correctly

$
0
0

I am running FIM 2010 R2 build 4.1.3479.0 with AD servers at 2008 forest level.  I have set up the ADMA for staff to set passwords and the userprincipalname attribute (among others).  I have custom code in the MVextension.dll that does this.  I am having two issues going on that I believe to be related somehow.  

1) These initial passwords are not being set and

2) although the userprinciplename attribute is set correctly when you look in ADUC on the "Attribute Editor" tab, it is not being displayed correctly on the "Account" tab.  The User logon name and the upnsuffix fields are blank. The pre-win2k fields are displaying correctly.  

I have done a lot of work trying to figure out what is going on here and I have checked that there are no issues with rights in AD and the code.  I have another ADMA that populates a different set of users in another OU and that fills out the UPN and password and everything works as it should.  The code differences between the two areas are very minimal.

The code for this is as follows:

         csentry["userPrincipalName"].StringValue = mventry["accountName"].StringValue + emailExtension;

         if (mventry["user_InitialPassword"].IsPresent)
                 {
                  csentry["unicodePwd"].StringValue = mventry["user_InitialPassword"].StringValue; // defaultPassword;                               }
        else
                  {
                  csentry["unicodePwd"].StringValue = Custom_Extensions.Custom_Extensions.GenerateRandomPassword();
                  }

Any ideas what to look at to try and figure out what the heck is going on would be really helpful please!

Thanks

Erica




Viewing all articles
Browse latest Browse all 7443

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>