| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
and have smbcontrol print the PID with it
|
|
|
|
|
|
|
|
|
|
|
| |
get_global_sam_name().
Error case: Adding a domain user to a XP local group did a lsalookupname on
the user without domain prefix, and this then failed.
Jerry: This is a must-fix before 3.0.3.
Volker
|
|
|
|
| |
remove_duplicate_gids() to smbd and winbindd
|
| |
|
| |
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
| |
we never checked if it was a domain user and didn't find a local one.
|
|
|
|
|
|
| |
cache entry time comparisons in password lockout. Fixes problems where
pdb_ldap tries to delete the operational attribute modifyTimestamp when
deleting a user account.
|
|
|
|
| |
* updateing WHATSNEW with vl's change
|
|
|
|
|
|
| |
neccessary types before we will run at all. If we can't get one, use ASCII
but complain mightily.
Jeremy.
|
|
|
|
|
|
|
| |
stream. This is to implement wbinfo -k that asks winbind for authentication
which then creates the AFS token for the authenticated user.
Volker
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
another NTLMv2 combination.
We should allow the NTLMv2 response to be calculated with either the domain
as supplied, or the domain in UPPER case (as we always did in the past).
As a client, we always UPPER case it (as per the spec), but we also
make sure to UPPER case the domain, when we send it. This should give
us maximum compatability.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ago.
This patch re-adds support for 'optional' SMB signing. It also ensures that
we are much more careful about when we enable signing, particularly with
on-the-fly smb.conf reloads.
The client code will now attempt to use smb signing by default, and disable
it if the server doesn't correctly support it.
Andrew Bartlett
|
| |
|
|
|
|
|
|
| |
things more by calling SAFE_FREE() just before we exit our panic handler.
Andrew Bartlett
|
|
|
|
| |
current_user_info struct in register_vuid() -- shouldn't be any more broken than we were
|
| |
|
| |
|
|
|
|
|
| |
Apply Craig Barratt's fixes to allow multiple exlusion files and patterns.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bad time locally, updating the directory only for hitting the policy limit
or resetting.
This needed to be done at the passdb level rather than auth, because some
of the functions need to be supported from tools such as pdbedit. It was
done at the LDAP backend level instead of generically after discussion,
because of the complexity of inserting it at a higher level.
The login cache read/write/delete is outside of the ldap backend, so it could
easily be called by other backends. tdbsam won't call it for obvious
reasons, and authors of other backends need to decide if they want to
implement it.
|
|
|
|
|
| |
doesn't affect what got put on the wire.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
| |
to make it generic. Remove the mb-codepage "blacklist". Alexander, please
check this fix as it reverts your blacklist changes, but I'm hoping it
fixes the problem in a more generic way for all charsets. I'm not trying
to trample on your (excellent!) work here, just make things more generic
without special cases.
Jeremy.
|
|
|
|
|
|
|
|
| |
bytes in the mb character at a pointer. Will be useful in fixing check_path_syntax()
to not use a "blacklist". Also re-added my (C) to reply.c. I mean, really - I've
been adding code to the file for over 10 years and I recognise many of the
fuctions as mine ! :-).
Jeremy.
|
|
|
|
|
|
|
|
| |
byte.
This is intermediate fix as discussed with Jeremy until we move check_path_syntax() to UCS2 internally where all
ambiguity is resolved. Please add other encodings into charcnv.c with such property.'
'
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
(MORIYAMA Masayuki).
Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios
and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name
when represented in dos charset (ie. cp932). So go back to using fstrings for these but
translate into nstrings (ie. 16 byte length values) for transport on the wire.
Jeremy.
|
|
|
|
|
|
| |
fix up netbios names with mb strings. Includes reformat of libsmb/nmblib.c
so it's readable.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
"allow_bad_conv"
boolean parameter that allows broken iconv conversions to work. Gets rid of the
nasty errno checks in mangle_hash2 and check_path_syntax and allows correct
return code checking.
Jeremy.
|
|
|
|
|
|
|
| |
I know this isn't pretty, but neither was our assumption that all strings
from the directory fit inside a pstring. There was no way this worked
before will all versions of usrmgr (for example, the only version of
mine that has the TS Confic button).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Big thanks to tpot and mbp for showing how easy it can be to write a simple
unit test, and for providing the STF.
This also changes the strstr_m() code to use strstr_w() (avoiding
duplication) and fixes it so that it passes the STF.
(We now always restart before doing the unicode run, until sombody can
show me why the testsuite is wrong).
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For example:
strstr_m("%v foo bar", "%v") would fail...
only strstr_m("foo %v", "%v") could work.
I wonder what else this broke...
Fix is to move to using strncmp() inside the strstr_m function.
Tested on ASCII only.
Andrew Bartlett
|
|
|
|
|
| |
(should fix the mb service name problem, can't remember the bugid).
Jeremy.
|
| |
|
|
|
|
|
| |
the macro redefinition of free() means we cannot have a structure
element called "free"
|
| |
|
| |
|
|
|
|
| |
windows, and also be valid (0 was invalid)
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
* remove corrupt tdb and shutdown (only for printing tdbs, connections,
sessionid & locking)
* decrement smbd counter in connections.tdb in smb_panic()
* various Makefile hack to get things to link
'max smbd processes' looks like it might be broken. The counter KEY is not
being set. Will look into that tomorrow.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
of files to prevent this from happening
|
|
|
|
| |
where getpwent_list() was overoverwriting the username for entries. However the code path to the bug was introduced only on January 25
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
|
|
|
| |
in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c
(These should perhaps be pulled back out to smbpasswd.c, but that can occour
later).
Andrew Bartlett
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
| |
terminate correctly.
Jeremy.
|
|
|
|
|
| |
Embarrassing number of goto's in this :-(. Fixes #830 I think.
Jeremy.
|
|
|
|
|
|
|
| |
try a crap conversion instead. Next this needs to be done to the convert_alloc
function.
Actually fixes some valgrind warnings as well - cool !
Jeremy.
|