Jeremy Allison
1e315b0013
Fix coverity #910 , uninitialized variable.
...
Jeremy.
2009-04-23 01:38:21 -07:00
Günther Deschner
59fe99027d
s3-selftest: test wbinfo --allocate-uid/gid.
...
Guenther
2009-04-23 10:30:32 +02:00
Kai Blin
c93e2d9d43
errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL
...
This allows us to distinguish on NTSTATUS level if we got a
WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
2009-04-23 00:23:56 +02:00
Jelmer Vernooij
79177c1d36
Specify explicit path to vlp, for those not having vlp in $PATH.
2009-04-22 23:56:35 +02:00
Jeremy Allison
455f2a4c65
Make dskattr async.
...
Jeremy.
2009-04-22 08:04:53 -07:00
Björn Jacke
740c2c4366
ѕ3/configure: fix regexp for ld version recognition
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-22 16:05:36 +02:00
Simo Sorce
40793e7763
Fix profile acls in some corner cases
...
Always add back the real original owner of the directory in the ACE List after
we steal its ACE for the Administrators group.
2009-04-22 09:59:02 -04:00
Simo Sorce
ff3a020a5f
Avoid duplicate aces
...
When adding arbitrary aces to an nt_ace_list we need to make sure we
are not actually adding a duplicate.
add_or_replace_ace() takes care of doing the right thing.
2009-04-22 09:58:51 -04:00
Simo Sorce
b029e0edcf
Prevent reallocs of the talloc pool itself
2009-04-22 09:58:06 -04:00
Jeremy Allison
502f47c7c0
Make cli_chkpath async.
...
Jeremy
2009-04-22 06:46:42 -07:00
Volker Lendecke
8bc88aae5d
Move serverinfo_to_SamInfo3() to rpc_server/
...
Normally I hate moving around stuff, but this function is only called from the
RPC server side and it pulls in passdb when trying to link in our rpc client
routines. That seems unnecessary to me.
2009-04-22 12:33:46 +02:00
Jeremy Allison
e7466d0207
Add comment explaining the previous fix.
...
Jeremy.
2009-04-22 03:03:04 -07:00
Jeremy Allison
265ffe01f2
Fix bug #6279 - winbindd crash. Cope with LDAP libraries returning LDAP_SUCCESS but not returning a result.
...
Jeremy
2009-04-22 02:58:24 -07:00
Volker Lendecke
a3efd9d797
Fix some nonempty blank lines
2009-04-22 11:52:07 +02:00
Volker Lendecke
e77c17ec3e
Remove some shadowed definition warnings
2009-04-22 11:19:13 +02:00
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 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