| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
"Both remaining calls of can_delete called it with check_is_at_open==False,
remove that parameter."
Jeremy.
|
| |
| |
| |
| |
| |
| | |
"Make us survive & activate RAW-UNLINK"
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I agree with this one :
"Jeremy, another one to check:
The only error path of can_delete() that we're interested in ntcreate&x is the
one of can_delete_file_in_directory(), so call that directly.
The only other one where we might get a NT_STATUS_ACCESS_DENIED is from the
lstat in can_delete, but this is covered later in the open_directory and
open_file_ntcreate calls. open_directory does a stat() in the open case which
also covers the (potential) symlink, and open_file_ntcreate does the open(2)
itself, so this should also work.
This makes can_delete() static to reply.c.
Volker"
Jeremy.
|
| |
| |
| |
| | |
Guenther
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
3_0 and
3_0_24 because I was explicitly asked to, although this needs close
review. Jeremy, I'm sure you will check this thoroughly :-)
In reply_open_and_X the separate "size" variable kills the calculation of the
SPARSE flag returned to the client in the attrib field. In getpathinfo we do
it correctly, and RAW-OPEN (correctly) complains about the difference.
Add the "set the write time" to mknew and create.
For trans2open we were missing the "ofun == 0" ->
NT_STATUS_OBJECT_NAME_COLLISION case, and we dropped the status returned in
favor of ACCESS_DENIED once too many.
Last change is a fix to trans2open: We were returning the attributes given by
the client, not the attributes of the new file.
Volker
|
| |
| |
| |
| |
| | |
"Get rid of a redundant !NT_STATUS_IS_OK(status)"
Jeremy.
|
| |
| |
| |
| |
| |
| | |
"Get rid of a bogus variable that was only assigned but never read."
Was used but is not now.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
the child domain cannot always resolve SIDs in sibling domains.
Windows tries to contact a DC in its own domain and then the root
domain in the forest. This async changes makes winbindd's name2sid()
call do the same.
|
| | |
|
| |
| |
| |
| | |
so apps will know which one to look for,
|
| | |
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| | |
Rename dns_open. This conflicts with the dns_open symbol in
libSystem on Mac OS X.
|
| |
| |
| |
| |
| |
| |
| | |
Restructure the libuuid API tests to handle the case where libuuid
is (effectively) in libc. Convert AC_LIBTESTFUNC to use the mystically
undocumented m4_ifval, which fixes some quoting problems when
providing shell code for the if-true and if-false branches.
|
| |
| |
| |
| |
| |
| | |
Jeremy.
"Fix a couple of Coverity errors in one run, this was a potential NULL
dereference"
|
| | |
|
| |
| |
| |
| |
| |
| | |
I think they're correct, modulo more testing of
error codes.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
modified). Ensure "hide unXXX" parameters don't
hide MSDFS links. Bug #3319.
Jeremy.
|
| |
| |
| |
| | |
Andrew Bartlett
|
| |
| |
| |
| |
| |
| | |
add LIBDL to the global LIBS var
metze
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
remove unneeded dlopen related configure checks and includes
this is done by libreplace...
this hopefully fixes the build on HPUX 11.00
metze
|
| |
| |
| |
| |
| |
| |
| | |
only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen
metze
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
wcards. I had forgotten this and had refused to allow
dest to contain wcards. We now pass all the normal
Samba4 smbtorture RAW-RENAME tests.
Jeremy
|
| |
| |
| |
| |
| |
| | |
from open_file_ntcreate make sure we return it on rename
error.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
being returned (false positive). Up debug
level on "open_directory" message.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
by ensuring we pass in a valid src_len (or zero when appropriate).
Volker is correct in that this is a *horrible* interface and he is
now free to generally clean it up everywhere :-). Go for it Volker !
Jeremy.
|
| |
| |
| |
| |
| | |
before checking length. Found by Volker.
Jeremy.
|
| |
| |
| |
| |
| | |
found by Volker.
Jeremy
|
| |
| |
| |
| |
| |
| |
| |
| | |
now have
tmp_talloc_ctx().
Volker
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
after it's child died unexpectedly whilst the parent
was waiting for a reply. We need to clean up the request
we're not going to service, plus we still need to call
the continuation function with a "False" flag so it
can clean things up. Still testing this, but I think
I'm right.
Jeremy
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the network cable out of the machine *exactly*
after the init_dc_connect() call in cm_connect_sam()
or cm_connect_lsa() call succeeded but before any
of the other calls fail, and they have debug level
10 set in the log, then we'd crash due to dereferencing
a now NULL pointer (conn->cli gets set to NULL when
the init_dc_connect() call called from cm_get_schannel_dcinfo()
fails). Yes, before you ask this *did* happen on a
customer site :-).
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Volker
|
| |
| |
| |
| |
| |
| |
| | |
* fail on invalid credential flags in pam_sm_setcred
* parse config file for pam_sm_acct_mgmt and pam_sm_open_session
Guenther
|
| |
| |
| |
| |
| | |
only do it for our primary domain.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Jeremy: sidstr formerly could be NULL (when num_aliases was 0), since we
strdup here it needs to exist.
Guenther
|
| |
| |
| |
| |
| |
| |
| | |
This gives much nicer error messages when failing to join due to clock
skew.
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
still needs to contact the DC's for non async requests
like enumerate users/groups etc. Now that online
DC detection is tied to async events we must enable
the processing of events in the main loop of winbindd.
Finally got rid of the last hard coded domain->initialized = 1
code in init_child_recv() - now all domain->initialized = True
gets done only in the connection manager code when either
we're online and have spoken to the DC or are offline and
we know we can't talk to the DC.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| | |
referenced
in the same file so I made them static
|
| | |
|
| | |
|
| | |
|