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
7761850b1f
Move gpo_fetch to top-level.
...
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
Jelmer Vernooij
cecd142f2b
Move some libgpo files to root.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:15:43 +02:00
Stefan Metzmacher
9930e5b3db
pidl:Samba4/client: fix dcerpc_ndr_request_send() callers
...
For samba4 you need one of this:
samba/source4# make full_idl
samba/source4# make clean
samba# git clean -x -f
metze
2009-04-20 18:17:09 +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
ed98cba5ab
pidl:Samba4/client: use dcerpc_ndr_request() for sync requests
...
metze
2009-04-20 18:15:01 +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
Jeremy Allison
4e1b633dab
Stop autogenerated files from being created.
...
Jeremy.
2009-04-20 09:06:21 -07:00
Jeremy Allison
fe77eac5f3
Add previously generated header files now needed in merged build.
...
Jeremy.
2009-04-20 08:48:07 -07:00
Andrew Bartlett
a11ecbbff0
Merge branch 'master' of ssh://git.samba.org/data/git/samba into libcli-auth-merge-without-netlogond
2009-04-20 17:19:45 +02:00
John H Terpstra
f493755aaf
Added ability to revert to old modules for make revert.
2009-04-20 10:13:10 -05:00
Andrew Bartlett
c185e7a29c
Fix to use modified cli_rpc_pipe_open_schannel_with_key API
2009-04-20 17:04:33 +02:00
Andrew Bartlett
6c9caed481
Merge commit 'origin/master' into libcli-auth-merge-without-netlogond
2009-04-20 16:53:02 +02:00
Volker Lendecke
e3db09cf02
Do not vasprint stuff where not necessary
2009-04-20 16:51:44 +02:00
Andrew Bartlett
53765c81f7
Remove use of talloc_reference in cli_rpc_pipe_open_schannel_with_key()
2009-04-20 16:50:49 +02:00
Jelmer Vernooij
31120c9eac
Move syslog check out of m4 library file into configure.in
2009-04-20 16:25:17 +02:00
Jelmer Vernooij
bb0f430064
Error out at runtime when seteuid/setresuid or setegid/setresgid are not
...
available. This means it's possible to compile libreplace when these
functions are not available and use it, as long as this particular
function is not used.
2009-04-20 16:25:17 +02:00
Jelmer Vernooij
20e1ba1c09
Only define waitpid replacement if wait4 is available. (It isn't on
...
Windows.)
2009-04-20 16:25:16 +02:00
Jelmer Vernooij
e5233ccf9e
Cope with the fact that only _mkdir() exists on Windows and that it
...
doesn't take a mode argument.
2009-04-20 16:25:16 +02:00
Jelmer Vernooij
fbf4293d7e
Move check for syslog out of libreplace to source3/ and source4/.
...
This should help compiling talloc on Windows.
2009-04-20 16:25:16 +02:00
Volker Lendecke
a6cb470892
Reproduce a bug with a custom GET_REAL_FILENAME
2009-04-20 15:17:35 +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
Volker Lendecke
b5b6ecb58a
Do not use the file system GET_REAL_FILENAME for mangled names
2009-04-20 14:05:13 +02:00
Andrew Bartlett
8a5d94e329
libcli/auth Ensure we cancel the transaction when schannel not detected
...
(found by jra on code review)
Andrew Bartlett
2009-04-20 13:55:04 +02:00
Jeremy Allison
5cbd7556c2
Ensure we have all the definitions needed in both threaded and non-threaded versions.
...
Jeremy.
2009-04-20 04:25:26 -07:00
Jeremy Allison
86b0d56897
Fix warning in use of talloc_set_name.
...
Jeremy.
2009-04-20 04:05:12 -07:00
Jeremy Allison
399c765538
Attempt to fix build farm on platforms where pthread_once_t is a struct.
...
Jeremy.
2009-04-20 04:00:06 -07:00
Jeremy Allison
3d2e95c296
Fix the pthread_once initialization issue. Make talloc_stackframe use
...
this.
Jeremy.
2009-04-20 03:04:42 -07:00
Andrew Bartlett
ddcc355f2b
s3:ntlmssp Remove use of talloc(NULL) in NTLMSSP code
2009-04-20 11:55:49 +02:00
Jelmer Vernooij
03abc846ee
Fix the valid NetBIOS name tests.
2009-04-20 11:11:25 +02:00
Andrew Bartlett
02ecdd8f29
libcli/auth: Don't pass back lm_sess_key as the same pointer as user_sess_key
...
This ensures that a talloc_free() of both pointers won't double-free
(sharing pointers like this is evil anyway).
Andrew Bartlett
2009-04-20 10:54:57 +02:00
Volker Lendecke
4afcde91b9
Convert the domain handles to type-safe policy handles
2009-04-20 08:27:23 +02:00
Günther Deschner
62480385c1
s3-printing: use ARRAY_SIZE() macro in forms functions.
...
Guenther
2009-04-20 01:06:01 +02:00
Günther Deschner
d9aaf3759a
s3-printing: use sec_initial_uid() instead "0" in print_access_check().
...
Another babystep in order to make us pass RPC-SPOOLSS.
Guenther
2009-04-20 00:59:36 +02:00
Günther Deschner
5f0c9c57f5
s4-smbtorture: test all levels in test_GetJob().
...
Guenther
2009-04-20 00:59:36 +02:00
Volker Lendecke
dd073a333e
Make force_flush_samr_cache use a dom_sid to find what to flush
2009-04-19 22:58:06 +02:00
Andrew Bartlett
7a54cd041e
Remove unused headers
2009-04-19 22:01:09 +02:00
Andrew Bartlett
8ee7b4ce29
s3:auth Fix segfault: Always initialise returned session keys
2009-04-19 21:50:13 +02:00
Andrew Bartlett
0c771bfc70
s3:ntlmssp Fix segfault: msrpc_gen now uses talloc()
2009-04-20 05:19:48 +10:00
Volker Lendecke
46317ce214
Remove flag "builtin_domain" from disp_info
2009-04-19 11:39:47 +02:00
Volker Lendecke
bf196df52f
Remove flag "builtin_domain" from samr_info
2009-04-19 09:27:15 +02:00
Volker Lendecke
386511b8e1
Make get_samr_info_by_sid use recent coding conventions
2009-04-19 09:27:15 +02:00
Volker Lendecke
35e6a0e618
Add "uint32_t access_granted" to policy handles
...
All policy handles have a mask of allowed operations attached that were
calculated at creation time, so they should carry this mask. This is the basis
for consolidating all our policy handle access checks.
If you want to do your own more complicated access checks further down, just
pass "0" to policy_handle_find.
2009-04-19 09:27:15 +02:00
Volker Lendecke
9b3f2e69f7
Make "struct policy" private to srv_lsa_hnd.c
2009-04-19 09:27:14 +02:00