I tried to partition address book by organizational unit using WMI settings with no luck using this guide: http://blogs.technet.com/chlacy/archive/2007/12/04/partition-address-book-by-organizational-unit.aspx
The goal was to have different organizations hosted on the same server, but without them being able to search each other.
I took me some time to find out that the guide missed some final steps. I have here pasted the whole walkthrough and the additional steps are from 17 and forward
UPDATE: For OCS 2007 R2 you need to replace step 4 to 7 with these steps:
- Query
- Select * from MSFT_SIPAddressBookSetting where backend = “<Poolserverinstance>”
The original steps fro OCS 2007 R1 is as follow:
- Click ‘Start’ -> ‘Run’ and type ‘WBEMTEST’
- Click ‘Connect’
- Under ‘Namespace’ type ‘root\cimv2’ and click ‘Connect’
- Click ‘Enum Classes’
- Click ‘Recursive’ and then ‘OK’
- Locate MSFT_SIPAddressBookSetting and double-click it
- Click ‘Instances’
- Double-click the instance
- Under ‘Properties’ find ‘PartitionOutputByOU’ and click ‘Edit Property’
- The default value is FALSE, change this to TRUE
- Click ‘Save Property’
- Click ‘Save Object’
- Click ‘Close’
- Click ‘Save Object’
- Click ‘Close’
- Click ‘Exit’
- Delete all the files in the addressbook share, server level not client level
- Open command prompt and navigate to the location to ABServer.exe
- Run ABServer -regenUR
- Run ABServer -syncnow
- Close Communicator, start it and sign in again
- Then it should work
See this post over at Inside OCS for a complete refence guide about WMI: http://blog.insideocs.com/2009/07/07/ocs-wmi-reference/