| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
- libreplace unsetenv() and strptime() replacements
metze
|
| |
| |
| |
| |
| |
| | |
merge stdint.h stdbool.h replacement fix to 3.0.25 branch
metze
|
| |
| |
| |
| |
| | |
for bug #3632.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
in samba4 currently and samba3 has explicit configure checks for them.
should fix bug #4496
metze
|
| |
| |
| |
| |
| | |
From Steven Danneman <steven.danneman@isilon.com>.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| | |
messages.c. Refactor to use become_root() instead and
make it local to messages.c
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
call patch. Jerry, this works now for displaying
shares on Win9x (and hopefully everything else
as well :-).
Jeremy.
|
| |
| |
| |
| |
| | |
redundent. Remove it.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
suggested. I now use :
BOOL is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off)
char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off)
char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off)
int get_safe_SVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval)
int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval)
Volker, please criticize and comment. Thanks,
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
we need
another get_safe_offset call that also includes the required buffer size.
Volker
|
| |
| |
| |
| |
| | |
but I've no option.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| | |
checker was worried about.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
added to debug messages
|
| |
| |
| |
| |
| |
| |
| |
| | |
works from smbclient and Windows, and I am promising to
support and fix both client and server code moving forward.
Still need to test the RPC admin support but I haven't
changed that code.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
process deep dfs links (ie. links that go to non root
parts of a share). Make the directory handling conanonical
in POSIX and Windows pathname processing.
dfs should not be fully working in client tools. Please
bug me if not.
Jeremy.
|
| |
| |
| |
| |
| | |
breaking the build on *BSD's. Tested by Herb.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
for utimes - change the call to ntimes. This preserves
nsec timestamps we get from stat (if the system supports
it) and only maps back down to usec or sec resolution
on time set. Looks bigger than it is as I had to move
lots of internal code from using time_t and struct utimebuf
to struct timespec.
Jeremy.
|
| |
| |
| |
| |
| | |
0x8000000000000000LL is "infinity" to NT and should
not be converted numerically to time_t.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix escaping of DN components and filters around the code
Add some notes to commandline help messages about how to pass DNs
revert jra's "concistency" commit to nsswitch/winbindd_ads.c, as it was
incorrect.
The 2 functions use DNs in different ways.
- lookup_usergroups_member() uses the DN in a search filter,
and must use the filter escaping function to escape it
Escaping filters that include escaped DNs ("\," becomes "\5c,") is the
correct way to do it (tested against W2k3).
- lookup_usergroups_memberof() instead uses the DN ultimately as a base dn.
Both functions do NOT need any DN escaping function as DNs can't be reliably
escaped when in a string form, intead each single RDN value must be escaped
separately.
DNs coming from other ldap calls (like ads_get_dn()), do not need escaping as
they come already escaped on the wire and passed as is by the ldap libraries
DN filtering has been tested.
For example now it is possible to do something like:
'net ads add user joe#5' as now the '#' character is correctly escaped when
building the DN, previously such a call failed with Invalid DN Syntax.
Simo.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
is the case where we don't have memalign() or posix_memalign().
|
| |
| |
| |
| |
| |
| |
| |
| | |
others don't get stuck with the winbindd hang.
Still waiting on additional confirmation from Guenther
that this fixes thes issues he was observing as well.
But it's been running in my local tree for a day without
problems.
|
| |
| |
| |
| | |
No other changes here.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of SEC_DESC over from grp_owner -> group_owner,
ace -> aces and info.mask -> mask. Makes it *much*
easier to move code within branches as they're now
referring to the same names for the same things
(which is what the NDR code also uses).
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It does not matter if I screw up 3.0.25 or 3.0.26 with this, so do it rather
sooner than later.
Add the notify support that already exists in 3_0 to 3_0_25. If you want to
see this patch dissected into digestable parts, look at 3_0, revisions at
about 20800 and following.
Volker
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
connection is
dead. Might be my code, this rings a very distant bell...
Attempt to fix bug # 4372.
Volker
|
| | |
|
| |
| |
| |
| |
| |
| | |
Windows Vista RC1 and RC2 can't delete directory on Samba share
based on work by Joe Meadows <jmeadows@webopolis.com>.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
based on the flags2 values in the negprot request.
This also includes some code for testing the dialect
strings for "SMB 2.001" but this is unreliable as Vista
only sends that in the 1st negprot and caches the fact
that we don't support it. Restartnig the WOrkstation
service on the client clears the cache.
|
| | |
|
| |
| |
| |
| |
| |
| | |
stable branch
* Also include pam_winbind changes for multiple groups in the
require-membership-of parameter
|
| |
| |
| |
| |
| | |
merged va_end() changes from Samba4
Jeremy.
|
| |
| |
| |
| |
| | |
into functions.
Jeremy.
|
| |
| |
| |
| | |
Volker
|
| |
| |
| |
| |
| | |
with -DDEVELOPER.
Jeremy.
|
| |
| |
| |
| |
| | |
moving events around.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Allow us to correctly refuse to set delete on close on a
non-empty directory. There are still some delete-on-close
wrinkles to be fixed, but I understand how to do that better
now. I'll fix this tomorrow.
Jeremy.
|
| |
| |
| |
| |
| | |
pointer deref.
Jeremy
|
| |
| |
| |
| |
| |
| |
| |
| | |
- include system/aio.h
- use full prototype for main
- use ifdef instead if
metze
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| | |
- remove the epoll configure checks from libreplace
metze
|
| |
| |
| |
| | |
Jeremy.
|