def DumpAllObjects():
 path = ('LDAP://%srootDSE' % server)
 rootdse = ADsGetObject(path)
 name = rootdse.Get('defaultNamingContext')
 path = (('LDAP://' + server) + name)
 print 'Binding to', path
 ob = ADsGetObject(path)
 _DumpObject(ob)

def DumpAllObjects ( ) : path = ( 'LDAP://%srootDSE' % server ) rootdse = ADsGetObject ( path ) name = rootdse . Get ( 'defaultNamingContext' ) path = ( ( 'LDAP://' + server ) + name ) print 'Binding to' , path ob = ADsGetObject ( path ) _DumpObject ( ob )
recursively dump the entire directory! .