| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | | |
rafal
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
function allocates it using memory context.
Also, give nicer output of the result of lookup performed.
rafal
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
being looked up.
rafal
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
behaviour) if composite context returned from _send function was NULL.
rafal
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
preallocated
- body_size doesn't contain the preallocated byte so don't remove it
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
and avoid a realloc
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(found by valgrind)
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
so that smb2srv_setup_reply() doesn't push uninitialized data
(found by valgrind)
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
and avoid a realloc in smb2_push_*
- don't overwrite the first data byte
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(found by valgrind)
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
to be created as foreign, even if they are in a local domain.
Also we do need the user to exist for the life of the test, as we add
it to a group.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
in the Builtin domain a SID from the global domain.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
test for now.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
of this test.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
it still has intermittant failures).
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I still need to figure out what causes the rest to fail...
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
failed.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Volker
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
failure.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
of smb_search_data
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
whole tree here.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
static checkers happy...
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In particular, this removes one use of the LDB_DN_NULL_FAILED macro,
which was being used on more than DNs, had an embedded goto, and
confused the IBM checker.
In the password_hash code, ensure that sambaAttr is not, before
checking the number of values.
In GENSEC, note that this switch value can't occour. This seems to be
the only way to quiet both the IBM checker and gcc, as well as cope
with possibly invalid inputs.
Andrew Bartlet
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
can fix it.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- creation of ForeignSecurityPrincipals
- template duplication code
Rework much of the LSA server to pass the RPC-LSA test. Much of the
server code was untested. In implementing the LSA Accounts feature, I
have opted to have it only create entires when privilages are applied,
and not to delete entries, but to delete the privilages.
We skip some parts of the test, but it is much better than not testing
it at all.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
in RPC-SAMR test.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
easier to chase down what modules or application code gets wrong.
Ensure not to leave memory allocated on failure in ldb_search()
Andrew Bartlett
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This intersting call is apparently used to construct the user token,
collect memberships from other DSAs and to retrieve (nested) memberships
of a given group.
Torture test to follow (once I cleaned it up).
Guenther
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The session_info was not being attached to the connection, so
subsequent checks in the kludge_acl module were looking at free()ed
memory.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
still a couple of unimplemented functions, but this is far better than
not testing this at all. In particular, this exercises the
password_hash module.
Specific changes:
- Add support for SetDomainInfo
- Add many more info levels to QueryDomainInfo
- Set a domain comment in RPC-SAMR, and verify it is kept
- Refactor QueryUserInfo not to always serach for all attributes
- Add QueryDiplayInfo3 and QueryDomainInfo2 as aliased calls
- Make OemChangePassword2 search under the samdb_base_dn(), so it
finds the user when partitions are active.
- Skip SetSecurity, DisplayIndex, MemberAttributesOfGroup and
'Multiple' alias operations in RPC-SAMR for Samba4
- Add RPC-SAMR as a 'slow' RPC test (it is quite slow)
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
rafal
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
anywhere
- fix a bad segfault
Andrew please make test before committing.
Simo.
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
as part of ldb.
This allows tdb failures to be passed all the way up to Samba's DEBUG
system, which allowed easier debugging.
Unfortunately I had to extend the tdb API, as the logging function
didn't have a context pointer.
I've worked over the 'debug levels' in TDB. Most of them were 0,
which didn't seem right, as some were trace-like messages. We didn't
see any of these previously, except when accessing TDB directly.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
the unknown value in the samr_GroupInfo structures are the group
attributes.
Andrew Bartlett
|