The Samba app provides both the PDC/BDC support along with file and print services.
A separate document outlines some of the challenges that comes with supporting PDC and BDCs in a replicated environment.
search?q=clearos%2C%20clearos%20content%2C%20dev%2C%20apps%2C%20maintainer_dloper%2C%20maintainerreview_x%2C%20keywordfix&btnI=lucky