1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

23779 Commits

Author SHA1 Message Date
Michael Adam
c03fa64a2c s4: remove REMOVE_MAPPING from wb_samba3_protocol
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
74da3163f6 s4: remove SET_MAPPING from wb_samba3_protocol
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
61f019d61d s4: remove SET_HWM and SET_DUAL_HWM from wb_samba3_protocol
Michael
2010-08-14 02:10:31 +02:00
Stefan Metzmacher
b34209006f s4:librpc/rpc: make struct dcerpc_binding_handle private
metze
2010-08-12 14:31:21 +02:00
Stefan Metzmacher
7eef08cc63 s4:librpc/rpc: add dcerpc_binding_handle dcerpc_pipe backend
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
4030bc9b2d librpc/rpc: add dcerpc_binding_handle abstration
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
2828318743 s4:librpc/rpc: fix dcerpc_log_packet() prototype
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
af89b460f7 s4:librpc/rpc: autodetect the need of async call logic
metze
2010-08-12 14:31:16 +02:00
James Peach
44de839dab smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name. 2010-08-11 11:11:28 -07:00
James Peach
88d48a7d92 smbtorture: Make BASE-OPENATTR report a failure if it fails. 2010-08-11 11:11:11 -07:00
Kamen Mazdrashki
03bfd4290f s4-test: Implement DRS-RPC-msDSIntId test case 2010-08-11 00:18:15 +03:00
Kamen Mazdrashki
d595f070f6 s4-dsdb: fix attributes_by_msDS_IntId index sorting 2010-08-11 00:18:14 +03:00
Kamen Mazdrashki
06f59855a7 s4-test: Move dsdb_schema loading into public function
I will use this function for tests implementation later
2010-08-11 00:18:14 +03:00
Kamen Mazdrashki
c30f9bd734 s4-test: Move RPC-DSSYNC test in DRS-RPC test suite 2010-08-11 00:18:14 +03:00
Kamen Mazdrashki
da074f10e3 s4-test: Move dssync.c to torture/drs/rpc 2010-08-11 00:18:13 +03:00
Kamen Mazdrashki
f3c06892ec s4-test: strip trailing white-spaces 2010-08-11 00:18:13 +03:00
Matthias Dieter Wallnöfer
067b5721c7 s4:objectclass LDB module - weak the check for the "rIDSet" delete constraint
Perform it only when a "rIDSet" does exist. Requested by ekacnet for
"upgradeprovision".
2010-08-10 21:01:11 +02:00
Matthias Dieter Wallnöfer
303089f5b8 s4:dsdb/common/util.c - provide a call which returns the forest function level
Sooner or later we'll need this too since not all operations depend only on the
current's domain function level (see the MS-ADTS docs).
2010-08-10 19:08:56 +02:00
Matthias Dieter Wallnöfer
e53fc1228f s4:dsdb/common/util.c - use LDB constants whenever possible 2010-08-10 19:08:56 +02:00
Andrew Bartlett
75adca63f2 libcli/auth Make the source3/ implementation of the NTLMSSP server common
This means that the core logic (but not the initialisation) of the
NTLMSSP server is in common, but uses different authentication backends.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-10 16:22:04 +02:00
Andrew Bartlett
1e83b36afb libcli/auth Move some source3/ NTLMSSP functions to the common code.
libcli/auth Use true and false rather than True and False in common code

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-10 11:56:33 +02:00
Matthieu Patou
7b41969603 s4 upgradeprovision, fix a typo preventing the ridset to be correctly identified 2010-08-10 00:57:20 +04:00
Andreas Schneider
46bcb62780 s4-rpc_server: Fixed the build of the dcerpc_server library.
Brad please check!
2010-08-09 15:57:59 +02:00
Andrew Tridgell
56db40d5fd s4-build: use @PACKAGE_VERSION@ in s4 pc.in files
this gets replaced by vnum from the build rule
2010-08-09 12:27:23 +10:00
Brad Hards
ebd4ea7338 s4-build: added dcerpc_server library
OpenChange needs this for dcerpc_register_ep_server()

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-09 12:27:23 +10:00
Stefan Metzmacher
8ca8250443 s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken
See https://bugzilla.samba.org/show_bug.cgi?id=7486.

metze
2010-08-08 11:05:17 +02:00
Stefan Metzmacher
6598d6dc41 s4:rpc_server/lsa: better include a .h file don't include a .c file
This fixes the build with --nonshared-binary=smbtorture,
as use by the source3/ make test.

