1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

53083 Commits

Author SHA1 Message Date
Jelmer Vernooij
0bd8b7c5ff Fix make install; don't install drsuapi.h and fix the location of
credentials.h
2009-04-21 16:50:20 +02:00
Jeremy Allison
5ccf58ff59 Make rmdir async.
Jeremy.
2009-04-21 06:52:54 -07:00
Stefan Metzmacher
4eb557bf25 Revert "Use an absolute path to ensure that we can always regenerate tables.c"
This reverts commit b57c8ff440.

This actually breaks the merged build...
Doing a merged build and a samba4 build within the same
checkout, without a git clean -x -d -f (this removes everything that's
not checked into git! save files you don't want to delete!) running in the
toplevel directory, is not supported.

metze
2009-04-21 15:37:36 +02:00
Andrew Bartlett
9b33766fbb Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-04-21 15:19:50 +02:00
Jelmer Vernooij
2eff2de2f8 Move the security_descriptor utility code to the top-level. 2009-04-21 15:14:35 +02:00
Jelmer Vernooij
3e75c9bd33 Use a static copy of the samsync header file as Samba3 doesn't generate
prototype headers.
2009-04-21 15:14:34 +02:00
Andrew Bartlett
47ec66bda3 Add the implicit [ref] to the connect_handle in EnumDomains 2009-04-21 15:14:02 +02:00
Andrew Bartlett
8ab74e948a Revert "pidl/python: Add explicit casts, fixing implicit cast warnings."
It was creating new objects with bogus data.

This reverts commit 2108303929.
2009-04-21 15:07:10 +02:00
Jeremy Allison
dfc79de607 Make cli_mkdir async. Change it to return NTSTATUS.
Jeremy.
2009-04-21 05:52:34 -07:00
Volker Lendecke
4024abb0a8 Remove "struct samr_info" 2009-04-21 14:18:34 +02:00
Volker Lendecke
3f39df75d8 Fix _samr_QuerySecurity 2009-04-21 14:18:34 +02:00
Volker Lendecke
512cf3ea24 Fix samr_SetSecurity 2009-04-21 14:18:34 +02:00
Günther Deschner
d94bbb3167 s3-secdesc: remove SEC_RIGHT_MAXIMUM_ALLOWED and SEC_RIGHT_SYSTEM_SECURITY.
We had up to three incarnations of these flags in Samba3.

Guenther
2009-04-21 13:01:29 +02:00
Günther Deschner
38264bb3b8 s3-secdesc: move all winreg access bits to IDL.
Guenther
2009-04-21 12:42:51 +02:00
Günther Deschner
da92e54236 s3-secdesc: use SEC_FLAG_SYSTEM_SECURITY instead of SEC_RIGHT_SYSTEM_SECURITY.
Guenther
2009-04-21 12:40:47 +02:00
Günther Deschner
1bb093aea9 s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHT_MAXIMUM_ALLOWED.
Guenther
2009-04-21 12:40:47 +02:00
Günther Deschner
b5bec1a6d7 s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.
Guenther
2009-04-21 12:40:47 +02:00
Andrew Bartlett
1df5ca6afa Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-04-21 12:20:37 +02:00
Günther Deschner
9b044be829 libgpo: use shared access bits in gpo_sd_check_agp_object().
Guenther
2009-04-21 12:11:15 +02:00
Andrew Bartlett
f128bfd449 Add str() for policy_handles.
Pair programmed with Jelmer
2009-04-21 12:06:04 +02:00
Volker Lendecke
922f836b82 Convert the alias handles to type-safe policy handles 2009-04-21 12:02:28 +02:00
Volker Lendecke
228c56f8ec Convert the group handles to type-safe policy handles 2009-04-21 12:02:28 +02:00
Volker Lendecke
95a76d3c98 Convert the user handles to type-safe policy handles 2009-04-21 12:02:28 +02:00
Andrew Bartlett
6f60a6e71a python/dcerpc: Custom implementations of policy_handle.__init__ and policy_handle.__repr__
pair-programmed with Jelmer
2009-04-21 11:53:00 +02:00
Andrew Bartlett
1856b999c8 python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__. 2009-04-21 11:14:11 +02:00
Jelmer Vernooij
4c32978d97 Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() if
the system one is broken.
2009-04-20 23:58:26 +02:00
Günther Deschner
6fc40ce0d3 libgpo: fix the build of gpext plugins.
Guenther
2009-04-20 23:38:11 +02:00
Günther Deschner
7010365e9a libgpo: Fix some minor issues.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
171a361375 Fix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build work
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
933482e648 Move gpo_ini stuff to the main libgpo. Make gpo_ini use a common parser.
It now makes use of lib/util/param.c to parse ini files.

Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
374b47fb45 Fix Samba 4 Makefile to also clean ../libgpo
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
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
3e010e3eb8 Adjust samba 3 to the new gpo API. Still untested code.
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
161d2603d2 Mark the places where work needs to be done.
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +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
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