summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-07-20Use ippGet/ippSet (accessors) for IPP API.Jiri Popelka2-176/+259
CUPS 1.6 makes various structures private and introduces these ippGet and ippSet functions for all of the fields in these structures. http://www.cups.org/str.php?L3928 We define our own accessors when CUPS < 1.6. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 20 22:35:55 CEST 2012 on sn-devel-104
2012-07-20Remove source3/lib/pidfile.cJeremy Allison4-101/+1
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 20 03:57:20 CEST 2012 on sn-devel-104
2012-07-19Move everything to use the common pidfile functions.Jeremy Allison8-13/+20
The extra code in source3/lib/pidfile.c is no longer needed.
2012-07-19Fix the configure build - add lib/util/pidfile.o into UTIL_OBJ.Jeremy Allison1-1/+1
2012-07-19Make the s3 pidfile use the common code inside lib/util/pidfile.cJeremy Allison5-141/+31
2012-07-19Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison10-19/+19
2012-07-19s3-param: Remove special case for lp_ctdbd_socket(), set CTDB_PATH as defaultAndrew Bartlett1-13/+5
This changes the default based on the #ifdef rather than an override on a parameter value of "" The less special override functions we have the easier it is to merge the loadparm tables. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 19 09:56:01 CEST 2012 on sn-devel-104
2012-07-19lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett3-25/+13
2012-07-19s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett6-40/+31
This allows this parameter, one of the few with differing declarations between the loadparm systems, to be brought into common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-19lib/param: bring lp_time_server() into commonAndrew Bartlett1-1/+0
2012-07-19s3-auth Use correct RID for domain guests primary groupAndrew Bartlett1-1/+1
This was incorrect in commit 9dd7e7fc2d6d1aa7f3c3b741ac134e087ce808fd as the RID was from the BUILTIN domain, but this creates a guest account token for the real domain. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 19 05:56:28 CEST 2012 on sn-devel-104
2012-07-19s3-rpc_server: Remove make_server_info_info3() call from ↵Andrew Bartlett1-52/+3
make_server_pipes_struct() This codepath would only be executed if we provided a partial session_info token across the named pipe forwarding code. The smbd file server always fills this in, and if the ntvfs file server ever wants to use an smbd hosted pipe, it can do the same. Calling create_local_token is always the wrong thing to do. Andrew Bartlett
2012-07-19selftest: Run unix.whomai against the machine acccount as wellAndrew Bartlett1-0/+2
This shows that the machine account got an extra SID in the token for domain users. Andrew Bartlett
2012-07-19Revert "s3:auth make sure the primary group sid is usable"Andrew Bartlett1-30/+13
This reverts commit 00089fd74af740f832573d904312854e494a869e. The issue with this patch, which I did sign off on, is that for the domain member case, we already know that the SID is reasonable and valid, and we indeed rely on that, because we keep it as an additonal group anyway. The primary group is not so special that we need to do extra validation. Calling this function may put a user into the domain 'domain users' group, even if they are not in that group to start with. Andrew Bartlett
2012-07-19s4-torture: Allow unix.whoami to test against a member serverAndrew Bartlett1-5/+7
This compares only the domain SIDs betwen the two servers, rather than the full token, as well known and other SIDs may be added locally in both cases. This also expands the test environments this is run against to verify this between our AD server and domain members. Andrew Bartlett
2012-07-19s3-aio: Panic if we try to close a fsp with outstanding aio requestsVolker Lendecke3-18/+15
The core smbd must have taken care of this. If we don't do this properly, we have a race of the close(2) against a pwrite(2). We might end up writing to the wrong file. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jul 19 03:40:17 CEST 2012 on sn-devel-104
2012-07-18s3-smb2: Postpone close_file until all aio is handledVolker Lendecke1-0/+52
Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-smb1: Postpone close_file until all aio is handledVolker Lendecke3-1/+95
Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add tevent_wait_send/recvVolker Lendecke4-0/+122
To me it seems that we might have this functionality already somewere... I just can't find it. Metze, do you have an idea? Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Slightly simplify reply_close()Volker Lendecke1-25/+13
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Compile with pthreadpool by defaultVolker Lendecke2-6/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18config: The AIO engine is indepent of HAVE_AIO nowVolker Lendecke3-30/+31
Compile the basic aio engine always, it works via libasys/pthreadpool_sync in a sync fashion even if no pthreads are around. Everything else (linux aio, posix aio, aio fork) is now compiled as modules based on specific system capabilities Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add aio_fsync to the aio_linux moduleVolker Lendecke1-0/+44
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add aio_fsync to the aio_fork moduleVolker Lendecke1-1/+112
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-aio-fork: make "read_cmd" an enumVolker Lendecke1-7/+35
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add aio_fsync to the aio_posix moduleVolker Lendecke1-0/+57
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-aio: Make the strict sync after write asyncVolker Lendecke1-18/+103
This restores cb405947caa9f4bdb962483860a9093a364ecbf2, which was lost during the refactoring of aio.c and vfs_aio_pthread.c. Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add a _nosync version of smb2_write_completeVolker Lendecke2-7/+25
This will be used in aio.c to avoid a second fsync after write Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-vfs: async fsyncVolker Lendecke6-0/+263
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Fix the buildVolker Lendecke1-0/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-libasys: Add asys_fsync() implementationVolker Lendecke1-0/+43
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Make us survive base-delaywrite with aio enabledVolker Lendecke1-0/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Move the aio_pthread read/write functionality to vfs_defaultVolker Lendecke5-231/+146
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-aio: Remove unused VFS functions and moreVolker Lendecke11-690/+0
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-vfs: Add pwrite_send/recv to vfs modulesVolker Lendecke2-0/+142
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-vfs: Add pread_send/recv to vfs modulesVolker Lendecke2-0/+145
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Convert aio_linux to pread/pwrite_send/recvVolker Lendecke1-543/+100
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Convert aio_fork to pread/pwrite_send/recvVolker Lendecke1-323/+174
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-aio_fork: Convert get_idle_child from NTSTATUS to errnoVolker Lendecke1-14/+17
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-aio_fork: Convert create_aio_child from NTSTATUS to errnoVolker Lendecke1-16/+20
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add vfs_aio_posixVolker Lendecke8-6/+264
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Make smbd/aio.c not depend on aio.h anymoreVolker Lendecke5-76/+31
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3:vfs_aio_pthread: Convert to libasysVolker Lendecke3-525/+124
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Remove the unused completion handling from aio.cVolker Lendecke3-344/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Properly handle shutdown with the _send/_recv based aioVolker Lendecke6-119/+107
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Use SMB_VFS_PWRITE_SEND in schedule_smb2_aio_writeVolker Lendecke1-5/+55
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Use SMB_VFS_PREAD_SEND in schedule_smb2_aio_readVolker Lendecke1-5/+61
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Use SMB_VFS_PWRITE_SEND in schedule_aio_write_and_XVolker Lendecke1-3/+113
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Use SMB_VFS_PREAD_SEND in schedule_aio_read_and_XVolker Lendecke1-3/+76
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-vfs: async preadVolker Lendecke4-0/+131
Signed-off-by: Jeremy Allison <jra@samba.org>