1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-30 08:23:49 +03:00
Commit Graph

630 Commits

Author SHA1 Message Date
Andrew Bartlett
a0cf47c335 r26697: Leak less memory into the ldb context.
(Trying to chase down memory leaks in provision)

Andrew Bartlett
2008-01-08 23:42:02 -06:00
Andrew Bartlett
b4a95a8985 r26679: It is very bad to free the ldb handle when you didn't create it...
(My bad when copying this code into samdb_is_gc()).

Andrew Bartlett
2008-01-06 18:51:02 -06:00
Jelmer Vernooij
18cd08623e r26672: Janitorial: Remove uses of global_loadparm. 2008-01-05 13:06:03 -06:00
Jelmer Vernooij
8a97886e24 r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct. 2008-01-03 12:33:36 -06:00
Andrew Bartlett
592c10ae11 r26648: Move detection of global catalog captability to a central function, so
this can be shared with the CLDAP server (for the netlogon reply).

Andrew Bartlett
2008-01-03 12:33:35 -06:00
Jelmer Vernooij
7d14b657b3 r26642: samba3sam.py: Remove more EJS-specific code. 2008-01-01 19:57:02 -06:00
Jelmer Vernooij
c863f4ebde r26640: Janitorial: Remove some more uses of global_loadparm. 2008-01-01 19:57:01 -06:00
Jelmer Vernooij
2f29f80e07 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
Jelmer Vernooij
61ad78ac98 r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob(). 2008-01-01 16:12:11 -06:00
Jelmer Vernooij
84f1e82d8f r26637: More work converting to Python. 2008-01-01 16:12:05 -06:00
Jelmer Vernooij
4be1161337 r26630: Split up big tests into various smaller functions, making it easier to debug. 2007-12-30 10:51:06 -06:00
Andrew Bartlett
66cb9601e7 r26612: Tests show that we don't need to use a callback.
Andrew Bartlett
2007-12-27 01:51:04 -06:00
Jelmer Vernooij
d649f73431 r26598: Simplify the way Python tests are run. 2007-12-26 11:57:08 -06:00
Jelmer Vernooij
150cf39fbd r26593: - More work on the python versions of samba3dump and the samba3sam tests.
- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
874f0ac056 r26573: Fix warnings. 2007-12-24 01:51:04 -06:00
Jelmer Vernooij
c550c03372 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.
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe r26539: Remove unnecessary statics. 2007-12-21 05:52:05 +01:00
Kai Blin
41a1f59850 r26528: dsdb: Fix a warning. 2007-12-21 05:51:51 +01:00
Jelmer Vernooij
174aa15837 r26521: Fix newlines. 2007-12-21 05:51:40 +01:00
Jelmer Vernooij
10d0631c95 r26508: Tighter dependencies in an attempt to fix missing symbol errors on sun9. 2007-12-21 05:51:13 +01:00
Jelmer Vernooij
84d2f784bf r26493: Fix includes for dsdb/common. 2007-12-21 05:50:48 +01:00
Andrew Bartlett
91bcb60d31 r26488: Implement tests for the ranged_results module.
Untested code is broken code, so rework the module until it passes...

It turns out that AD puts search attributes onto the wire in the
reverse order to what Samba does.  This complicates exact value
matching, so this is skipped for now.

Andrew Bartlett
2007-12-21 05:50:45 +01:00
Andrew Bartlett
2277f2d887 r26485: Fix indent, remove left-over debug.
Andrew Bartlett
2007-12-21 05:50:42 +01:00
Jelmer Vernooij
85eeecf997 r26483: Merge ldb module dependency fixes, fix auth python module. 2007-12-21 05:50:41 +01:00
Jelmer Vernooij
1b947fe0e6 r26430: require explicit specification of loadparm context. 2007-12-21 05:49:58 +01:00
Jelmer Vernooij
d37136b7ab r26429: Avoid use of global_smb_iconv_convenience. 2007-12-21 05:49:56 +01:00
Andrew Bartlett
044b509472 r26419: Add a module to implement 'ambigious name resolution' by munging the
incoming LDAP filter.

Warning: Any anr search will perform a full index search.  Untill ldb
gets substring indexes, this is unavoidable.

