How to prevent Sametime users from logging in when using LDAP reloaded !

  • 10 Jun, 2011

Today i finished the setup of  Sametime for a client in my city.  The MS AD administrator asked about how to prevent users from loggin in  based on a Group.
Sametime doesn’t have this kind of police. If you use the TN 1166845 the solution is to add a new attribute for every user. :-(.

This workaround doesn’t meet our requirements (restricting using groups). I change the LDAP search filter in stconfig.nsf from;

Search filter for resolving person names: (&(objectclass=organizationalPerson)(|(cn=%s*)(givenname=%s*)
(sn=%s*)(mail=%s*)))
Search filter to use when resolving a user name to a distinguished name: (&(objectclass=organizationalPerson)(|(cn=%s)(givenname=%s)
(sn=%s)(mail=%s)))

To:

Search filter for resolving person names: (&(objectclass=organizationalPerson) (memberOf=CN=GroupName,OU=OUName,DC=domain,DC=com,DC=br)(|(cn=%s*)(givenname=%s*)
(sn=%s*)(mail=%s*)))
Search filter to use when resolving a user name to a distinguished name: (&(objectclass=organizationalPerson) (memberOf=CN=GroupName,OU=OUName,DC=domain,DC=com,DC=br)(|(cn=%s)(givenname=%s)
(sn=%s)(mail=%s)))

Reboot the Sametime and it will work.

Related Posts

Sametime meets Watson

  • 06 Dec, 2016

Bots is a high topic these days and i revisited this kind of application last week. I created a Translation Bot based on this article(http://www.ibm.com/developerworks/lotus/library/ls-STBots1/) from

Sametime meets WatsonRead More

Sametime and IBM Connections integration when you use self certification

  • 20 Oct, 2015

I setup the integration between Sametime Proxy 9.0 and IBM Connections a long time ago. When i access the Connections homepage the sametime widget does not work. After some research i found a solutio

Sametime and IBM Connections integration when you use self certificationRead More

Upgrade the embedded sametime client on Notes 9

  • 24 Sep, 2013

IBM Sametime 9 was launched a few weeks ago.  When i saw this video(http://ibmtvdemo.edgesuite.net/software/lotus/uxid/sametime/ST9wn.mp4) i  do the upgrade of my embedded Sametime client on Notes 9

Upgrade the embedded sametime client on Notes 9Read More