summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-11-03s4-smbtorture: simplify some torture_comments in RPC-LSA.Günther Deschner1-20/+6
Guenther
2009-11-03Fixed some missing flags and bugs in the security creation.Nadezhda Ivanova1-11/+47
Also, added some logging. It needs improvement, possibly ability to turn in on and off via configuration file.
2009-11-03Fixed a bug in object specific access checks.Nadezhda Ivanova1-2/+4
2009-11-03Added some dn to the info in the log messages.Nadezhda Ivanova1-3/+3
2009-11-02s4:dsdb Fix up after the MAP_ constants became LDB_MAP_Andrew Bartlett1-13/+13
2009-11-02s4:provision Remove LDB backend files in provisionAndrew Bartlett2-41/+12
Rather than try and remove the records in the LDB files, make the provision remove the whole file. This also removes the need to try and carry forward the old ldb filenames. Andrew Bartlett
2009-11-02s4:provision Split ProvisionBackend out of the main provision scriptAndrew Bartlett3-590/+631
This splits the code, while keeping the original behaviour. The provision.py file had become just too long. Andrew Bartlett
2009-11-02s4:provision Inline 'ldap_backend_shutdown' for clarityAndrew Bartlett1-15/+15
2009-11-02s4:provision Fix samdb test with new provision codeAndrew Bartlett1-3/+12
2009-11-02s4:provision Move 'Schema' into it's own fileAndrew Bartlett5-123/+160
2009-11-02s4:provision Make 'linked_attributes' and 'dnsyntax_attributes' a property ↵Andrew Bartlett1-17/+33
of the Schema
2009-11-02s4:provision Rework provision to always have a ProvisionBackendAndrew Bartlett2-166/+189
Rather than treat the LDAP backend as a special case, treat all backends the same, with different callbacks. Andrew Bartlett
2009-11-02s4 - SID allocation using FDS DNA pluginEndi S. Dewata10-17/+97
2009-11-02s4:dsdb - Removed redundant domain SID filter.Endi S. Dewata1-29/+1
2009-11-02s4:dsdb - Store SID as string in FDS.Endi S. Dewata4-7/+49
2009-11-02s4 - Mapped AD schema to existing FDS schema.Endi S. Dewata5-3/+235
2009-11-02s4:dsdb - Fixed attribute dereferencing for FDSEndi S. Dewata3-20/+126
2009-11-02Remove special case logic in 'samdb_relative_path'.Andrew Bartlett1-3/+0
While this logic (avoiding to prefix a non-filename with a path) is important in the code this was copied from (private_dir()), none of the callers of this function need it. Andrew Bartlett
2009-11-02s4:dsdb Revert back to using DN:filename in the partitions recordAndrew Bartlett2-46/+102
This allows us to change the escaping function without breaking existing installs. The new escaping function (used for new databases) is RFC1738 URI encoding, except for the trivial cases without special characters. The new databases are also placed in a subdirectory, sam.ldb.d per an earlier suggestion by metze. Andrew Bartlett
2009-11-02s4:credentials Put the 'secrets.keytab' in the same directory as secrets.ldbAndrew Bartlett1-1/+3
This avoids trouble when the secrets.ldb is updated with ldbedit but an smb.conf is not specified. Andrew Bartlett
2009-11-02s4: Create a script for updating a running provision with change introduced ↵Matthieu Patou1-0/+694
since the initial provision
2009-11-02s4:torture/raw/samba3misc - Add "discard_const_p" macro before a stringMatthias Dieter Wallnöfer1-1/+1
2009-11-02s4:ldb Remove debug traces duplicated by the new generic trace codeAndrew Bartlett1-3/+0
2009-10-30s4:nbt_server/wins/winsdb - Fix "const" warningMatthias Dieter Wallnöfer1-5/+1
2009-10-30s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.Günther Deschner1-0/+6
Guenther
2009-10-30s4-smbtorture: fix warning in RPC-WKSSVC torture test.Günther Deschner1-3/+5
Guenther
2009-10-30s4:kdc/hdb-samba4 - Remove unused variableMatthias Dieter Wallnöfer1-1/+0
2009-10-29Change RAW-STREAMS for s3 to allow rename over an existing stream,Jeremy Allison1-1/+2
we need to file a CAR to find out why Windows gives INVALID_PARAMETER for this. Jeremy.
2009-10-28Add in Metze's new code to ndr encode the user.DOSATTRIBStefan (metze) Metzmacher1-1/+1
blobs. Next I'll change the create timestamp and dos attribute code to use this.
2009-10-27ldb:tdb backend - be also here more careful with the result valueMatthias Dieter Wallnöfer1-2/+2
"msg_delete_attribute" doesn't return an LDB result constant.
2009-10-27ldb:python bindings - make the intention by Jelmer ("int" vs. "enum") more clearMatthias Dieter Wallnöfer1-0/+2
2009-10-27Revert "ldb python bindungs - better use the "enum ldb_scope" for the search ↵Matthias Dieter Wallnöfer1-3/+2
scope rather than "int"" This reverts commit 4f8826ff7f4789c5b5f363b733a42053f72aa526. Jelmer pointed out that the "enum"s don't work so well in combination with python.
2009-10-27s4-dsdb: call dsdb_make_schema_global() from ldb_wrapAndrew Tridgell2-1/+5
Calling it from samdb_connect() can cause a stale schema to be put into the global schema. Thanks to Andrew Bartlett for spotting this.
2009-10-27s4-dsdb: always cancel transactions on all partitionsAndrew Tridgell1-13/+19
If we get an error ending a transaction on one partition we need to continue on the other partitions.
2009-10-27s4-ldb: '+' can also happen in base64 encoded index DNsAndrew Tridgell1-1/+1
2009-10-27s4:ldb Add detail to failures in the indexing codeAndrew Bartlett1-2/+8
2009-10-27s4:dsdb Rework partitions module for better tracingAndrew Bartlett3-97/+76
This means we need to create a fake 'module' which only has a 'next' pointer, so that we can now ldb_next_request() (which incorporates tracing). The remainaing stub of partition_request() is retained so that we can indicate which partition an operation is destined for. Similar tracing is added to the transaction handlers. Andrew Bartlett
2009-10-27s4:ldb Add additional tracing of the ldb APIAndrew Bartlett2-4/+80
This helps pin down where errors occour, by printing a call stack and setting error strings and trace messages in the transaction case. Andrew Bartlett
2009-10-27s4:dsdb Remove partition_extended_schema_update_nowAndrew Bartlett1-51/+0
The schema update now request is now handled above the partitions module. Andrew Bartlett
2009-10-26s4-ldb: fixed request handling for schemaUpdateNow opAndrew Tridgell3-3/+3
2009-10-25Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell4-15/+15
2009-10-25s4-ldb: allow for unescaped '=' in a index DNAndrew Tridgell2-4/+13
The ldb_dn_explode code normally enforces all special characters, including a '=', must be escaped. Unfortunately this conflicts with the ltdb index DNs, which for binary attributes may be base64 encoded. This allows a unescaped '=' as a special case for index DNs.
2009-10-25ldb:backend "connect" functions - convert result values to LDB constantsMatthias Dieter Wallnöfer4-15/+15
I think this is better since "ldb_backend_connect" and "ldb_connect" which propagate those values should return only LDB constants. Therefore a conversion (especially for "-1") would be needed.
2009-10-25s4-samdb: reduce the number of samdb opens at startupAndrew Tridgell6-44/+13
Using common parameters means that the ldb_wrap code can return a reference rather than a new database
2009-10-25s4-ldb: ensure DNs pass validity tests in indexingAndrew Tridgell1-0/+4
2009-10-25s4-ldb: fixed string length handling on index recordsAndrew Tridgell1-2/+2
2009-10-25s4-dsdb: ensure that new partitions inherit any transactionAndrew Tridgell3-11/+26
2009-10-25s4-ldb: don't allow modifies outside a transaction.Andrew Tridgell1-0/+8
2009-10-25s4-ldb: fixed re-index during a complex transactionAndrew Tridgell1-10/+31
We may have modified index objects in the in-memory index tdb
2009-10-25s4-python: fixed annoyance where control-C doesn't kill our python scriptsAndrew Tridgell1-0/+10
We want our scripts to die immediately when a user hits control-C. Otherwise we not only annoy the hell out of the user, we also risk db corruption as the control-C could get delivered as an exception which gets mis-interpreted (eg. as a missing db object). We use transactions for all our databases, so the right thing to do in all our command line tools is to die immediately.