| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
metze
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
This involved passing the dirname as argument to a few routines instead of
calling parent_dirname() deep down.
Volker
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
together.
Jeremy, I'm 100% sure you watch me closely here, I count on you :-)
Volker
|
| |
| |
| |
| |
| |
| |
| |
| | |
name-based (for
directory opens) routines.
Volker
|
| |
| |
| |
| |
| |
| |
| |
| | |
open_directory
we want to follow symlinks.
Volker
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
regarding
error messages: We relied upon a stat that a directory did not exist to later
on then do the mkdir or not. This does the mkdir directly and copes with a
potential error.
The second one is more important: It's possible with Samba 3 to do a
ntcreate&x with NTCREATEX_OPTIONS_DIRECTORY and we happily do a NT_STATUS_OK.
Also move up the use_nt_status() logic a bit. I think this does not belong
into the core routines, the smb server as such should take care of it.
Jeremy, do you think this should go to 3.0.24?
I'll update samba4torture when the build farm has picked up this checkin.
Volker
|
| |
| |
| |
| |
| |
| |
| |
| | |
now have
tmp_talloc_ctx().
Volker
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes parts of
raw-open.
Volker
|
| | |
|
| |
| |
| |
| | |
NULL dereference
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
inherit_acl
stuff & friends.
Survives raw-mkdir. I'll activate that tomorrow when all build farm machines
have picked up the changed samba4 torture test.
Volker
|
| | |
|
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make sure we route all request to remote DCs via the main process
so that IDMAP can correctly reuse DC connections and use the
async interface.
This fixes also idmap_nss so that it is able to resolve local
group names (requires patch on the samba dc earlier committed
to SAMBA_3_0 to make it resolve both the mapped and the unmapped
name).
Simo.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
more no previous prototype warnings
|
| |
| |
| |
| | |
get rid of previous prototype warnings
|
| | |
|
| |
| |
| |
| | |
clean up a bunch of no previous prototype warnings
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This fixes pam password changes in the online case.
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
code paths
ncreate does. This is a bit slower (about 10-20%), because it goes touches the
share mode db, but I think not having to call change_owner_to_parent and
friends in fewer places outweighs this. And, mkdir is not the way current
Windows boxes create directories, they do it via the ncreate call.
Volker
|
| |
| |
| |
| | |
ther way.
|
| |
| |
| |
| |
| |
| |
| |
| | |
don't have a check online event handler set.
We need to add one once we're been asked to
go back online as this is the only way to actually
go into the online state. Doh ! :-).
Jeremy.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
get rid of warning: value computed is not used
|