1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +03:00
Commit Graph

7966 Commits

Author SHA1 Message Date
Andrew Tridgell
cd2602d057 r13739: a fairly major overhaul of the opendb code to allow the BASE-DELETE
test to pass. To try to make the code a bit more understandable, I
moved to using an IDL description of the opendb tdb record format.

One of the larger changes was to make directory opens and creates go
via the opendb code, so directory operations now obey all the share
mode restrictions, as well as delete on close semantics. I also
changed the period over which the opendb locks are held, to try to
minimise races due to two open operations happening at the same time.
2007-10-10 13:52:08 -05:00
Andrew Tridgell
d2a2057ea5 r13738: added support for a "pointer" type in pidl. This will be used in the
opendb work that will be committed shortly.

The pointer type assumes that pointers fit in 64 bits, which is
probably OK on all our supported architectures.
2007-10-10 13:52:07 -05:00
Rafal Szczesniak
cedaf08170 r13726: Fix indentation.
rafal
2007-10-10 13:52:07 -05:00
Stefan Metzmacher
6ee7de9bbf r13710: fix compiler warnings
metze
2007-10-10 13:52:07 -05:00
Stefan Metzmacher
291da7bac3 r13709: fix compiler warnings
metze
2007-10-10 13:52:07 -05:00
Stefan Metzmacher
830c42afda r13708: fix compiler warnings
metze
2007-10-10 13:52:06 -05:00
Andrew Tridgell
f722aed66d r13707: expanded the delete on close test some more, and make it easier to
track down where a error is happening. The semantics sure are strange!
2007-10-10 13:52:06 -05:00
Andrew Tridgell
f7d0ac9363 r13701: removed some unnecessary casts 2007-10-10 13:52:06 -05:00
Andrew Tridgell
68c9ac38c7 r13700: added highestCommittedUSN, uSNChanged and uSNCreated support, using
the @BASEINFO sequenceNumber

(simo, I changed the function pointer to a structure element as you
preferred)
2007-10-10 13:52:06 -05:00
Andrew Tridgell
71eb159f9c r13699: restore the system/select.h include, as otherwise we don't detect
epoll support
2007-10-10 13:52:06 -05:00
Jelmer Vernooij
d98948716f r13662: Typo fix, add more public headers 2007-10-10 13:52:05 -05:00
Jelmer Vernooij
ba62880f5b r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
bca0e8054f r13655: Use new name of build header 2007-10-10 13:52:05 -05:00
Jelmer Vernooij
2ec7bba03a r13654: Move some more stuff out of include/ 2007-10-10 13:52:05 -05:00
Jelmer Vernooij
5e884f156f r13653: Copy headers from the right place 2007-10-10 13:52:04 -05:00
Jelmer Vernooij
26bf2a393b r13652: Move some more stuff out off include/ 2007-10-10 13:52:04 -05:00
Jelmer Vernooij
4599703914 r13651: Always make sure pkgconfig directory exists 2007-10-10 13:52:04 -05:00
Jelmer Vernooij
65128577a9 r13650: Install manpages when building standalone 2007-10-10 13:52:04 -05:00
Günther Deschner
3ad84a844c r13637: Adding more netr_UserFlags.
Guenther
2007-10-10 13:52:03 -05:00
Günther Deschner
cd569446a1 r13634: Fix typo.
Guenther
2007-10-10 13:52:03 -05:00
Günther Deschner
8e93989682 r13633: Adding more SE_GROUP bits and make it a bitmask as well.
Guenther
2007-10-10 13:52:03 -05:00
Günther Deschner
0d918764b1 r13632: The "password_properties" is a bitmask as well.
Guenther
2007-10-10 13:52:03 -05:00
Günther Deschner
abad44a57d r13631: Add DOMAIN_PASSWORD_LOCKOUT_ADMINS (this bit only allows to lockout
Administrator, not Domain Admins in general).

Guenther
2007-10-10 13:52:03 -05:00
Günther Deschner
fa1127c545 r13630: Add new ACB-bits as seen in acct_flags in the PAC info3
(merge from Samba 3).

Guenther
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
fbd78b6272 r13629: export env-vars
metze
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
7f1de54c84 r13628: fix the logic:-)
metze
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
ae559920e1 r13627: split the NBT-WINSREPLICATION tests into multiple tests
metze
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
2acf203949 r13626: fix make test
metze
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
3c8bc98c1b r13624: as abartlet requested, move the saslauthd parsing stuff to a seperate file
metze
2007-10-10 13:52:01 -05:00
Stefan Metzmacher
e1611b6221 r13623: - make sure ntvfs_map_qfileinfo isn't used for async replies
- add some comments