metze
2010-08-07 18:16:29 +02:00
Matthias Dieter Wallnöfer
390bfed7b7 s4:kcc_connection.c - fix typo in error message 2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
bc702a394d s4:ldap.py - comment a test part which fails with another error code on Windows 2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
8243272fa0 s4:ldap.py - test the new "systemFlags" constraint 2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
f99d672b13 s4:objectclass LDB module - "add operation" - enhance and clean the "systemFlags" section
Also here we have to test for single-valueness.
2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
e009d02bd5 s4:ldap.py - test for an invalid "objectCategory" attribute 2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
6e6af9c14c s4:objectclass LDB module - "add operation" - implement "objectCategory" validation 2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
299b59b7c3 s4:ldap.py - proof for the impossibility to add a LSA-specific object over LDAP 2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
89c71a8f06 s4:urgent_replication.py - relax also here the add of a secrets object 2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
67b1e1b8f3 s3:dcesrv_lsa.c - use the RELAX control in order to create LSA objects 2010-08-07 14:22:42 +02:00
Matthias Dieter Wallnöfer
25e973d5db s4:dsdb/common/util.c - add a function "dsdb_add" 2010-08-07 14:22:41 +02:00
Matthias Dieter Wallnöfer
7d62128e2c s4:objectclass LDB module - "add operation" - reject creation of LSA specific objects
(only using the RELAX flag allowed)
2010-08-07 14:22:41 +02:00
Matthias Dieter Wallnöfer
a3c6d4c4d5 s4:objectclass LDB module - "add operation" - move two checks
To be more consistent with the MS-ADTS doc.
2010-08-07 14:22:41 +02:00
Matthias Dieter Wallnöfer
ace6f52d57 s4:objectclass LDB module - "add operation" - deny multiple "objectclass" message elements
Requested by MS-ADTS 3.1.1.5.2.2
2010-08-07 14:22:41 +02:00
Matthias Dieter Wallnöfer
9f0cbe1558 s4:objectclass LDB module - "add" operation - free "mem_ctx" as soon as possible
We don't need to have it around until the end of the function.
2010-08-07 14:22:41 +02:00
Andrew Bartlett
4b47245a9d s4:ntlmssp Merge more aspects of the source3/ NTLMSSP layer
This changes the talloc treatment of the session keys to avoid
memory duplication - the session key has always been allocated
onto the ntlmssp_context by the auth subsystem callback.

The remainder of the changes are cosmetics, such as avoiding
using lm_session_key as a pointer (and avoiding then doing an
if statement on something that is always true).

Andrew Bartlett
2010-08-07 18:56:35 +10:00
Andrew Bartlett
6644f48d72 s4:ntlmssp Re-add gensec_ntlmssp wrapper to allow merge with source3/
By re-adding this wrapper, the actual guts of these functions are now very
similar to that found in source3/libsmb/ntlmssp.c

This should make it easier to merge the implementations.

Andrew Bartlett
2010-08-07 18:39:48 +10:00
Andrew Bartlett
1979486c8e s4:ntlmssp Always setup the session keys and signing state
While it would save some CPU to only setup the session key when
requested (like windows does), this instead matches the
implementation in source3/libsmb/ntlmssp.c

We could re-add this later after the codebase is merged.

Andrew Bartlett
2010-08-07 18:39:47 +10:00
Andrew Bartlett
a2607a62f3 s4:ntlmssp Adjust Samba4 ntlmssp code to look more like the code in Samba3.
This does not change behaviour, and some of the whitespace isn't ideal, but
at the moment making this code more similar, even in cosmetics, will assist
later merge efforts.

Andrew Bartlett
2010-08-06 16:14:11 +10:00
Andreas Schneider
91a8d9bc9b s3-torture: Improve the winreg deletekey torture comments. 2010-08-05 16:11:28 +02:00
Andreas Schneider
2a15f7008c s3-torture: Correctly cleanup the winreg volatile key test.
Günther please check!
2010-08-05 16:11:19 +02:00
Andreas Schneider
0a8e382d73 s4-torture: Fixed the winreg EnumValue test against Windows.
Günther please check!
2010-08-05 16:11:01 +02:00
Andrew Tridgell
febd35ecd2 s4-dns: fix dnsp for old build 2010-08-05 17:31:29 +10:00
Andrew Tridgell
8892748085 s4-dns: expanded the DNSP code to handle more record type 2010-08-05 17:31:29 +10:00