Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-13 | s3-krb5 Only build ADS support if arcfour-hmac-md5 is available | Andrew Bartlett | 2 | -7/+4 | |
Modern Kerberos implementations have either defines or enums for these key types, which makes doing #ifdef difficult. This shows up in files such as libnet_samsync_keytab.c, the bulk of which is not compiled on current Fedora 12, for example. The downside is that this makes Samba unconditionally depend on the arcfour-hmac-md5 encryption type at build time. We will no longer support libraries that only support the DES based encryption types. However, the single-DES types that are supported in common with AD are already painfully weak - so much so that they are disabled by default in modern Kerberos libraries. If not found, ADS support will not be compiled in. This means that our 'net ads join' will no longer set the ACB_USE_DES_KEY_ONLY flag, and we will always try to use arcfour-hmac-md5. A future improvement would be to remove the use of the DES encryption types totally, but this would require that any ACB_USE_DES_KEY_ONLY flag be removed from existing joins. Andrew Bartlett Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-08-06 | s3-krb5: include krb5pac.h where needed. | Günther Deschner | 2 | -0/+3 | |
Guenther | |||||
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 4 | -0/+4 | |
Guenther | |||||
2010-08-05 | s3: avoid global include of ads.h. | Günther Deschner | 20 | -82/+363 | |
Guenther | |||||
2010-07-31 | s3-printing: remove unused get_local_printer_publishing_data() call. | Günther Deschner | 1 | -14/+0 | |
Guenther | |||||
2010-07-31 | s3-build: avoid to globally include printing and spoolss headers. | Günther Deschner | 1 | -1/+2 | |
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther | |||||
2010-07-30 | cleanups: Trailing spaces, line length, etc... | Simo Sorce | 1 | -111/+163 | |
2010-07-20 | s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keys | Simo Sorce | 2 | -2/+4 | |
2010-07-20 | Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵ | Jeremy Allison | 1 | -4/+4 | |
contexts. Jeremy. | |||||
2010-07-20 | Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵ | Jeremy Allison | 1 | -3/+6 | |
context tallocs. Jeremy. | |||||
2010-07-20 | Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduce | Jeremy Allison | 1 | -1/+1 | |
use of malloc, and data_blob(). Jeremy. | |||||
2010-07-20 | Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit() | Jeremy Allison | 1 | -1/+1 | |
as this correctly describes what this function does. Jeremy. | |||||
2010-07-20 | Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, ↵ | Jeremy Allison | 1 | -1/+1 | |
but a TokenInit one. Move to using spnego_gen_negTokenInit() instead. Jeremy | |||||
2010-07-19 | Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit(). | Jeremy Allison | 1 | -1/+2 | |
We now have one function to do this in all calling code. More rationalization to follow. Jeremy. | |||||
2010-07-19 | Remove parse_negTokenTarg(), as it's actually incorrect. We're processing | Jeremy Allison | 1 | -1/+1 | |
negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy. | |||||
2010-07-19 | s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it. | Simo Sorce | 1 | -7/+7 | |
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-01 | s3-libads: move ldap posix schema defines to their own header file. | Günther Deschner | 3 | -0/+64 | |
Guenther | |||||
2010-07-01 | s3-libads: only include libds flags where needed. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2010-07-01 | s3-libads: move ads_dns out of main includes. | Günther Deschner | 3 | -0/+92 | |
Guenther | |||||
2010-07-01 | s3-libads: move ads_status to a separate header file. | Günther Deschner | 1 | -0/+42 | |
Guenther | |||||
2010-07-01 | s3-libads: move ads_protos.h to ads_ldap_protos.h. | Günther Deschner | 1 | -0/+123 | |
Guenther | |||||
2010-07-01 | s3-libnet_join: small IDL enhancement. | Günther Deschner | 1 | -2/+0 | |
Guenther | |||||
2010-07-01 | s3-libads: use shared well known guids. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3: remove authdata.h | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-06-03 | s3: remove rpc_secdes.h completely. | Günther Deschner | 1 | -0/+3 | |
Guenther | |||||
2010-06-02 | s3: Allow previous password to be stored and use it to check tickets | Matthieu Patou | 1 | -37/+58 | |
This patch is to fix bug 7099. It stores the current password in the previous password key when the password is changed. It also check the user ticket against previous password. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-31 | s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet() | Andrew Bartlett | 1 | -1/+5 | |
This ensures the results can't be easily left to leak. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-31 | ntlmssp: Make the ntlmssp.h from source3/ a common header | Andrew Bartlett | 1 | -1/+1 | |
The code is not yet in common, but I hope to fix that soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-31 | s3: use shared security defines. | Günther Deschner | 1 | -14/+14 | |
Guenther | |||||
2010-05-31 | s3: only use netlogon/nbt header when needed. | Günther Deschner | 3 | -0/+14 | |
Guenther | |||||
2010-05-28 | s3-build: use ndr_misc.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-26 | s3-printing: fix buildwarning in publishing code after registry changes. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2010-05-25 | s3:registry: move reg_objects.h to registry/ and use it only where needed | Michael Adam | 1 | -0/+1 | |
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code. | |||||
2010-05-25 | s3:libads:use regval_ctr/blob accessor functions in ldap_printer.c | Michael Adam | 1 | -34/+42 | |
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 2 | -23/+23 | |
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-20 | s3-libads: add ads_set_sasl_wrap_flags(). | Günther Deschner | 1 | -0/+14 | |
Guenther | |||||
2010-05-18 | s3-rpc_client: move protos to cli_spoolss.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_descriptor SEC_DESC". | Günther Deschner | 2 | -4/+5 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_acl SEC_ACL". | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_ace SEC_ACE". | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-05-18 | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 3 | -17/+10 | |
2010-05-18 | s3-registry: only include registry headers when really needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-17 | s3-kerberos: temporary fix for ipv6 in print_kdc_line(). | Günther Deschner | 1 | -5/+20 | |
Currently no krb5 lib supports "kdc = ipv6 address" at all, so for now just fill in just the kdc_name if we have it and let the krb5 lib figure out the appropriate ipv6 address ipv6 gurus, please check. Guenther | |||||
2010-05-17 | s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain(). | Günther Deschner | 1 | -7/+12 | |
Guenther | |||||
2010-05-11 | s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA | Andrew Bartlett | 2 | -121/+26 | |
All the callers just want the PAC_LOGON_INFO, so search for that in ads_verify_ticket(), and don't bother the callers with the rest of the PAC. This change makes sense on it's own (removing boilerplate wrappers that just confuse the code), but it also makes it much easier to implement a matching ads_verify_ticket() function in Samba4 for the s3compat proposal. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-06 | Remove the copy of ldb from Samba 3. | Jelmer Vernooij | 1 | -1/+0 | |
There were two utility functions that other parts of Samba 3 still relied on; they have been moved to lib/ldb_compat.[ch]. | |||||
2010-05-06 | s3: only include gen_ndr headers where needed. | Günther Deschner | 1 | -0/+1 | |
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | |||||
2010-05-04 | s3: Fix a memleak in check_pac_checksum | Volker Lendecke | 1 | -2/+8 | |
2010-04-27 | s3:libads/ldap.c - fix a build breakage | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-03-30 | s3:libads: retry with signing after getting LDAP_STRONG_AUTH_REQUIRED | Stefan Metzmacher | 1 | -0/+10 | |
If server requires LDAP signing we're getting LDAP_STRONG_AUTH_REQUIRED, if "client ldap sasl wrapping = plain", instead of failing we now autoupgrade to "client ldap sasl wrapping = sign" for the given connection. metze |