This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASG 7.505 Remote Access based on AD Membership

Hi,

because of my search in the knowledge base lead not to a solution so far I'm posting here in the hope for help.

I try to configure Remote Access for Users based on Active Directory Group Membership.
That means I want to give all members of the AD group remote-users the right to grab the VPN Client from the user portal and to connect afterwards to the ressources of the internal network.

The authentication server tests work all fine. The group membership of the user is detected correctly.

I created a group with backend membership, backend "active directory", checked "limit to backend groups membership" and selected a group. Neither the selection from the AD browser nor simply typing a group name worked afterwards.

A legal member of the group, which was proofen by the server test, could not even log into the user portal so far.

Portal use for local users works fine.

When such a AD backend login is tried aua logs like:
2010:06:16-12:29:41 mail aua[7130]: id="3006" severity="info" sys="System" sub="auth" name="Trying 192.168.XX.129 (adirectory)"
2010:06:16-12:29:42 mail aua[7130]: id="3006" severity="info" sys="System" sub="auth" name="could not set object for testuser: OBJECT_NAMESPACE"
2010:06:16-12:29:42 mail aua[7130]: id="3006" severity="info" sys="System" sub="auth" name="failed to set object"
2010:06:16-12:29:43 mail aua[7130]: id="3005" severity="warn" sys="System" sub="auth" name="Authentication failed" srcip="*********" user="testuser" caller="portal" reason="DENIED" 

( I tried to anonymize these log records, so the IP adresses look scrambled)

So can somebody give any advice in this, please?
Is it possible, what I want to configure?
What goes wrong?

Best regards

Gerold


This thread was automatically locked due to age.
Parents
  • Man, Paule, that all looks just perfect to me.  I don't think this could be an issue of the sequence of authorization servers, but you might try moving the AD server definition to #1 if it's not already there.

    The only other thing that might be interesting would be to try a prefetch on the ???-Remote group and watch the live log to see if there's anything interesting in it.

    Seems like it's time to open a ticket with support so they can look into your box.  There's some simple question that we're just not asking.

    Cheers - Bob
  • the AD server is the only auth server in this setup, so it is #1

    For the prefetch I must define the ???-remote group complete, from D&D.
    Then the prefetch produces the following protocol:
    2010:06:17-22:41:14 mail user_prefetch[28980]: >=========================================================================
    2010:06:17-22:41:14 mail user_prefetch[28980]: ARGV: $VAR1 = [
    2010:06:17-22:41:14 mail user_prefetch[28980]: '--server-ref',
    2010:06:17-22:41:14 mail user_prefetch[28980]: 'REF_JirhGzzQuP'
    2010:06:17-22:41:14 mail user_prefetch[28980]: ];
    2010:06:17-22:41:14 mail user_prefetch[28980]:  using internal configuration from Confd
    2010:06:17-22:41:14 mail user_prefetch[28980]: Using contexts from confd object
    2010:06:17-22:41:14 mail user_prefetch[28980]: ldap server:
    2010:06:17-22:41:14 mail user_prefetch[28980]: server: 192.168.????.129
    2010:06:17-22:41:14 mail user_prefetch[28980]: port: 389
    2010:06:17-22:41:14 mail user_prefetch[28980]: ssl: 0
    2010:06:17-22:41:14 mail user_prefetch[28980]: bind_dn: info@intern.???????.de
    2010:06:17-22:41:14 mail user_prefetch[28980]: update: 0
    2010:06:17-22:41:14 mail user_prefetch[28980]: contexts:
    2010:06:17-22:41:14 mail user_prefetch[28980]: CN=???-Remote,CN=Users,DC=intern,DC=????????,DC=de
    2010:06:17-22:41:14 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:14 mail user_prefetch[28980]: Starting synchronization for adirectory
    2010:06:17-22:41:14 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:14 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:14 mail user_prefetch[28980]: Searching for users
    2010:06:17-22:41:14 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:15 mail user_prefetch[28980]: Connecting to ldap server
    2010:06:17-22:41:15 mail user_prefetch[28980]: ldap server: ldap://192.168.???.129:389
    2010:06:17-22:41:15 mail user_prefetch[28980]: Context 'CN=???-Remote,CN=Users,DC=intern,DC=????????,DC=de' is a group. Adding group members:
    2010:06:17-22:41:15 mail user_prefetch[28980]: CN=testuser\, ????,CN=Users,DC=intern,DC=??????????,DC=de
    2010:06:17-22:41:15 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:15 mail user_prefetch[28980]: Performing ldap search:
    2010:06:17-22:41:15 mail user_prefetch[28980]: searching 'CN=testuser\, ????,CN=Users,DC=intern,DC=?????????,DC=de'
    2010:06:17-22:41:15 mail user_prefetch[28980]: Ldap search returned 1 users
    2010:06:17-22:41:15 mail user_prefetch[28980]: Search time: 0m 0s
    2010:06:17-22:41:15 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:15 mail user_prefetch[28980]: Adding/updating users
    2010:06:17-22:41:15 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:15 mail user_prefetch[28980]: # 1 Creating user testuser
    2010:06:17-22:41:16 mail user_prefetch[28980]: Failed to set object
    2010:06:17-22:41:16 mail user_prefetch[28980]: >=========================================================================
    2010:06:17-22:41:16 mail user_prefetch[28980]: $VAR1 = [
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'OBJECT_NAMESPACE',
    2010:06:17-22:41:16 mail user_prefetch[28980]: {
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'attrs' => [],
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'format' => 'Object namespace collision',
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'name' => 'Object namespace collision',
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'fatal' => 1,
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'external' => 'set_object',
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'msgtype' => 'OBJECT_NAMESPACE'
    2010:06:17-22:41:16 mail user_prefetch[28980]: }
    2010:06:17-22:41:16 mail user_prefetch[28980]: ];
    2010:06:17-22:41:16 mail user_prefetch[28980]: 
