1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-18 06:04:06 +03:00

56916 Commits

Author SHA1 Message Date
Andrew Tridgell
9c1e230bc2 s4-ldb: fixed error on single value error
When you try to add a 2nd value to a single valued attribute you get 
LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS. w2k8-r2 join to s4 relies on this
error, doing a replace after it sees the error
2009-10-06 18:57:06 +11:00
Andrew Tridgell
b43479741a s4-repl: added RELAX control and fix transactions
Added the RELAX control to dsdb_origin_objects_commit(), as it needs
to modify system objects. This patch also fixes the use of ldb
transactions in that function, and fixes a memory leak.
2009-10-06 18:55:14 +11:00
Andrew Bartlett
40b09f689b s4:drs-development Scripts to assist testing of DRS replication with AD
These scripts, originally by tridge, allow developers to easily
reproduce the same domain join senerio time after time.

They need documentation, and the template named.conf and zone files
for hosting an AD domain are not provided.  However, I hope to have
the provision script provide these shortly.

They assume a local 'bind' set up to read PREFIX/private/named.conf
(as per the provision instructions).

Ensure you edit the 'vars' file to match your local setup.

Andrew Bartlett
2009-10-06 11:10:33 +11:00
Andrew Bartlett
a474ebf924 s4:param Remove duplicate argument to python provision 2009-10-06 11:07:07 +11:00
Andrew Bartlett
6a1eb13aab s4:provision Remove unused parameters from provision scripts 2009-10-06 11:07:06 +11:00
Andrew Tridgell
6ed9aeee2a s4-seftest: skip hold.oplock for SMB2 as well
This test is not designed to be run automatically. It deliberately
blocks forever.
2009-10-06 09:19:41 +11:00
Volker Lendecke
872f9c4f91 Revert "s3: Attempt to fix machine password change"
This reverts commit 20a8ea91e10af167067cc794a251265aaf489e75.

Ooops, this should not have been committed.
2009-10-05 22:14:06 +02:00
Volker Lendecke
5bafaa73f6 s3:winbind: Slightly simplify the logic of nss_init(), make it static 2009-10-05 22:12:35 +02:00
Volker Lendecke
f88e95c6b0 s3:winbind: Fix typos 2009-10-05 22:12:34 +02:00
Volker Lendecke
20a8ea91e1 s3: Attempt to fix machine password change 2009-10-05 22:12:20 +02:00
Jeremy Allison
3fa1d7332c Fix bug 6776 - Running overlapping Byte Lock test will core dump Samba daemon.
Re-write core of POSIX locking logic.
Jeremy.
2009-10-05 10:27:48 -07:00
Günther Deschner
76feeb1b97 libndr: add int3264 ndr prototype.
Guenther
2009-10-05 15:10:35 +02:00
Günther Deschner
55b12d032c s3-net: print error when "net rpc changetrustpw" has failed.
Guenther
2009-10-05 13:01:53 +02:00
Volker Lendecke
84de81b478 s3: Remove a scary error message -- talloc_move can not fail :-)
Signed-off-by: Günther Deschner <gd@samba.org>
2009-10-05 12:14:08 +02:00
Volker Lendecke
d696f9a7ed s3: Fix nonempty blank lines
Signed-off-by: Günther Deschner <gd@samba.org>
2009-10-05 12:14:08 +02:00
Günther Deschner
ab8a16c77f lib/tdr: get rid of build warning when using TDR_ALLOC macro.
Guenther
2009-10-05 11:15:45 +02:00
Günther Deschner
926457ec95 s3: remove unused PRS_POINTER_CAST macro.
Guenther
2009-10-05 11:05:21 +02:00
Günther Deschner
2497f70257 s3: remove unused SYSTEMTIME struct.
Guenther
2009-10-05 11:05:21 +02:00
Matthias Dieter Wallnöfer
19302db6cb s3/s4 common: fix up header file 2009-10-04 20:18:28 +02:00
Björn Jacke
984d001cae s3:Makefile: another attempt to fix the wbclient dependency
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
71229dde1e s3:Makefile: another attempt to fix the netapi dependency
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
a45716400d s3:Makefile: another attempt to fix the tdb dependency
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
da597f2df0 s3:Makefile: another attempt to fix the talloc dependency
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
63dedac08f Revert "s3:Makefile: fix talloc dependencies with static build (2nd try)"
This reverts commit b60d87c20712bd3d83166bd13fe1d2bab0315609.
2009-10-04 02:20:20 +02:00
Björn Jacke
19794ea541 Revert "s3:Makefile: fix libtdb dependencies with static build"
This reverts commit da15726630b0f796aef52a20d96898e269058456.
2009-10-04 02:20:20 +02:00
Björn Jacke
be348842f5 Revert "s3:Makefile: fix libwbclient dependencies with static build"
This reverts commit d7795f2afa3779399fe9e7b4f050d19a412f8bcd.
2009-10-04 02:20:20 +02:00
Björn Jacke
eae87ffb3f Revert "s3:Makefile: fix libnetapi dependencies with static build"
This reverts commit 110897a057af01f3c01a1783e06080b54631ba2d.
2009-10-04 02:20:20 +02:00
Volker Lendecke
d5bd2ec251 s3:winbind: use wb_fill_pwent in wb_getpwsid 2009-10-04 00:14:01 +02:00
Volker Lendecke
c83b80435b s3:winbind: No point in using strequal to detect a 0-length string 2009-10-04 00:14:01 +02:00
Matthias Dieter Wallnöfer
6a4efccb38 s4:ldap.py - commented out the UTF8 tests (and fixed some deletion DNs) 2009-10-03 16:54:19 +02:00
Volker Lendecke
2bd3994ac3 s3:winbind: use talloc_tos() instead of NULL in fillup_pw_field 2009-10-03 16:43:16 +02:00
Volker Lendecke
dc56d42aa3 s3:winbind: Fix a debug message 2009-10-03 16:39:10 +02:00
Matthias Dieter Wallnöfer
957cc4b8b6 s4:ldb_tdb - fix memory leaks 2009-10-03 15:49:40 +02:00
Matthias Dieter Wallnöfer
3393257920 heimdal kerberos - fix memory leak (free the plugin list always - not only in error cases) 2009-10-03 15:49:40 +02:00
Matthias Dieter Wallnöfer
24422fae24 s4:objectclass - Free unused memory from responses 2009-10-03 15:49:40 +02:00
Matthias Dieter Wallnöfer
cb143eafef s4:schema_inferiors - Fix wrong check 2009-10-03 15:49:40 +02:00
Volker Lendecke
70e1d816b3 s3: Make default_[static|shared]_modules a bit more readable 2009-10-03 14:39:51 +02:00
Matthias Dieter Wallnöfer
817208090d s4:ldb.h - add constant for LDAP EXOP password change
Also enhance some other comments.
2009-10-03 13:27:50 +02:00
Matthias Dieter Wallnöfer
02b289f65b heimdal - fix various warnings
- Shadowed variables
- "const" related warnings
- Parameter names which shadow function declarations
- Non-void functions which have no return value

