Allow external AD as SAM provider

This way OpenChange can use an external server to read information about
users and service itself
Merge branch 'cperez/external-samdb' into cloud