summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2012-06-06s3:include: remove typedef user_structStefan Metzmacher1-2/+2
metze
2012-06-06s3:smbd: move forward declaration of struct aio_extra to smbd.hStefan Metzmacher1-3/+0
metze
2012-06-06s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.hStefan Metzmacher1-0/+10
These are called from vfs modules, which should not depend on smbd/proto.h metze
2012-06-06s3:include: remove unused forward declaration of deferred_open_record in smb.hStefan Metzmacher1-3/+0
metze
2012-06-06s3:smbd: move UCF_ defines to smbd.hStefan Metzmacher1-9/+0
metze
2012-06-06s3:include: move struct smb_filename to vfs.hStefan Metzmacher2-10/+10
metze
2012-06-06s3:include: move struct smb_file_time to vfs.hStefan Metzmacher2-8/+8
metze
2012-06-06s3:include: move struct connection_struct (and sub structs) to vfs.hStefan Metzmacher2-94/+92
metze
2012-06-06s3:include: move struct stream_struct to vfs.hStefan Metzmacher2-10/+10
metze
2012-06-06s3:include: move struct fd_handle/files_struct to vfs.hStefan Metzmacher2-82/+82
metze
2012-06-06s3:includes: move union unid_t to vfs.hStefan Metzmacher2-5/+5
metze
2012-06-06s3:smbd: move struct trans_state to smbd.hStefan Metzmacher1-30/+0
metze
2012-06-06s3:smbd: move struct privilege_paths to smbd.hStefan Metzmacher1-9/+0
metze
2012-06-06s3:smbd: make struct notify_change_buf private to notify.cStefan Metzmacher1-20/+0
metze
2012-06-06s3:printing: add print_spool_rap_jobid()Stefan Metzmacher1-0/+1
metze
2012-06-06s3:printing: make struct print_file_data private to printspoolss.cStefan Metzmacher1-9/+0
metze
2012-06-06s3:smbd: make struct vfs_fsp_data private to vfs.cStefan Metzmacher1-10/+0
metze
2012-06-06s3:includes: move struct share_mode_lock to locking.hStefan Metzmacher2-4/+4
metze
2012-06-06s3:smbd: make typedef write_cache private to fileio.cStefan Metzmacher1-9/+1
metze
2012-06-06build: Rationalise AIO support in configure, ensure on by defaultAndrew Bartlett1-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-05s3:lib: split things into a conn_tdb.hStefan Metzmacher2-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-03s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes1-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-02lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett1-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-30s3-param: Use same function name for "max xmit" as lib/paramAndrew Bartlett1-1/+1
Again, this helps with merging the FN_ list. Andrew Bartlett
2012-05-30s3-param: Rename lp_dns_proxy() -> lp_wins_dns_proxy() for clarityAndrew Bartlett1-1/+1
This avoids some confusion now we have a DNS server as well. Andrew Bartlett
2012-05-28s3:libsmb: get rid of cli_has_async_callsLuk Claes1-1/+0
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_capabilitiesLuk Claes1-1/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: remove unused (un)set_pending functionsLuk Claes1-2/+0
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-26s3-libads: Use a reducing page size to try and cope with a slow LDAP serverAndrew Bartlett1-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-24s3-smbldap: Add API for external callback to perform LDAP bind in smbldapAlexander Bokovoy1-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-23gse: Use the smb_gss_oid_equal wrapper.Andreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-05-23s3-passdb: add unixid_from_uid/unixid_from_gid/unixid_from_both APIAlexander Bokovoy1-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-22s3:smbd: remove unused 'connection_struct->used'Michael Adam1-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-22Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison1-0/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
2012-05-16s3:onefs: remove all onefs related code as it not maintained anymoreStefan Metzmacher1-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
2012-05-14lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.cStefan Metzmacher1-3/+0
metze
2012-05-09s3-lib: Add const to sys_acl_to_textAndrew Bartlett1-1/+1
2012-05-03s3:vfs fix compiler warningChristian Ambach1-0/+5
vfs_default.c:1875:10: warning: no previous prototype for 'vfswrap_audit_file'
2012-05-03s3:lib fix compiler warningsChristian Ambach1-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’
2012-05-02s3-passdb: Change pdb_sid_to_id() to return struct unixidAndrew Bartlett1-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>
2012-05-01s3:util add sid_check_is_wellknown_builtin()Christian Ambach1-0/+1
2012-04-30s3-lib Add a way to allocate the task_id value in server_idAndrew Bartlett1-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
2012-04-30s4-messaging: Fill in the whole server_id in all use casesAndrew Bartlett1-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
2012-04-28Add an audit file VFS routine so we can handle auditing with SACLs.Richard Sharpe2-0/+11
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Apr 28 08:05:00 CEST 2012 on sn-devel-104
2012-04-23Make krb5 wrapper library common so they can be used all overSimo Sorce2-223/+1
2012-04-20s3:memcache: remove the idmap-part from memcacheMichael Adam1-4/+0
This was useful before the idmap cache was moved to gencache. Nowadays it is available to smbd through gencache, so we can remove the extra caching layer.
2012-04-19s3-g_lock: Use dbwrap_record_watch_send/recvVolker Lendecke1-5/+0
This simplifies the g_lock implementation. The new implementation tries to acquire a lock. If that fails due to a lock conflict, wait for the g_lock record to change. Upon change, just try again. The old logic had to cope with pending records and an ugly hack into ctdb itself. As a bonus, we now get a really clean async g_lock_lock_send/recv that can asynchronously wait for a global lock. This would have been almost impossible to do without the dbwrap_record_watch infrastructure.
2012-04-19s3-passdb: Remove unused sampass->pass_must_change_timeAndrew Bartlett1-3/+0
There is no need to call pdb_set_pass_must_change_time() because nothing ever consults that value. It is always calculated from the domain policy. Also, this means we no longer store the value in LDAP. The value would only ever be set when migrating from tdbsam or smbpasswd, not on password changes, so would become incorrect over time. Andrew Bartlett
2012-04-18s3-build: move file_id.c into samba3-util and create a private headerAndrew Bartlett2-6/+1
2012-04-17s3:libsmb/ntlmssp: add ntlmssp_is_anonymous()Stefan Metzmacher1-0/+1
metze