summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2009-06-17s3: Change SMB_VFS_OPEN to take an smb_filename structTim Prouty2-2/+6
This was a little messy because of all of the vfs modules I had to touch. Most of them were pretty straight forward, but the streams modules required a little attention to handle smb_filename. Since the use of smb_filename enables the vfs modules to access the raw, over-the-wire stream, a little bit of the handling that was being done by split_ntfs_stream_name has now been shifted into the individual stream modules. It may be a little more code, but overall it gives more flexibility to the streams modules, while also allowing correct stream handling.
2009-06-17s3: Plumb smb_filename from create_file all of the way down to fd_openTim Prouty1-3/+4
I used the smb_filename struct everywhere that was feasible for the first pass. There are still some places in this path that need to be changed to use smb_filename, but this is a good start. I also: - Removed fname/path arguments from a few functions that weren't really using them. - Added a utility function for detecting whether an smb_filename is a stream.
2009-06-12s3: Plumb smb_filename through SMB_VFS_CREATE_FILETim Prouty3-13/+11
2009-06-12s3: Add smb_filename utility functions and fix a bug in copy_smb_filenameTim Prouty1-0/+9
2009-06-12Add debugging facility to tldap, analogous to teventVolker Lendecke1-0/+15
2009-06-10s3: Prepare the first set of SMB_VFS_CREATE_FILE callers to take an ↵Tim Prouty1-4/+5
smb_filename struct Some of the callers required minimal changes, while others (copy_internals) required significant changes. The task is simplified a little bit because we are able to do operations and checks on the base_name when a stream isn't used. This patch should cause no functional changes. Volker, Jeremy: Please check
2009-06-10s3: Add utility function for copying an smb_filename structTim Prouty1-0/+3
2009-06-10s3: Remove the now unused CFF_DOS_PATH flagTim Prouty1-5/+0
All paths are now unix paths, making this flag useless. This flags argument is now unused and can be safely removed.
2009-06-10Make ctemp async. Fix the test to pass against W2K3.Jeremy Allison1-1/+13
Jeremy.
2009-06-08Add tlda_add_mod_strVolker Lendecke1-0/+2
2009-06-08Pass a talloc_ctx to pdb_enum_aliasmemVolker Lendecke2-4/+5
2009-06-08Set SIGRTMIN to NSIGTimur I. Bakeyev1-1/+1
In the includes we define SIGRTMIN to 32 if it's not defined already. This value could be fairly low and it's better to use NSIG(number of defined signals) as the lower mark for the available signals. We have similar defenition in the source3/smbd/aio.c, which can be safely removed, as it comes from includes.h then. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-07Add tldap_pull_uint32Volker Lendecke1-0/+2
2009-06-07req_del and req_abandon are ASN1_APPLICATION_SIMPLEVolker Lendecke1-2/+4
Ok, ASN1_APPLICATION everywhere was too easy :-)
2009-06-07Fix after making tldap independent of ldap.hVolker Lendecke1-21/+24
2009-06-06Attempt to fix the build without system-ldap.Volker Lendecke1-1/+1
I really tried, but I knew I would miss something... :-)
2009-06-06Add some samba-style tldap utility functionsVolker Lendecke2-0/+54
2009-06-06Add the early start of an async ldap libraryVolker Lendecke2-0/+238
There's a lot of things this does not do yet: For example it does not parse the reply blob in the sasl bind, it does not do anything with controls yet, a lot of the ldap requests are not covered yet. But it provides a basis for me to play with a pdb_ads passdb module.
2009-06-05Make cli_ftruncate async. Also add a simple test.Jeremy Allison1-1/+7
Jeremy.
2009-06-05s3:smbd: implement smbd_smb2_request_error/done() as macros on top of the ↵Stefan Metzmacher1-3/+0
_ex() function metze
2009-06-04Change smbd_smb2_request_error() to add a __location__.Jeremy Allison1-0/+3
This allows quick identification of smb2 parsing errors. Jeremy.
2009-06-03s3:smbd: make make_connection_snum() non staticStefan Metzmacher1-0/+5
metze
2009-06-03s3:smbd: move tcon specific globals to struct smbd_server_connectionStefan Metzmacher1-9/+12
metze
2009-06-03s3:smbd: move more session specific globals to struct smbd_server_connectionStefan Metzmacher1-15/+24
metze
2009-06-03s3:smbd: move negprot related globals to struct smbd_server_connectionStefan Metzmacher1-1/+2
metze
2009-06-03s3:smbd: move pending_auth_data list to struct smbd_server_connectionStefan Metzmacher1-9/+0
metze
2009-06-02Add SMB_VFS_CONNECTPATH operationVolker Lendecke2-0/+8
This is required for the shadow_copy2 module and "wide links = no". The file system snapshots by nature are typically outside of share directory. So the REALPATH result fails the wide links = no test.
2009-05-31Fix some nonempty blank linesVolker Lendecke1-4/+4
2009-05-30libwbclient: Add async call framework.Kai Blin1-75/+0
2009-05-29Make cli_nt_delete_on_close() async.Jeremy Allison1-1/+7
Jeremy.
2009-05-29s3:add prototype of map_nt_error_from_wbcErr() to proto.hMichael Adam1-0/+1
Michael
2009-05-29Add smbldap_talloc_single_blob()Volker Lendecke1-0/+3
2009-05-29s3 async wbclient: Change license to LGPLv3+Volker Lendecke1-8/+12
2009-05-29s3 wbc_async: Fix copyright notice cut&paste error.Kai Blin1-1/+1
Volker created all these prototypes, I just created the file and moved them over. Signed-off-by: Kai Blin <kai@samba.org>
2009-05-29Consolidate create/delete account paths in pdbeditSimo Sorce1-1/+1
Use common paths like for smbpasswd, so that all utilities behave the same way. As for smbpasswd this changes the behavior of pdbedit to create/delete unix users is the add/delete user scripts are provided, or ldapsam:editposix is configured. Signed-off-by: Günther Deschner <gd@samba.org>
2009-05-29util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.Günther Deschner1-2/+0
Guenther
2009-05-28Make cli_posix_chown()/cli_posix_chmod() async.Jeremy Allison1-2/+18
Jeremy.
2009-05-28Make cli_posix_stat() async.Jeremy Allison1-1/+9
Jeremy.
2009-05-28Make getfacl async.Jeremy Allison1-1/+13
Jeremy.
2009-05-28Fix some nonempty blank linesVolker Lendecke1-17/+17
2009-05-28Make sid_binstring & friends take a talloc contextVolker Lendecke1-3/+3
2009-05-28Add smbldap_pull_sidVolker Lendecke1-0/+2
2009-05-27Add cli_posix_readlink() and a torture test for it.Jeremy Allison1-0/+9
Jeremy.
2009-05-27Add aync POSIX hardlink and symlink and torture test for them.Jeremy Allison1-2/+18
Missing call cli_readlink() is next. Jeremy.
2009-05-27s3: Allow child processes to exit gracefully if we are out of fdsMarc VanHeyningen1-1/+1
When we run out of file descriptors for some reason, every new connection forks a child that immediately panics causing smbd to coredump. This seems unnecessarily harsh; with this code change we now catch that error and merely log a message about it and exit without the core dump. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-05-27Gna, how long do I program in C now??? :-)Volker Lendecke1-2/+2
2009-05-26Attempt to fix the build on HP/UXVolker Lendecke1-0/+10
2009-05-26Attempt to fix the build on NetBSDVolker Lendecke1-0/+3
2009-05-26Revert "s3: fix build on systems with struct stat member st_flags"Björn Jacke1-3/+0
for a cleaner and more complete patch that Volker has in the queue :-)
2009-05-26s3: fix build on systems with struct stat member st_flagsBjörn Jacke1-0/+3