Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-12 | clikrb5: Move pure krb wrapper functions from libads to clikrb5. | Simo Sorce | 4 | -143/+145 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | gse: Remove unnecessary header. | Simo Sorce | 1 | -1/+0 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | srv_keytab: Pass krb5_context directly, it's all we use anyways. | Simo Sorce | 3 | -18/+14 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | krb5_wrap: krb5_string_to_key / krb5_encrypt_block are deprecated. | Simo Sorce | 3 | -24/+12 | |
Remove checks and replace with krb5_c_string_to_key(). Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | auth-krb: Move pac related util functions in a single place. | Simo Sorce | 13 | -93/+85 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | auth-krb: Make functions static. | Simo Sorce | 6 | -105/+73 | |
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> | |||||
2012-04-12 | auth-krb: Use simpler method to extract keytype. | Simo Sorce | 1 | -19/+12 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | auth-krb: Nove oid packet check to gensec_util. | Simo Sorce | 8 | -86/+51 | |
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> | |||||
2012-04-12 | s4-auth-krb: Remove dependency on credentials too. | Simo Sorce | 3 | -14/+11 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Remove unneded dependency on kerberos_util. | Simo Sorce | 5 | -44/+68 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Simplify salt_princ handling. | Simo Sorce | 6 | -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> | |||||
2012-04-12 | s4-auth-krb: Move function to db-glue.c and make it static. | Simo Sorce | 3 | -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> | |||||
2012-04-12 | s4-auth-krb: Move keytab functions in a separate file. | Simo Sorce | 8 | -710/+754 | |
Confine ldb dependency. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Streamline and cleanup code to make it readable. | Simo Sorce | 1 | -190/+256 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: streamline and rename enctype functions | Simo Sorce | 1 | -11/+12 | |
better express what is being done in the function name. | |||||
2012-04-12 | s4-auth-krb: Make kerberos_enctype_bitmap_to_enctype static. | Simo Sorce | 2 | -3/+1 | |
It's a helper function not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Make kerberos_enctype_bitmap_to_enctypes static. | Simo Sorce | 1 | -1/+7 | |
It is not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Move function into more appropriate header. | Simo Sorce | 2 | -8/+8 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Make cli_credentials_invalidate_client_gss_creds static. | Simo Sorce | 2 | -2/+4 | |
It's not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Make impersonate_principal_from_credentials static. | Simo Sorce | 2 | -6/+1 | |
It's not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | gensec_gssapi: keep private header file close to the actual code | Simo Sorce | 2 | -7/+6 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | krb5_wrap: remove duplicate declaration and dead ifdef | Simo Sorce | 2 | -8/+0 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-ldb: use KRB5_KEY macros to access key elements. | Günther Deschner | 1 | -8/+8 | |
Guenther Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | wafsamba: point out that local heimdal paths are not included when | Günther Deschner | 1 | -0/+1 | |
USING_SYSTEM_KRB5 gets set. Guenther Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | waf: when USING_SYSTEM_KRB5 environment variable is set, dont configure local | Günther Deschner | 1 | -1/+2 | |
heimdal. Guenther Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | waf: when building with system krb5, we do not need to build local heimdal. | Günther Deschner | 1 | -1/+2 | |
Guenther Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s3-waf: remove requirement of having --enable-developer for running system ↵ | Günther Deschner | 1 | -1/+1 | |
krb5 checks. When you know about "with_mit_krb5_checks" you are most likely a developer already. Guenther Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE ↵ | Jeremy Allison | 2 | -18/+2 | |
should just do it. Still trying to fix the buildfarm. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 12 04:28:29 CEST 2012 on sn-devel-104 | |||||
2012-04-11 | Try and fix autoconf on the build farm. Always include sys/types.h when ↵ | Jeremy Allison | 1 | -0/+2 | |
working out sizeof(blkcnt_t). | |||||
2012-04-11 | s3:smbd only care about missing level2 support if kernel oplocks are enabled | Christian Ambach | 1 | -4/+10 | |
if kernel oplocks are not enabled for that share, we can grant level2 oplocks Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 22:45:21 CEST 2012 on sn-devel-104 | |||||
2012-04-11 | s3:smbd only initialize kernel oplocks if they are enabled for a share | Christian Ambach | 1 | -0/+4 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-04-11 | s3:smbd add seperate function to initialize kernel oplocks | Christian Ambach | 2 | -3/+8 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-04-11 | docs: update kernel oplocks documentation | Christian Ambach | 1 | -2/+7 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-04-11 | s3:param convert kernel oplocks to share parameter | Christian Ambach | 4 | -9/+7 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-04-11 | build: Fix spelling of tevent | Andrew Bartlett | 1 | -1/+1 | |
Found by metze. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 11 17:36:19 CEST 2012 on sn-devel-104 | |||||
2012-04-11 | build: use include paths for pkg-config found libraries | Andrew Bartlett | 3 | -15/+23 | |
2012-04-11 | lib/tdb_compat: Do not define BUILD_TDB2 if we are not building tdb2 | Andrew Bartlett | 1 | -3/+1 | |
The simple fact that this was defined at all, even to false, caused some of the tdb2 build code to run. Andrew Bartlett | |||||
2012-04-11 | s4-smb2: Fix a talloc crash bug. | Andreas Schneider | 1 | -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 | |||||
2012-04-11 | Simplify the logic around doing an immediate event reschedule. | Jeremy Allison | 1 | -23/+7 | |
We don't need to do a talloc here, we already have a long-lived pointer we can pass in as the private data. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 08:05:47 CEST 2012 on sn-devel-104 | |||||
2012-04-11 | s4:dsdb/samdb/ldb_modules/schema.c - move "get_last_structural_class()" into ↵ | Matthias Dieter Wallnöfer | 6 | -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 | |||||
2012-04-11 | s4:dsdb/samdb/ldb_modules/schema.c - inline "get_oc_guid_from_message()" to ↵ | Matthias Dieter Wallnöfer | 2 | -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()". | |||||
2012-04-11 | s4:dsdb - introduce a only constant-time "get_last_structural_class()" call | Matthias Dieter Wallnöfer | 3 | -37/+18 | |
With the redesign of the previous patches this has become possible. | |||||
2012-04-11 | s4:dsdb/samdb/ldb_modules/schema.c - inline "acl_check_access_on_class" to ↵ | Matthias Dieter Wallnöfer | 2 | -46/+47 | |
its only user Reduce the number of not to be shared functions in "schema.c". | |||||
2012-04-11 | s4:dsdb - move "objectclass_sort()" out from the objectclass LDB module into ↵ | Matthias Dieter Wallnöfer | 2 | -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. | |||||
2012-04-11 | s4:acl LDB module - remove set but unused variables | Matthias Dieter Wallnöfer | 1 | -5/+0 | |
2012-04-11 | s4:objectclass LDB module - remove unneeded build dependencies | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2012-04-11 | LDB:ldb_msg.c - add another OOM check in "ldb_msg_copy()" | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
2012-04-11 | s4:schema/schema_query.c - fix a comment | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2012-04-11 | s4:schema/schema_init.c - better use "ldb_attr_cmp" instead of "strcasecmp" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
LDB convention | |||||
2012-04-11 | s4:dsdb/pydsdb.c - fix indentation | Matthias Dieter Wallnöfer | 1 | -1/+1 | |