expose samdb_connect prototype