| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
This is Stefan Metzmacher <metze@samba.org>'s patch with minor changes:
1) Use the TDB_MAGIC constant so both hashes aren't of strings.
2) Check the hash in tdb_check (paranoia, really).
3) Additional check in the (unlikely!) case where both examples hash to 0.
4) Cosmetic changes to var names and complaint message.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
|
|
|
|
|
| |
We must not endian-convert the magic string, just the rest.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
|
|
|
|
|
|
|
|
|
| |
Commit bc1c82ea137 "Fix tdb_check() to work with read-only tdb databases."
claimed to do this, but tdb_lockall_read() fails on read-only databases.
Also make sure we can still do tdb_check() inside a transaction (weird,
but we previously allowed it so don't break the API).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
|
|
|
|
|
|
|
|
|
|
| |
We can end up with dead areas when we die during transaction commit;
tdb_check() fails on such a (valid) database.
This is particularly noticable now we no longer truncate on recovery;
if the recovery area was at the end of the file we used to remove it
that way.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
|
|
|
|
|
|
|
|
|
| |
modify operations"
This reverts commit 1d94bb3ad4d9c6de3b77ed4690a54ebf2399cc0d.
This commit causes unconditional behaviour (sometimes it works, sometimes not) -sorry for introducing this.
I will rework this further.
|
|
|
|
|
| |
This completely destroys the program logic (async callbacks). Sorry for
introducing this.
|
|
|
|
|
|
|
|
| |
detection working"
This reverts commit 7e9e35db4126f953e8a2579d992c63b274011119.
Sorry, the logic is working differently here. We do still need this.
|
| |
|
|
|
|
| |
working
|
| |
|
|
|
|
| |
automatically that this is a DC account
|
|
|
|
|
|
| |
derivation from "userAccountControl"
Specified in MS-SAMR 3.1.1.8.1 and probably fixes also bug #7441.
|
|
|
|
| |
to the default primary group RID
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
operations
We perform always only one shallow copy operation of the message on the "req"
context. This allows to free the "ac" context when we've prepared all our
changes.
|
|
|
|
|
|
|
| |
that it is only in use by the delete operation
add and modify helpers will stay on the top of the add and modify operation
since they will likely be shared as much as possible.
|
|
|
|
| |
operation handler
|
|
|
|
|
|
| |
be again synchronous
Also to make it easier to comprehend
|
|
|
|
| |
This looks more straight-forward now.
|
|
|
|
|
| |
Since we get more and more rid of async stuff we don't need this in the context
anymore.
|
|
|
|
|
|
| |
"sAMAccountName"
Purely cosmetic - but nicer to read
|
|
|
|
|
| |
And a small cosmetic change.
I like to have the real attribute names in the function denominations
|
|
|
|
| |
To make it more understandable
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
suppress parameter declaration warnings
Always Tru64 in file "param/loadparm.c" and possibly others.
|
| |
|
|
|
|
| |
results
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This means we request the "Single UNIX Specification, Version 3" with C99
compatibility as the Python 2.5 release on the system. This prevents
redefinitions with different values.
> [ 451/1918] Compiling scripting/python/pyglue.c
> cc: Warning: /usr/local/include/python2.5/pyconfig.h, line 951: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
> #define _XOPEN_SOURCE 600
> ----------------------^
> cc: Warning: default/source4/include/config.h, line 54: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
> #define _XOPEN_SOURCE 500
> ----------------------^
|
|
|
|
|
|
|
| |
returned here
Tested using User Manager for Domains against Windows Server 2008.
MS-SAMR 3.1.5.9.1 is wrong in this case therefore I've informed the dochelp team.
|
|
|
|
|
|
| |
We were returning the index, not the LUID value
Andrew Bartlett
|
| |
|
|
|
|
| |
s4 uses a different location for the winbind pipe to s3
|
|
|
|
| |
the .2 is what libc adds to the name for this version of the nss API
|
| |
|
|
|
|
|
| |
these made debugging much harder. We should replace these with
generated macros
|
| |
|
|
|
|
|
| |
This ensures we get whenChanged, which is needed by the s3 winbind
code to ensure we don't repeatedly try to change the password
|
| |
|
|
|
|
| |
Otherwise we get a "declared inside parameter list" warning.
|
|
|
|
|
| |
Obviously we really need both definitions ("socklen_t" has been found by
"_XOPEN_SOURCE"=500). But now FIONREAD wasn't accessible.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
These are related, but slightly different concepts. The biggest difference
is that rights are not enumerated as a system-wide list.
This moves the rights to security.idl due to dependencies.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The idea of this patch is: Don't support a mix of different kerberos
features.
Either we should prepare a GSSAPI (8003) checksum and mark the request as
such, or we should use the old behaviour (a normal kerberos checksum of 0 data).
Sending the GSSAPI checksum data, but without marking it as GSSAPI broke
Samba4, and seems well outside the expected behaviour, even if Windows accepts it.
Andrew Bartlett
|