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

875 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
fd697d77c9 r25430: Add the loadparm context to all parametric options. 2007-10-10 15:07:31 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
c62f51cc28 r25392: Add loadparm context as argument in a couple more places. 2007-10-10 15:07:24 -05:00
Andrew Bartlett
5093ea1cef r25383: Patch from Amin Azez <azez@ufomechanic.net> to give better message
when a template file is missing.

Andrew Bartlett
2007-10-10 15:07:22 -05:00
Jelmer Vernooij
091961b13b r25379: Use loadparm context parameter in a lot more places. 2007-10-10 15:07:22 -05:00
Tim Potter
441a040434 r25348: Start working on another Python wrapper. 2007-10-10 15:07:14 -05:00
Andrew Bartlett
dd1cb33591 r25304: Thankyou to Amin Azez <azez@ufomechanic.net> for pointing out that I
used subobj.ROLE and not subobj.SERVERROLE as the rest of the code
does.

Andrew Bartlett
2007-10-10 15:07:10 -05:00
Andrew Bartlett
4cc4ed7719 r25299: Modify the provision script to take an additional argument: --server-role
This must be set to either 'domain controller', 'domain member' or 'standalone'.

The default for the provision now changes to 'standalone'.

This is not because Samba4 is particularlly useful in that mode, but
because we still want a positive sign from the administrator that we
should advertise as a DC.

We now do more to ensure the 'standalone' and 'member server'
provision output is reasonable, and try not to set odd things into the
database that only belong for the DC.

Andrew Bartlett
2007-10-10 15:07:09 -05:00
Jelmer Vernooij
935ac3189d r25266: Fix case. 2007-10-10 15:07:02 -05:00