summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* winreg: fix winreg_EnumValue callers.Günther Deschner2009-01-161-1/+1
| | | | Guenther
* s3-util: for convenience, provide format comments in tdb_unpack().Günther Deschner2009-01-161-7/+7
| | | | Guenther
* s3-eventlog: remove whitespace.Günther Deschner2009-01-161-45/+45
| | | | Guenther
* s3-eventlog: some minor code cleanup in eventlog server.Günther Deschner2009-01-161-23/+10
| | | | Guenther
* s3: make better use of ccache by not including version.h in every C-file.Michael Adam2009-01-1518-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael
* Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails.Jeremy Allison2009-01-151-4/+5
| | | | Jeremy.
* Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison2009-01-147-57/+45
| | | | | the connections list and authentication structures to worry about. Jeremy
* Fix build of netapi.Jeremy Allison2009-01-141-1/+2
| | | | Jeremy.
* Remove another global from clidfs that is only used in client.c.Jeremy Allison2009-01-143-18/+29
| | | | Jeremy.
* Fix bug #6035 - Possible race between fcntl F_SETLKW and alarm delivery.Jeremy Allison2009-01-141-1/+1
| | | | Jeremy.
* Fix bug in get_dc_name_via_netlogon(), null pointer refrence.Bo Yang2009-01-141-1/+1
|
* Clean up comments a little.Jeremy Allison2009-01-141-11/+13
| | | | Jeremy.
* Don't send message to any other child in child process.Bo Yang2009-01-141-0/+30
| | | | Signed-off-by: Bo Yang <boyang@novell.com>
* Make rpc_read look like a real read callVolker Lendecke2009-01-141-18/+11
| | | | It doesn't really need to know about prs_structs
* Make rpc_read() match the control flow normally used in SambaVolker Lendecke2009-01-141-12/+19
| | | | Replace do { .. } while () with a while () { .. }
* Simplify rpc_read a bitVolker Lendecke2009-01-141-16/+11
| | | | | | rpc_read always reads the whole bytes it was asked to read. So it is not really necessary for it to update the current_pdu_offset, for clarity this can better be done in the caller.
* Remove an unnecessary size checkVolker Lendecke2009-01-141-10/+4
| | | | rpc_read is only ever called with at most fraglen-RPC_HEADER_SIZE length
* Check the fragment size the server has sent usVolker Lendecke2009-01-141-0/+10
|
* Slightly simplify rpc_read: It should not do the resizeVolker Lendecke2009-01-141-18/+34
|
* Always read with offset 0 from a named pipeVolker Lendecke2009-01-141-6/+5
|
* s3-eventlog: fix ps struct removal leftover.Günther Deschner2009-01-141-1/+0
| | | | Guenther
* s3-rpcclient: always parse the full eventlog entry.Günther Deschner2009-01-141-3/+3
| | | | Guenther
* s3-eventlog: use main talloc context in eventlog read call.Günther Deschner2009-01-141-3/+2
| | | | Guenther
* From boyang - ensure we never "return" from a forked child, always _exit().Jeremy Allison2009-01-132-5/+5
| | | | Jeremy.
* Only call sendfile_short_read() if we need it.Jeremy Allison2009-01-131-2/+6
| | | | Jeremy.
* Fix bug noticed by Volker - if sendfile returns zero thenJeremy Allison2009-01-132-6/+78
| | | | | we might have to handle a short send by filling with zeros. Jeremy.
* Fix bug #6019 File corruption in Clustered SMB/NFS environment managed via CTDBJeremy Allison2009-01-132-4/+4
| | | | Jeremy.
* Covert several persistant tdb files to use state_path() instead of lock_path()Steven Danneman2009-01-123-3/+3
|
* Audit usage of get_dyn_STATEDIR() and replace with state_path()Steven Danneman2009-01-121-2/+2
| | | | | The state directory is now run-time configurable through loadparm, so all references to it should be done through state_path() or lp_statedir().
* Deprecate the "share modes" parameter to address bug #6024, swat disagrees ↵Jeremy Allison2009-01-121-1/+1
| | | | | | with smbstatus as to share mode with share modes = No set in samba. Jeremy.
* s3-rpcclient: some cleanup for eventlog client.Günther Deschner2009-01-121-9/+26
| | | | Guenther
* s3:libsmb: handle the smb signing states the same in the krb5 and ntlmssp casesStefan Metzmacher2009-01-121-16/+35
| | | | | | | | | | | | | | | | | | | | | | | SMB signing works the same regardless of the used auth mech. We need to start with the temp signing ("BSRSPYL ") and the session setup response with NT_STATUS_OK is the first signed packet. Now we set the krb5 session key if we got the NT_STATUS_OK from the server and then recheck the packet. All this is needed to make the fallback from krb5 to ntlmssp possible. This commit also resets the cli->vuid value to 0, if the krb5 auth didn't succeed. Otherwise the server handles NTLMSSP packets as krb5 packets. The restructuring of the SMB signing code is needed to make sure the krb5 code only starts the signing engine on success. Otherwise the NTLMSSP fallback could not initialize the signing engine (again). metze
* Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman2009-01-1211-51/+188
| | | | | | If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
* Even for srclen == 0 we have to return somethingVolker Lendecke2009-01-121-0/+6
| | | | | | | | This fixes a regression reported by Corinna Vinschen <corinna@vinschen.de> Thanks, Volker
* s3: Fix uninitialized variable in OneFS streamsTim Prouty2009-01-111-2/+5
|
* s3: Differentiate between posix files with colons and actual streamsTim Prouty2009-01-111-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible for a posix file created locally or over nfs to have a ":" in the name. Since ":" is a reserved character in windows, filenames containing a colon must be mangled in a directory listing. Right now files containing colons will not even be displayed in directory listings if streams modules are in use. During the directory listing the file will be detected as a stream because of the colon, but the streams module will fail to find the stream since it doesn't exist. This fix adds a step to is_ntfs_stream_name that stats the filename to differentiate between actual streams and files containing colons. While this is an improvement, it isn't perfect. Consider the case where there is a file on disk called "a.txt:s1" and also a file called "a.txt" that has a stream called "s1". This patch will always preference "a.txt:s1" over a.txt's s1 stream. The real issue is that at the vfs level, the vfs modules have no way to tell between a demangled name with a colon and an actual stream. A more invasive, but better, long-term fix would be to add all paths that come over the wire into a struct containing metadata about the path. This metadata could include a flag to indicate whether the path came over the wire with a colon ":" (guaranteeing that the client is requesting a stream). Passing this struct down to the lower levels, including all path-based vfs calls, would allow the above case to be handled correctly in all cases.
* s3: Add OneFS alternate data streams implementationTim Prouty2009-01-115-15/+674
|
* s3: General cleanup of the open path in the OneFS vfs moduleTim Prouty2009-01-115-27/+17
|
* Move cli_api_pipe() to its only user cli_pipe.cVolker Lendecke2009-01-113-29/+26
|
* Don't set child->requests to NULL in parent after forkBo Yang2009-01-101-1/+0
|
* Fix a type-punned errorVolker Lendecke2009-01-101-1/+1
|
* Fix a C++ warningVolker Lendecke2009-01-101-2/+2
|
* Minor tidyup of unix account missing code.Jeremy Allison2009-01-091-5/+5
| | | | Jeremy.
* Remove the rpc_srv_register wrapper around rpc_pipe_register_commandsVolker Lendecke2009-01-091-15/+4
|
* Call rpc_srv_register instead of rpc_pipe_register_commands in eventlog and ↵Volker Lendecke2009-01-091-2/+2
| | | | svcctl
* Fake up ndr_table_spoolssVolker Lendecke2009-01-091-4/+27
|
* Pass the full ndr_interface_table into the s3 rpcserver when registeringVolker Lendecke2009-01-092-0/+14
|
* Add derpc_transport_string_by_transport(), apply some constVolker Lendecke2009-01-091-1/+2
|
* start rpcclient epmapperVolker Lendecke2009-01-093-1/+136
|
* Simplify find_pipe_fns_by_context slightlyVolker Lendecke2009-01-091-8/+4
|