Andrew Bartlett [Thu, 29 Nov 2007 07:00:04 +0000 (08:00 +0100)]
r26192: Handle, test and implement the style of extended_dn requiest that MMC uses.
It appears that the control value is optional, implying type 0 responses.
Failing to parse this was causing LDAP disconnects with 'unavailable
critical extension'.
Andrew Bartlett
Jelmer Vernooij [Thu, 29 Nov 2007 00:36:41 +0000 (01:36 +0100)]
r26191: Import custom test runner for subunit, rather than using trial, which is part of twisted.
Jelmer Vernooij [Thu, 29 Nov 2007 00:36:38 +0000 (01:36 +0100)]
r26190: Allow successful as well as success.
Jelmer Vernooij [Thu, 29 Nov 2007 00:36:31 +0000 (01:36 +0100)]
r26189: Add really trivial testsuite for the auth module.
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:37 +0000 (22:41 +0100)]
r26188: Now that swig output is pregenerated, allow building python code without swig installed.
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:34 +0000 (22:41 +0100)]
r26187: Fix module name, indentation.
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:29 +0000 (22:41 +0100)]
r26186: Generate SWIG files as part of autogen.sh
Jelmer Vernooij [Wed, 28 Nov 2007 19:13:28 +0000 (20:13 +0100)]
r26185: No need to depend on ldap, shared lib already has that info.
Volker Lendecke [Wed, 28 Nov 2007 14:59:11 +0000 (15:59 +0100)]
r26184: Streams are tricky....
Andrew Bartlett [Wed, 28 Nov 2007 04:24:59 +0000 (05:24 +0100)]
r26183: The idea of a self-seeding secrets.ldb is nice, but in practice we do
this with the provision, which sets up a very different database.
Removing this ensures we are consistant.
Andrew Bartlett
Andrew Bartlett [Wed, 28 Nov 2007 03:24:12 +0000 (04:24 +0100)]
r26182: Extend our linked attribute testsuite to cover many more possible
modifications, and then extend our implementation to match.
Andrew Bartlett
Jelmer Vernooij [Wed, 28 Nov 2007 00:20:10 +0000 (01:20 +0100)]
r26181: Set version to 1.1.1, as 1.1.0 has already been released.
Jelmer Vernooij [Wed, 28 Nov 2007 00:20:00 +0000 (01:20 +0100)]
r26180: Allow prebuilding swig output files.
Jelmer Vernooij [Tue, 27 Nov 2007 23:25:47 +0000 (00:25 +0100)]
r26179: Fix symlink.
Jelmer Vernooij [Tue, 27 Nov 2007 22:49:42 +0000 (23:49 +0100)]
r26178: Link against -ldl as well to prevent undefined symbols.
Jelmer Vernooij [Tue, 27 Nov 2007 22:28:23 +0000 (23:28 +0100)]
r26177: Allow prebuilding swig wrapper, install ldb.py.
Günther Deschner [Tue, 27 Nov 2007 17:13:24 +0000 (18:13 +0100)]
r26176: Fix in,out mismatch in wkssvc_NetrWkstaUserSetInfo().
Guenther
Günther Deschner [Tue, 27 Nov 2007 12:23:01 +0000 (13:23 +0100)]
r26172: Skip testing wkssvc against us, we only have dummy support anyway.
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:59:35 +0000 (12:59 +0100)]
r26171: Add my copyright.
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:56:10 +0000 (12:56 +0100)]
r26170: Put test_NetrUseGetInfo() in the correct order of tests.
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:28:38 +0000 (12:28 +0100)]
r26169: Use the NDR_PAHEX flag to print the encrypted wkssvc password buffer.
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:27:27 +0000 (12:27 +0100)]
r26168: Add two more documented WKSSVC_JOIN_FLAGS.
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:26:20 +0000 (12:26 +0100)]
r26167: Just for completeness, add some more documented wkssvc_NetWkstaInfo info level
uint32s.
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:23:34 +0000 (12:23 +0100)]
r26166: Put [ref] in the front in wkssvc IDL.
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:18:23 +0000 (12:18 +0100)]
r26165: Add IDL and torture test for wkssvc_NetrGetJoinableOus() and
wkssvc_NetrGetJoinableOus2() (both unavailable remotely).
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:11:49 +0000 (12:11 +0100)]
r26164: Add IDL for wkssvc_NetrJoinDomain() and wkssvc_NetrUnjoinDomain().
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:08:01 +0000 (12:08 +0100)]
r26163: Add IDL and torture test for wkssvc_NetrGetJoinInformation().
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:04:48 +0000 (12:04 +0100)]
r26162: Remove accidental commit.
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:04:03 +0000 (12:04 +0100)]
r26161: Add (dangerous) torture tests for wkssvc_NetrRenameMachineInDomain() and
wkssvc_NetrRenameMachineInDomain2().
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:58:33 +0000 (11:58 +0100)]
r26160: Add WERR_NAME_NOT_FOUND.
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:51:22 +0000 (11:51 +0100)]
r26159: Align to coding conventions.
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:49:51 +0000 (11:49 +0100)]
r26158: Add IDL for wkssvc_NetrRenameMachineInDomain().
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:31:09 +0000 (11:31 +0100)]
r26157: Add IDL and torture test for wkssvc_NetrSetPrimaryComputername().
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:21:26 +0000 (11:21 +0100)]
r26156: Choose a more speaking message in test_NetrMessageBufferSend().
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:20:34 +0000 (11:20 +0100)]
r26155: Add IDL and torture teset for wkssvc_NetrMessageBufferSend().
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:14:51 +0000 (11:14 +0100)]
r26154: Add IDL and torture test for wkssvc_NetrWorkstationStatistics(). A lot of
unknowns, I know...
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:04:51 +0000 (11:04 +0100)]
r26153: Add torture test for NetrAddAlternateComputerName() and
NetrRemoveAlternateComputerName().
Guenther
Günther Deschner [Tue, 27 Nov 2007 09:42:50 +0000 (10:42 +0100)]
r26152: Add IDL and torture test for wkssvc_NetrEnumerateComputerNames().
Guenther
Günther Deschner [Tue, 27 Nov 2007 09:34:53 +0000 (10:34 +0100)]
r26151: Add IDL and torture test for wkssvc_NetrValidateName() and
wkssvc_NetrValidateName2().
Guenther
Günther Deschner [Tue, 27 Nov 2007 09:29:19 +0000 (10:29 +0100)]
r26150: Add IDL and torture test for wkssvc_NetrLogonDomainNameAdd() and
wkssvc_NetrLogonDomainNameDel(), both unsupported on w2k3.
Guenther
Günther Deschner [Tue, 27 Nov 2007 09:25:48 +0000 (10:25 +0100)]
r26149: Add IDL for wkssvc_NetrWkstaUserSetInfo(). No torture test yet.
Guenther
Günther Deschner [Tue, 27 Nov 2007 09:23:24 +0000 (10:23 +0100)]
r26148: Add IDL and torture test for wkssvc_NetrUseGetInfo().
Guenther
Günther Deschner [Tue, 27 Nov 2007 09:18:00 +0000 (10:18 +0100)]
r26147: Add IDL and torture test for wkssvc_NetrUseDel and wkssvc_NetrUseAdd.
Guenther
Günther Deschner [Tue, 27 Nov 2007 09:07:00 +0000 (10:07 +0100)]
r26146: Add IDL and torture test for wkssvc_NetrUseEnum().
Guenther
Günther Deschner [Tue, 27 Nov 2007 08:58:18 +0000 (09:58 +0100)]
r26145: Fix server side of wkssvc_NetWkstaTransportEnum.
Guenther
Günther Deschner [Tue, 27 Nov 2007 08:49:19 +0000 (09:49 +0100)]
r26144: Add IDL and torture test for wkssvc_NetrWkstaTransportAdd and
wkssvc_NetrWkstaTransportDel.
Guenther
Günther Deschner [Tue, 27 Nov 2007 08:41:50 +0000 (09:41 +0100)]
r26143: Add IDL and torture test for wkssvc_NetrWkstaUserGetInfo.
Guenther
Günther Deschner [Tue, 27 Nov 2007 08:35:10 +0000 (09:35 +0100)]
r26142: Cleanup IDL and add torture test for wkssvc_NetWkstaEnumUsers.
Guenther
Günther Deschner [Tue, 27 Nov 2007 08:29:41 +0000 (09:29 +0100)]
r26141: Reflect pointer_default(unique) setting.
Guenther
Andrew Bartlett [Tue, 27 Nov 2007 03:43:20 +0000 (04:43 +0100)]
r26140: Add a new test for searches by distinguieshedName and dn, and
implement these in the simple ldap mapping module.
We still don't pass this test, because we must get linked attributes
into OpenLDAP.
Andrew Bartlett
Andrew Bartlett [Tue, 27 Nov 2007 01:49:37 +0000 (02:49 +0100)]
r26139: Based on a report by Theodor Chirana, don't assert() on invalid
netbios names at this point, the calling order has changed, and we
have a more informative place to do it.
Andrew Bartlett
Andrew Bartlett [Tue, 27 Nov 2007 01:47:57 +0000 (02:47 +0100)]
r26138: Don't talloc_free() res if an error occoured.
Andrew Bartlett
Andrew Bartlett [Tue, 27 Nov 2007 01:26:47 +0000 (02:26 +0100)]
r26137: Rename the entryUUID module to better match it's purpose: being a
simple ldap mapping (a complex mapping will follow).
Fix the module to handle 'name' better, rather than using the 'name'
attribute built into OpenLDAP, rename to samba4RDN. We need to see if
this can be handled in the backend.
Also rename the functions and inernal module name to entryuuid for
consistancy.
Andrew Bartlett
Jelmer Vernooij [Tue, 27 Nov 2007 01:04:38 +0000 (02:04 +0100)]
r26136: Attempt to fix dependencies for auth.
Andrew Bartlett [Tue, 27 Nov 2007 00:25:11 +0000 (01:25 +0100)]
r26135: Remove samdb_add(), samdb_delete() and samdb_modify(), which were just
wrappers to ldb_add() etc. samdb_replace() remains, as it sets flags on
all entries as 'replace'.
Andrew Bartlett
Jelmer Vernooij [Tue, 27 Nov 2007 00:14:54 +0000 (01:14 +0100)]
r26134: Avoid using samdb-dependent functions in auth_system_session.
Günther Deschner [Mon, 26 Nov 2007 22:58:39 +0000 (23:58 +0100)]
r26133: Add some more error codes from wkssvc testing.
Guenther
Andrew Bartlett [Mon, 26 Nov 2007 05:12:01 +0000 (06:12 +0100)]
r26131: Ensure we show the right errors in the NULL base DN case. Based on
bug 5090 by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Andrew Bartlett
Jelmer Vernooij [Mon, 26 Nov 2007 02:14:57 +0000 (03:14 +0100)]
r26130: Fix header installation
Jelmer Vernooij [Mon, 26 Nov 2007 02:14:28 +0000 (03:14 +0100)]
r26129: Specify path explicitly in case an external ldb installation is used.
Jelmer Vernooij [Mon, 26 Nov 2007 01:31:53 +0000 (02:31 +0100)]
r26128: Some formatting fixes in secrets.c, fix free of filename, update ignores for source/..
Jelmer Vernooij [Mon, 26 Nov 2007 01:25:20 +0000 (02:25 +0100)]
r26127: Move session code out of auth_util.c. No longer making it part of auth but making it usable independently will be the next step.
Jelmer Vernooij [Mon, 26 Nov 2007 00:29:14 +0000 (01:29 +0100)]
r26124: Install ldb_handlers.h, required by ldb_samba.
Jelmer Vernooij [Sun, 25 Nov 2007 23:55:22 +0000 (00:55 +0100)]
r26123: Use utility function for secrets.tdb path.
Jelmer Vernooij [Sun, 25 Nov 2007 22:23:30 +0000 (23:23 +0100)]
r26122: Don't install python bindings yet.
Jelmer Vernooij [Sun, 25 Nov 2007 20:22:32 +0000 (21:22 +0100)]
r26121: Don't build modules if subsystem isn't build.
Jelmer Vernooij [Sun, 25 Nov 2007 19:55:53 +0000 (20:55 +0100)]
r26120: Don't install python modules as modules.
Jelmer Vernooij [Sun, 25 Nov 2007 19:12:08 +0000 (20:12 +0100)]
r26119: Fix warnings.
Jelmer Vernooij [Sun, 25 Nov 2007 18:34:04 +0000 (19:34 +0100)]
r26118: Remove whitespace that causes empty if statement to be generated.
Jelmer Vernooij [Sun, 25 Nov 2007 17:49:37 +0000 (18:49 +0100)]
r26117: Fix DESTDIR use for bindir.
Jelmer Vernooij [Sun, 25 Nov 2007 15:12:05 +0000 (16:12 +0100)]
r26116: Mention python in the config.status summary.
Jelmer Vernooij [Sun, 25 Nov 2007 14:34:12 +0000 (15:34 +0100)]
r26114: Allow keyword-arguments.
Jelmer Vernooij [Sun, 25 Nov 2007 14:28:41 +0000 (15:28 +0100)]
r26113: Build tdb python bindings even when not using system tdb.
Jelmer Vernooij [Sun, 25 Nov 2007 13:26:16 +0000 (14:26 +0100)]
r26112: Do proper error checking in __contains__.
Volker Lendecke [Sun, 25 Nov 2007 12:38:07 +0000 (13:38 +0100)]
r26111: Fix an uninitialized variable
Jelmer Vernooij [Sun, 25 Nov 2007 03:53:54 +0000 (04:53 +0100)]
r26110: Create separate function for connecting, add helper for creating result typemaps.
Jelmer Vernooij [Sun, 25 Nov 2007 02:50:05 +0000 (03:50 +0100)]
r26109: Use new SWIG helpers in autogenerated DCE/RPC SWIG files.
Jelmer Vernooij [Sun, 25 Nov 2007 02:06:50 +0000 (03:06 +0100)]
r26108: Add makefile rules for building, installing and checking python bindings.
Jelmer Vernooij [Sun, 25 Nov 2007 02:04:04 +0000 (03:04 +0100)]
r26107: Add more tests.
Jelmer Vernooij [Sun, 25 Nov 2007 01:58:12 +0000 (02:58 +0100)]
r26106: Add targets for building, installing and checking python bindings.
Jelmer Vernooij [Sun, 25 Nov 2007 01:29:59 +0000 (02:29 +0100)]
r26105: Add targets for building and installing the python bindings.
Volker Lendecke [Fri, 23 Nov 2007 15:02:27 +0000 (16:02 +0100)]
r26104: Revert 26103 -- breaks make test
Volker Lendecke [Fri, 23 Nov 2007 14:29:22 +0000 (15:29 +0100)]
r26103: Leave streams around to unlink
Add test case for stream name case insensitity
Stefan Metzmacher [Thu, 22 Nov 2007 13:42:14 +0000 (14:42 +0100)]
r26102: libreplace: remove system/printing.h as it only contains samba3 stuff
metze
Jelmer Vernooij [Wed, 21 Nov 2007 15:18:02 +0000 (16:18 +0100)]
r26101: remove some unused includes
Jelmer Vernooij [Wed, 21 Nov 2007 15:04:13 +0000 (16:04 +0100)]
r26100: Also check for SWIG.
Jelmer Vernooij [Wed, 21 Nov 2007 14:25:23 +0000 (15:25 +0100)]
r26099: Don't depend on nonexistant auth_util.h header.
Jelmer Vernooij [Wed, 21 Nov 2007 14:19:51 +0000 (15:19 +0100)]
r26098: Make missing python no longer fatal.
Jelmer Vernooij [Wed, 21 Nov 2007 13:49:35 +0000 (14:49 +0100)]
r26097: Consider python modules special modules rather than special libraries.
Jelmer Vernooij [Wed, 21 Nov 2007 13:49:32 +0000 (14:49 +0100)]
r26096: No longer include removed header
Jelmer Vernooij [Wed, 21 Nov 2007 13:49:27 +0000 (14:49 +0100)]
r26095: Add function for import a generic configuration file in a loadparm context.
Jelmer Vernooij [Wed, 21 Nov 2007 12:37:20 +0000 (13:37 +0100)]
r26090: Make building tdb python bindings independent of use of external tdb.
Jelmer Vernooij [Wed, 21 Nov 2007 12:22:54 +0000 (13:22 +0100)]
r26089: Move python detection to a separate file, and don't make it an error if it isn't available.
Jelmer Vernooij [Wed, 21 Nov 2007 12:07:16 +0000 (13:07 +0100)]
r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.
Jelmer Vernooij [Wed, 21 Nov 2007 11:54:06 +0000 (12:54 +0100)]
r26087: Fix include, add setup.py for tdb
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:47 +0000 (12:31 +0100)]
r26080: Import updated LDB bindings.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:43 +0000 (12:31 +0100)]
r26079: Some cleanups in the old SWIG wrappers: - remove old torture tests for LDB (replaced by a much more extensive test) - moved tool to bin directory
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:41 +0000 (12:31 +0100)]
r26078: Import Python bindings for system_session functions (still needs tests).
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:38 +0000 (12:31 +0100)]
r26077: Import updated TDB bindings.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:35 +0000 (12:31 +0100)]
r26076: Remove some SWIG code that is already commonly available.