| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This vop is designed to work in tandem with SMB_VFS_READDIR to allow
vfs modules to make modifications to arbitrary filenames before
they're consumed by callers. Subsequently the core directory
enumeration code in smbd is now changed to free the memory that may be
allocated in a module. This vop enables the new version of catia in
the following patch.
Signed-off-by: Tim Prouty <tprouty@samba.org>
|
|
|
|
| |
metze
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
| |
This is a small performance optimization. Instead of opening the tdb
on every smb connection in the forked child process, we now open it in
the parent and share the fd.
This also reduces the total fd usage in the system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is necessary because MIT 1.5 can't deal with certain types (Tree Root) of
transitive AD trusts. The workaround is to add a [capaths] directive to
/etc/krb5.conf, which we don't automatically put into the krb5.conf winbind
creates.
The alternative would have been something like a "krb5 conf include", but I
think if someone has to mess with /etc/krb5.conf at this level, it should be
easy to add the site-local KDCs as well.
Next alternative is to correctly figure out the [capaths] parameter for all
trusted domains, but for that I don't have the time right now. Sorry :-)
|
| |
|
|
|
|
|
|
|
|
| |
Office 2003.
Confirmation from reporter that this fixes the issue in master on ext3/ext4.
Back-ports to follow.
Jeremy.
|
|
|
|
|
|
| |
ext4 may be able to store ns timestamps, but the only API to *set* timestamps
takes usec, not nsec. Round to usec on set requests.
Jeremy.
|
|
|
|
|
|
|
|
| |
On filesystems that can't store less than one second timestamps,
round the incoming timestamp set requests so the client can't discover
that a time set request has been truncated by the filesystem.
Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0.
Jeremy
|
|
|
|
|
| |
that stores the create time in the user.DosTimestamps EA.
Jeremy.
|
|
|
|
|
| |
through functions. Will aid in making us pass RAW-SETFILEINFO.
Jeremy.
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
They're both only used in the context of a function,
so we can make them stack variables.
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
This can be NULL for faked connection structs used in the rpc server
or printing code.
metze
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
A transaction wrapper for dbwrap_change_int32_atomic().
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
A transaction wrapper for dbwrap_change_uint32_atomic().
Michael
|
|
|
|
| |
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
net ads leave and IPv6. Ensure all DC lookups
prefer IPv4.
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
W2K3 DC's can have IPv6 addresses but won't serve
krb5/ldap or cldap on those addresses. Make sure when
we're asking for DC's we prefer IPv4.
If you have an IPv6-only network this prioritizing code
will be a no-op. And if you have a mixed network then you
need to prioritize IPv4 due to W2K3 DC's.
Jeremy.
|
|
|
|
|
|
|
| |
into acl_tdb and acl_xattr. Duplicates the code size, but keeps
the code in common so I don't have to do bug fixes in two places
(which is what I really cared about).
Jeremy.
|
| |
|
|
|
|
|
|
| |
This patch also changes the unix convert flags to make sure the
correct semantics are preservered for allowing/disallowing wildcards
in the last component of the path.
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
|
|
| |
caller know if the path has a wildcard
This also eliminates the need for resolve_dfspath().
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is to ease the linking pain of everything that links LOCKING_OBJ
|
| |
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
This reinitializes an already allocated regsubkey_ctr structure,
emptying out the subkey array and hash table.
Michael
|
|
|
|
|
|
| |
To fetch a key whose name is stored but not given in upper case.
Michael
|
|
|
|
|
|
| |
This stores a key under the uppercase version of the given keyname.
Michael
|
|
|
|
|
|
| |
To delete a key whose name is not given in but stored in uppercase.
Michael
|
|
|
|
|
|
|
|
|
| |
This function wraps the action() callback into a db
transaction and the transaction is either committed
or cancelled, depending on the return value of
the action function.
Michael
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This provides a compromise between stability and performance: gencache is a
persistent database these days that for performance reasons can not use tdb
transactions for all writes. This patch splits up gencache into gencache.tdb
and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes
to it don't use transactions. By default every 5 minutes and when a program
exits, all entries from _notrans.tdb are transferred to gencache.tdb in one
transaction.
|