SAC Display In Address Book option

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

mnauta
Posts: 152
Joined: Wed Feb 23, 2005 4:10 pm
Location: Austin, TX

SAC Display In Address Book option

Postby mnauta » Thu Sep 28, 2006 9:45 am

Has anyone had a similar problem with the Display In Address Book option. Here are three scenarios.

Scenario One
1) Create a premium user
2) In SAC Uncheck Display in Address Book
3) Open SWA, check address book, and user is listed in address book
4) Open MS Outlook check address book, user is not listed

Scenario Two
1) Permium user
2) In SAC change from Display in address book to uncheck Display in Address book.
3) User still listed in MS Outlook address book and SWA address book

Scenario Three
1) In SAC change user from Premium to Standard user
2) Change from Display in Address Book to uncheck Display in address book
3) MS Outlook address book user is no longer listed
4) In SWA user is still listed in address book.

I have the following versions:
scalix-SWA 10.0.5.1
scalix 10.0.1.3
scalix-sac 10.0.1.21

Thanks
Manuel

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Sep 29, 2006 1:49 pm

To hide entries from an ldap query edit swa.properties, find the line that starts with swa.ldap.1.filter=, and add (!(omexcdadirectory=*)) to the end like so:

swa.ldap.1.filter=(&((|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))(!(omexcdadirectory=*))))

Due diligence requires me to tell you that there is a known issue when hiding names from the address book. You will find in Outlook that the type down feature of the address book will not behave as expected. If you open the address book and start typing a name you will find, in some cases, that as you are narrowing your search with each successive letter that, at some point, the name returned will be completely unrelated to the characters you have typed.

There is a bug opened for this.

When you hide an entry for immediate results you have to run omexeccda, exit then restart outlook and swa.

Regards,
Don

thecowster
Posts: 62
Joined: Fri Oct 12, 2007 8:48 am

Postby thecowster » Wed Jul 30, 2008 6:10 am

On a related note, how can the property "Display in address book" be modified from the command line?

We have a script to sync mailing lists from our LDAP, and want to ensure that all the external contacts in those mailing lists don't turn up in our system address book.

Couldn't see how to do this using omaddu or ommodu

Cheers
Andy

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Mon Nov 10, 2008 7:09 am

ScalixSupport wrote:To hide entries from an ldap query edit swa.properties, find the line that starts with swa.ldap.1.filter=, and add (!(omexcdadirectory=*)) to the end like so:

swa.ldap.1.filter=(&((|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))(!(omexcdadirectory=*))))



I had the same issue with a client who just upgraded to 11.4.2

On other 11.4.1 sites there was no problem.

I found that the ldap query string has changed between versions. So i reset the 11.4.2 site to be the same as a working 11.4.1 install and it worked fine. Users, who were set to not display in the address book, were no longer visible in the address book.

FYI change the following in swa.properties.....

not working string...
swa.ldap.1.filter=(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))


working string...
swa.ldap.1.filter=(&(!(omExCdaDirectory=*))(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*))))


A restart of scalix-tomcat and httpd for good measure after that change was all that was needed.

Hope that helps.
Regards,

Les Stott


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 1 guest