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

745 Commits

Author SHA1 Message Date
Jelmer Vernooij
4c7e3843a0 r26317: Fix typos. 2007-12-21 05:48:31 +01:00
Jelmer Vernooij
f6420d933b r26316: Use contexts for conversion functions. 2007-12-21 05:48:30 +01:00
Andrew Bartlett
ba23dac031 r26304: More work to remove silly error printouts.
Andrew Bartlett
2007-12-21 05:48:18 +01:00
Andrew Bartlett
1fb8c31a3d r26303: Fix up error reporting during the delete of previous entries in the
provision, and ignore 'no such entry' as an error (it is normal, and
just means the partition is compleatly empty).

Andrew Bartlett
2007-12-21 05:48:18 +01:00
Andrew Bartlett
a7595d009a r26302: Print the error string for failed rootdse searches.
Andrew Bartlett
2007-12-21 05:48:17 +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
Jelmer Vernooij
d01f0f4c20 r26275: return loadparm context in lp_load. 2007-12-21 05:48:01 +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
c7eae1c784 r26264: pass name resolve order explicitly, use torture context for settings in dssync tests. 2007-12-21 05:47:39 +01:00
Jelmer Vernooij
7280c1e941 r26252: Specify loadparm_context explicitly when creating sessions. 2007-12-21 05:47:29 +01:00
Jelmer Vernooij
08501fbef3 r26248: Check in SWIG output so SWIG is not required when running out of svn. 2007-12-21 05:47:26 +01:00
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