summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:ldapcmp.py: pass down outf and errfStefan Metzmacher2012-04-171-12/+29
| | | | | | | | | Not all classes are derived from class 'Command'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 10:06:47 CEST 2012 on sn-devel-104
* provision: Simplify handling of default for --server-role.Jelmer Vernooij2012-04-161-8/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Apr 16 18:12:24 CEST 2012 on sn-devel-104
* provision: Simplify handling of default for --function-level.Jelmer Vernooij2012-04-161-4/+3
|
* provision: Simplify handling of default for --dns-backend option.Jelmer Vernooij2012-04-161-6/+2
|
* s4:libcli/smb2: fix anonymous session setups against windows serversStefan Metzmacher2012-04-162-1/+16
| | | | | | | | | | | | | Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor SMB2_SESSION_FLAG_IS_NULL flag. This fix makes sure we don't try to verify a signature on the final session setup response. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 16 14:44:46 CEST 2012 on sn-devel-104
* s4:libcli/smb2: remove unused dependency to LIBPACKETStefan Metzmacher2012-04-162-2/+1
| | | | metze
* Add an option to have s3fs as file server for samba4Matthieu Patou2012-04-162-9/+21
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 16 09:38:18 CEST 2012 on sn-devel-104
* s4-provision: Update configuration lines for dlz_bind9Amitay Isaacs2012-04-162-4/+7
| | | | | | | This adds configuration lines for BIND versions 9.8.x and 9.9.x. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Apr 16 03:52:14 CEST 2012 on sn-devel-104
* dlz_bind9: Build shared libraries for both BIND versions 9.8 and 9.9Amitay Isaacs2012-04-163-0/+28
| | | | | This adds #define BIND_VERSION_9_8 and keeps the current version as 9.9, so shared libraries can be built for both BIND versions.
* dlz_bind9: changes to make dlz_bind9 work with BIND 9.9.0Amitay Isaacs2012-04-162-22/+53
| | | | | | | The main changes are: DLZ_DLOPEN_VERSION changed from 1 to 2 isc_boolean_t changed from bool to int dlz_lookup() now takes 2 additional arguments
* s4-auth: Make sure ldb context is initialized even if not passed by Python codeAlexander Bokovoy2012-04-141-1/+1
| | | | | Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Sat Apr 14 00:21:00 CEST 2012 on sn-devel-104
* rely on sys/inotify.h for inotifyAdrian Bunk2012-04-132-37/+3
| | | | | | | | | sys/inotify.h was added to glibc 2.4 in 2006. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 21:15:00 CEST 2012 on sn-devel-104
* s4-libnet: split export_keytab in a separate python module to avoid pulling ↵Alexander Bokovoy2012-04-128-48/+165
| | | | | | | | | in HDB dependency Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Apr 12 15:23:19 CEST 2012 on sn-devel-104
* srv_keytab: Pass krb5_context directly, it's all we use anyways.Simo Sorce2012-04-122-17/+12
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* auth-krb: Move pac related util functions in a single place.Simo Sorce2012-04-125-0/+5
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* auth-krb: Make functions static.Simo Sorce2012-04-121-0/+71
| | | | | | | The remaining gssapi_parse functions were used exclusively in gensec_krb5. Move them there and make them static. Signed-off-by: Andreas Schneider <asn@samba.org>
* auth-krb: Nove oid packet check to gensec_util.Simo Sorce2012-04-122-43/+3
| | | | | | | | This is clearly a utiliy function generic to gensec. Also the 3 callers had identical implementations. Provide a generic implementation for all of them and avoid duplicating the code everywhere. Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Remove dependency on credentials too.Simo Sorce2012-04-122-11/+5
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Remove unneded dependency on kerberos_util.Simo Sorce2012-04-124-41/+55
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Simplify salt_princ handling.Simo Sorce2012-04-126-296/+250
| | | | | | | | This allows us to make parse_principal static in kerbeors_util again and avoid a silly game where we alloc containers and set destrcutors only to release the whole thing at the end of the function. Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Move function to db-glue.c and make it static.Simo Sorce2012-04-123-20/+21
| | | | | | | kerberos_enctype_to_bitmap is not used anywhere else, so just move it there and make it static, one less dependency to worry about. Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Move keytab functions in a separate file.Simo Sorce2012-04-126-708/+751
| | | | | | Confine ldb dependency. Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Streamline and cleanup code to make it readable.Simo Sorce2012-04-121-190/+256
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: streamline and rename enctype functionsSimo Sorce2012-04-121-11/+12
| | | | better express what is being done in the function name.
* s4-auth-krb: Make kerberos_enctype_bitmap_to_enctype static.Simo Sorce2012-04-122-3/+1
| | | | | | It's a helper function not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Make kerberos_enctype_bitmap_to_enctypes static.Simo Sorce2012-04-121-1/+7
| | | | | | It is not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Move function into more appropriate header.Simo Sorce2012-04-121-0/+8
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-auth-krb: Make impersonate_principal_from_credentials static.Simo Sorce2012-04-121-0/+1
| | | | | | It's not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org>
* gensec_gssapi: keep private header file close to the actual codeSimo Sorce2012-04-122-1/+70
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* krb5_wrap: remove duplicate declaration and dead ifdefSimo Sorce2012-04-121-4/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-ldb: use KRB5_KEY macros to access key elements.Günther Deschner2012-04-121-8/+8
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-smb2: Fix a talloc crash bug.Andreas Schneider2012-04-111-2/+2
| | | | | | | | The talloc context needs to be initialzed or NULL. So move talloc_steal() to the position where req is initialized. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Apr 11 15:59:39 CEST 2012 on sn-devel-104
* s4:dsdb/samdb/ldb_modules/schema.c - move "get_last_structural_class()" into ↵Matthias Dieter Wallnöfer2012-04-116-83/+46
| | | | | | | | | "util.c" And remove this helper module - it does not have much sense keeping it. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 11 06:31:51 CEST 2012 on sn-devel-104
* s4:dsdb/samdb/ldb_modules/schema.c - inline "get_oc_guid_from_message()" to ↵Matthias Dieter Wallnöfer2012-04-112-18/+23
| | | | | | | its only user Reduce the number of not to be shared functions in "schema.c". Change it to make use of "get_last_structural_class()".
* s4:dsdb - introduce a only constant-time "get_last_structural_class()" callMatthias Dieter Wallnöfer2012-04-113-37/+18
| | | | With the redesign of the previous patches this has become possible.
* s4:dsdb/samdb/ldb_modules/schema.c - inline "acl_check_access_on_class" to ↵Matthias Dieter Wallnöfer2012-04-112-46/+47
| | | | | | its only user Reduce the number of not to be shared functions in "schema.c".
* s4:dsdb - move "objectclass_sort()" out from the objectclass LDB module into ↵Matthias Dieter Wallnöfer2012-04-112-217/+200
| | | | | | | | | | the schema code This allows it to be useful for the dbchecker utility in respect to object class problems. Fix up the API to only work with standardised LDB "ldb_message_element" structures which do allow much easier interoperations. As a consequence this leads to some changes in the objectclass module as well.
* s4:acl LDB module - remove set but unused variablesMatthias Dieter Wallnöfer2012-04-111-5/+0
|
* s4:objectclass LDB module - remove unneeded build dependenciesMatthias Dieter Wallnöfer2012-04-111-1/+1
|
* s4:schema/schema_query.c - fix a commentMatthias Dieter Wallnöfer2012-04-111-1/+1
|
* s4:schema/schema_init.c - better use "ldb_attr_cmp" instead of "strcasecmp"Matthias Dieter Wallnöfer2012-04-111-1/+1
| | | | LDB convention
* s4:dsdb/pydsdb.c - fix indentationMatthias Dieter Wallnöfer2012-04-111-1/+1
|
* ldb: Detect failures in ldb.base againAndrew Bartlett2012-04-101-2/+1
| | | | | | | | | We need to wrap the ldb tests in the subunit blackbox helpers. We also needed to change to the right directory, or else the :< file:// syntax check does not work, as samba4.png is not found. Andrew Bartlett
* s4:librpc/rpc: also parse ncacn_packet pdus with LIBNDR_FLAG_OBJECT_PRESENTStefan Metzmacher2012-04-031-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 3 23:06:31 CEST 2012 on sn-devel-104
* s4:librpc/rpc: don't mix up paylod ndr flags with the dcerpc layerStefan Metzmacher2012-04-031-1/+1
| | | | | | | If the transfer syntax is NDR64, it's only for the payload not for the dcerpc pdus. metze
* build: Remove checks for krb5_decode_ap_req, free_AP_REQ and ↵Andrew Bartlett2012-04-031-2/+0
| | | | | | | | | KRB5_TICKET_HAS_KEYINFO Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 3 19:19:33 CEST 2012 on sn-devel-104
* s4:ldap_server: fix typo in DEBUG() messageStefan Metzmacher2012-04-031-1/+1
| | | | metze
* s4-ntvfs: Rename xattr_tdb.c to posix_eadb.c and make more generally usefulAndrew Bartlett2012-04-035-38/+100
| | | | | | | | | This is now a small library, to be called from ntvfs, python and vfs_posix_eadb. The rename makes it clear that this has a different DB format to that used by vfs_xattr_tdb, and matches the posix:eadb smb.conf parameter used to configure it. Andrew Bartlett
* s4:smb_server/smb2: add missing 'return;' statements in smb2srv_chain_reply()Stefan Metzmacher2012-04-021-0/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 2 23:02:53 CEST 2012 on sn-devel-104
* s4:smb_server/smb2: after smbsrv_terminate_connection() we have to returnStefan Metzmacher2012-04-021-1/+0
| | | | | | req is a talloc child of the connection... metze