Wilco Baan Hofman
4626ffb27e
Move some headers around to avoid confusion.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
75f830781f
Move some headers around to avoid confusion.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
b939638dc7
Make the gpo files build for samba 4.
...
Only gpt.ini remaining. Not suitable for merge yet, samba 3 is currently broken due to some changed public API.
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
68ff179b29
Add nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct security_token. Fix build errors.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Wilco Baan Hofman
ff33d50fab
Add ../libgpo to samba4 srcdir list in rules.mk.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Wilco Baan Hofman
248554370a
Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() function to samba 3. Move prototypes to root libgpo where appropriate.
...
gpo_ldap.c now compiles for both samba 3 and 4.
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Wilco Baan Hofman
c441b7dda8
Add ads convenience functions to samba 4. Move gpo_ldap.c to root libgpo.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
d2bd5895cf
Move gpo_sec to top-level.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Stefan Metzmacher
a98a9c39a2
s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send()
...
The caller should decide if async is desired it should be harcoded per call.
metze
2009-04-20 18:15:06 +02:00
Stefan Metzmacher
d0e6803218
s4:librpc/rpc: remove async argument from the sync dcerpc_request() function
...
metze
2009-04-20 18:15:00 +02:00
Stefan Metzmacher
f3c9d124bb
s4:librpc/rpc: only use smb_trans for sync rpc calls
...
Over named pipes we can only do one smb_trans at a time,
otherwise we're getting NT_STATUS_PIPE_BUSY.
Async rpc calls need to use smb_read/write only.
metze
2009-04-20 18:14:59 +02:00
Stefan Metzmacher
e6b796b936
s4:torture/rpc: use dcerpc_ndr_request() for the object_uuid test
...
As we want sync calls...
metze
2009-04-20 18:14:59 +02:00
Stefan Metzmacher
900d569bed
s4:librpc/rpc: ask for 0x2000 bytes in the ioctl case to match all othercases
...
metze
2009-04-20 18:14:58 +02:00
Andrew Bartlett
6c9caed481
Merge commit 'origin/master' into libcli-auth-merge-without-netlogond
2009-04-20 16:53:02 +02:00
Stefan Metzmacher
5beaf230ca
s4:selftest: ignore smb2.lease test for now
...
metze
2009-04-20 15:15:40 +02:00
Jelmer Vernooij
5df2795ffc
Add a unit test for security_descriptor.as_sddl() without arguments.
2009-04-20 15:10:29 +02:00
Jelmer Vernooij
294359b7bc
Make domain sid argument to as_sddl() optional.
2009-04-20 15:10:29 +02:00
Jelmer Vernooij
03abc846ee
Fix the valid NetBIOS name tests.
2009-04-20 11:11:25 +02:00
Günther Deschner
5f0c9c57f5
s4-smbtorture: test all levels in test_GetJob().
...
Guenther
2009-04-20 00:59:36 +02:00
Andrew Bartlett
7a54cd041e
Remove unused headers
2009-04-19 22:01:09 +02:00
Günther Deschner
fe2828c353
s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.
...
Guenther
2009-04-17 17:27:42 +02:00
Günther Deschner
cb9c0cefaf
s4-smbtorture: rework test_EnumPrinterDrivers() a little to succeed with s3.
...
Yes, I feel dirty for this but promise to come back and fix appropriately.
Guenther
2009-04-17 17:25:14 +02:00
Günther Deschner
81253ec146
s4-smbtorture: Fix RPC-SPOOLSS-WIN for printers with a lot of jobs in the queue.
...
Guenther
2009-04-17 17:23:59 +02:00
Günther Deschner
32add69632
s4-smbtorture: disable CreateUser2 tests when running RPC-SAMR-PASSWORDS-PWDLAST
...
against Samba3.
Samba 3 does not (yet) get all the ACB_flag settings right upon creation.
Guenther
2009-04-17 11:15:58 +02:00
Günther Deschner
c794ba71b7
s4-smbtorture: add LSA-LOOKUPSIDS to verify bug #6263 .
...
Guenther
2009-04-17 01:32:45 +02:00
Günther Deschner
b0a0d2a0ae
s4-smbtorture: Fix crash in RPC-LSA-LOOKUP
...
Guenther
2009-04-17 01:32:44 +02:00
Andrew Bartlett
b57c8ff440
Use an absolute path to ensure that we can always regenerate tables.c
...
I had trouble building Samba3 in a merged build, perhaps because I was
also building Samba4 in that tree.
Andrew Bartlett
2009-04-16 12:06:35 +10:00
Andrew Bartlett
dbcd80ed01
Fix Samba4 build errors with common libcli/samsync
2009-04-16 10:17:17 +10:00
Günther Deschner
e6aa3f2d09
s4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.
...
Also disable security descriptor based tests while testing samba3.
Guenther
2009-04-15 22:50:05 +02:00
Günther Deschner
f1fd39c09f
s4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.
...
Guenther
2009-04-15 22:48:54 +02:00
Andrew Bartlett
4678d1c6f4
Merge branch 'master' of ssh://git.samba.org/data/git/samba into libcli-auth-merge-without-netlogond
2009-04-15 14:36:13 +10:00
Matthias Dieter Wallnöfer
92d321006d
Enable software rollout through AD
...
This enables the sofware rollout feature in Samba4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-04-15 12:27:02 +10:00
Jeremy Allison
0f1b402848
Try and fix the S4 build - include thread includes.
...
Jeremy.
2009-04-14 13:02:29 -07:00
Günther Deschner
a2ef1fee69
s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.
...
Guenther
2009-04-14 12:13:32 +02:00
Günther Deschner
4a2dfbf3c9
s4-smbtorture: print SPOOLSS_JOB_CONTROL flags in RPC-SPOOLSS test.
...
Guenther
2009-04-14 12:13:08 +02:00
Andrew Bartlett
d78cdc5fe2
Rework to use new API for common netlogon credential chaining
2009-04-14 16:23:45 +10:00
Andrew Bartlett
1cee31f588
Link in the common samsync decryption code
2009-04-14 16:23:45 +10:00
Andrew Bartlett
5095d7b1c8
Rework Samba4 to use the new common libcli/auth code
...
In particular, this is the rename from creds_ to netlogon_creds_, as
well as other links to use the new common crypto.
Andrew Bartlett
2009-04-14 16:23:44 +10:00
Andrew Bartlett
f23eea294a
Push schannel_state.c into the top level.
...
This is the server side state for netlogon credential chaining
Andrew Bartlett
2009-04-14 16:23:43 +10:00
Andrew Bartlett
df8e1908ef
Use common samsync delta decryption functions in libnet_samsync.c
...
Andrew Bartlett
2009-04-14 16:23:43 +10:00
Andrew Bartlett
6c8f7e4005
Port Samba4 to the new combined libcli/auth functions
...
For example, some of the new shared functionality was previously in the wkssvc
torture test.
Andrew Bartlett
2009-04-14 16:23:41 +10:00
Andrew Bartlett
a19966375a
Move ntlm_check.h into the common libcli/auth
2009-04-14 16:23:41 +10:00
Andrew Bartlett
9feea7fa4c
Move MSRPC-PARSE into the common libcli/auth
...
This is a depenceny of smbencrypt.c
2009-04-14 14:19:39 +10:00
Andrew Bartlett
872cb0257c
Move DRSUAPI per-attribute decryption into a common file
...
This file (contining metze's decryption routines) is now also be used by
Samba3's DRSUAPI implementation
Andrew Bartlett
2009-04-14 14:19:39 +10:00
Andrew Bartlett
927a8b3304
Move libcli/auth to the top level
2009-04-14 14:19:39 +10:00
Andrew Bartlett
41e4f12c48
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
2009-04-14 10:55:53 +10:00
Andrew Bartlett
82ad66e9df
s4:ldb Make it possible to re-run ldap.py again
...
The parentGUID test didn't clean up after itself correctly.
Andrew Bartlett
2009-04-14 10:52:33 +10:00
Günther Deschner
1dbb6530fa
s4-smbtorture: fix two valgrind warnings.
...
Guenther
2009-04-13 23:45:45 +02:00
Günther Deschner
56f5105400
s4-smbtorture: disable test_SecondaryClosePrinter when running against s3 for now.
...
Guenther
2009-04-13 23:45:37 +02:00
Günther Deschner
0f76e2d0bd
s4-smbtorture: move test_ReplyOpenPrinter from RPC-SPOOLSS to RPC-SPOOLSS-NOTIFY.
...
Guenther
2009-04-13 23:45:29 +02:00