summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't use frame as the talloc ctx in open_schannel_session_store(), as this ↵Jeremy Allison2010-06-251-1/+1
| | | | | | | | breaks running from inetd (we free frame below). Use NULL instead. Jeremy.
* Change talloc_autofree_context() to frame in Andrew's schannel.tdb ↵Jeremy Allison2010-06-251-1/+1
| | | | | | | | | TDB_CLEAR_IF_FIRST changes. Using talloc_autofree_context() has undesirable effects when forked subprocesses exit. Jeremy.
* schannel Change to TDB_CLEAR_IF_FIRST to reduce fsync()Andrew Bartlett2010-06-251-32/+1
| | | | | | | | | | | | By making this DB TDB_NOSYNC, and by making that safe with TDB_CLEAR_IF_FIRST, we greatly reduce the fsync() load on the server. This particularly helps the source4/ 'make test', which otherwise tries to disable fsync() in ldb. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:schannel Open the schannel_state.tdb at startupAndrew Bartlett2010-06-251-0/+8
| | | | | | This will allow future TDB_CLEAR_IF_FIRST behaviour Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:schannel Open the schannel_store.tdb at startupAndrew Bartlett2010-06-251-0/+8
| | | | | | This will allow TDB_CLEAR_IF_FIRST behaviour in future Signed-off-by: Jeremy Allison <jra@samba.org>
* libcli/auth make open_schannel_session_store() publicAndrew Bartlett2010-06-252-7/+7
| | | | | | This will allow TDB_CLEAR_IF_FIRST to be used Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:registry: use regdb_store_regdb_version() in regdb_init().Michael Adam2010-06-251-13/+2
|
* s3:registry: use regdb_store_regdb_version() in regdb_upgrade_v1_to_v2()Michael Adam2010-06-251-13/+8
|
* s3:registry: add a function regdb_store_regdb_version()Michael Adam2010-06-251-0/+21
|
* s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2()Michael Adam2010-06-251-2/+2
|
* s3:net [rpc] registry: be as user-friendly as possible wrt to the ↵Michael Adam2010-06-251-2/+9
| | | | | | | | | | | | | | | | | normalization change The registry has been changed to use '\' as a key delimiter instead of '/'. Originally, one could mix both characters in the specification of registry key for net [rpc] registry. Now this can not work any more, since '/' is generally treated as a valid character of a key name. Now, to be as user-friendly as possible, the net [rpc] registry code has been changed to still support '/' as a key name delimiter if no '\' character is found in the given registry path string. In that case, all '/' characters are converted to '\' characters before proceeding. If on the other hand, a '\' character is found in the path string, then no conversion is assumed, and it is hence assumed that the path is already in the correct form and '/' characters are supposed to be part of the key names.
* s3:registry: improve logic of upgrade code in regdb_init()Michael Adam2010-06-251-30/+45
| | | | Don't overwrite unknown versions (0 or > 2) of the registry.
* s3:registry: fix some debug messages in regdb_ini()Michael Adam2010-06-251-4/+4
|
* s3-registry: Convert registry key delimiter from slash to backslash.Andreas Schneider2010-06-255-51/+30
| | | | | | | This is needed to support keynames containing a '/' like TCP/IP. Which is used in serveral standard paths. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-registry: Added a db upgrade function to normalize the key delimiter.Andreas Schneider2010-06-252-6/+107
| | | | | | | This converts the key delimiter from a slash to a blackslash. We need to support keynames with a backslash. Signed-off-by: Michael Adam <obnox@samba.org>
* s3: In make_server_info_info3, check the result of copy_netr_SamInfo3Volker Lendecke2010-06-251-0/+4
|
* s3: In copy_netr_SamInfo3 copy all of the sids arrayVolker Lendecke2010-06-251-0/+3
|
* s3: Fix a winbind crashVolker Lendecke2010-06-251-0/+10
| | | | | nss_get_info_cached might deep inside sequence_number() invalidate the ads_struct without telling its callers.
* s3: Fix a winbind crashVolker Lendecke2010-06-251-1/+6
| | | | nss_get_info_cached might have invalidated "ads" deep inside.
* s4 python: Add unit tests related to PyLong/PyInt handlingMatthieu Patou2010-06-251-2/+11
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* ldb: Fix a wrong changetype in unit testMatthieu Patou2010-06-251-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* pidl: Finish to fix the python generated code for 64bit integersMatthieu Patou2010-06-251-3/+30
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* smbtorture: Fix loading of --load-list.Jelmer Vernooij2010-06-252-10/+13
|
* selftest: Clarify generation of idlist option.Jelmer Vernooij2010-06-251-0/+2
|
* s4:lib/registry/ldb.c - cosmetic - fix commentMatthias Dieter Wallnöfer2010-06-251-1/+1
|
* s4:lib/registry/ldb.c - cosmetic - wrap linesMatthias Dieter Wallnöfer2010-06-251-3/+2
|
* s4 upgradeprovision: Try to support older Pythons.Michael Wood2010-06-251-1/+1
| | | | | | Use "...".split(sep, 1) instead of "...".partition(sep). Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4/drs: DsReplicaSync should search partition to SyncKamen Mazdrashki2010-06-252-6/+38
| | | | | by any valid DSName attribute given, be it - partition DN, partition GUID or partition SID
* s4/utils: fix few 'net drs replicate' error messagesKamen Mazdrashki2010-06-251-6/+8
| | | | mainly for the output to be more informative
* s4/drs-test: Tests Deleted objects replicationKamen Mazdrashki2010-06-251-0/+222
| | | | | | | | Tests how deleted objects are replicated between two DCs. Currently the test exploits following vulnerabilities: - DsReplicaSync is not correctly implemented - a 'deleted object' is restored (kind of) in case DC1 replicates from DC2 before the 'deleted object' is replicated
* selftest: Store the output of the last test run in st/subunit.Jelmer Vernooij2010-06-251-3/+10
| | | | | If a testrepository repository is present, add the test output when it has completed.
* pidl/python: Make sure to always increment reference counter when usingJelmer Vernooij2010-06-251-1/+3
| | | | Py_None.
* pidl/python: Increment reference counter on Py_None to prevent us fromJelmer Vernooij2010-06-241-0/+2
| | | | accidentally deallocating it.
* s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for ↵Aravind Srinivasan2010-06-241-3/+9
| | | | | | RAW-QFILEINFO Signed-off-by: Tim Prouty <tprouty@samba.org>
* s3:registry: remove unused function normalize_dbkey()Michael Adam2010-06-242-11/+0
|
* s3:registry: use normalize_reg_path() in regdb_set_secdesc()Michael Adam2010-06-241-1/+6
| | | | instead of normalize_dbkey
* s3:registry: use normalize_reg_path() in regdb_get_secdesc()Michael Adam2010-06-241-1/+6
| | | | instead of normalize_dbkey.
* Revert "s4:provision.ldif - fix the number of available RIDs"Matthias Dieter Wallnöfer2010-06-241-1/+1
| | | | | | This reverts commit 41cdcd54b7b7e3fb70fdb220e74a1daf30e1891a. As per request of metze revert this (cause written on the mailing list).
* s4:auth/gensec/gensec_gssapi.c - reorder constructorMatthias Dieter Wallnöfer2010-06-241-30/+38
| | | | To have the same order as in the structure definition.
* s4-ldb: use CHECK_XSLTPROC_MANPAGES()Andrew Tridgell2010-06-242-3/+2
|
* build: check if the manpages stylesheet is available locallyAndrew Tridgell2010-06-242-8/+34
| | | | | | | | this avoids trying to fetch the stylesheet from the internet. If we can't process the stylesheet with --nonet at configure time then don't build manpages. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-2467-67/+67
| | | | | | | | Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision.ldif - fix the number of available RIDsMatthias Dieter Wallnöfer2010-06-241-1/+1
| | | | There should be 4611686014132422209 and not 4611686014132422109.
* s4:provision.ldif - this Win2003 revision level seems always to be "9" on ↵Matthias Dieter Wallnöfer2010-06-241-1/+1
| | | | Windows Server 2008 machines
* s4:provision_users.ldif - change a group description to be correctMatthias Dieter Wallnöfer2010-06-241-1/+1
|
* s4:upgradeprovision - fix include order for "ldb"Matthias Dieter Wallnöfer2010-06-241-1/+1
| | | | Patch originally posted on the list by Matthieu Patou.
* s4/ldb: ldb_msg_el_map_remote() should rename the remote attribute names ↵Endi S. Dewata2010-06-241-1/+15
| | | | into local names as defined in simple_ldap_map.c.
* s4:setup/provision.reg - raise version to Windows Server 2008 R2Matthias Dieter Wallnöfer2010-06-241-1/+1
|
* s4:libnet_join.c - always use LDB constantsMatthias Dieter Wallnöfer2010-06-241-5/+5
|
* Add parse_setjob_command() to make setting job state easier for users.Jeremy Allison2010-06-231-1/+30
| | | | Jeremy.