Jump to content

Recommended Posts

Posted

I have had 3 instances of HAP running for a few years now. Last week I tried to add a new shared drive to one of our instances and it would not work, I was not overly worried, I took the time to upgrade to v10 and this is where the fun started!

 

So now, I have an install working so users can login but it appears it is not recognising which user groups people in. Every user gets their N drive ok plus the general shared drive but not staff nor when I login as Admin do I get the HAP Config tile.

 

Considering I had this one instance working fine before I upgraded I am lost as to what I have done. I ended up removing all files and starting again and I am still in the same situation.

 

Any suggestion?

Posted

Login and check /hap/api/ad/roles/%username%

 

This will give you the roles HAP can find for that user. It's probably the AD 2000 vs UPN naming schemes

Posted

Thanks Nick

 

I get the following

 

{"FirstName":null,"SiteName":null,"Token1":null,"Token2":"System.DirectoryServices.DirectoryServicesCOMException (0x8007052E): Logon failure: unknown user name or bad password.\u000d\u000a\u000d\u000a   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)\u000d\u000a   at System.DirectoryServices.DirectoryEntry.Bind()\u000d\u000a   at System.DirectoryServices.DirectoryEntry.get_AdsObject()\u000d\u000a   at System.DirectoryServices.PropertyValueCollection.PopulateList()\u000d\u000a   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)\u000d\u000a   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)\u000d\u000a   at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()\u000d\u000a   at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()\u000d\u000a   at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()\u000d\u000a   at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()\u000d\u000a   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)\u000d\u000a   at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue)\u000d\u000a   at HAP.AD.User.get_UserP()\u000d\u000a   at HAP.AD.User.Authenticate(String username, String password)\u000d\u000a   at HAP.AD.API.UserGET(String username, String password)","Token2Name":null,"Username":null,"isValid":false}

Posted
Your admin username/password is incorrect in the HAPConfig.xml file. Set firstrun="true", reset the setup.aspx entry in the web.config and change it, save the setup.aspx file and try again.
Posted
Done that a few times and I get a green tick on the config page. I can even view the directory to pick the students group (which I do not have as this is the admin instance)
  • 4 weeks later...
Posted

Any ideas?

 

Has something changed between versions.

 

The only thing I can think that could be the issue is the machine is on the curric domain but I am trying to add an instance for our admin users. This was not a problem before and was working fine until I tried to upgrade.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...