1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

66738 Commits

Author SHA1 Message Date
Michael Adam
7cefb89872 s3:services_db: rewrite svcctl_set_secdesc() using reg_api calls instead of legacy 2010-09-21 06:53:30 +02:00
Michael Adam
f53c17b4ff s3:services_db: untanlge assignments from check in read_init_file(). 2010-09-21 06:53:30 +02:00
Michael Adam
a67a553f40 s3:services_db: untangle assignments from check in construct_service_sd(). 2010-09-21 06:53:29 +02:00
Andrew Tridgell
7ffcf90bb9 s4-drepl: use the partition UDV and hwm for extended getncchanges ops
we find the NC root then load the uptodateness vector and highwater
mark, if available, from there
2010-09-20 21:51:08 -07:00
Günther Deschner
6f47a24bc5 s3-libnetapi: Fix Bug #7665, memory leak in netapi connection manager.
Guenther
2010-09-20 21:05:37 -07:00
Günther Deschner
c201e494c4 s4-smbtorture: print SVCCTL security descriptor in test_QueryServiceObjectSecurity().
Guenther
2010-09-20 17:41:18 -07:00
Günther Deschner
1585c4df68 lib/tdb: fix c++ build warning in tdb_header_hash().
Guenther
2010-09-20 16:15:11 -07:00
Andrew Bartlett
80ca590d38 s3-lib/util Remove unused smb_uuid_unpack()
Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:11 -07:00
Andrew Bartlett
03011bf118 s3-libads call common GUID_from_ndr_blob()
This does a length-limited check, and so avoids reading beyond the
allocated memory if the server sends less than 16 bytes.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:11 -07:00
Andrew Bartlett
6acb47b115 s3-uuid Remove unused smb_uuid_pack()
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:10 -07:00
Andrew Bartlett
d7bc452a89 s3: Replace sid_binstring and sid_guidstring with PIDL-based alternatives
This reduces the manual marshalling of these structures by removing
the duplication here.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:03 -07:00
Jelmer Vernooij
d44e86b473 Open alpha 14. 2010-09-20 15:47:11 -07:00
Andrew Tridgell
8efd1074c2 s4-pyrpc: fixed build on python 2.4
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-20 15:27:45 -07:00
Andrew Tridgell
3fe8e97a72 s4-rodc: fixed repsFrom store on RODC
We were disallowing repsFrom store as a RODC on the basis that it is a
write to the directory. It should be allowed, as its is a
non-replicated attribute.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-20 15:27:45 -07:00
Andrew Tridgell
59951163be s4-kcc: a bit more debug info on repsFrom creation
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-20 15:27:45 -07:00
Jelmer Vernooij
ead126caac Merge branch 'v4-0-stable' into newmaster 2010-09-20 15:24:44 -07:00
Günther Deschner
8853babb50 s3-build: try to fix the non-ldap build.
ldapsam_search_suffix_by_name is already prototyped in smbldap.h.

