Announcement

Collapse
No announcement yet.

LDAP DN and Group Configuration

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • LDAP DN and Group Configuration

    Hi all,

    What is the format of group input in LDAP (Active Directory) configuration?

    I've tried to put only group name but it doesn't work. When i syncronize users it gets all the users from DN not only group member.

    DN= "cn=users,dc=corp,dc=local"
    Group = "aSecurityGroup"

    Thanks
    Gökhan Sönmez

  • #2
    OK. I found the solition.

    I just left the group field blank and changed this line in the Controller's onApplicationInit event:
    $filter = "(|(samaccountname=*)(uid=*)(userprincipalname=*)) ";
    to
    $filter = "(&(memberOf=cn=aSecurityGroup,cn=users,dc=corp,dc =local)(|(samaccountname=*)(uid=*)(userprincipalna me=*)))";
    Gökhan Sönmez

    Comment


    • #3
      Hi,

      can you explain that for "is user xyz member of group finance on domain corp.local"? I did not get it yet ...

      Thanks.
      Best regards: - Reinhard -

      I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

      Comment


      • #4
        Hi Reinhard,

        If we accept that user xyz is not in a organisation unit and he/she is a member of finance security group and our domian DN is corp.local. Filiter value must be like this:

        $filter = "(&(memberOf=cn=finance,cn=users,dc=corp,dc=local)(|(samaccountname=*)(uid=*)(userprincipalna me=*)))";
        You may find and change this variable in your controller onApplicationInit etc.
        Gökhan Sönmez

        Comment

        Working...
        X