1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-07 12:23:51 +03:00
Commit Graph

734 Commits

Author SHA1 Message Date
Jelmer Vernooij
def0ae919b r26247: Don't allow use of older SWIG versions. 2007-12-21 05:47:25 +01:00
Andrew Bartlett
f6e0e15fa5 r26246: Make it easier to debug assert()s in the provision, if messages are
suppressed with --quiet.  Hopefully this will be easier with python.

Andrew Bartlett
2007-12-21 05:47:24 +01:00
Andrew Bartlett
d67e5c7896 r26245: Make it easier to handle the LDAP backend, with it's differing needs,
by seperating the modules list into parts.  That way, we can remove
the modules that the backend will provide.

Andrew Bartlett
2007-12-21 05:47:24 +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
d9391316a9 r26243: stdint.i requires swigarch.i 2007-12-21 05:47:22 +01:00
Jelmer Vernooij
12debcceac r26242: Don't fail if swig is not available. 2007-12-21 05:47:22 +01:00
Jelmer Vernooij
5b29ef7c03 r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly. 2007-12-21 05:47:15 +01:00
Jelmer Vernooij
fb2150a07a r26232: Provide replacement for stdint.i for users of older versions of swig. 2007-12-21 05:47:10 +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
Jelmer Vernooij
6cbce47a3e r26226: Avoid more uses of global_loadparm. 2007-12-21 05:47:02 +01:00
Jelmer Vernooij
a9a9634df8 r26221: Add loadparm_context parameter to auth_context_create. 2007-12-21 05:46:58 +01:00
Jelmer Vernooij
cc5260971c r26207: Only compile swig files if swig is available. 2007-12-21 05:46:52 +01:00
Jelmer Vernooij
31073a9e4e r26201: Build docs for the security module. 2007-12-21 05:46:48 +01:00
Jelmer Vernooij
8625cd403b r26197: Add bindings for libsecurity. 2007-12-21 05:46:47 +01:00
Jelmer Vernooij
b0f808345f r26191: Import custom test runner for subunit, rather than using trial, which is part of twisted. 2007-12-21 05:46:43 +01:00
Jelmer Vernooij
f97f82adbd r26188: Now that swig output is pregenerated, allow building python code without swig installed. 2007-12-21 05:46:41 +01:00
Jelmer Vernooij
4429f8b87e r26186: Generate SWIG files as part of autogen.sh 2007-12-21 05:46:39 +01:00
Andrew Bartlett
3136dccd54 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
2007-12-21 05:46:20 +01:00
Jelmer Vernooij
99c342641b r26114: Allow keyword-arguments. 2007-12-21 05:46:09 +01:00
Jelmer Vernooij
1755adffec r26100: Also check for SWIG. 2007-12-21 05:46:03 +01:00
Jelmer Vernooij
9af2aeb225 r26098: Make missing python no longer fatal. 2007-12-21 05:46:02 +01:00
Jelmer Vernooij
42738301b1 r26096: No longer include removed header 2007-12-21 05:46:00 +01:00
Jelmer Vernooij
4e7709379d r26089: Move python detection to a separate file, and don't make it an error if it isn't available. 2007-12-21 05:45:59 +01:00
Jelmer Vernooij
cbf656ff05 r26088: Import some native-python python modules and move original python swig torture code to common python directory as well. 2007-12-21 05:45:59 +01:00
Jelmer Vernooij
d6d3b0ad7a 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 2007-12-21 05:45:56 +01:00
Jelmer Vernooij
e6cd16d0fb r26076: Remove some SWIG code that is already commonly available. 2007-12-21 05:45:54 +01:00
Jelmer Vernooij
93eba0a3a9 r26071: Move DCE/RPC SWIG bindings closer to the code they're wrapping. 2007-12-21 05:45:53 +01:00
Jelmer Vernooij
fc3a8caef7 r26068: Import improved Python bindings for LDB, including tests. 2007-12-21 05:45:51 +01:00
Jelmer Vernooij
28f05bb5ef r26006: Improve some dependencies. 2007-12-21 05:45:41 +01:00
Jelmer Vernooij
56dfcb4f2f r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. 2007-12-21 05:45:40 +01:00
Andrew Bartlett
7771f59ead r25966: Don't force an 8 byte width to generated SIDs, as this can actually
end up with a SID with a space in it.

