| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
The proper error condition is (ret == -1) instead of
(ret != number_of_byte_told_to_write).
Michael
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
Thanks!
Volker
|
|
|
|
|
| |
> Linux oplock support is conditional on HAVE_KERNEL_OPLOCKS_LINUX,
> not plain old LINUX.
|
|
|
|
|
|
|
|
|
| |
/* cope with dead entries from the process not
existing. These should not be considered valid,
otherwise we end up doing zero timeout sharing
violation */
Jeremy.
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
don't display dead share mode entries in smbstatus
metze
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- call tdb_validate on the given tdb.
- if validation is successful, create a backup
return 0 (success) even if the backup fails.
- if validation fails:
- move tdb to name.corrupt (don't exit if this fails)
- look for a valid backup
- if a valid backup is found, restore it, else return -1 (failure)
if restoring succeeds, return 0 (success), else -1 (failure)
Summing up:
If 0 is returned, there is a valid tdb at the given location:
either the original one ore one restrored from a backup.
If -1 is returned, there is no valid tdb at the given location:
Either there is no file at all, or the original file is still
in place (if moving it away failed).
Michael
|
|
|
|
| |
Guenther
|
|
|
|
| |
Michael
|
|
|
|
|
|
|
|
| |
add gsskrb5 sign and seal support for LDAP connections
NOTE: only for the "GSSAPI" SASL mech yet
metze
|
|
|
|
|
|
|
|
| |
add support for NTLMSSP sign and seal
NOTE: windows servers are broken with sign only...
metze
|
|
|
|
|
|
|
| |
- always provide ads_setup_sasl_wrapping() function
- read/write returning 0 means EOF and we need to return direct
metze
|
|
|
|
|
|
| |
invalid names sent as a resume name were incorrectly mapped into
. and .. Ensure they really *are . and ..
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
Should fix the build.
Jeremy.
|
|
|
|
|
| |
max_param or return NT_STATUS_OK.
Jeremy.
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
|
|
|
| |
if a Windows client had the file open. We were setting
delete on close and returning "ok". The POSIX client then
believed the file was gone (and it wasn't). Fix this to
return SHARING_VIOLATION if there is an existing NTcreateX
open on the file and someone calls POSIX_UNLINK. Still one
more Cthon test to fix but getting closer now. Should
be in 3.0.25c also.
Jeremy.
|
|
|
|
|
|
|
|
| |
- implement ctrl SASL wrapping hook
- pass down sign or seal hooks
- some sasl wrapping fixes
metze
|
|
|
|
|
|
|
|
| |
functions did not do so but returned an error. (This is the case when
error occurred deeper than at the level of the content checking done by
the per entry validate_fn.)
Michael
|
|
|
|
|
|
|
|
| |
tdb_validate
in winbindd cache validation.
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a wrapper around tdb_validate, that does backup handling:
* if the given tdb is valid, a backup is created (name.bak)
* if the tdb is invalid, if a valid bakup is found (validated
with the same validation function) under the name "name.bak"
the orignal tdb is moved to name.corrupt and the backup
is restored.
For the backup handling, a variant of the backup_tdb function
from lib/tdb/tools/tdbbackup.c is included in lib/util_tdb.c.
The copy function for the traverse action eliminates the need
to maintain a global success state by using a struct wrapping
the target tdb and a success flag as the private data.
Michael
|
|
|
|
|
|
|
|
| |
is what we
need here.
Guenther
|
|
|
|
|
|
|
|
| |
sid_array_from_info3()
function.
Guenther
|
|
|
|
|
|
| |
implement output buffer handling for the SASL write wrapper
metze
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
implement buffer handling for the SASL read wrapper
metze
|
|
|
|
|
|
|
|
| |
already has
S-1-5-11 in the token.
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
not all ldap libraries support debugging
metze
|
|
|
|
|
|
| |
use the correct io operations for debugging
metze
|
|
|
|
|
|
|
|
|
| |
try to fix the build on Tru64
/usr/include/sys/acl.h:#define acl_type acl_common.entry_type
was the problem...
metze
|
|
|
|
|
|
|
| |
RAW-SFILEINFO-RENAME until I can figure out what
is different from the way CIFSFS drives this in
the cthon tests and the way smbtorture drives it.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
need to look at this more closely tomorrow.
Stevef's cthon tests definately show we're not
matching Windows behaviour (as his tests pass
against Windows but not SAMBA_3_2) but this isn't
the fix.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
source open for non-delete open.
Turns out this is not the case.
VL please test but this matches
Windows behaviour. (I'll add a
torture test tomorrow).
Jeremy.
|
|
|
|
|
| |
It matters how the target is open.
Jeremy.
|
|
|
|
|
|
| |
POSIX locking. We can't do lock counts with POSIX,
so stop counting if we get a POSIX lock request.
Jeremy.
|
|
|
|
|
|
| |
used lstat during the open (which we always
do for POSIX) then use lstat for the unlink.
Jeremy.
|
| |
|
| |
|
|
|
|
| |
Jeremy
|
|
|
|
|
|
| |
LDAP_OPT_SOCKBUF doesn't exists on all platforms
metze
|
|
|
|
|
|
|
|
| |
rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING
+ adding missing file libads/sasl_wrapping.c
metze
|