1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-26 03:42:04 +03:00

samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.

This commit is contained in:
Jelmer Vernooij
2010-06-20 01:28:39 +02:00
parent b48182007c
commit 1d86414eb0
3 changed files with 20 additions and 22 deletions

View File

@ -38,5 +38,5 @@ class DsdbTests(TestCase):
session = system_session()
test_ldb = SamDB(os.path.join(self._baseprovpath(), "private", "sam.ldb"),
session_info=session, credentials=creds,lp=lp)
oid = test_ldb.dsdb_get_oid_from_attid(591614)
oid = test_ldb.get_oid_from_attid(591614)
self.assertEquals(oid, "1.2.840.113556.1.4.1790")