summaryrefslogtreecommitdiff
path: root/source4/cldap_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-12 13:43:43 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-12 18:49:01 +0200
commit98ce053efdf8f28aa0480663c0094fc9ca8939e1 (patch)
tree60bae9729105f3a1d5aa24bddee287637da509ff /source4/cldap_server
parent978a2d26b4fa38873ed822b8642737e3352e5f21 (diff)
downloadsamba-98ce053efdf8f28aa0480663c0094fc9ca8939e1.tar.gz
samba-98ce053efdf8f28aa0480663c0094fc9ca8939e1.tar.bz2
samba-98ce053efdf8f28aa0480663c0094fc9ca8939e1.zip
s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions
Purely cosmetic change.
Diffstat (limited to 'source4/cldap_server')
-rw-r--r--source4/cldap_server/netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index e6a4ab373c..95fff1a8c6 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -233,7 +233,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
#if 0
/* w2k8-r2 as a sole DC does not claim this */
- if (ldb_dn_compare(ldb_get_root_basedn(sam_ctx), ldb_get_default_basedn(sam_ctx)) == 0) {
+ if (ldb_dn_compare(samdb_root_dn(sam_ctx), samdb_base_dn(sam_ctx)) == 0) {
server_type |= DS_DNS_FOREST_ROOT;
}
#endif