Page 1 of 1

PDL hiding?

Posted: Thu May 04, 2006 12:29 pm
by mdarby
We have several hundred auto-generated PDLs based on job numbers; all users know which they need.

As it is cluttering up the SYSTEM directory, is there a way to hide PDLs?

Posted: Fri May 05, 2006 3:08 pm
by dannyt
Hi,

For Outlook user, you could try to setting the SYSTEM directory attribute EX_CDA_DIRECTORY=1 for each PDL and rerun omexeccda to hide them from the address book view. But SWA user may still see these PDLs.

Regards,
Danny

Posted: Fri May 05, 2006 3:25 pm
by mdarby
Thanks for the reply, but I can't seem to get it to work...

I've tried the following:

Code: Select all

  253  05/04/2006 12:33:17 ommodent -e "001007 /radium,dynamix-ltd/CN=001007" -n EX-CDA-DIRECTORY=1
  254  05/04/2006 12:33:45 ommodent -e "001007/radium,dynamix-ltd/CN=001007" -n EX-CDA-DIRECTORY=1
  255  05/04/2006 12:33:57 ommodent -e "G=001007/radium,dynamix-ltd/CN=001007" -n EX-CDA-DIRECTORY=1
  256  05/04/2006 12:34:11 ommodent -e "G=001007/OU1=radium/OU2=dynamix-ltd/CN=001007" -n EX-CDA-DIRECTORY=1
  259  05/04/2006 12:35:27 ommodent -e "G=001007/OU1=radium/OU2=dynamix-ltd/CN=001007/IA=001007@dynamix-ltd.com" -n EX-CDA-DIRECTORY=1
  260  05/04/2006 12:35:43 ommodent -e "G=001007/OU1=radium/OU2=dynamix-ltd/CN=001007" -n EX-CDA-DIRECTORY=1


The entity does exist:

Code: Select all

$ omshowpdl -l all | grep 001007
001007 /radium,dynamix-ltd/CN=001007


Any thoughts? I really appreciate the help!

Posted: Fri May 05, 2006 5:45 pm
by dannyt
Hi,

The output from omshowpdl will always be the same, but the Outlook user's address book view should hide this (after you do a omexeccda - see omexeccda man page). The idea is to hide it from the mail client, not from the CLI run be administrator.

Regards,
Danny

Posted: Fri May 05, 2006 5:51 pm
by mdarby
I understand, but every command I've tried above have all returned errors. I was just showing the output from omshowpdl to show that it does exist and how it's setup in my server.

I've tried the 'omexeccda' for completeness with no luck. The PDL '010017' still shows in both Outlook and SWA.

Thanks for your help!

Posted: Fri May 05, 2006 7:01 pm
by dannyt
Hi,

Until you can get ommodent to work without error, everything after that would be in vain. From what I can see, if you replace "G=" with "S=" (surname not givename) then ommodent should be able to locate the entry and modify it. In fact the -e option can contain just the "CN=001007" part, as long as that is enough to locate the entry uniquely.

Once ommodent is sucessful, remember to run omexeccda before testing Outlook.

Regards,
Danny

Posted: Sat May 06, 2006 11:52 am
by mdarby

Code: Select all

$ ommodent -e "CN=001007" -n EX-CDA-DIRECTORY=1
[OM 16961] Modified 1 entry in the Directory
$ omexeccda
Fetching all entries from Directory  ... Please wait
Sorting Directory entries            ... Please wait
Building Directory Access Tables     ... Please wait


Worked like a charm. Thanks for your help!

Posted: Sat May 06, 2006 12:20 pm
by florian
Actually, in Scalix 10.0.0 and higher, you should be able to set the flag in the Scalix Admin Console on a PDL.

In 9.x, this option wasn't available and you had to use the commandline.

Hope this helps,
Florian.

Posted: Sat May 06, 2006 12:24 pm
by mdarby
Yeah, I noticed that, but I have nearly one thousand generated groups that need to be recreated once a day. Command line is definately my friend.

Thanks guys!

Posted: Fri Jun 16, 2006 11:55 am
by vlaurenz
You CAN hide PDLs in the SWA. Add this to your swa.ldap.1.filter in /etc/opt/scalix/webmail/swa.properties:

(!(objectClass=scalixDistributionList))

Hope this helps.