summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:include: change smb_request->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: move struct smb_request to vfs.hStefan Metzmacher2012-06-062-61/+61
| | | | metze
* s3:include: change files_struct->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: change connection_struct->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:includes: change vuid_cache_entry->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: move sys_acl prototypes to smb_acls.hStefan Metzmacher2012-06-062-30/+33
| | | | metze
* s3:smbd: move struct user_struct to globals.hStefan Metzmacher2012-06-061-13/+0
| | | | metze
* s3:include: remove typedef user_structStefan Metzmacher2012-06-061-2/+2
| | | | metze
* s3:smbd: move forward declaration of struct aio_extra to smbd.hStefan Metzmacher2012-06-061-3/+0
| | | | metze
* s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.hStefan Metzmacher2012-06-061-0/+10
| | | | | | These are called from vfs modules, which should not depend on smbd/proto.h metze
* s3:include: remove unused forward declaration of deferred_open_record in smb.hStefan Metzmacher2012-06-061-3/+0
| | | | metze
* s3:smbd: move UCF_ defines to smbd.hStefan Metzmacher2012-06-061-9/+0
| | | | metze
* s3:include: move struct smb_filename to vfs.hStefan Metzmacher2012-06-062-10/+10
| | | | metze
* s3:include: move struct smb_file_time to vfs.hStefan Metzmacher2012-06-062-8/+8
| | | | metze
* s3:include: move struct connection_struct (and sub structs) to vfs.hStefan Metzmacher2012-06-062-94/+92
| | | | metze
* s3:include: move struct stream_struct to vfs.hStefan Metzmacher2012-06-062-10/+10
| | | | metze
* s3:include: move struct fd_handle/files_struct to vfs.hStefan Metzmacher2012-06-062-82/+82
| | | | metze
* s3:includes: move union unid_t to vfs.hStefan Metzmacher2012-06-062-5/+5
| | | | metze
* s3:smbd: move struct trans_state to smbd.hStefan Metzmacher2012-06-061-30/+0
| | | | metze
* s3:smbd: move struct privilege_paths to smbd.hStefan Metzmacher2012-06-061-9/+0
| | | | metze
* s3:smbd: make struct notify_change_buf private to notify.cStefan Metzmacher2012-06-061-20/+0
| | | | metze
* s3:printing: add print_spool_rap_jobid()Stefan Metzmacher2012-06-061-0/+1
| | | | metze
* s3:printing: make struct print_file_data private to printspoolss.cStefan Metzmacher2012-06-061-9/+0
| | | | metze
* s3:smbd: make struct vfs_fsp_data private to vfs.cStefan Metzmacher2012-06-061-10/+0
| | | | metze
* s3:includes: move struct share_mode_lock to locking.hStefan Metzmacher2012-06-062-4/+4
| | | | metze
* s3:smbd: make typedef write_cache private to fileio.cStefan Metzmacher2012-06-061-9/+1
| | | | metze
* build: Rationalise AIO support in configure, ensure on by defaultAndrew Bartlett2012-06-061-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
* s3:lib: split things into a conn_tdb.hStefan Metzmacher2012-06-052-44/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104
* s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes2012-06-031-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
* lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett2012-06-021-23/+0
| | | | | | | This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
* s3-param: Use same function name for "max xmit" as lib/paramAndrew Bartlett2012-05-301-1/+1
| | | | | | Again, this helps with merging the FN_ list. Andrew Bartlett
* s3-param: Rename lp_dns_proxy() -> lp_wins_dns_proxy() for clarityAndrew Bartlett2012-05-301-1/+1
| | | | | | This avoids some confusion now we have a DNS server as well. Andrew Bartlett
* s3:libsmb: get rid of cli_has_async_callsLuk Claes2012-05-281-1/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_capabilitiesLuk Claes2012-05-281-1/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: remove unused (un)set_pending functionsLuk Claes2012-05-281-2/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libads: Use a reducing page size to try and cope with a slow LDAP serverAndrew Bartlett2012-05-261-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>
* s3-smbldap: Add API for external callback to perform LDAP bind in smbldapAlexander Bokovoy2012-05-241-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.
* gse: Use the smb_gss_oid_equal wrapper.Andreas Schneider2012-05-231-0/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-passdb: add unixid_from_uid/unixid_from_gid/unixid_from_both APIAlexander Bokovoy2012-05-231-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.
* s3:smbd: remove unused 'connection_struct->used'Michael Adam2012-05-221-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
* Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison2012-05-221-0/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
* s3:onefs: remove all onefs related code as it not maintained anymoreStefan Metzmacher2012-05-161-50/+0
| | | | | | | | | | See https://lists.samba.org/archive/samba-technical/2012-May/083631.html for the discussion. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 16 11:23:05 CEST 2012 on sn-devel-104
* lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.cStefan Metzmacher2012-05-141-3/+0
| | | | metze
* s3-lib: Add const to sys_acl_to_textAndrew Bartlett2012-05-091-1/+1
|
* s3:vfs fix compiler warningChristian Ambach2012-05-031-0/+5
| | | | vfs_default.c:1875:10: warning: no previous prototype for 'vfswrap_audit_file'
* s3:lib fix compiler warningsChristian Ambach2012-05-031-0/+6
| | | | | g_lock.c:182:20: warning: no previous prototype for ‘g_lock_lock_send’ g_lock.c:270:10: warning: no previous prototype for ‘g_lock_lock_recv’
* s3-passdb: Change pdb_sid_to_id() to return struct unixidAndrew Bartlett2012-05-021-3/+3
| | | | | | | | | This will make it easier to consistantly pass a struct unixid all the way up and down the idmap stack, and allow ID_TYPE_BOTH to be handled correctly. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
* s3:util add sid_check_is_wellknown_builtin()Christian Ambach2012-05-011-0/+1
|
* s3-lib Add a way to allocate the task_id value in server_idAndrew Bartlett2012-04-301-0/+1
| | | | | | | | This safely allocates the task_id so that when we have multiple event contexts, they can each have their own messaging context, particularly for the imessaging subsystem under source4. Andrew Bartlett
* s4-messaging: Fill in the whole server_id in all use casesAndrew Bartlett2012-04-301-3/+0
| | | | | | | | | | | | This started per https://bugzilla.samba.org/show_bug.cgi?id=8872#c4 and avoids any possible collision with a different process. We also need to ensure that across a Samba installation on a single node that id.vnn is the same. Samba4 previously used 0, while Samba3 used NONCLUSTER_VNN. When a message is sent between these 'different' nodes, the error NT_STATUS_INVALID_DEVICE_REQUEST is raised. Andrew Bartlett