Add a wrapper to reconnect when SamDB LDB connection is lost

On OCS Manager.
Thanks for the tip. We'd like to reconnect when samba has been restarted and ocsmanager doesn't.