1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-31 12:23:52 +03:00

r19736: handle rootdse call via CLDAP

metze
This commit is contained in:
Stefan Metzmacher
2006-11-16 10:47:15 +00:00
committed by Gerald (Jerry) Carter
parent f4a6fade3a
commit 39dc94b219
4 changed files with 219 additions and 15 deletions

View File

@@ -64,14 +64,6 @@ static NTSTATUS cldapd_netlogon_fill(struct cldapd_server *cldapd,
const char *pdc_ip;
const struct ldb_dn *partitions_basedn;
if (cldapd->samctx == NULL) {
cldapd->samctx = samdb_connect(cldapd, anonymous_session(cldapd));
if (cldapd->samctx == NULL) {
DEBUG(2,("Unable to open sam in cldap netlogon reply\n"));
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}
}
partitions_basedn = samdb_partitions_dn(cldapd->samctx, mem_ctx);
/* the domain has an optional trailing . */