1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

61948 Commits

Author SHA1 Message Date
Andrew Tridgell
d3dea9b124 build: added ABI checking to the WAF build
See http://wiki.samba.org/index.php/Waf#ABI_Checking for details
2010-04-18 15:00:37 +10:00
Andrew Tridgell
877439e264 build: added a script for generating ABI signatures from shared libraries 2010-04-18 15:00:37 +10:00
Jeremy Allison
bf45b4f4fd First part of fix for bug #7331 - Compound async SMB 2 requests don't work right.
Gets us handling SMB2 compound async requests similar to W2K8R2
(and triggers the same client bug in the Win7 redirector). Great
thanks to Ira Cooper <samba@ira.wakeful.net> for helping with
this and to Metze for the wonderful async framework. The one
thing I need to fix to make us identical to W2K8R2 is that
when a compound request goes async at the end W2K8R2 splits
the replies up into a compound non-async reply followed by
a separate async reply. Currently we're doing the whole thing
in a compound reply.

Jeremy.
2010-04-17 21:20:17 -07:00
Matthias Dieter Wallnöfer
e0d6f1a6da s4:dsdb/dns/dns_update.c - fix a typo 2010-04-17 20:42:37 +02:00
Matthias Dieter Wallnöfer
c678563efe s4:kdc/db-glue.c - use "TALLOC_FREE" insteal of "talloc_free" for the "priv" context
Also after a free "priv" could be != NULL and may be freed again.
This should fix bug #7365.
2010-04-17 20:10:27 +02:00
Matthias Dieter Wallnöfer
827ccdf6b9 s4:kdc/wdc-samba4.c - fix integer counter types 2010-04-12 02:03:12 +02:00
Matthias Dieter Wallnöfer
ad898fd638 s4:kdc/db-glue.c - fix integer counter types 2010-04-12 02:03:11 +02:00
Nadezhda Ivanova
64f4183a35 s4:Added a test for correct CO expansion in SD creation. 2010-04-17 18:16:25 +03:00
Volker Lendecke
f4b73f4e24 s3: Slightly simpify samr_ValidatePassword_Reset 2010-04-17 12:01:18 +02:00
Volker Lendecke
3a362b45c6 s3: Slightly simpify samr_ValidatePassword_Change 2010-04-17 12:01:18 +02:00
Volker Lendecke
6f998b4b9a s3: Slightly simplify the logic of check_password_complexity()
The whole routine was just one if-branch. Do an early return instead.
2010-04-17 12:01:18 +02:00
Volker Lendecke
b0b077f27c s3: Fix some nonempty blank lines 2010-04-17 12:01:18 +02:00
Andreas Schneider
4567bf9df5 s3-winreg_nt: Fixed QueryValue with data=NULL to get the length. 2010-04-16 15:17:59 +02:00
Nadezhda Ivanova
eef184301a s4:Replaced dsdb_get_dom_sid_from_ldb_message() with samdb_result_dom_sid() 2010-04-16 14:28:35 +03:00
Karolin Seeger
20fc769179 s3-docs: Improve "winbind nss info" section in man smb.conf.
Karolin
2010-04-16 09:24:13 +02:00
Andrew Tridgell
ef05007257 s4-rpc: fixed the build with the old build system
../librpc/gen_ndr/ndr_drsblobs.o was being linked in twice into
drsblobs.so
2010-04-16 15:33:07 +10:00
Andrew Tridgell
75f5c3cd97 s4-net: allow a username to be displayed in setpassword errors
the filter is a bit too cryptic

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-16 14:12:44 +10:00
Andrew Tridgell
046c5824e4 s4-net: nicer error message (and no exception)
in net newuser and net setpasswd we shouldn't be throwing python
exceptions on normal user errors like unknown user

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-16 14:12:44 +10:00
Andrew Tridgell
22d7a06522 s4-test: added KRB5_CONFIG to selftest-vars.sh 2010-04-16 14:12:44 +10:00
Andrew Tridgell
48330c828e s4-test: check that a weak password is rejected by kpasswd
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-16 14:12:44 +10:00
Stefan Metzmacher
a7f8c197ad s4:rootdse: only return "tokenGroups", when the client asked for them
metze
2010-04-15 19:02:26 +02:00
Jelmer Vernooij
13bbfa3fca pydsdb: Fix memory leak on invalid parameters, formatting, trivial
typos.
2010-04-15 18:45:41 +02:00
Matthieu Patou
ce28f854c0 s4 python: add a unit test for function dsdb_get_oid_from_attid
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:41 +02:00
Matthieu Patou
634caed116 s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB object
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:41 +02:00
Matthieu Patou
d784ecec55 s4 python: Add a function to get the oid of an attribute when the attid is known
This function is mainly to help decoding replPropertyMetaData in python

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:41 +02:00
Matthieu Patou
9c2aed862d s4: Add python binding to waf so that the drsblobs.so is also built in waf
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:40 +02:00
Matthieu Patou
6d9ce1fee3 s4: Fix python binding for drsblobs
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:40 +02:00
Matthieu Patou
b8d6f1ce89 s4 provision: Remove hard coded ACL for GPO objects
It is no longer needed to hard code ACL for GPO object as we have now code
that calculate ACL from defaultSecurityDescriptor and inheritance correctly.

In fact the resulting ACL returned by this hard coded value is a bit wrong as
some ACE are duplicated.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:40 +02:00
Stefan Metzmacher
f1ecdb980b s4:setup/wscript_build: install dns_update_list into ${SETUPDIR}
metze
2010-04-15 18:37:40 +02:00
Stefan Metzmacher
d19033e1e9 Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder""
This reverts commit a34eafc693.

This commit was correct.

metze
2010-04-15 18:37:40 +02:00
Stefan Metzmacher
d8c3541ca8 Revert "s4:"dns_update_list" file: install it properly into the private directory"
This reverts commit fde707aa0c.

This is wrong, we need to install it into the setup directory,
so that provision will find it and copy it to private dir.

metze
2010-04-15 18:37:39 +02:00
Stefan Metzmacher
7233699ad8 s4:dynconfig/wscript: ${LOCALSTATEDIR} already has var/ included
metze
2010-04-15 18:26:38 +02:00
Stefan Metzmacher
279bf89fb3 s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRITE_FAULT
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
3f8e9b919d s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for SetPassword
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
2570f8dcda s4:libnet_passwd: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in the ChangePassword calls
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
b2261c8272 s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of NT_STATUS_NET_WRITE_FAULT
metze
2010-04-15 17:32:30 +02:00
Nadezhda Ivanova
cec0e86ec8 s4:Added a test to make sure we ignore ACEs with ID flag set. 2010-04-15 18:21:55 +03:00
Nadezhda Ivanova
205c826611 A bit of refactoring in the SD creation code. 2010-04-15 14:44:34 +03:00
Stefan Metzmacher
e9d4f1578c s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
51f7b1382b s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
c85884ecc8 s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
98464853f4 s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
2aba845816 s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
6f4218a4aa s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
1864cd8fa7 s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
0cc24f2f9b s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead of DCERPC_NCA_S_PROTO_ERROR
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
cf9d425e3d s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
de94672fe0 s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA instead of NT_STATUS_NET_WRITE_FAULT
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
bb4a958c6d s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of DCERPC_FAULT_CONTEXT_MISMATCH
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
34a6350715 s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of NT_STATUS_NET_WRITE_FAULT
metze
2010-04-15 09:34:04 +02:00