Also implement a testsutie to show we match AD behaviour for this
important extension (used in the Active Directory Users and Computers
MMC plugin, as a genereral 'find').

This will also be useful to OpenChange, as their server needs to
implement this.

Andrew Bartlett
2007-12-21 05:49:48 +01:00
Andrew Bartlett
a8b0f5af9a r26412: Add comments and refactor to reuse common code.
Andrew Bartlett
2007-12-21 05:49:43 +01:00
Jelmer Vernooij
3616ced29e r26360: Add some const. 2007-12-21 05:49:03 +01:00
Jelmer Vernooij
ddf233346d r26329: Fix more loadparm_context references. Only about a 100 left now. 2007-12-21 05:48:42 +01:00
Jelmer Vernooij
eeb2251d22 r26327: Explicit loadparm_context for RPC client functions. 2007-12-21 05:48:41 +01:00
Andrew Bartlett
8089283784 r26324: Fix includes for Jelmer.
Andrew Bartlett
2007-12-21 05:48:35 +01:00
Jelmer Vernooij
95a6ef7fc8 r26319: Split encoding functions out of libcli_ldap. 2007-12-21 05:48:33 +01:00
Jelmer Vernooij
f6420d933b r26316: Use contexts for conversion functions. 2007-12-21 05:48:30 +01:00
Andrew Bartlett
b0de08916e r26298: Use metze's schema loading code to pre-initialise the schema into the
samdb before we start writing entries into it.

In doing so, I realised we still used 'dnsDomain', which is not part
of the standard schema (now removed).

We also set the 'wrong' side of the linked attributes for the
masteredBy on each partition - this is now set in provision_self_join
and backlinks via the linked attributes code.

When we have the schema loaded, we must also have a valid domain SID
loaded, so that the objectclass module works.  This required some ejs
glue.

Andrew Bartlett
2007-12-21 05:48:15 +01:00
Andrew Bartlett
47422b5e59 r26297: Correct error message. This function verifies attributes, not
objectclasses.

Andrew Bartlett
2007-12-21 05:48:14 +01:00
Andrew Bartlett
1dc771f903 r26284: Rather than just debug, push the error back up the stack as the error
string, if we fail to load the schema.

Andrew Bartlett
2007-12-21 05:48:08 +01:00
Andrew Bartlett
7d1169b52b r26283: fix typo 2007-12-21 05:48:08 +01:00
Andrew Bartlett
9ac7f4f609 r26282: These modules expect errors, but if we don't wipe the error string, we
get phony error strings at the caller, which is very confusing.

Andrew Bartlett
2007-12-21 05:48:07 +01:00
Jelmer Vernooij
e9875fcd56 r26271: Remove some more uses of global_loadparm. 2007-12-21 05:47:53 +01:00
Jelmer Vernooij
e52710d679 r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess(). 2007-12-21 05:47:50 +01:00
Jelmer Vernooij
7280c1e941 r26252: Specify loadparm_context explicitly when creating sessions. 2007-12-21 05:47:29 +01:00
Andrew Bartlett
c789a91e00 r26244: Add a module (sans tests for the moment) that implements ranged
results, as used particularly by MMC's Active Directory Users and
Computers to list group members.

This may be used on any attribute, but is useful to obtain attributes
that may be lengthy in 'pages'.  The implementation presumes that
attributes will always be returned by the DB in the same order.

Andrew Bartlett
2007-12-21 05:47:23 +01:00
Jelmer Vernooij
1386c5c925 r26237: Add loadparm context to the server service interface. 2007-12-21 05:47:15 +01:00
Jelmer Vernooij
e903978220 r26235: Avoid global_loadparm. 2007-12-21 05:47:13 +01:00
Jelmer Vernooij
84892d030d r26234: More global_loadparm fixes. 2007-12-21 05:47:12 +01:00
Jelmer Vernooij
7780bf285f r26233: Pass loadparm context when creating krb5 contexts. 2007-12-21 05:47:11 +01:00
Jelmer Vernooij
37d05fdc7b r26229: Set loadparm context as opaque pointer in ldb, remove more uses of global_loadparm. 2007-12-21 05:47:06 +01:00
Jelmer Vernooij
ba75f1613a r26228: Store loadparm context in auth context, move more loadparm_contexts up the call stack. 2007-12-21 05:47:05 +01:00