Example 36-15 Sample 
    dirsync.chans File for TAURUS System | 
  
  
    
       
      
 
sync_ldap_idds defragment 
idds.dirsync.taurus.example.com 
 
sync_ldap_exchange defragment 
exchange.dirsync.taurus.example.com 
 
sync_ldif_a1 defragment 
a1.dirsync.taurus.example.com 
 
sync_dirbot_local defragment 
master.dirsync.taurus.example.com 
 
 
 | 
Example 36-14 and Example 36-15 show rewrite rules and channel 
definitions that must be included into the PMDF configuration file; 
(usually this is performed simply by uncommenting the references in the 
PMDF configuration file to these generated files).
Example 36-16 shows the SYNC_DIRBOT channel option file---effectively 
the DIRBOT work order, that informs the DIRBOT which directories to 
synchronize.
  
    Example 36-16 Sample 
    sync_dirbot_local_option File | 
  
  
    
       
      
directory_master=bing.bing@example.com 
send_bulk_load_to=a1 
secret=mindyourownbusiness 
required_directories=idds,exchange,a1 
! 
[directory=idds] 
cook=PMDF_TABLE:cook_idds.rcp|diff 
diff=serve 
exclude=MAPI-Recipient 
serve=PMDF_TABLE:serve_idds.rcp|apply|dirbot@idds.taurus.example.com 
! 
[directory=exchange] 
cook=PMDF_TABLE:cook_exchange.rcp|diff 
diff=serve 
serve=PMDF_TABLE:serve_exchange.rcp|apply|dirbot@exchange.taurus.example.com 
! 
[directory=a1] 
cook=PMDF_TABLE:cook_a1.rcp|diff 
bulk_load=serve 
serve=PMDF_TABLE:serve_a1.rcp|apply|dirbot@a1.taurus.example.com 
 
 | 
Each of the individual channels has its own corresponding PMDF-DIRSYNC 
directory agent, hence its own channel with its own channel option 
file. The IDDS directory is handled by the SYNC_LDAP_IDDS channel, 
whose option file is shown in Example 36-17. The MS Exchange LDAP 
directory is handled by the SYNC_LDAP_EXCHANGE channel, whose option 
file is shown in Example 36-18. The ALL-IN-1 directory is handled by 
the SYNC_LDIF_A1 channel, whose option file is shown in Example 36-19.
  
    Example 36-17 Sample 
    sync_ldap_idds_option File | 
  
  
    
       
      
directory_master=bing.bing@example.com 
directory_robot=dirbot@dirsync.taurus.example.com 
secret=mindyourounbusiness 
cookie_file=PMDF_TABLE:idds.cookie 
dirname=idds 
ldaphost=taurus.example.com 
password=qwertyuiop 
ldapuser=cn=Manager, o=example, c=nz 
root=o=example, c=nz 
ldaplimit=8 
 
 | 
  
    Example 36-18 Sample 
    sync_ldap_exchange_option File | 
  
  
    
       
      
directory_master=bing.bing@example.com 
directory_robot=dirbot@dirsync.taurus.example.com 
secret=mindyourounbusiness 
cookie_file=PMDF_TABLE:exchange.cookie 
dirname=exchange 
ldaphost=gopher.example.com 
password=asdfghjkl 
ldapuser=cn=administrator, cn=recipients, ou=example, o=example 
root=ou=example, o=example 
ldaplimit=8 
ldappage=1000 
msx=1 
 
 | 
  
    Example 36-19 Sample 
    sync_ldif_a1_option File | 
  
  
    
       
      
dirname=a1 
directory_master=bing.bing@example.com 
directory_robot=dirbot@dirbot.taurus.example.com 
secret=mindyourownbusiness 
cookie_file=PMDF_DIRSYNC:A1.COOKIE 
slave_file=PMDF_DIRSYNC:PROFILE.LDIF 
slave_command=pmdf dirsync /convert a1 ldif=pmdf_dirsync:profile.ldif \
                   /option=pmdf_table:sync_ldif_a1_option 
master_command=pmdf dirsync /convert ldif=pmdf_dirsync:a1.ldif \
                    a1 /option=pmdf_table:sync_ldif_a1_option 
 | 
A batch job will also be needed, one that runs and resubmits itself at 
scheduled times to run the directory agents at those desired times.
Each directory will need its own cook and serve recipes, discussed in 
Section 36.9.1.1.