Reply
  • the AD server is the only auth server in this setup, so it is #1

    For the prefetch I must define the ???-remote group complete, from D&D.
    Then the prefetch produces the following protocol:
    2010:06:17-22:41:14 mail user_prefetch[28980]: >=========================================================================
    2010:06:17-22:41:14 mail user_prefetch[28980]: ARGV: $VAR1 = [
    2010:06:17-22:41:14 mail user_prefetch[28980]: '--server-ref',
    2010:06:17-22:41:14 mail user_prefetch[28980]: 'REF_JirhGzzQuP'
    2010:06:17-22:41:14 mail user_prefetch[28980]: ];
    2010:06:17-22:41:14 mail user_prefetch[28980]:  using internal configuration from Confd
    2010:06:17-22:41:14 mail user_prefetch[28980]: Using contexts from confd object
    2010:06:17-22:41:14 mail user_prefetch[28980]: ldap server:
    2010:06:17-22:41:14 mail user_prefetch[28980]: server: 192.168.????.129
    2010:06:17-22:41:14 mail user_prefetch[28980]: port: 389
    2010:06:17-22:41:14 mail user_prefetch[28980]: ssl: 0
    2010:06:17-22:41:14 mail user_prefetch[28980]: bind_dn: info@intern.???????.de
    2010:06:17-22:41:14 mail user_prefetch[28980]: update: 0
    2010:06:17-22:41:14 mail user_prefetch[28980]: contexts:
    2010:06:17-22:41:14 mail user_prefetch[28980]: CN=???-Remote,CN=Users,DC=intern,DC=????????,DC=de
    2010:06:17-22:41:14 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:14 mail user_prefetch[28980]: Starting synchronization for adirectory
    2010:06:17-22:41:14 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:14 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:14 mail user_prefetch[28980]: Searching for users
    2010:06:17-22:41:14 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:15 mail user_prefetch[28980]: Connecting to ldap server
    2010:06:17-22:41:15 mail user_prefetch[28980]: ldap server: ldap://192.168.???.129:389
    2010:06:17-22:41:15 mail user_prefetch[28980]: Context 'CN=???-Remote,CN=Users,DC=intern,DC=????????,DC=de' is a group. Adding group members:
    2010:06:17-22:41:15 mail user_prefetch[28980]: CN=testuser\, ????,CN=Users,DC=intern,DC=??????????,DC=de
    2010:06:17-22:41:15 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:15 mail user_prefetch[28980]: Performing ldap search:
    2010:06:17-22:41:15 mail user_prefetch[28980]: searching 'CN=testuser\, ????,CN=Users,DC=intern,DC=?????????,DC=de'
    2010:06:17-22:41:15 mail user_prefetch[28980]: Ldap search returned 1 users
    2010:06:17-22:41:15 mail user_prefetch[28980]: Search time: 0m 0s
    2010:06:17-22:41:15 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:15 mail user_prefetch[28980]: Adding/updating users
    2010:06:17-22:41:15 mail user_prefetch[28980]: ------------------------------------------------------------
    2010:06:17-22:41:15 mail user_prefetch[28980]: # 1 Creating user testuser
    2010:06:17-22:41:16 mail user_prefetch[28980]: Failed to set object
    2010:06:17-22:41:16 mail user_prefetch[28980]: >=========================================================================
    2010:06:17-22:41:16 mail user_prefetch[28980]: $VAR1 = [
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'OBJECT_NAMESPACE',
    2010:06:17-22:41:16 mail user_prefetch[28980]: {
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'attrs' => [],
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'format' => 'Object namespace collision',
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'name' => 'Object namespace collision',
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'fatal' => 1,
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'external' => 'set_object',
    2010:06:17-22:41:16 mail user_prefetch[28980]: 'msgtype' => 'OBJECT_NAMESPACE'
    2010:06:17-22:41:16 mail user_prefetch[28980]: }
    2010:06:17-22:41:16 mail user_prefetch[28980]: ];
    2010:06:17-22:41:16 mail user_prefetch[28980]: 
Children
No Data