fixed the updateNow schema test to use a canonical OID
authorAndrew Tridgell <tridge@samba.org>
Mon, 17 Aug 2009 01:12:10 +0000 (11:12 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 17 Aug 2009 01:14:07 +0000 (11:14 +1000)
commit341477347db9477e0bc34cadce31088108866772
tree8dbf8ed560229468cf8f913004ccb8d339a3da42
parentca526fbb3ee4131f1dae2b68f5f0f6b8c49ff711
fixed the updateNow schema test to use a canonical OID

The expression time.strftime("%s", time.gmtime())[3:] leads to a
string with a leading 0. When added then read back from the prefix map
this leads to a different string, so it is never found.

Use the simpler str(random.randint(a,b)) expression instead
source4/lib/ldb/tests/python/ldap.py