summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug #8144 - touch /mnt/newfile fails to set timestamp with CIFS client.Jeremy Allison2011-05-181-10/+15
| | | | | | | | | | | | | | The extra checks added for Windows correctness in our metadata changing paths to ensure the file handle has been opened with the correct access mask to allow FILE_WRITE_ATTRIBUTES etc. caused problems with the POSIX open code. The old POSIX open code maped O_RDONLY into FILE_READ, O_WRONLY into FILE_WRITE, and O_RDWR into FILE_READ|FILE_WRITE. This patch extends the mapping to add FILE_WRITE_ATTRIBUTES, FILE_READ_ATTRIBUTES and FILE_WRITE_EA, FILE_READ_EA to allow POSIX opens to set these values. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 18 02:22:32 CEST 2011 on sn-devel-104
* is_my_ipaddr() should recognise loopback addresses as ours.Jeremy Allison2011-05-171-5/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 17 20:05:42 CEST 2011 on sn-devel-104
* Remove duplicate definition of SMB_VFS_NEXT_STRICT_UNLOCK. Found by ↵Jeremy Allison2011-05-171-3/+0
| | | | herb@samba.org
* s3: conn->sconn in smbd_server_connection_read/write_handlerVolker Lendecke2011-05-171-9/+10
| | | | | | | "struct smbd_server_connection" is called sconn elsewhere, avoid confusion Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 17 19:00:20 CEST 2011 on sn-devel-104
* s3:rpc_server: create lp_ncalrpc_dir() with 0755 before lp_ncalrpc_dir()/np ↵Stefan Metzmacher2011-05-171-0/+11
| | | | | | | | | with 0700 metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 13:01:14 CEST 2011 on sn-devel-104
* Revert "s3-rpc_server: Force ncalrpc dir to be mode 755."Stefan Metzmacher2011-05-171-1/+13
| | | | This reverts commit a032c9c8fe8aff455407485169b9445860f89606.
* Fix the SMB2 showstopper, found by an extended torture test from Volker.Jeremy Allison2011-05-161-3/+25
| | | | | | | | | | | | | | | | | In the oplock refactoring, the algorithm underwent an unnoticed change. In 3.5.x stat_opens were silently (i.e. no explicit code had comments explaining this) ignored when looking for oplock breaks and share mode violations. After the refactoring, the function find_oplock_types() no longer ignored stat_open entries in the share mode table when looking for batch and exclusive oplocks. This patch adds two changes to find_oplock_types() to ignore the case where the incoming open request is a stat open being tested against existing opens, and also when the incoming open request is a non-stat open being tested against existing stat opens. Neither of these cause an oplock break or share mode violation. Thanks a *lot* to Volker, who persevered in reproducing this problem. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon May 16 22:38:20 CEST 2011 on sn-devel-104
* Ensure we always write the correct incoming mid into the share modeJeremy Allison2011-05-162-4/+8
| | | | table entries.
* s3-rpc_server: Force ncalrpc dir to be mode 755.Andreas Schneider2011-05-161-13/+1
| | | | | | | | | | | | This completes aae9353ecf56323b63da66aa84d8a0a4f219d94d. directory_create_or_exist() is not needed cause create_pipe_sock() takes care of setting up the directory correctly. Andrew please check! Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon May 16 17:54:20 CEST 2011 on sn-devel-104
* s3-printing: remove cups_pull_comment_location from header fileDavid Disseldorp2011-05-161-4/+0
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 16:03:57 CEST 2011 on sn-devel-104
* gpfs.so: Add gpfs:syncio optionGregor Beck2011-05-161-0/+13
| | | | This enables optimizations for shared file access on gpfs
* s3-selftest: no point in running base.chkpath and base.delaywrite twice.Günther Deschner2011-05-161-3/+3
| | | | | | | | Thanks to Bjoern Baumbach for pointing this out! Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3-printing: Remove obsolete and unused cups_pull_comment_location().Andreas Schneider2011-05-161-157/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Get the printer location from cups.Andreas Schneider2011-05-161-2/+33
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-printing: Get the location info from cups.Günther Deschner2011-05-1611-32/+84
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Added waf build header locations for clang complete.Andreas Schneider2011-05-161-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3:libsmb convert user-specified domain to uppercaseChristian Ambach2011-05-161-0/+1
| | | | | | | | | | | | | | | | with client ntlmv2 auth = yes, there is a small difference between using smbclient -U user\domain and smbclient -U user -W domain if domain is provided in lowercase using -W will uppercase the given parameter, while picking the domain name from -U will not convert it to uppercase and this leads to failing NTLMv2 authentication with this patch, there is no difference between smbclient -U domain\user and smbclient -U user -W domain any more Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon May 16 11:42:55 CEST 2011 on sn-devel-104
* s3: Make&use set_socket_addr_v4Volker Lendecke2011-05-141-12/+14
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 18:57:57 CEST 2011 on sn-devel-104
* s3: Paranoia in smbsock_connect_state_destructorVolker Lendecke2011-05-141-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104
* s3-param Deprecate a number of security parameters for 3.6Andrew Bartlett2011-05-131-5/+11
| | | | | | | | | | | This follows up on the agreement on the samba-technical list in Jan 2011 to deprecate these options, and to possibly remove these in the 4.0 release after user feedback. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 13 19:51:41 CEST 2011 on sn-devel-104
* s3-build: use ndr-standard in msrpc3Andrew Bartlett2011-05-131-3/+4
| | | | | | This avoids pulling in the symbols from the NDR_ subsystems directly. Andrew Bartlett
* lib/util/charset Move built-in charset modules to the top levelAndrew Bartlett2011-05-137-1038/+5
| | | | | | | This removes the 'charset' subsystem and allows these modules to be used across the whole of Samba. Andrew Bartlett
* s3-netapi Initialise global variables in libnetapiAndrew Bartlett2011-05-131-1/+1
| | | | | | | It is important to initalise the global variables when loading this configuration for the potentially first time. Andrew Bartlett
* s3-libnetapi Don't create a talloc_stackframe() in a global variableAndrew Bartlett2011-05-132-16/+37
| | | | | | | | | | This also ensures that libnetapi_free() invalidates the global stat_ctx variable, and changes the API so that the behaviour of the error string routines is to consistently return a allocated string. Pair-Programmed-With: Günther Deschner <gd@samba.org> Andrew Bartlett
* s3-net: fix potential crash bug in display_print_driver3().Günther Deschner2011-05-131-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104
* s3:build: install libtdb with full version number instead of only SO versionMichael Adam2011-05-131-1/+6
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri May 13 17:45:01 CEST 2011 on sn-devel-104
* s3:build: install libtalloc with full version number instead of only SO versionMichael Adam2011-05-131-1/+6
|
* s3:build: build libtalloc.so.$VERSION with full version number instead only ↵Michael Adam2011-05-131-10/+17
| | | | SO version
* s3:build: build libtdb.so.$VERSION with full version number instead only SO ↵Michael Adam2011-05-131-10/+18
| | | | version
* s3:build: link libtdb as shared lib if using shared libs at allMichael Adam2011-05-131-1/+3
|
* s3:build: determine full version of libtdb for the samba buildMichael Adam2011-05-131-1/+2
|
* s3:build: link libtalloc as shared lib if using shared libs at allMichael Adam2011-05-131-1/+3
|
* s3:build: determine full version of libtalloc for the samba buildMichael Adam2011-05-131-1/+2
|
* s3:build: fix typo in definition of --enable-external-libtdbMichael Adam2011-05-131-2/+2
|
* s3:build: reformat AC_ARG_ENABLE(external_libtalloc...)Michael Adam2011-05-131-2/+5
|
* s3:build: print the full version number in the showlibs targetsMichael Adam2011-05-131-0/+14
|
* s3:build: add LIBWBCLIENT_FULLVER for consistency with SMB_LIBRARY()Michael Adam2011-05-131-0/+2
|
* s3:build: add an optional full version argument to the SMB_LIBRARY() macro.Michael Adam2011-05-132-5/+7
|
* s3:configure: add --enable-smbtorture4 switchMichael Adam2011-05-131-1/+8
|
* rpc_server: Always use rpc_pipe_open_interface()Simo Sorce2011-05-134-37/+40
| | | | | | | | | | This way we can configure which rpc service we actually want to connect to. By default it uses an "embedded" interface and calls rpc_pipe_open_internal() Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 14:40:26 CEST 2011 on sn-devel-104
* s3-libnetjoin: fix uninitialized variable.Günther Deschner2011-05-131-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 01:22:18 CEST 2011 on sn-devel-104
* s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf ↵Günther Deschner2011-05-132-2/+2
| | | | | | changes. Guenther
* s3-lib/smbconf: fix uninitialized error code in smbconf_reg_init().Günther Deschner2011-05-121-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 18:09:16 CEST 2011 on sn-devel-104
* s3-waf: stop building smbtortre4.Günther Deschner2011-05-121-7/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 15:35:02 CEST 2011 on sn-devel-104
* s3:registry: add a warning debug message when the sorted subkeys is created ↵Michael Adam2011-05-121-0/+5
| | | | from key_exists()
* s3:registry: recreate the sorted subkeys cache when storing keysMichael Adam2011-05-121-15/+2
| | | | This is to avoid turning the next read operation into a write op.
* s3:registry: add create_sorted_subkeys() to delete and recreate the sorted ↵Michael Adam2011-05-121-0/+21
| | | | | | subkeys key This is to be used from other places than the key_exists() code path.
* s3:registry: turn create_sorted_subkeys_internal to NTSTATUS return typeMichael Adam2011-05-121-4/+7
| | | | (from bool)
* s3:registry: rename create_sorted_subkeys() to create_sorted_subkeys_internal()Michael Adam2011-05-121-2/+3
|
* s3:registry: fix a typo in a debug messageMichael Adam2011-05-121-1/+1
|