Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-12 | srv_keytab: Pass krb5_context directly, it's all we use anyways. | Simo Sorce | 2 | -17/+12 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | auth-krb: Move pac related util functions in a single place. | Simo Sorce | 5 | -0/+5 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | auth-krb: Make functions static. | Simo Sorce | 1 | -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> | |||||
2012-04-12 | auth-krb: Nove oid packet check to gensec_util. | Simo Sorce | 2 | -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> | |||||
2012-04-12 | s4-auth-krb: Remove dependency on credentials too. | Simo Sorce | 2 | -11/+5 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Remove unneded dependency on kerberos_util. | Simo Sorce | 4 | -41/+55 | |
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 | 6 | -708/+751 | |
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 | 1 | -0/+8 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | s4-auth-krb: Make impersonate_principal_from_credentials static. | Simo Sorce | 1 | -0/+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 | -1/+70 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-04-12 | krb5_wrap: remove duplicate declaration and dead ifdef | Simo Sorce | 1 | -4/+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-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 | 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 | 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 | |
2012-04-10 | ldb: Detect failures in ldb.base again | Andrew Bartlett | 1 | -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 | |||||
2012-04-03 | s4:librpc/rpc: also parse ncacn_packet pdus with LIBNDR_FLAG_OBJECT_PRESENT | Stefan Metzmacher | 1 | -0/+4 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 3 23:06:31 CEST 2012 on sn-devel-104 | |||||
2012-04-03 | s4:librpc/rpc: don't mix up paylod ndr flags with the dcerpc layer | Stefan Metzmacher | 1 | -1/+1 | |
If the transfer syntax is NDR64, it's only for the payload not for the dcerpc pdus. metze | |||||
2012-04-03 | build: Remove checks for krb5_decode_ap_req, free_AP_REQ and ↵ | Andrew Bartlett | 1 | -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 | |||||
2012-04-03 | s4:ldap_server: fix typo in DEBUG() message | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-04-03 | s4-ntvfs: Rename xattr_tdb.c to posix_eadb.c and make more generally useful | Andrew Bartlett | 5 | -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 | |||||
2012-04-02 | s4:smb_server/smb2: add missing 'return;' statements in smb2srv_chain_reply() | Stefan Metzmacher | 1 | -0/+3 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 2 23:02:53 CEST 2012 on sn-devel-104 | |||||
2012-04-02 | s4:smb_server/smb2: after smbsrv_terminate_connection() we have to return | Stefan Metzmacher | 1 | -1/+0 | |
req is a talloc child of the connection... metze | |||||
2012-04-02 | s4:smb_server/smb2: fix memory leak in smb2srv_chain_reply() | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2012-04-02 | s4:smb_server/smb2: use helper variable smb2srv_chain_reply() | Stefan Metzmacher | 1 | -6/+7 | |
metze | |||||
2012-04-02 | s4:smb_server/smb: remove a request from the list before adding the next one ↵ | Stefan Metzmacher | 1 | -0/+1 | |
in a chain. metze | |||||
2012-04-02 | s4-upgradedns: Fix the fqdn for forest dns zone | Amitay Isaacs | 1 | -1/+1 | |
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Apr 2 10:56:10 CEST 2012 on sn-devel-104 | |||||
2012-04-02 | Fix some of the issues that Jelmer identified in my first patch. This might be | Richard Sharpe | 1 | -16/+12 | |
changed again, especially when I figure out how to return the file as an object. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Apr 2 01:43:44 CEST 2012 on sn-devel-104 | |||||
2012-04-01 | Add an open and close method to samba.smb.SMB so we can open and close files. | Richard Sharpe | 1 | -10/+86 | |
Also, fix up some documentation. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sun Apr 1 16:29:52 CEST 2012 on sn-devel-104 | |||||
2012-03-30 | s4 dns: Allow updating PTR records. | Kai Blin | 1 | -0/+4 | |
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Mar 30 19:26:52 CEST 2012 on sn-devel-104 | |||||
2012-03-28 | s4-upgradedns: Make sure the attribute exists before accessing it | Amitay Isaacs | 1 | -4/+8 | |
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 28 10:27:40 CEST 2012 on sn-devel-104 | |||||
2012-03-27 | s4 dns: Only do recursive queries when allowed/desired | Kai Blin | 1 | -7/+26 | |
If recursive queries are switched off in smb.conf or the client doesn't ask for recursion, don't recurse. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Mar 27 17:39:26 CEST 2012 on sn-devel-104 | |||||
2012-03-27 | s4 dns: Check smb.conf if we should allow recursion | Kai Blin | 1 | -2/+3 | |
2012-03-27 | s4 dns: Allow changing the dns operation flags in handlers | Kai Blin | 4 | -5/+23 | |
2012-03-27 | s4 dns: Only forward for zones we don't own | Kai Blin | 3 | -2/+33 | |
2012-03-27 | s4 dns: Forward questions we can't answer to another server | Kai Blin | 2 | -7/+80 | |
This makes use of libdns and currently hardcodes the forward server, but it works. :) |