1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00
Commit Graph

715 Commits

Author SHA1 Message Date
c14de3fd89 r26100: Also check for SWIG.
(This used to be commit 1755adffec)
2007-12-21 05:46:03 +01:00
4e25ea3001 r26098: Make missing python no longer fatal.
(This used to be commit 9af2aeb225)
2007-12-21 05:46:02 +01:00
dd2a4719df r26096: No longer include removed header
(This used to be commit 42738301b1)
2007-12-21 05:46:00 +01:00
29cf3a93cc r26089: Move python detection to a separate file, and don't make it an error if it isn't available.
(This used to be commit 4e7709379d)
2007-12-21 05:45:59 +01:00
39adc2418a r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.
(This used to be commit cbf656ff05)
2007-12-21 05:45:59 +01:00
e5e2b64449 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
(This used to be commit d6d3b0ad7a)
2007-12-21 05:45:56 +01:00
d3a13a16ff r26076: Remove some SWIG code that is already commonly available.
(This used to be commit e6cd16d0fb)
2007-12-21 05:45:54 +01:00
f47bc82561 r26071: Move DCE/RPC SWIG bindings closer to the code they're wrapping.
(This used to be commit 93eba0a3a9)
2007-12-21 05:45:53 +01:00
ea85165841 r26068: Import improved Python bindings for LDB, including tests.
(This used to be commit fc3a8caef7)
2007-12-21 05:45:51 +01:00
dc2273ba37 r26006: Improve some dependencies.
(This used to be commit 28f05bb5ef)
2007-12-21 05:45:41 +01:00
ca0b72a1fd r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f)
2007-12-21 05:45:40 +01:00
ef22b1a477 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
(This used to be commit 7771f59ead)
2007-12-21 05:45:22 +01:00
8959af0a6f r25950: Enable seperate module to prevent subtree deletes.
Andrew Bartlett
(This used to be commit a71414ec3e)
2007-12-21 05:45:15 +01:00
3f2ca10d2d 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
(This used to be commit f1ab90c88c)
2007-12-21 05:45:10 +01:00
6c41194961 r25936: provision/newuser: don't try to set the 'memberOf' attribute
metze
(This used to be commit c6d959e52c)
2007-12-21 05:45:09 +01:00
716391f106 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
(This used to be commit 54f4c8ba61)
2007-12-21 05:45:03 +01:00
6ce86941de r25839: use nss_wrapper code in samba4 if
--enable-nss-wrapper or --enable-developer is given

metze
(This used to be commit f8bc6b9ad0)
2007-12-21 05:44:20 +01:00
a8ba7455c9 r25831: remove unused include
metze
(This used to be commit 74f5a69022)
2007-12-21 05:44:17 +01:00
d7b8a4ab24 r25752: use EJS_CHECK() instead of NDR_CHECK()
metze
(This used to be commit d2726e7609)
2007-12-21 05:43:44 +01:00
0fc96c416e r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code
metze
(This used to be commit 14ca6a8bf9)
2007-12-21 05:43:43 +01:00
16d0395047 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
(This used to be commit c0a0c69ac5)
2007-12-21 05:43:43 +01:00
7c721a1f49 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
(This used to be commit 2ba99d58e9)
2007-12-21 05:43:41 +01:00
4bb52bfcb7 r25694: Move subtree_rename above the partitions module. The next step is to
built a linked_attributes module under this.

Andrew Bartlett
(This used to be commit 4f47e687e5)
2007-12-21 05:43:17 +01:00
21c65d93eb r25693: Implement the rest of subtree renames, now that tridge waved his magic
over the ldb_tdb part of the problem.

Andrew Bartlett
(This used to be commit daca0cfd2f)
2007-12-21 05:43:17 +01:00
62078f17ba r25691: make "server role" case insensitive
(This used to be commit f61a9b7068)
2007-12-21 05:43:15 +01:00
b09047b78e r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
(This used to be commit 262c1c23a6)
2007-12-21 05:43:00 +01:00
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139)
2007-10-10 15:07:55 -05:00
55a7440a07 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...
(This used to be commit 89c8fd8c02)
2007-10-10 15:07:49 -05:00
8ffc4c1f97 r25462: Remove refernece to categories from js as well.
(This used to be commit 12d7cccd7c)
2007-10-10 15:07:40 -05:00
30047a9543 r25460: use common structure in param/generic.c
(This used to be commit 01ce5448f4)
2007-10-10 15:07:40 -05:00
2f3551ca7c 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.
(This used to be commit 3468952e77)
2007-10-10 15:07:34 -05:00
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9)
2007-10-10 15:07:31 -05:00
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839)
2007-10-10 15:07:25 -05:00
3048e9ad65 r25392: Add loadparm context as argument in a couple more places.
(This used to be commit c62f51cc28)
2007-10-10 15:07:24 -05:00
db6c6cfdec r25383: Patch from Amin Azez <azez@ufomechanic.net> to give better message
when a template file is missing.

Andrew Bartlett
(This used to be commit 5093ea1cef)
2007-10-10 15:07:22 -05:00
5e2f9cd8e2 r25379: Use loadparm context parameter in a lot more places.
(This used to be commit 091961b13b)
2007-10-10 15:07:22 -05:00
708729be9f r25348: Start working on another Python wrapper.
(This used to be commit 441a040434)
2007-10-10 15:07:14 -05:00
bd4dc88e7b 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
(This used to be commit dd1cb33591)
2007-10-10 15:07:10 -05:00
ee257e902a 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
(This used to be commit 4cc4ed7719)
2007-10-10 15:07:09 -05:00
9f43d96e3f r25266: Fix case.
(This used to be commit 935ac3189d)
2007-10-10 15:07:02 -05:00
df7fbf8cfd r25214: use talloc_strndup_append() instead of talloc_append_string()
and ugly hacks to handle the string termination.

metze
(This used to be commit 32bb276920)
2007-10-10 15:06:55 -05:00
9a012df08e r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
(This used to be commit 0844dbf597)
2007-10-10 15:06:46 -05:00
49f4f8ea2c r25113: fix compiler warning
metze
(This used to be commit d0ada02532)
2007-10-10 15:06:41 -05:00
15c1801a5c r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
(This used to be commit cda965e908)
2007-10-10 15:05:50 -05:00
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
dccf3f99e4 r25027: Fix more warnings.
(This used to be commit 5085c53fcf)
2007-10-10 15:05:41 -05:00
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
cd962355ab r25000: Fix some more C++ compatibility warnings.
(This used to be commit 08bb1ef643)
2007-10-10 15:05:27 -05:00
6cf69fee18 r24994: Fix some C++ warnings.
(This used to be commit 925abf74fa)
2007-10-10 15:05:26 -05:00
ced6fc995f r24911: Make better use of substituted variables in example named.conf
Andrew Bartlett
(This used to be commit 9f18a97117)
2007-10-10 15:03:36 -05:00