Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-04 | s3-printing: follow force user/group for driver IO | David Disseldorp | 3 | -57/+118 | |
Configuring force user/group settings for the print$ share currently has unexpected results, this is explained by how the driver upload/add process takes place. Consider the following example: [print$] path = /print-drv write list = $DRIVER_UPLOAD_USER force group = ntadmin - the client connects to the [print$] share and uploads all driver files to the /print-drv/W32X86 directory. - This is permitted, as /print-drv/W32X86 is owned by group ntadmin, and the "force group = ntadmin" takes effect for the [print$] session. - Once all files are uploaded, the client connects to the [ipc$] share and issues an AddPrinterDriverEx spoolss request. - In handling this request move_driver_to_download_area() is called, which attempts to create the directory /print-drv/W32X86/3 - The create directory fails, as it is done as the user connected to the [ipc$] share which does not have permission to write to the driver directory. The [print$] "force group = ntadmin" has no effect. This is a regression from previous behaviour prior to the commit: 783ab04 Convert move_driver_to_download_area to use create_conn_struct. https://bugzilla.samba.org/show_bug.cgi?id=7921 Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-03-04 | ldb:ldb tools - remove a superflous "return" (usage internally calls "exit") | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Reviewed by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 09:39:22 CET 2011 on sn-devel-104 | |||||
2011-03-04 | ldb:ldb tools - return LDB_ERR_INVALID_DN_SYNTAX on wrong DN parameters | Matthias Dieter Wallnöfer | 5 | -5/+9 | |
Not all LDB databases have further DN checks. Reviewed by: Tridge | |||||
2011-03-04 | ldb:ldb tools - ldbtest - convert other result values to LDB codes as well | Matthias Dieter Wallnöfer | 1 | -15/+15 | |
I've forgotten this in my first patchset. Reviewed by: Tridge | |||||
2011-03-04 | s4:LDAP server - remove validation checks of input DNs | Matthias Dieter Wallnöfer | 1 | -23/+8 | |
We should rather try to let the LDB modules perform these checks otherwise different backends behaviour differently. Reviewed by: Tridge | |||||
2011-03-04 | s4:objectclass LDB module - if we cannot find DN's parent then the DN itself ↵ | Matthias Dieter Wallnöfer | 1 | -1/+3 | |
is invalid ERR_INVALID_DN_SYNTAX fits better than ERR_OPERATION_ERROR in this case. This one gets triggered if we perform "add" requests without the LDAP server. Reviewed by: Tridge | |||||
2011-03-04 | debug: fixed a valgrind error | Andrew Tridgell | 1 | -1/+4 | |
Thanks to Volker for spotting this one! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Mar 4 03:09:52 CET 2011 on sn-devel-104 | |||||
2011-03-04 | s3-waf: add wildcard commands from main wscript. | Günther Deschner | 1 | -1/+11 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 4 02:11:11 CET 2011 on sn-devel-104 | |||||
2011-03-04 | s3-nterr: use strcasecmp in nt_status_string_to_code(). | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2011-03-04 | s4-nterr: move auth_nt_status_squash to nt_status_squash and move to nterr.c | Günther Deschner | 8 | -36/+38 | |
Guenther | |||||
2011-03-04 | s4-nterr: some minor cosmetic edits to further match s3 nterr. | Günther Deschner | 1 | -3/+10 | |
Guenther | |||||
2011-03-04 | s3-nterr: within nt_errstr() compare codes using NT_STATUS_V(). | Günther Deschner | 1 | -1/+2 | |
This is to avoid future very special NT_STATUS_EQUAL semantics within s4. Guenther | |||||
2011-03-04 | nterr: make sure both nt_err_desc structs are the same. | Günther Deschner | 2 | -0/+6 | |
Guenther | |||||
2011-03-04 | nterr: make sure both nt_errs structs are the same. | Günther Deschner | 2 | -4/+17 | |
Guenther | |||||
2011-03-04 | s4-nterr: add _N macro handling as in s3-nterr. | Günther Deschner | 1 | -91/+95 | |
Guenther | |||||
2011-03-04 | s3-nterr: make nt_err_desc static const. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-03-04 | nterr: remove space indents (use tabs instead), following coding standards. | Günther Deschner | 2 | -27/+27 | |
Guenther | |||||
2011-03-04 | nterr: remove trailing whitespace. | Günther Deschner | 2 | -24/+24 | |
Guenther | |||||
2011-03-04 | s3-waf: add check for SEEKDIR_RETURNS_VOID. | Günther Deschner | 1 | -0/+5 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 4 01:13:54 CET 2011 on sn-devel-104 | |||||
2011-03-04 | s3-waf: add check for HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR. | Günther Deschner | 1 | -0/+6 | |
Guenther | |||||
2011-03-04 | libreplace: move "struct timespec" checks into libreplace (where timespec is ↵ | Günther Deschner | 6 | -33/+31 | |
already used). Bjoern, Metze, please check. Guenther | |||||
2011-03-03 | socket_wrapper: use swrap_sendmsg_before()/after() in swrap_writev() | Stefan Metzmacher | 1 | -49/+17 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 3 23:43:39 CET 2011 on sn-devel-104 | |||||
2011-03-03 | socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendmsg() | Stefan Metzmacher | 1 | -47/+66 | |
This also adds the same logic for broadcast as in swrap_sendto() for SOCK_DGRAM. metze | |||||
2011-03-03 | socket_wrapper: use swrap_sendmsg_before()/after() in swrap_send() | Stefan Metzmacher | 1 | -37/+18 | |
metze | |||||
2011-03-03 | socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendto() | Stefan Metzmacher | 1 | -86/+35 | |
metze | |||||
2011-03-03 | socket_wrapper: add swrap_sendmsg_before/after helper functions | Stefan Metzmacher | 1 | -0/+191 | |
Currently have almost the same logic in swrap_send(), swrap_sendto(), swrap_writev() and swrap_sendmsg(), this helper functions let combine all the logic in 2 places. metze | |||||
2011-03-03 | socket_wrapper: replace recvmsg() correctly | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2011-03-03 | socket_wrapper: readv() should only work on connected sockets | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2011-03-03 | socket_wrapper: move swrap_ioctl() above the send*/recv* functions | Stefan Metzmacher | 1 | -26/+26 | |
metze | |||||
2011-03-03 | socket_wrapper: fix compiler warnings | Stefan Metzmacher | 1 | -28/+37 | |
metze | |||||
2011-03-03 | socket_wrapper: don't allow connect() to the broadcast address | Stefan Metzmacher | 1 | -1/+8 | |
This will simplify other code later. metze | |||||
2011-03-03 | s3: Use dom_sid_string_buf in sid_to_fstring | Volker Lendecke | 1 | -3/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 3 22:56:57 CET 2011 on sn-devel-104 | |||||
2011-03-03 | Add dom_sid_string_buf | Volker Lendecke | 2 | -12/+40 | |
This prints into a fixed buffer with the same overflow semantics as snprintf has: Return required string length, regardless of whether it fit or not. | |||||
2011-03-03 | s3: Use dom_sid_string in _lsa_lookup_sids_internal | Volker Lendecke | 1 | -4/+1 | |
2011-03-03 | s3: Remove an obsolete comment | Volker Lendecke | 1 | -3/+1 | |
2011-03-03 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -3/+3 | |
2011-03-03 | lib/util: LIBCRYPTO is in common already, so add it to samba-util-common. | Günther Deschner | 2 | -3/+3 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 3 18:08:30 CET 2011 on sn-devel-104 | |||||
2011-03-02 | s3-includes: remove global include of system/readline.h. | Günther Deschner | 1 | -1/+0 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 2 23:06:17 CET 2011 on sn-devel-104 | |||||
2011-03-02 | s3-proto: fix some inline comments. | Günther Deschner | 1 | -3/+12 | |
Guenther | |||||
2011-03-02 | s3-libds: use already existing ../libds/common/flag_mapping.h header. | Günther Deschner | 5 | -9/+4 | |
Guenther | |||||
2011-03-02 | s3: Pass the aio_force operation through vfs_gpfs | Volker Lendecke | 1 | -0/+7 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 2 19:24:27 CET 2011 on sn-devel-104 | |||||
2011-03-02 | s3: Ask GPFS for the IS_OFFLINE operation | Volker Lendecke | 1 | -0/+31 | |
2011-03-02 | s3: Announce HSM in the gpfs module | Volker Lendecke | 2 | -0/+44 | |
2011-03-02 | s3: Pass smb_filename through the set_offline vfs op | Volker Lendecke | 8 | -12/+36 | |
2011-03-02 | s3: Pass smb_filename through the is_offline vfs op | Volker Lendecke | 8 | -14/+53 | |
2011-03-02 | s3: Fix operation names in vfs_full_audit.c | Volker Lendecke | 1 | -2/+2 | |
2011-03-02 | s3: Print all flags in "smbclient allinfo" | Volker Lendecke | 1 | -1/+25 | |
2011-03-02 | s4:torture/rap/rap.c - remove unused variable "i" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 2 18:38:58 CET 2011 on sn-devel-104 | |||||
2011-03-02 | s3:idmap_cache: remove an leftover wip comment | Michael Adam | 1 | -1/+1 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 2 14:55:20 CET 2011 on sn-devel-104 | |||||
2011-03-02 | s3: adjust loglevel for idmap_cache | Gregor Beck | 1 | -10/+10 | |
Signed-off-by: Michael Adam <obnox@samba.org> |