Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

TMS AD LDAP Query syntax

Hello there:

I have connected TMSPE to our AD and would like to point to a particular group "SWC-Jabber" of users that will be queried to use Jabber Video.  I am unfamiliar with the syntax,but was able to get "ou=swc,ou=_nmcs,dc=nmcs,dc=local" to work, however, it lists all users in the entire OU including function accounts, but it does not display security groups.

What I would like to do is display/query only, the users added to "SWC-Jabber" secuity group under users.

dc=local

     dc=nmcs

          ou=_nmcs

                ou=swc

                    ou=users – “SWC-Jabber” (SWC-Jabber is the security group I created and will add users as they request to use jabber)

The attributes in AD displays as: CN=SWC-Jabber,OU=Users,OU=SWC,OU=_NMCS,DC=nmcs,DC=local

When I use this exact syntax it comes back with 0 users in 1 groups.

Trial attempts:

Trial 1

Base dn: ou=swc,ou=_nmcs,dc=nmcs,dc=local (it lists 439 users)

Relative search dn:

Search Filter:

Trial 2

Base dn:ou=users,ou=swc,ou=_nmcs,dc=nmcs,dc=local(it lists 221 users)

Relative search dn:

Search Filter:

Trial 3

Base dn:cn=swc-jabber,ou=users,ou=swc,ou=_nmcs,dc=nmcs,dc=local(it lists 0 users in 1 groups - I know there are users in the group)

Relative search dn:

Search Filter:

Any help/input with the proper syntax or a better method to would be great.

Thanks,

Ravi

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

TMS AD LDAP Query syntax

Hi Ravi

Try this:

base dn: dc=nmcs,dc=local

Relative search Dn:

Search filter: (&(objectClass=user)(memberOf=CN=SWC-Jabber,OU=Users,OU=SWC,OU=_NMCS,DC=nmcs,DC=local))

/Magnus

2 REPLIES
Cisco Employee

TMS AD LDAP Query syntax

Hi Ravi

Try this:

base dn: dc=nmcs,dc=local

Relative search Dn:

Search filter: (&(objectClass=user)(memberOf=CN=SWC-Jabber,OU=Users,OU=SWC,OU=_NMCS,DC=nmcs,DC=local))

/Magnus

New Member

Re: TMS AD LDAP Query syntax

Thanks - that was great.

Sent from Cisco Technical Support iPad App

537
Views
0
Helpful
2
Replies
CreatePlease to create content