| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
reference.
Andrew Bartlett
|
| |
|
|
|
|
|
|
|
|
|
| |
of the talloc heirarchy created are too subtle, particularly with
callers picking out individual members.
This might fix the faults on the build farm.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
| |
talloc_free()'ed at the end of a session.
Rework the passwd cache code to use talloc_unlink and
talloc_reference, to more carefully manage the cache.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
we need
another get_safe_offset call that also includes the required buffer size.
Volker
|
|
|
|
|
| |
but I've no option.
Jeremy.
|
|
|
|
|
| |
of 0xFF 'S' <enc ctx>.
Jeremy.
|
|
|
|
|
|
| |
and fix all compiler warnings in the users
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
| |
which matches what samba4 has.
also fix all the callers to prevent compiler warnings
metze
|
|
|
|
|
| |
contexts....
Jeremy.
|
|
|
|
|
|
| |
we're encrypted. This will make further changes and
spec much more clear.
Jeremy.
|
|
|
|
|
|
| |
TDB_DATA key
metze
|
|
|
|
|
|
| |
to avoid creating the TDB_DATA struct from strings "by hand"
metze
|
|
|
|
|
|
|
|
|
| |
from a string
(the current string_tdb_data() creates a non-terminates tdb key from a string!)
- pass TDB_DATA instead of const char *, size_t len to some functions
metze
|
| |
|
|
|
|
|
| |
checker was worried about.
Jeremy.
|
|
|
|
|
|
| |
jeremy: please merge this to 3.0.25:-)
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
I'm not sure if this should go into 3.0.25... it fixes a compiler warning about
a missing acl_get_perm() prototype
metze
|
|
|
|
|
|
|
| |
to restructure libsmb/smb_signing.c so it isn't in
the base libs path but lives in libsmb instead (like
smb_seal.c does).
Jeremy.
|
|
|
|
|
| |
for testing.
Jeremy.
|
|
|
|
|
|
|
|
| |
not just an NTLMSSP - grr. This complicates the re-use of
common client and server code but I think I've got it right.
Not turned on of valgrinded yet, but you can see it start
to take shape !
Jeremy.
|
|
|
|
|
| |
depending on encryption context pointer.
Jeremy.
|
|
|
|
|
|
|
|
| |
for the server side enc. (doesn't break anything).
I'll keep updating this until I've got NTLM seal working
on both client and server, then add in the gss level
seal.
Jeremy.
|
|
|
|
|
|
| |
can be done
with a become_root/unbecome_root in debug.c.
|
|
|
|
|
|
|
| |
these out as I implement. Don't add to SAMBA_3_0_25, this
is experimental code.
NFSv4 you're now officially on notice... :-).
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.
|
|
|
|
| |
Volker
|
|
|
|
|
|
|
|
| |
winbind
who did not run the idle events to drop ldap connections.
Volker
|
|
|
|
|
|
|
|
|
| |
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.
|