1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-07 20:23:50 +03:00
Commit Graph

6514 Commits

Author SHA1 Message Date
Jelmer Vernooij
0c53e7c3cf r10829: Documentation updates
Update TODO
Some small fixes to the modules
2007-10-10 13:39:33 -05:00
Volker Lendecke
1afa893506 r10825: Complete wbinfo -n 2007-10-10 13:39:32 -05:00
Andrew Bartlett
9c511a16f8 r10820: Use talloc_get_type as suggested by tridge.
Andrew Bartlett
2007-10-10 13:39:32 -05:00
Andrew Bartlett
f78982a0f1 r10812: Fix capitalisation (thanks tridge).
Andrew Bartlett
2007-10-10 13:39:32 -05:00
Andrew Bartlett
7ec5084f63 r10811: Revert accidental commit, I still need to finish the displayName and
syntatical mapping work.

Andrew Bartlett
2007-10-10 13:39:32 -05:00
Andrew Bartlett
fd7203789a r10810: This adds the hooks required to communicate the current user from the
authenticated session down into LDB.  This associates a session info
structure with the open LDB, allowing a future ldb_ntacl module to
allow/deny operations on that basis.

Along the way, I cleaned up a few things, and added new helper functions
to assist.  In particular the LSA pipe uses simpler queries for some of
the setup.

In ldap_server, I have removed the 'ldasrv:hacked' module, which hasn't
been worked on (other than making it continue to compile) since January,
and I think the features of this module are being put into ldb anyway.

I have also changed the partitions in ldap_server to be initialised
after the connection, with the private pointer used to associate the ldb
with the incoming session.

Andrew Bartlett
2007-10-10 13:39:32 -05:00
Andrew Bartlett
aa30c16de0 r10809: Add struct decl 2007-10-10 13:39:31 -05:00
Andrew Bartlett
a4282c14d5 r10807: Make the split-out files actually compile...
Andrew Bartlett
2007-10-10 13:39:31 -05:00
Andrew Bartlett
9becd2c0d6 r10806: Add missing file. 2007-10-10 13:39:31 -05:00
Andrew Bartlett
0f994275ce r10805: Move RPC-SAMLOGON to C99 initialisation
Andrew Bartlett
2007-10-10 13:39:31 -05:00
Andrew Bartlett
f549987772 r10804: Move the DRSUAPI cracknames test into a seperate file, and collapse
the file size by converting it to a table-driven system.

Andrew Bartlett
2007-10-10 13:39:30 -05:00
Andrew Bartlett
2819450495 r10803: Remove a duplicate krbtgt test, and add a test looking for the
'support account'.  This shows that we need to be searching on
displayName, and probably CN too.

