Freigeben über


Unable to create username mapping

Unable to create username mapping

 

We got a scenario where an administrator was unable to create username mapping. He was getting the following error messages in event logs.

 

   Log   Source   Type    ID   Description
         
 Application  mapsvc  Error  8259 Failed to create simple group maps for the map definition <domain name> - pcnfs since the nt groups could not be loaded.
 Application  mapsvc  Error  8257 Failed to create simple user maps for the map definition <domain name> - pcnfs since the nt users could not be loaded.

 

 

Even after creating advanced username mapping, the information is not getting displayed if you run mapadmin list –all command or even if you try to see it from the GUI.

 

                                                                               

To make the scenario more complicated, the registry keys were actually getting populated:

HKLM -> System -> CurrentControlSet -> Services -> Mapsvc -> CurrentVersion:

AdvancedUserMaps and

AdvancedGroupMaps

 

Be default, username mapping service is started by “Local System” account. We change the setting and configure it to start using “domain admin” account.

 

Username mapping 

 

This resolves the issue!