diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-04-13 08:41:10 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-04-13 08:55:15 +0200 |
commit | ad9e4073574125b01b3992081be9b2a4d6852cbf (patch) | |
tree | 4bde84e3f1962d64200366a1ddb3d7bcef6e42c8 /source4/torture/ldap | |
parent | 8e4c34880a11b2b8a7b5fbb228c26301865a4b4d (diff) | |
download | samba-ad9e4073574125b01b3992081be9b2a4d6852cbf.tar.gz samba-ad9e4073574125b01b3992081be9b2a4d6852cbf.tar.bz2 samba-ad9e4073574125b01b3992081be9b2a4d6852cbf.zip |
Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"
We should use the "ldb_get_*_basedn" calls since they are available in the LDB
library.
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r-- | source4/torture/ldap/uptodatevector.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/ldap/uptodatevector.c b/source4/torture/ldap/uptodatevector.c index a4ca7e5357..0921cf779b 100644 --- a/source4/torture/ldap/uptodatevector.c +++ b/source4/torture/ldap/uptodatevector.c @@ -162,9 +162,9 @@ bool torture_ldap_uptodatevector(struct torture_context *torture) 0); if (!ldb) goto failed; - ret &= test_check_uptodatevector(torture, ldb, samdb_base_dn(ldb)); - ret &= test_check_uptodatevector(torture, ldb, samdb_config_dn(ldb)); - ret &= test_check_uptodatevector(torture, ldb, samdb_schema_dn(ldb)); + ret &= test_check_uptodatevector(torture, ldb, ldb_get_default_basedn(ldb)); + ret &= test_check_uptodatevector(torture, ldb, ldb_get_config_basedn(ldb)); + ret &= test_check_uptodatevector(torture, ldb, ldb_get_schema_basedn(ldb)); return ret; failed: |