(patch also ported upstream)
2009-10-03 13:20:52 +02:00
Matthias Dieter Wallnöfer
be938ab44b s4:ldap.py - add tests for valid parent and RDN 2009-10-03 12:48:51 +02:00
Andrew Bartlett
4bc9a39eed s4:dsdb Use possibleInferiors to restrict creation of child objects
This also uses systemPossibleInferiors when the 'relax' control is
specified, which is done by the provision.

Andrew Bartlett
2009-10-03 12:37:55 +02:00
Andrew Bartlett
0e028fcb7d s4:dsdb add systemPossibleInferiors to schema code
This allows us to figure out what the system can add, which will not
be in possibleInferiors due to the systemOnly flag.

Andrew Bartlett
2009-10-03 12:37:55 +02:00
Andrew Bartlett
f86beaaad9 s4:dsdb Add objectClass and RDN constraints to objectClass module
These additional constraints are applied, found by the Microsoft testsuite.

 - When the parent is not present, we now return 'NO_SUCH_OBJECT'.
 - Restrict the choice of RDN to the correct one per the schema
 - Honour the allowedChildClasses attribute from the parent's objectClass.

Andrew Bartlett
2009-10-03 12:37:49 +02:00
Andrew Tridgell
dac0346906 ndr: rebuild lsa IDL after recent change 2009-10-03 19:03:14 +10:00
Matthias Dieter Wallnöfer
2904f3378d s4:ldap.py - add a test for the "systemOnly" classes 2009-10-03 10:57:14 +02:00
Matthias Dieter Wallnöfer
90828cc702 s4:dsdb Don't allow creation of systemOnly objectclasses
(except as part of the provision, which specifies the 'relax' control)

Andrew Bartlett
2009-10-03 10:52:53 +02:00
Matthias Dieter Wallnöfer
deb268f7fa s4:rdn_name - fix up the rename operation
A function call was wrong ("ldb_request" rathen than "ldb_next_request").
2009-10-03 10:36:41 +02:00
Andrew Tridgell
e66fa4645a idl: some lsa vars are uint3264 2009-10-03 18:17:24 +10:00
Andrew Tridgell
f21fb4b395 pidl: added int3264 as a base type
This is the type used for a variable that is 32 bits for NDR32 and 64
bits for NDR64
2009-10-03 18:17:23 +10:00
Björn Jacke
777143ef53 s3:Makefile: minor clean up 2009-10-03 00:22:54 +02:00