Andrew Bartlett
2007-10-10 13:39:30 -05:00
Andrew Bartlett
057cede8b4 r10800: Indent 2007-10-10 13:39:30 -05:00
Andrew Bartlett
6021fa3734 r10796: Make getting an anonymous session info a utility function.
Andrew Bartlett
2007-10-10 13:39:30 -05:00
Andrew Bartlett
efdc6d834a r10791: Add copyright, fix comments (this isn't the timestamps module any more)
Andrew Bartlett
2007-10-10 13:39:29 -05:00
Andrew Tridgell
ef13569ca9 r10790: allow updating of existing ldb opaque values (thanks to abartlet for
spotting this)
2007-10-10 13:39:29 -05:00
Jelmer Vernooij
ebb8e75ebd r10788: - Give unions a name
- Check initialisation function return value
2007-10-10 13:39:29 -05:00
Jelmer Vernooij
43a5c863bf r10787: Fix silly nodiscriminant-issue 2007-10-10 13:39:29 -05:00
Stefan Metzmacher
d4b4d96335 r10768: add a function to create a stream_connection from an already
existing socket connection, that's used for protocols
which switch the client/server roles inside a session

metze
2007-10-10 13:39:29 -05:00
Stefan Metzmacher
dfc95de8fa r10766: - make it possible to mark a wrepl_request as send only,
used for WREPL_REPL_INFORM* messsages
- make it possible to close the connection after a request was send
  used for WREPL_ASSOCIATION_STOP
- fix the torture test that tests the assoc context handling
  between connections, you can issue a request and get the reply
  on another connection, I think we should not implement that in our server
  code, as I think it's a security hole, you can cause a windows server
  to send the replies to someone another client, that doesn't wait for data,
  and as there're no massage_id in the protocol the client would be confused
  by a replies that doesn't belong to a query

metze
2007-10-10 13:39:28 -05:00
Jelmer Vernooij
6b33e3eedd r10765: Actually use VALS() setting for enums 2007-10-10 13:39:28 -05:00
Andrew Bartlett
1c3911374e r10764: To match Win2k3 SP1, we need to set an anonymous user token for
schannel connections.

Test for Win2k3 SP1 behaviour in RPC-SCHANNEL.

Andrew Bartlett
2007-10-10 13:39:28 -05:00
Andrew Bartlett
e843a7fcba r10763: PROOF of the single, easily understood cause of all of our schannel PAIN!
This test currently passes against Win2k3 SP0, but not SP1.  The
problem was not a convoluted series of changes in policy handles, but
a simple rule that schannel logins would be regarded as ANONYMOUS not
SYSTEM.

Andrew Bartlett
2007-10-10 13:39:28 -05:00
Stefan Metzmacher
2f46e54e1b r10761: we need to use a pointer to a nbt_name to fix compiler warnings, because we can
only use a pointers to unknown types in proto.h

metze
2007-10-10 13:39:28 -05:00
Stefan Metzmacher
c4a252bd46 r10760: remove only one star from the pointers, and not from the stars that
come from the array nesting

this fixes a compiler warning and but in the eventlog.h,
where the idl uses nstring strings[num_strings]

metze
2007-10-10 13:39:27 -05:00
Andrew Tridgell
45f0c967b5 r10759: make modules easier to write by allowing modules to only implement the
functions they care about, instead of all functions. This also makes
it more likely that future changes to ldb will not break existing
modules
2007-10-10 13:39:27 -05:00
Andrew Tridgell
3c5f3032fc r10757: remove the proxy module (it is not complete yet) 2007-10-10 13:39:27 -05:00
Andrew Tridgell
bf5cef6f00 r10756: another fix for the construction of expressions from subtrees for
SUBSTRING searches. This time fix multi-part substring searches.
2007-10-10 13:39:27 -05:00
Andrew Tridgell
71c06778d4 r10755: fixed the construction of expressions from subtrees for SUBSTRING searches 2007-10-10 13:39:26 -05:00
Andrew Tridgell
b714ab64fd r10754: fixed a valgrind error for unmatched SMB replies 2007-10-10 13:39:26 -05:00
Andrew Tridgell
7e44f9153c r10753: don't require every ldb module to implement both a search_bytree() and
a search() function, instead each module now only implements the
bytree method, and the expression based search is handled generically
by the modules code. This makes for more consistency and less code
duplication.

fixed the tdb backend to handle BASE searches much more
efficiently. They now always only lookup one record, regardless of the
search expression
2007-10-10 13:39:26 -05:00
Andrew Tridgell
e83635941c r10752: make sure we set the exist status correctly for the tdb tests 2007-10-10 13:39:26 -05:00
Jelmer Vernooij
258b762dc6 r10742: Support multi-level pointers + ref pointer fixes 2007-10-10 13:39:26 -05:00
Jelmer Vernooij
ebeeec5406 r10739: Reduce number of calls to prs_align_custom() 2007-10-10 13:39:25 -05:00
Jelmer Vernooij
2b4270a2e9 r10737: Fix some alignment issues 2007-10-10 13:39:25 -05:00
Jelmer Vernooij
12bfa5d01b r10734: Generate ptr, size, offset, and length elements in unions just once. 2007-10-10 13:39:25 -05:00
Jelmer Vernooij
bd8fcb0500 r10732: Generate _ctr structures for unions 2007-10-10 13:39:25 -05:00
Andrew Tridgell
f31a2376f3 r10726: fix to talloc_parent() from Michael O'Brien 2007-10-10 13:39:25 -05:00
Jelmer Vernooij
e2d7e382bb r10721: Handle allocations and primitive / deferred data correctly. In theory,
the generated output for DFS should work now (it compiles cleanly, but
I haven't tested it yet).

Not supported:
 - subcontexts()
 - relative pointers
 - unions of pointers
 - DATA_BLOB
 - several other things

Also still need to do:
 - Remove some spurious spaces in the output
 - Do range() checking

Example output is still available at http://samba.org/~jelmer/pidl_samba3/
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
3169bbc157 r10719: Remove __FUNCTION__ macro as it might not be available at all systems
(pointed out by John E. Malmberg)
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
9fe724f6fb r10718: Another large set of small improvements. All generated files compile
without warnings now. The only things left to do that are
required for DFS:
 - add allocation of arrays in marshalling phase
 - handling primitive and deferred data in embedded structures / unions.

Example output is again available from http://samba.org/~jelmer/pidl_samba3/
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
2b315b1942 r10717: Another bunch of small updates. All generated files except parse_dfs.c
compile now when generated from Samba4's dfs.idl.
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
c2527217b4 r10716: Use correct Samba3 data types for strings. Also use Samba3 types
for a couple of other types (policy handles, SIDs, times)
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
b229c033eb r10715: More Samba3 parser generator improvements:
- Actually generate parsers for unions and structs.
- Support some more builtin types.
- Some more work on supporting arrays.
- Several other small fixes.

I've updated the example output at http://samba.org/~jelmer/
2007-10-10 13:39:23 -05:00
Jelmer Vernooij
8a60e79175 r10713: Couple more updates to the Samba3 parser generators.
Unions and enums have been improved, init functions are now generated
properly, some other small improvements.
2007-10-10 13:39:23 -05:00
Andrew Bartlett
1f6fec8e6b r10712: Use data_blob_talloc, thanks to valgrind for finding the errors.
Andrew Bartlett
2007-10-10 13:39:23 -05:00
Andrew Bartlett
0d93f11c89 r10711: An error of 'user exists' is not an error, just an indication of how
the join was processed.

Andrew Bartlett
2007-10-10 13:39:23 -05:00
Andrew Tridgell
efbcb0f741 r10709: fixed a crash bug rather similar to the one volker found in the dcerpc
code, where a stream_terminate_connection() while processing a request
can cause a later defererence of the connection structure to die.
2007-10-10 13:39:23 -05:00
Andrew Tridgell
63ebaad393 r10708: a bit more error checking in the idap ldb backend 2007-10-10 13:39:22 -05:00
Andrew Tridgell
a973197d3e r10706: split out the irpc server functions in the NBT server, so the mainline
NBT server code remains reabable. Also fixed the copyright header to
include Volker, as he wrote the getdc server function
2007-10-10 13:39:22 -05:00