summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-01-16Correctly calculate the offset for read&xVolker Lendecke4-8/+37
2009-01-16Add a new implementation of chain_replyVolker Lendecke3-6/+226
This the global variable "orig_inbuf" in the old chain_reply code. This global variable was one of the reasons why we had the silly restriction to not allow async requests within a request chain.
2009-01-16s3-eventlog: fix _eventlog_CloseEventLog.Günther Deschner1-1/+10
Guenther
2009-01-15s3: Remove an incorrect constTim Prouty1-1/+1
2009-01-16s3: put the gpo cache dir under cache_dir instead of lock_dirMichael Adam1-2/+2
Michael
2009-01-16s3: put printing/ under cache_dir, not lock_dirMichael Adam3-4/+4
Michael
2009-01-16s3: put netsamlogon_cache.tdb into cache_dir instead of lock_dirMichael Adam1-1/+1
Michael
2009-01-16s3:put the browse list into cache_dir, not lock_dir.Michael Adam2-10/+3
Michael
2009-01-16s3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir.Michael Adam2-10/+10
Michael
2009-01-16s3:passdb: put login_cache.tdb into cache_dir, not lock_dir.Michael Adam1-2/+3
Michael
2009-01-16s3:libads: use lock_path for creating paths to local krb5.conf filesMichael Adam1-2/+3
instead of manually doing an asprintf with lp_lockdir() Michael squash
2009-01-16s3:libads: give create_local_private_krb5_conf_for_domain() a common exit pointMichael Adam1-30/+20
Michael
2009-01-16s3:vfs_xattr_tdb: don't leak state_path() to talloc_tos in xattr_tdb_init().Michael Adam1-4/+9
Michael
2009-01-16s3:nmbd: don't leak state_path() to talloc_tos() in wins_write_database()Michael Adam1-1/+1
Michael
2009-01-16s3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init()Michael Adam1-0/+2
Michael
2009-01-15Fix bug #6040 - Missing <th> header in Status page.Jeremy Allison1-1/+2
Based on a patch from pkg-samba-maint@lists.alioth.debian.org. Jeremy.
2009-01-15Allow reinit_after_fork to be called safely from within swat and other ↵Jeremy Allison1-10/+14
binaries that don't have an event context or a msg context. Fixes crash bug in swat. Jeremy.
2009-01-16winreg: fix winreg_EnumValue callers.Günther Deschner1-1/+1
Guenther
2009-01-16s3-util: for convenience, provide format comments in tdb_unpack().Günther Deschner1-7/+7
Guenther
2009-01-16s3-eventlog: remove whitespace.Günther Deschner1-45/+45
Guenther
2009-01-16s3-eventlog: some minor code cleanup in eventlog server.Günther Deschner1-23/+10
Guenther
2009-01-15s3: make better use of ccache by not including version.h in every C-file.Michael Adam18-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
2009-01-15Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails.Jeremy Allison1-4/+5
Jeremy.
2009-01-14Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison7-57/+45
the connections list and authentication structures to worry about. Jeremy
2009-01-14Fix build of netapi.Jeremy Allison1-1/+2
Jeremy.
2009-01-14Remove another global from clidfs that is only used in client.c.Jeremy Allison3-18/+29
Jeremy.
2009-01-14Fix bug #6035 - Possible race between fcntl F_SETLKW and alarm delivery.Jeremy Allison1-1/+1
Jeremy.
2009-01-14Fix bug in get_dc_name_via_netlogon(), null pointer refrence.Bo Yang1-1/+1
2009-01-14Clean up comments a little.Jeremy Allison1-11/+13
Jeremy.
2009-01-14Don't send message to any other child in child process.Bo Yang1-0/+30
Signed-off-by: Bo Yang <boyang@novell.com>
2009-01-14Make rpc_read look like a real read callVolker Lendecke1-18/+11
It doesn't really need to know about prs_structs
2009-01-14Make rpc_read() match the control flow normally used in SambaVolker Lendecke1-12/+19
Replace do { .. } while () with a while () { .. }
2009-01-14Simplify rpc_read a bitVolker Lendecke1-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.
2009-01-14Remove an unnecessary size checkVolker Lendecke1-10/+4
rpc_read is only ever called with at most fraglen-RPC_HEADER_SIZE length
2009-01-14Check the fragment size the server has sent usVolker Lendecke1-0/+10
2009-01-14Slightly simplify rpc_read: It should not do the resizeVolker Lendecke1-18/+34
2009-01-14Always read with offset 0 from a named pipeVolker Lendecke1-6/+5
2009-01-14s3-eventlog: fix ps struct removal leftover.Günther Deschner1-1/+0
Guenther
2009-01-14s3-rpcclient: always parse the full eventlog entry.Günther Deschner1-3/+3
Guenther
2009-01-14s3-eventlog: use main talloc context in eventlog read call.Günther Deschner1-3/+2
Guenther
2009-01-13From boyang - ensure we never "return" from a forked child, always _exit().Jeremy Allison2-5/+5
Jeremy.
2009-01-13Only call sendfile_short_read() if we need it.Jeremy Allison1-2/+6
Jeremy.
2009-01-13Fix bug noticed by Volker - if sendfile returns zero thenJeremy Allison2-6/+78
we might have to handle a short send by filling with zeros. Jeremy.
2009-01-13Fix bug #6019 File corruption in Clustered SMB/NFS environment managed via CTDBJeremy Allison2-4/+4
Jeremy.
2009-01-12Covert several persistant tdb files to use state_path() instead of lock_path()Steven Danneman3-3/+3
2009-01-12Audit usage of get_dyn_STATEDIR() and replace with state_path()Steven Danneman1-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().
2009-01-12Deprecate the "share modes" parameter to address bug #6024, swat disagrees ↵Jeremy Allison1-1/+1
with smbstatus as to share mode with share modes = No set in samba. Jeremy.
2009-01-12s3-rpcclient: some cleanup for eventlog client.Günther Deschner1-9/+26
Guenther
2009-01-12s3:libsmb: handle the smb signing states the same in the krb5 and ntlmssp casesStefan Metzmacher1-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
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman11-51/+188
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>