| Author |
Message |
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 25/08/2008 05:31:46
|
kert
SysAider
Joined: 23/06/2008
Messages: 4
Offline
|
Hello,
I'm trying to set up ldap filter for users in ldap intergation. I have 300 users in AD domain but i want only 80 of them to use SysAid
I've set up a special group SysAid for those users.
My user filter (&(sAMAccountName={1})(memberOf=CN=SysAid,OU=SysAid,DC=domain,DC=local)(mail=*))
but if i'm trying to update users from ldap - i'm recieving all 300 users insead of 80...
what's wrong?
Thank you
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 25/08/2008 07:04:51
|
andrewl94133
Super SysAider
Joined: 18/06/2008
Messages: 72
Offline
|
Try the query: (&(sAMAccountName={1})(memberOf=*SysAid*)(mail=*))
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 25/08/2008 08:04:02
|
kert
SysAider
Joined: 23/06/2008
Messages: 4
Offline
|
no difference, all 300 users in sysaid.
but if i use ldapsearch with the same filter - the result is 80 users...
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 25/08/2008 09:46:15
|
andrewl94133
Super SysAider
Joined: 18/06/2008
Messages: 72
Offline
|
Did you delete all 300 users from the database BEFORE re-running the ldap import?
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 25/08/2008 10:51:27
|
Haim
SysAid Wiz
Joined: 15/04/2008
Messages: 2449
Offline
|
Hello kert,
Where exactly did you placed the filter? you should put the filter under "user class filters"
The correct syntax for the filter should be:
(&(sAMAccountName=user)(memberOf=CN=SysAid,OU=SysAid,DC=domain,DC=local)
Also, can you please tell us why did you added the "(mail=*)" syntax? as the syntax dows not add anything to the filter.
Please try the above filter, and then delete all end users from your users list and then refresh the user list from LDAP and tell us if this is working.
Best regards.
Haim
|
Pushing IT forward |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 26/08/2008 02:58:16
|
kert
SysAider
Joined: 23/06/2008
Messages: 4
Offline
|
Hello, Haim
I've put (mail=*) to exclude users who doesn't have an email address
Now my ldap config is:
user class filter: (&(sAMAccountName=user)(memberOf=CN=SysAid,OU=SysAid,DC=domain,DC=local))
user filter: sAMAccountName={1}
I also tried without user filter...
And when I delete all end users from database and refresh users from ldap - SysAid says "No users found"
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 26/08/2008 07:15:38
|
andrewl94133
Super SysAider
Joined: 18/06/2008
Messages: 72
Offline
|
The user class filter should be (&(objectCategory=user)(memberOf=CN=SysAid,OU=SysAid,DC=domain,DC=local))
This of course assumes that the group's common name is SysAid, in the OU called SysAid off the domain root.
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 26/08/2008 07:46:09
|
Haim
SysAid Wiz
Joined: 15/04/2008
Messages: 2449
Offline
|
kert wrote:Hello, Haim
I've put (mail=*) to exclude users who doesn't have an email address
Now my ldap config is:
user class filter: (&(sAMAccountName=user)(memberOf=CN=SysAid,OU=SysAid,DC=domain,DC=local))
user filter: sAMAccountName={1}
I also tried without user filter...
And when I delete all end users from database and refresh users from ldap - SysAid says "No users found"
Please open this case as a service request on our helpdesk by sending an email to helpdesk@ilient.com with sending screenshots of your LDAP configurations (the entire screen) and a copy of the SysAid log folder (zipped) for our review.
This information will assist us in resolving this issue on the best possible way.
best regards.
Haim
|
Pushing IT forward |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 26/08/2008 09:59:36
|
kert
SysAider
Joined: 23/06/2008
Messages: 4
Offline
|
i've solved this problem by setting up these values:
user class filter: (&(objectCategory=user)(memberOf=CN=SysAid,OU=SysAid,DC=domain,DC=local)(mail=*))
user filter: sAMAccountName={1}
now it's working.
thanks for your attention
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 20/10/2011 12:35:53
|
KieranCork
SysAider

Joined: 11/10/2010
Messages: 24
Offline
|
Hi guys - we want to do this too, but as a newbie, I've no idea where to enter this information. Can anyone give me a quick step-by-step?
Thanks.
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 20/10/2011 19:25:05
|
WeZ
Super SysAider
Joined: 25/06/2008
Messages: 55
Offline
|
go to your integration section under your helpdesk settings. . . if you're still lost, check the documentation for your release . . .
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 02/11/2012 15:12:13
|
JaneFrasier
Super SysAider

Joined: 25/03/2010
Messages: 93
Offline
|
This is the same thing I am trying to do.
I understand the part about the filters, but I don't know what I need to enter for User root and group root. Also do I enter something in Group Class Filter?
Thanks.
|
|
|