Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-06 | s3:include: change smb_request->tid to uint32_t | Michael Adam | 1 | -1/+1 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smb: change the value of TID_FIELD_INVALID from -1 to 0 | Michael Adam | 1 | -1/+1 | |
This paves the way to change the tid/cnum types to systematic uint32_t. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid | Michael Adam | 1 | -0/+1 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:connections: add a CNUM_OFFSET for mapping between cnum and the bitmap index | Michael Adam | 1 | -0/+2 | |
This moves the start of the range of valid cnum values up from 0 to CNUM_OFFSET (currently 1), so that in a later step we can use 0 as invalid cnum value instead of the current -1. This will allow us to change the type of cnum to uint32_t from a mix of int and unsigned. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smb.h: fix a comment typo | Michael Adam | 1 | -1/+1 | |
2012-06-06 | s3:smbd: change user_struct->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
Only sconn->smb1.sessions.next_vuid remains as uint16_t, so that we do not generate larger values yet. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 6 12:07:33 CEST 2012 on sn-devel-104 | |||||
2012-06-06 | s3:smbd: let open_fake_file() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:printing: let print_spool_open() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: change current_user->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: change smb_request->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_request to vfs.h | Stefan Metzmacher | 2 | -61/+61 | |
metze | |||||
2012-06-06 | s3:include: change files_struct->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: change connection_struct->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:includes: change vuid_cache_entry->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: move sys_acl prototypes to smb_acls.h | Stefan Metzmacher | 2 | -30/+33 | |
metze | |||||
2012-06-06 | s3:smbd: move struct user_struct to globals.h | Stefan Metzmacher | 1 | -13/+0 | |
metze | |||||
2012-06-06 | s3:include: remove typedef user_struct | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: move forward declaration of struct aio_extra to smbd.h | Stefan Metzmacher | 1 | -3/+0 | |
metze | |||||
2012-06-06 | s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.h | Stefan Metzmacher | 1 | -0/+10 | |
These are called from vfs modules, which should not depend on smbd/proto.h metze | |||||
2012-06-06 | s3:include: remove unused forward declaration of deferred_open_record in smb.h | Stefan Metzmacher | 1 | -3/+0 | |
metze | |||||
2012-06-06 | s3:smbd: move UCF_ defines to smbd.h | Stefan Metzmacher | 1 | -9/+0 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_filename to vfs.h | Stefan Metzmacher | 2 | -10/+10 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_file_time to vfs.h | Stefan Metzmacher | 2 | -8/+8 | |
metze | |||||
2012-06-06 | s3:include: move struct connection_struct (and sub structs) to vfs.h | Stefan Metzmacher | 2 | -94/+92 | |
metze | |||||
2012-06-06 | s3:include: move struct stream_struct to vfs.h | Stefan Metzmacher | 2 | -10/+10 | |
metze | |||||
2012-06-06 | s3:include: move struct fd_handle/files_struct to vfs.h | Stefan Metzmacher | 2 | -82/+82 | |
metze | |||||
2012-06-06 | s3:includes: move union unid_t to vfs.h | Stefan Metzmacher | 2 | -5/+5 | |
metze | |||||
2012-06-06 | s3:smbd: move struct trans_state to smbd.h | Stefan Metzmacher | 1 | -30/+0 | |
metze | |||||
2012-06-06 | s3:smbd: move struct privilege_paths to smbd.h | Stefan Metzmacher | 1 | -9/+0 | |
metze | |||||
2012-06-06 | s3:smbd: make struct notify_change_buf private to notify.c | Stefan Metzmacher | 1 | -20/+0 | |
metze | |||||
2012-06-06 | s3:printing: add print_spool_rap_jobid() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-06-06 | s3:printing: make struct print_file_data private to printspoolss.c | Stefan Metzmacher | 1 | -9/+0 | |
metze | |||||
2012-06-06 | s3:smbd: make struct vfs_fsp_data private to vfs.c | Stefan Metzmacher | 1 | -10/+0 | |
metze | |||||
2012-06-06 | s3:includes: move struct share_mode_lock to locking.h | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2012-06-06 | s3:smbd: make typedef write_cache private to fileio.c | Stefan Metzmacher | 1 | -9/+1 | |
metze | |||||
2012-06-06 | build: Rationalise AIO support in configure, ensure on by default | Andrew Bartlett | 1 | -2/+2 | |
With this change, the define to check for AIO is HAVE_AIO, consistant with other subsystems. It is now also on by default in the autoconf build, as it has been for waf. Andrew Bartlett | |||||
2012-06-05 | s3:lib: split things into a conn_tdb.h | Stefan Metzmacher | 2 | -44/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104 | |||||
2012-06-03 | s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_send | Luk Claes | 1 | -7/+0 | |
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104 | |||||
2012-06-02 | lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.c | Andrew Bartlett | 1 | -23/+0 | |
This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett | |||||
2012-05-30 | s3-param: Use same function name for "max xmit" as lib/param | Andrew Bartlett | 1 | -1/+1 | |
Again, this helps with merging the FN_ list. Andrew Bartlett | |||||
2012-05-30 | s3-param: Rename lp_dns_proxy() -> lp_wins_dns_proxy() for clarity | Andrew Bartlett | 1 | -1/+1 | |
This avoids some confusion now we have a DNS server as well. Andrew Bartlett | |||||
2012-05-28 | s3:libsmb: get rid of cli_has_async_calls | Luk Claes | 1 | -1/+0 | |
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-05-28 | s3:libsmb: get rid of cli_state_capabilities | Luk Claes | 1 | -1/+1 | |
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-05-28 | s3:libsmb: remove unused (un)set_pending functions | Luk Claes | 1 | -2/+0 | |
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-05-26 | s3-libads: Use a reducing page size to try and cope with a slow LDAP server | Andrew Bartlett | 1 | -0/+1 | |
If we cannot get 1000 users downloaded in 15seconds, try with 500, 250 and then 125 users at a time. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-24 | s3-smbldap: Add API for external callback to perform LDAP bind in smbldap | Alexander Bokovoy | 1 | -0/+2 | |
In order to support other bind methods, introduce a generic bind callback. When smbldap_state.bind_callback is set, it means there is an alternative way to perform LDAP bind to ldap_simple_bind_s() so call it instead. The call is wrapped in become_root()/unbecome_root() to allow proper permissions in smbd to access needed resources in the callback, for example, credential caches. When run outside smbd, become_root()/unbecome_root() are no-op. The API expectation is similar to ldap_simple_bind_s(). A caller of smbldap API can pass additional information to the callback by setting smbldap_state.bind_callback_data pointer. Both callback and the data pointer elements of smbldap_state structure get cleaned up if someone sets proper credentials on smbldap_state with smbldap_set_creds() so if you are interested in using smbldap_state.bind_dn with the callback, make sure to set callback after credentials are set. | |||||
2012-05-23 | gse: Use the smb_gss_oid_equal wrapper. | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2012-05-23 | s3-passdb: add unixid_from_uid/unixid_from_gid/unixid_from_both API | Alexander Bokovoy | 1 | -0/+5 | |
struct unixid is defined in idmap.idl and therefore to use it one would need generated headers from librpc/gen_ndr. Not all of these files are installed and available as public headers. Also, they pull in some support headers which requires them to be available via specific locations like <librpc/gen_ndr/*> or <libcli/util>. Instead of pulling the headers to get structure and enum definitions, introduce three simple helpers to fill in 'struct unixid' based on the type of id. This is sufficient for PASSDB users and does not require exposing generated headers or code. | |||||
2012-05-22 | s3:smbd: remove unused 'connection_struct->used' | Michael Adam | 1 | -1/+0 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 22 16:42:22 CEST 2012 on sn-devel-104 | |||||
2012-05-22 | Added torture test for bug #8910. Test remove_duplicate_addrs2(). | Jeremy Allison | 1 | -0/+1 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104 |