Brad Hards
703d589770
Avoid using deprecated form of AC_CHECK_TYPE.
...
libreplace makes use of an older form of AC_CHECK_TYPE which basically
provides a fallback definition for the type if it isn't available.
http://www.gnu.org/software/hello/manual/autoconf/Obsolete-Macros.html#Obsolete-Macros
shows why this isn't a good idea (its not so important, except for pointer types).
This patch partly addresses the issue.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-22 10:36:47 +02:00
Kai Blin
7a9be21916
errormap: Add wbcErr to NTSTATUS mappings
2009-04-22 00:14:45 +02:00
Kai Blin
57267a300f
s4-build: Also search ../nsswitch for make (c|e)tags
2009-04-22 00:14:45 +02:00
Kai Blin
2ee437e122
s4 selftest: Export the WINBINDD_SOCKET_DIR env var
2009-04-22 00:14:44 +02:00
Björn Jacke
1563796b44
s4:ldb: fix extrasemi compile warning
2009-04-22 00:03:23 +02:00
Björn Jacke
488bac4038
s4:ldb: do talloc_free and return NULL when we have no matches to return
2009-04-22 00:03:22 +02:00
Björn Jacke
42e3ae6550
libcli: fix a "not handled in switch" compile warning
...
return NULL also for RAW_CLOSE_GENERIC
2009-04-22 00:03:22 +02:00
Björn Jacke
c78a4ac7ce
ѕ4: fix a "not handled in switch" compile warning
2009-04-22 00:03:21 +02:00
Jelmer Vernooij
f4195183a4
s3: Use common security_descriptor_equal().
2009-04-21 18:17:40 +02:00
Stefan Metzmacher
14bbed1d67
s3:libsmb: always use the tevent_req_nomem() for checking allocation failures
...
This will also make sure we cleanup 'req' in case of an error.
metze
2009-04-21 17:42:39 +02:00
Jelmer Vernooij
7a0a134e0c
Fix includes for security_descriptor file for the non-merged build.
2009-04-21 17:19:22 +02:00
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 b57c8ff4400e5f2bd0776247496b34dab68bde97.
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 210830392999691469a55f4f5e2032abcdb20b8a.
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