summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-18Fix some real bugs found by "type-punned" gcc warningsVolker Lendecke1-8/+11
Type-casting does not the right thing if used the way it used to be. The function arguments have not been uint32_t's, but the type cast made the calling routine believe so. Not good... The assignment xxx=account_policy_temp does however type-convert properly, potentially cutting off the top-bits.
2009-01-17librpc: Re-run make idl_fullTim Prouty8-70/+70
2009-01-17librpc: Remove usage of max and replace with improved range.Tim Prouty1-1/+1
2009-01-17pidl: Remove "max" and make "range" smarter about unsigned typesTim Prouty4-10/+23
This eliminates a warning in pidl generated code, while preserving cross-platform idl compatibility.
2009-01-17Determine case sensitivity based on file system attributes.Derrell Lipman4-13/+92
- Most of the time, we can determine from the file system we're connecting to whether it supports case sensitivity. In those cases, we now set the internal case sensitivity flag automatically. For those cases where the request to retrieve file system attributes fails, we'll use the user-specified option value. Derrell
2009-01-17Slightly simplify the paths after rpc_api_pipe()Volker Lendecke1-6/+2
2009-01-16[Bug 6022] smbc_urlencode and smbc_urldecode were not exportedDerrell Lipman3-15/+5
- Since the revamp of libsmbclient, there has still been an external declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet those functions were renamed and made private. The two choices were to remove the function names from libsmbclient.h or to make them public again. The reported requested that they be public. This commit makes it so. Derrell
2009-01-16Treat file names in POSIX-like case-sensitive fashion by defaultDerrell Lipman5-0/+36
*** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! *** - libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default, it requests case-sensitive, but the old behavior of case-insensitive can be requested with smbc_setOptionCaseSensitive(context, False); The change of behavior is considered a bug fix, as it was previously possible to accidentally overwrite a file that had the same case-insensitive name but a different case-sensitive name as a previously-existing file, while creating a new file. Derrell
2009-01-16Fix a segfault if ? is there but the options are NULL. This is the case if ↵Andreas Schneider1-1/+1
SMBC_parse_path is called by SMBC_stat_ctx.
2009-01-16Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-3/+14
2009-01-16"First thing, kill all the language lawyers" :-). Ensure possible insane ↵Jeremy Allison1-1/+1
compilers can't kill us later. Jeremy.
2009-01-16ads_connect: Return immediately on a failed GC connection.Gerald (Jerry) Carter1-3/+14
ads_connect_gc() feeds an explicit server to ads_connect(). However, if the resulting connection fails, the latter function was attempting to find a DC on its own and continuing the connection. This resulting in GC searches being sent over a connection using port 389 which would fail when using the base search suffix outside of the domain naming context. The fix is to fail immediately in ads_connect() since the GC lookup ordering is handled already in ads_connect_gc().
2009-01-16loadparm: Make sure various state variables get initialized even when weJelmer Vernooij1-29/+40
couldn't load a default smb.conf file.
2009-01-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij5-16/+142
2009-01-16Add copyright headers.Jelmer Vernooij3-14/+53
2009-01-16s4/NEWS: Remove mention of no longer existing js parameter.Jelmer Vernooij1-5/+0
2009-01-16s3:cluster: fix ctdb ipv6 supportStefan Metzmacher3-15/+23
We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD. CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions: - with struct ctdb_control_tcp it only supports ipv4. - with struct ctdb_control_tcp_addr it supports ipv4 and ipv6. You need new header files which defines struct ctdb_control_tcp_addr, but at runtime it should be fine to work against older ctdb versions (<= 1.0.68). metze
2009-01-16s3:docs: vfs_fileid manpageStefan Metzmacher1-0/+112
metze
2009-01-16s3:vfs_fileid: readd "fileid:algorithm" as option.Stefan Metzmacher1-1/+7
"fileid:mapping" is still supported as fallback. metze
2009-01-16Find default smb.conf path correctly, when it was not specified on theJelmer Vernooij4-5/+31
command-line.
2009-01-16remove the old chain_reply codeVolker Lendecke1-214/+4
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-16s4-winbind: Remove a "knownfail" entry for the now implemented LIST_GROUPSKai Blin1-1/+0
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 Deschner3-3/+3
Guenther
2009-01-16s3: re-run make samba3-idl.Günther Deschner5-13/+91
Guenther
2009-01-16winreg: fix winreg_EnumValue by re-adding winreg_ValNameBuf from 3.3/3.2.Günther Deschner1-2/+11
This fixes viewing samba registry with windows tools like regedit and eventviewer. Michael, Jelmer, please check. Guenther
2009-01-16lib: add strlen_m_term_null from s3.Günther Deschner2-0/+20
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-16s4-smbtorture: fix RPC-EVENTLOG test.Günther Deschner1-2/+6
Guenther
2009-01-15Fix LDB_MODULESDIR for ldb standalone buildsSimo Sorce2-2/+6
2009-01-15librpc: Re-run make idl_fullTim Prouty2-2/+2
2009-01-15librpc: Change a uint16 to use the max property instead of rangeTim Prouty1-1/+1
This fixes a "comparison is always false due to limited range of data type" warning