summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/python/ldap.py
AgeCommit message (Collapse)AuthorFilesLines
2008-12-21Fix various Python-related bugs.Jelmer Vernooij1-57/+57
2008-12-19Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-27/+60
2008-12-19Avoid use of parentheses in Python import statements, as it's not supported ↵Jelmer Vernooij1-4/+4
by Python2.3.
2008-12-17s4:ldb: add some python tests for extended dnsAndrew Bartlett1-27/+60
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-10-16Assert that the server provides allowedAttributes (etc) on each entryAndrew Bartlett1-2/+6
This attribute is critical for the operation of nearly all the Microsoft Mangement Console tools Andrew Bartlett
2008-10-08Fix subunit files location after cherrypicks.Jelmer Vernooij1-0/+1
2008-09-24Fix python test, we can't check only the first member, because the orderSimo Sorce1-1/+4
is not guaranteed
2008-08-22disable the anr== tests until they are understoodAndrew Tridgell1-12/+13
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e)
2008-08-21Correct anr search commants and error messages in ldap.jsAndrew Bartlett1-7/+7
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
2008-08-15Generate the subSchema in cn=AggregateAndrew Bartlett1-0/+30
This reads the schema from the in-memory structure, when the magic attributes are requested. The code is a modified version of that used in the ad2oLschema tool (now shared). The schema_fsmo module handles the insertion of the generated result. As such, this commit also removes these entries from the setup/schema.ldif Metze's previous stub of this functionality is also removed. Andrew Bartlett (This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
2008-07-21Sleep longer in the hope that the OpenLDAP backend might catch upAndrew Bartlett1-2/+2
(This used to be commit 63c80c885dc3fb2228f082be8db752bb29e3962e)
2008-07-16Another kludge to let the OpenLDAP backend catch up.Andrew Bartlett1-0/+2
This will go away when this is handled in an internal transation. Andrew Bartlett (This used to be commit f567e17758cfe937249beafae0a9087b67b27755)
2008-06-30Relax the ldap.py tests so that they pass against OpenLDAP CVS.Andrew Bartlett1-3/+6
This requires a patched OpenLDAP checked out from their CVS HEAD. I hope to see the patches incorporated soon. Andrew Bartlett (This used to be commit 963bcfc777679ba122189ea6cf7f94b8d46cdce7)
2008-06-30Loosen ldap.py tests on the LDAP backend.Andrew Bartlett1-1/+1
Allow LDAP backend to return parts of the DN in a different case, when verifying memberOf. Andrew Bartlett (This used to be commit daddfae9fd8b7375bd4f469808378edc60a55be0)
2008-06-28Non-zero exit code on failure.Jelmer Vernooij1-3/+6
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
2008-06-03Align the Python and EJS ldap tests.Andrew Bartlett1-45/+151
We should now (need to review and compare them once more) be able to remove ldap.js (and once samba3sam.js is done, smbscript). Andrew Bartlett (This used to be commit f65e43e9456e8e951d172779cba53ab417114b20)
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij1-2/+2
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-11Use system python rather than smbpython.Jelmer Vernooij1-0/+2
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-1/+1
This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-02-09Fix tests.Jelmer Vernooij1-35/+24
(This used to be commit e4d7cd8ba77aa05c11dad457c3f2c2c6252c5966)
2008-02-09Split up tests a bit, output subunit.Jelmer Vernooij1-753/+721
(This used to be commit 501259ff31641bf52e337b597881d1fedc6b2a63)
2008-02-09Remove unused path update.Jelmer Vernooij1-2/+0
(This used to be commit 1868a42108012183aa78fe5d4f524d45f4505a3e)
2008-02-08Fix syntax in LDAP testAndrew Bartlett1-4/+4
We don't get this far in the test at the moment however. Andrew Bartlett (This used to be commit c3098d5c52505e143a6ce498273a5ce6a66220b0)
2008-01-23python: Add convenience function for getting command line loadparm contextJelmer Vernooij1-4/+3
and default to using system smb.conf. (This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
2008-01-15ldap.py: Use constants where possible.Jelmer Vernooij1-14/+16
(This used to be commit 0885dc9f813e19cd6c28d8259eaeccf1e9b26210)
2008-01-11ldap/python: Fix last tests.Jelmer Vernooij1-60/+53
(This used to be commit 874c00b1c1ef011c85226135144fafdc97d91116)
2008-01-11python/ldap: Fix a couple more tests.Jelmer Vernooij1-18/+18
(This used to be commit 3a0d14f33532d88ace770d037c50375fe822dbb6)
2008-01-11Make a few more tests pass.Jelmer Vernooij1-129/+115
(This used to be commit 017aa400c7097cf6132f2bec969b9bbb5237f4d8)
2008-01-11python/ldap: Get further.Jelmer Vernooij1-2/+4
(This used to be commit 0c27eabbc40657493dc72f12b4fbdb07b0a3200f)
2008-01-11python/ldap: Fix some tests.Jelmer Vernooij1-9/+15
(This used to be commit 52f64afd4324eb185303ca192b88ccb632ee8587)
2008-01-11python: More work getting the LDAP test to compile again.Jelmer Vernooij1-36/+23
(This used to be commit d7a3f9612c40000cb265279598c09f6983305656)
2008-01-11python: Specify right arguments for the ldap test, fix some more calls.Jelmer Vernooij1-37/+30
(This used to be commit 74209fa6b097c6cd3c919dc6a67d998de12fa575)
2008-01-11ldap/python: Fix some more calls.Jelmer Vernooij1-74/+47
(This used to be commit 583881ae5a2a173abad9ba1ffd766b009d9ca8cd)
2007-12-28r26623: python: Allow specifying URL rather than host name on the command-line.Jelmer Vernooij1-2/+4
(This used to be commit 108f6caffe2bb311495b89659cfd818f0ec410f2)
2007-12-27r26617: Load smb.conf.Jelmer Vernooij1-2/+8
(This used to be commit 3f7bfef195421083f1401a73f60c5d270a1455f8)
2007-12-27r26615: Fix Python syntaxJelmer Vernooij1-1161/+772
(This used to be commit cc15136c1e29f0a25847568f748cc1af52b7037b)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij1-0/+1355
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)