Hi,
I tested now reinstalling the build 1102, but unfortunately without much success.
For reference the LDAP -configuration element in old configuration was apparently
<
ldap
enabled
=
"true"
fqdn
=
"ourdomain.com"
administratorsGroup
=
"build_admins"
/>
and that configuration worked without issues.
Now when I re-installed the Continua there were number of different stages where I tested this.
1) Initial stage after installation had the authentication -key in the configuration as
<
authentication
mode
=
"LDAP"
fqdn
=
"ourdomain.com"
administratorsGroup
=
"Build_Admins"
groupsContainer
=
""
/>
When the service started an exception was outputted to the event log:
Could not synchronize with Ldap domain 'qpr.com' and groups container . Getting all ldap groups
Sync status : While trying to resolve a cross-store reference, the target principal could not be found in the domain indicated by the principal's SID.
Synchronization will be attempted again in 30 minutes.
Stack Trace :
at System.DirectoryServices.AccountManagement.ADStoreCtx.ResolveCrossStoreRefToPrincipal(Object o)
at System.DirectoryServices.AccountManagement.ADUtils.DirectoryEntryAsPrincipal(DirectoryEntry de, ADStoreCtx storeCtx)
at System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.get_CurrentAsPrincipal()
at System.DirectoryServices.AccountManagement.FindResultEnumerator`1.get_Current()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Enumerable.d__aa`1.MoveNext()
at Continua.Membership.Ldap.LdapGroup.GetMembersWithInheritanceGroups(GroupPrincipal group, Boolean includeInheritedGroupName)
at Continua.Membership.Ldap.LdapGroup.RetrieveAll()
at Continua.Membership.Ldap.LdapSynchronizer.Execute()
2) I added base groupsContainer -attribute to the configuration:
<
authentication
mode
=
"LDAP"
fqdn
=
"ourdomaincom"
administratorsGroup
=
"Build_Admins"
groupsContainer
=
"DC=OURDOMAIN,DC=COM"
/>
When the service was started using this configuration an exception was output to the system event log:
Could not synchronize with Ldap domain ourdomain.com' and groups container DC=OURDOMAIN,DC=COM. Getting all ldap groups
Sync status : While trying to resolve a cross-store reference, the target principal could not be found in the domain indicated by the principal's SID.
Synchronization will be attempted again in 30 minutes.
The stack trace appears to be identical to the initial exception.
3) I added the correct groupsContainer -attribute to the element.
<
authentication
mode
=
"LDAP"
fqdn
=
"ourdomain.com"
administratorsGroup
=
"Build_Admins"
groupsContainer
=
"OU=Groups,DC=OURDOMAIN,DC=COM"
/>
When using this configuration, the service does not emit any exceptions to the event log, but all login attempts with accounts belonging to the build_admins -group result in being redirected to url
/account/unauthorised
stating that "
The page you requested required permissions that you do not have, you can choose to login with an account that has the necessary permissions or go home.
"
No log entries are emitted from the attempted logins.
New users who have not logged in before do not appear in the database.