#!/usr/bin/python


import sys
sys.path.insert(0, "bin/python")
import ldb
l = ldb.Ldb("/tmp/foobar")
first = ldb.Dn(l,"CN=boo, DC=foo, DC=bar");
second = ldb.Dn(l,"CN=aoo, CN=boo, DC=foo, DC=bar");
if first < second: 
	print "sort works ok"
else:
	print "sort thinks that 
