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

30 Commits

Author SHA1 Message Date
Andrew Tridgell
094895cbe1 disable the anr== tests until they are understood
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e)
2008-08-22 21:54:21 +10:00
Andrew Bartlett
0d89adcd4b Correct anr search commants and error messages in ldap.js
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
2008-08-21 12:51:55 +10:00
Andrew Bartlett
16112762e7 Generate the subSchema in cn=Aggregate
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-08-15 20:40:57 +10:00
Andrew Bartlett
f4cae6a913 Sleep longer in the hope that the OpenLDAP backend might catch up
(This used to be commit 63c80c885dc3fb2228f082be8db752bb29e3962e)
2008-07-21 11:18:54 +10:00
Andrew Bartlett
0c4738a411 Another kludge to let the OpenLDAP backend catch up.
This will go away when this is handled in an internal transation.

Andrew Bartlett
(This used to be commit f567e17758cfe937249beafae0a9087b67b27755)
2008-07-16 17:06:33 +10:00
Andrew Bartlett
71439c6283 Relax the ldap.py tests so that they pass against OpenLDAP CVS.
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-30 11:27:55 +10:00
Andrew Bartlett
8b6d8184a5 Loosen ldap.py tests on the LDAP backend.
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-30 09:38:52 +10:00
Jelmer Vernooij
63cfab25e9 Non-zero exit code on failure.
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
2008-06-28 15:26:46 +02:00
Andrew Bartlett
446748bfe1 Align the Python and EJS ldap tests.
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-06-03 23:27:22 +10:00
Jelmer Vernooij
49706ab19b Move more modules inside of the samba package.
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
babdcc6135 Use system python rather than smbpython.
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-05-11 05:29:20 +02:00
Andrew Bartlett
142fbfb3c1 Fix and test python scripts and kerberos
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-03-28 21:57:15 +11:00
Jelmer Vernooij
1a2544a24c Fix tests.
(This used to be commit e4d7cd8ba77aa05c11dad457c3f2c2c6252c5966)
2008-02-09 19:16:44 +01:00
Jelmer Vernooij
93bb85d293 Split up tests a bit, output subunit.
(This used to be commit 501259ff31641bf52e337b597881d1fedc6b2a63)
2008-02-09 19:04:14 +01:00
Jelmer Vernooij
8fdd13f18a Remove unused path update.
(This used to be commit 1868a42108012183aa78fe5d4f524d45f4505a3e)
2008-02-09 15:43:28 +01:00
Andrew Bartlett
bbf8aca01d Fix syntax in LDAP test
We don't get this far in the test at the moment however.

Andrew Bartlett
(This used to be commit c3098d5c52505e143a6ce498273a5ce6a66220b0)
2008-02-08 13:23:45 +11:00
Jelmer Vernooij
decdf5954d python: Add convenience function for getting command line loadparm context
and default to using system smb.conf.
(This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
2008-01-23 23:38:57 +01:00
Jelmer Vernooij
341ee607b3 ldap.py: Use constants where possible.
(This used to be commit 0885dc9f813e19cd6c28d8259eaeccf1e9b26210)
2008-01-15 02:04:20 +01:00
Jelmer Vernooij
1534a4034b ldap/python: Fix last tests.
(This used to be commit 874c00b1c1ef011c85226135144fafdc97d91116)
2008-01-11 04:06:00 +01:00
Jelmer Vernooij
c01396dc24 python/ldap: Fix a couple more tests.
(This used to be commit 3a0d14f33532d88ace770d037c50375fe822dbb6)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
d2b96bbec0 Make a few more tests pass.
(This used to be commit 017aa400c7097cf6132f2bec969b9bbb5237f4d8)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
da56ee66b0 python/ldap: Get further.
(This used to be commit 0c27eabbc40657493dc72f12b4fbdb07b0a3200f)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
5967746c31 python/ldap: Fix some tests.
(This used to be commit 52f64afd4324eb185303ca192b88ccb632ee8587)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
b344508ca3 python: More work getting the LDAP test to compile again.
(This used to be commit d7a3f9612c40000cb265279598c09f6983305656)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
410e8f8681 python: Specify right arguments for the ldap test, fix some more calls.
(This used to be commit 74209fa6b097c6cd3c919dc6a67d998de12fa575)
2008-01-11 03:27:26 +01:00
Jelmer Vernooij
a785df0c0a ldap/python: Fix some more calls.
(This used to be commit 583881ae5a2a173abad9ba1ffd766b009d9ca8cd)
2008-01-11 03:27:26 +01:00
Jelmer Vernooij
405a20b44f r26623: python: Allow specifying URL rather than host name on the command-line.
(This used to be commit 108f6caffe2bb311495b89659cfd818f0ec410f2)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
0098543d67 r26617: Load smb.conf.
(This used to be commit 3f7bfef195421083f1401a73f60c5d270a1455f8)
2007-12-27 17:36:06 -06:00
Jelmer Vernooij
18f9eaca07 r26615: Fix Python syntax
(This used to be commit cc15136c1e29f0a25847568f748cc1af52b7037b)
2007-12-27 17:36:05 -06:00
Jelmer Vernooij
aa0a06f13c r26570: - Trim size of the swig-generated Python bindings by removing a 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)
2007-12-24 01:51:03 -06:00