Andrew Bartlett
2007-12-21 05:45:22 +01:00
Andrew Bartlett
a71414ec3e r25950: Enable seperate module to prevent subtree deletes.
Andrew Bartlett
2007-12-21 05:45:15 +01:00
Andrew Bartlett
f1ab90c88c r25940: Rework the samldb and templates handling.
Templates just don't belong in the sam.ldb, as they don't obey any of
the other rules.  This moves them to a seperate templates.ldb.

In samldb, this patch reworks the duplicate SID and Name detection
code, to use ldb_search_exp_fmt() rather than gendb_search.  This
returns far more useful errors, which we now handle and report better.

The call to samdb_search_for_parent_domain() has been moved in samldb,
to allow both the account and SID uniqueness checks to be in the same
domain.  This function also returns better errors.

dcesrv_drsuapi.c is updated for the new prototype of
samdb_search_for_parent_domain()

Andrew Bartlett
2007-12-21 05:45:10 +01:00
Stefan Metzmacher
c6d959e52c r25936: provision/newuser: don't try to set the 'memberOf' attribute
metze
2007-12-21 05:45:09 +01:00
Andrew Bartlett
54f4c8ba61 r25921: Now also listen on ldapi by default in the LDAP server
Create a phpLDAPadmin configuration file example to use ldapi to talk
to Samba4

Andrew Bartlett
2007-12-21 05:45:03 +01:00
Stefan Metzmacher
f8bc6b9ad0 r25839: use nss_wrapper code in samba4 if
--enable-nss-wrapper or --enable-developer is given

metze
2007-12-21 05:44:20 +01:00
Stefan Metzmacher
74f5a69022 r25831: remove unused include
metze
2007-12-21 05:44:17 +01:00
Stefan Metzmacher
d2726e7609 r25752: use EJS_CHECK() instead of NDR_CHECK()
metze
2007-12-21 05:43:44 +01:00
Stefan Metzmacher
14ca6a8bf9 r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code
metze
2007-12-21 05:43:43 +01:00
Andrew Bartlett
c0a0c69ac5 r25750: Update the objectclass module to improve consistency in Samba4.
The aim here is to ensure that if we have

CN=Users,DC=samba,DC=example,DC=com

that we cannot have a DN of the form

cn=admin ,cn=useRS,DC=samba,DC=example,DC=com

This module pulls apart the DN, fixes up the relative DN part, and
searches for the parent to copy the base from.

I've used the objectclass module, as I intend to also validate the
placement of child objects, by reading the allowedChildClasses virtual
attribute.

In the future, I'll also force the attribute names to be consistant
(using the case from the schema).

Andrew Bartlett
2007-12-21 05:43:43 +01:00
Andrew Bartlett
2ba99d58e9 r25747: Implement linked attributes, for add operations.
Much more work is still required here, particularly to handle this
better during the provision, and to handle modifies and deletes, but
this is a start.

Andrew Bartlett
2007-12-21 05:43:41 +01:00
Andrew Bartlett
4f47e687e5 r25694: Move subtree_rename above the partitions module. The next step is to
built a linked_attributes module under this.

Andrew Bartlett
2007-12-21 05:43:17 +01:00
Andrew Bartlett
daca0cfd2f r25693: Implement the rest of subtree renames, now that tridge waved his magic
over the ldb_tdb part of the problem.

Andrew Bartlett
2007-12-21 05:43:17 +01:00
Andrew Tridgell
f61a9b7068 r25691: make "server role" case insensitive 2007-12-21 05:43:15 +01:00
Jelmer Vernooij
262c1c23a6 r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes. 2007-12-21 05:43:00 +01:00
Jelmer Vernooij
566aa14139 r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
Jelmer Vernooij
89c8fd8c02 r25536: Fix path for messaging - this code path doesn't appear to have a test, otherwise it would've caused a crash in the testsuite earlier... 2007-10-10 15:07:49 -05:00
Jelmer Vernooij
12d7cccd7c r25462: Remove refernece to categories from js as well. 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
01ce5448f4 r25460: use common structure in param/generic.c 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
3468952e77 r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00