| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
|\| |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
Missing call cli_readlink() is next.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
This fixes bug #6417
Michael
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we run out of file descriptors for some reason, every new
connection forks a child that immediately panics causing smbd to
coredump. This seems unnecessarily harsh; with this code change we
now catch that error and merely log a message about it and exit
without the core dump.
Signed-off-by: Tim Prouty <tprouty@samba.org>
|
| |
| |
| |
| |
| |
| |
| | |
Invalid pointers were being dereferenced in lookup_sids causing
occasional seg faults.
Signed-off-by: Tim Prouty <tprouty@samba.org>
|
| |
| |
| |
| | |
Michael
|
| |
| |
| |
| |
| |
| | |
This fixes bug #6416
Michael
|
| |
| |
| |
| | |
Michael
|
| |
| |
| |
| |
| |
| | |
This fixes bug #6415
Michael
|
| |
| |
| |
| | |
Karolin
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 84998cb85e59a92178d916f4e485c08fb826b838.
Actually, the "fix" breaks the build.
Works after 'make clean'. Sorry!
|
| |
| |
| |
| |
| |
| |
| |
| | |
$(DBLATEX) was empty.
Please check!
Karolin
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This fixes bug 6352.
|
| |
| |
| |
| |
| |
| |
| |
| | |
It turns out (seen in MS-SAMR 3.1.1.7.1 for example) that the primary
way the krbtgt account is recognised as special is that RID. This
should fix issues such as 'password expired' on the kpasswd service.
Andrew Bartlett
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The sheer volume of messages generated by tevent when the trace level is set to
10 makes it difficult to debug issues in a level 10 log. Increasing this to
50 allows tevent tracing to be enabled if needed, but otherwise keeps the extra
chatter out of a level 10 log.
|
| | |
|
| | |
|
| |
| |
| |
| | |
for a cleaner and more complete patch that Volker has in the queue :-)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch introduces
struct stat_ex {
dev_t st_ex_dev;
ino_t st_ex_ino;
mode_t st_ex_mode;
nlink_t st_ex_nlink;
uid_t st_ex_uid;
gid_t st_ex_gid;
dev_t st_ex_rdev;
off_t st_ex_size;
struct timespec st_ex_atime;
struct timespec st_ex_mtime;
struct timespec st_ex_ctime;
struct timespec st_ex_btime; /* birthtime */
blksize_t st_ex_blksize;
blkcnt_t st_ex_blocks;
};
typedef struct stat_ex SMB_STRUCT_STAT;
It is really large because due to the friendly libc headers playing macro
tricks with fields like st_ino, so I renamed them to st_ex_xxx.
Why this change? To support birthtime, we already have quite a few #ifdef's at
places where it does not really belong. With a stat struct that we control, we
can consolidate the nanosecond timestamps and the birthtime deep in the VFS
stat calls.
At this moment it is triggered by a request to support the birthtime field for
GPFS. GPFS does not extend the system level struct stat, but instead has a
separate call that gets us the additional information beyond posix. Without
being able to do that within the VFS stat calls, that support would have to be
scattered around the main smbd code.
It will very likely break all the onefs modules, but I think the changes will
be reasonably easy to do.
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Patch from Steve Langasek with tiny fixes by me to make it apply to master.
Also see Debian bug #434372 and bugzilla #4831.
Calling openlog() or closelog() inside a pam module is not good as these
functions are not stackable and no program won't re-do openlog() just because a
pam module might have called closelog().
|
| |
| |
| |
| | |
Corrected path to tdr_proto.h and added librpc/gen_ndr/{cli,srv}_dcerpc.[ch].
|
| |
| |
| |
| | |
Karolin
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| |
| | |
We need to loop over all given dialects and check
if we can find SMB2_DIALECT_REVISION_202.
metze
|
| |
| |
| |
| |
| |
| |
| | |
Also send them in the order a windows client would
send them (the lowest first).
metze
|
| |
| |
| |
| | |
metze
|
| | |
|
| |
| |
| |
| |
| |
| | |
When looking at performance problems with ldb it can be useful to see
which searches causes unindexed full searches. This makes it easy to
enable that.
|
| |
| |
| |
| |
| |
| |
| |
| | |
one-level indexing was not always effective due to some broken logic
in the indexing code. This change means that if normal indexing fails,
we can still fall back on one-level indexing.
This reduces the number of full unindexed searches in s4 quite a lot
|