Guenther
2010-09-20 15:06:30 -07:00
Andrew Bartlett
ccbcffadb6 libcli/ldap Add const to ldap_encode_ndr_dom_sid()
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 15:06:30 -07:00
Jelmer Vernooij
db67f43aef s4-mkrelease: Update for waf. 2010-09-20 14:41:29 -07:00
Jelmer Vernooij
aa8a2e3105 wafsamba: Fix docstring for DIST_BLACKLIST. 2010-09-20 14:41:09 -07:00
Kamen Mazdrashki
4752a6b6d7 s4-test: yet another test for ATTID-ot-OID conversion
Test with a valid ATTID for prefixMap lookups,
but supplied ATTID is with index not to be found
in the test prefixMap
2010-09-21 00:15:24 +03:00
Kamen Mazdrashki
f06d98764a s4-dsdb-schema_prefixmap: return WERR_DS_NO_ATTRIBUTE_OR_VALUE when ATTID is not found
rather than WERR_INTERNAL_ERROR - it is not internal error!
2010-09-21 00:15:24 +03:00
Kamen Mazdrashki
395b09c1b6 s4-dsdb-schema_prefixmap: Print debug message when internal failure occurs 2010-09-21 00:15:24 +03:00
Kamen Mazdrashki
0740d0ae85 s4-devel-getncchanges: Add common Samba options as a group to be displayed
Those options are processed but never shown with --help argument
2010-09-21 00:15:23 +03:00
Günther Deschner
d0a6c32add s3-nmbd: move SYNC_DNS to nmbd.h
Guenther
2010-09-20 14:10:34 -07:00
Günther Deschner
102a70e809 s3-util: use shared dom_sid_dup.
Guenther
2010-09-20 14:05:07 -07:00
Günther Deschner
4dbd743e46 s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.
Guenther
2010-09-20 14:04:37 -07:00
Günther Deschner
4006160179 libcli: add dom_sid_compare_domain()
Guenther
2010-09-20 14:03:13 -07:00
Günther Deschner
62544c5d2b s3-build: only include smbldap.h where needed.
Guenther
2010-09-20 13:54:56 -07:00
Günther Deschner
8e16d6dbdf s3-build: only include ctdbd_conn.h where needed.
Guenther
2010-09-20 13:54:50 -07:00
Günther Deschner
c7fe04abc7 s3-build: only include async headers where needed.
Guenther
2010-09-20 13:54:42 -07:00
Günther Deschner
58c79b828b s4-smbtorture: add NetRemoteTOD libnetapi torture test.
Guenther
2010-09-20 13:53:09 -07:00
Günther Deschner
b3a3fe6ee0 s3-waf: fix the build after registry changes.
Guenther
2010-09-20 13:40:55 -07:00
Rusty Russell
dc19278795 Really enable core dumps in Linux
commit e1f1ce68e1f685400a8c68bcec14018e3d1fc29d
Author: Rusty Russell <rusty@rustcorp.com.au>
Date:   Mon Sep 20 13:33:30 2010 +0930

    source3: dump core on Linux, even after seteuid/etc.

    The "dumpable" flag is reset on every call to set*uid, so we need to
    reset it to 1 in the signal handler itself.

    This code dates back to commit ac01fda2b9 6 years ago :(

    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Signed-off-by: Jeremy Allison <jra@samba.org>
2010-09-20 13:15:17 -07:00
Jelmer Vernooij
e4d7bc24d1 wafsamba: Fix parsing of IS_GIT_VERSION. 2010-09-20 13:08:29 -07:00
Jelmer Vernooij
cd7335abd3 s4-mkrelease: Update to use waf build. 2010-09-20 13:07:27 -07:00
Jelmer Vernooij
0e8975a4fe Update version info. 2010-09-20 13:06:13 -07:00
Jelmer Vernooij
b17b6f7821 Update WHATSNEW.txt. 2010-09-20 12:11:05 -07:00
Michael Adam
2c9cb11f53 s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and comment them out 2010-09-20 19:58:01 +02:00
Michael Adam
8eb487caba s3:registry: move (commented out) hilvl util functions to reg_api_util.c 2010-09-20 19:58:01 +02:00
Michael Adam
0f7e503d21 s3:registry: move higher level function reg_open_path to new module reg_api_util
The reg_api.c code should just export functions that direclty relate to winreg
api calls.
2010-09-20 19:58:01 +02:00
Günther Deschner
c9e17edfc6 s3-waf: add net.
Guenther
2010-09-20 10:48:24 -07:00
Günther Deschner
99d898938c s3-waf: add libnetapi 2010-09-20 10:48:16 -07:00
Anatoliy Atanasov
b4eba4268d s4/dcdiag: Handle ListRoles command for dcdiag:KnowsOfRoleHolders test 2010-09-20 09:46:10 -07:00
Anatoliy Atanasov
7250cb3e73 s4/fsmo: Create separate function for retrieving fsmo role dn and owner dn.
This functionality is needed for DsCrackNames ListRoles command also.
2010-09-20 09:44:19 -07:00
Anatoliy Atanasov
faeeb5c8e7 s4/drs: use type enum drsuapi_DsNameFormat in DsCrackNames code 2010-09-20 09:41:00 -07:00
Anatoliy Atanasov
b55853cd64 s4/drs: Added the rest of the enum drsuapi_DsNameFormat values
According to documentation - [MS-DRSR] 4.1.4.1.2 and 4.1.4.1.3
2010-09-20 09:39:44 -07:00
Günther Deschner
f12756b5ac s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.
Guenther
2010-09-20 08:37:05 +02:00
Björn Jacke
1c82ca01c3 s3/winbind: remove unused winbindd_check_cache_size 2010-09-19 22:58:33 -07:00
Volker Lendecke
1c8fd86a1d s3: Fix the charset_pull routine (bug 7531)
In the push routine we do the SVAL, so we should do the SSVAL here.
2010-09-19 21:33:25 -07:00