metze
2007-10-10 13:52:01 -05:00
Stefan Metzmacher
d003654b1c r13621: add an idl structure to parse saslauthd requests
metze
2007-10-10 13:52:01 -05:00
Stefan Metzmacher
7cf1423bc8 r13620: initialize the CMD with 0 too
metze
2007-10-10 13:52:01 -05:00
Stefan Metzmacher
7b284174aa r13619: fix compiler warning
metze
2007-10-10 13:52:01 -05:00
Stefan Metzmacher
252d5edfb5 r13618: fix compiler warning
metze
2007-10-10 13:52:00 -05:00
Stefan Metzmacher
082f418fab r13617: fix compiler warning
metze
2007-10-10 13:52:00 -05:00
Andrew Bartlett
424df1bb36 r13616: Add new ldb functions: ldb_msg_add_steal_string() and
ldb_msg_add_steal_value().

These try to maintain the talloc heirachy, which must be correct
otherwise talloc_steal operations of entire attribute lists fails.

This fixes the currentTime value, found by using Microsoft's dcdiag
tool (before this commit, it pointed to invalid memory, due to the
changes in -r 13606)

Andrew Bartlett
2007-10-10 13:51:59 -05:00
Simo Sorce
d5b467b7c1 r13615: Make ldb_set_errstring get ldb instead of module as parameter.
The module was just used to get to the ldb so it was meningless.

Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c
2007-10-10 13:51:59 -05:00
Simo Sorce
1e2c13b2d5 r13609: Get in the initial work on making ldb async
Currently only ldb_ildap is async, the plan
is to first make all backend support the async calls,
and then remove the sync functions from backends and
keep the only in the API.

Modules will need to be transformed along the way.

Simo
2007-10-10 13:51:59 -05:00
Andrew Bartlett
d0b8957f38 r13606: An attempt to fix #3525.
The problem was that the supportedControls were being stolen into the
result sent to the client, then talloc_free()ed.  This caused them to
be invalid on the next rootDSE query.

This also tries to avoid attaching the result to the long-term samdb
context, and avoids an extra loop in the result processing (pointed
out by tridge).

Andrew BARtlett
2007-10-10 13:51:59 -05:00
Andrew Bartlett
b0e7a58cc9 r13605: Use $BASEDN to ensure this works outside of the 'make test' rig.
Andrew Bartlett
2007-10-10 13:51:58 -05:00
Simo Sorce
8483f61a1d r13592: Incredible how bugs like this can sweep in even after peer review and testing ... 2007-10-10 13:51:58 -05:00
Andrew Bartlett
cb5d18c619 r13584: Another try at SPNEGO stuff. I need to write a better testsuite for this.
This tries to ensure that when we are a client, we cope with mechs
(like GSSAPI) that only abort (unknown server) at first runtime.

Andrew Bartlett
2007-10-10 13:51:58 -05:00
Andrew Bartlett
341a0abeb4 r13583: Realise that the member server name appears in all calls that use the
credentials.

Consistantly rename these elements in the IDL to computer_name.

Fix the server-side code to always lookup by this name.

Add new, even nastier tests to RPC-SCHANNEL to prove this.

Andrew Bartlett
2007-10-10 13:51:58 -05:00
Andrew Bartlett
06ddac2bb1 r13582: Indent 2007-10-10 13:51:58 -05:00
Simo Sorce
cbbc0d7cc4 r13580: fix broken client side sort 2007-10-10 13:51:57 -05:00
Jelmer Vernooij
2b3d56e153 r13577: Move some (possibly system-defined) defines to replace.h 2007-10-10 13:51:57 -05:00
Rafal Szczesniak
7dde77942b r13572: Comments to async pipe open functions and copyright note.
rafal
2007-10-10 13:51:57 -05:00
Rafal Szczesniak
9ef2275f61 r13568: Comments to async rpc connect functions.
rafal
2007-10-10 13:51:57 -05:00
Rafal Szczesniak
789f9d43db r13561: Turn all dcerpc connect and socket functions to async version.
Now, each rpc interface (named pipe, tcp/ip, lrpc and unix
socket) works asynchronously.
Comments to follow.

rafal
2007-10-10 13:51:57 -05:00
Andrew Bartlett
273cb8fd42 r13551: Add an accessor function for the user sid.
Andrew Bartlett
2007-10-10 13:51:57 -05:00