1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

62065 Commits

Author SHA1 Message Date
Andrew Tridgell
639fe34667 build: support make V=1 for verbose build
this also adds support for other options, such as "make TESTS=testpattern"
2010-04-18 21:08:48 +10:00
Andrew Tridgell
7aa4c11fc4 build: more adjustments for the ABI type name maps
- use 'va_list' instead of 'struct __va_list_tag *'
  Using the C name for va_list is preferable

- add support for negative ABI name matches in abi_match=.  That is
  used to exlude ldb_*module_ops from the ldb ABI

- don't include the ldb module ops or backend ops in the ABI
2010-04-18 18:24:27 +10:00
Andrew Tridgell
1a73e967f5 build: added abi_type_maps for FC12 struct va_list
fedora12 x86 uses "struct va_list"
2010-04-18 17:35:53 +10:00
Andrew Tridgell
3f1ebe805b build: don't depend on the word size of nm output
the first column varies in length for different architectures
2010-04-18 17:32:26 +10:00
Jeremy Allison
1aa80f5788 Second part of fix for bug #7331 - Compound async SMB 2 requests don't work right.
Cause us to match W2K8R2 by sending an interim compound reply
followed by a async reply.

Jeremy.
2010-04-17 22:42:23 -07:00
Andrew Tridgell
f96353adcf s4-waf: rebuild signature files with the api type maps
This is not strictly necessary, as the old types would compare equal,
but it is neater to use the generic type names
2010-04-18 15:39:59 +10:00
Andrew Tridgell
8dc2db0f6d build: added abi type maps for _Bool and __va_list_tag
This allows us to make the signature files platform independent
2010-04-18 15:39:14 +10:00
Andrew Tridgell
77768dbd75 ldb-waf: enable ABI checking in ldb
we use separate signature files for ldb and ldb-samba4, as the samba4
varient of the library has many more public symbols
2010-04-18 15:00:38 +10:00
Andrew Tridgell
7d90b59602 ldb: mark the tdb backend in ldb as _PRIVATE_ 2010-04-18 15:00:38 +10:00
Andrew Tridgell
5e26f65f79 tevent-waf: enabled ABI checking in tevent 2010-04-18 15:00:38 +10:00
Andrew Tridgell
2550bbc981 tevent: mark backend init fns as _PRIVATE_
these are not supposed to be exposed in the library
2010-04-18 15:00:38 +10:00
Andrew Tridgell
805f651dbf tdb-waf: added ABI checking for tdb 2010-04-18 15:00:38 +10:00
Andrew Tridgell
ef496e8d1d talloc: mark public functions as _PUBLIC_ 2010-04-18 15:00:37 +10:00
Andrew Tridgell
1bcd900912 talloc-waf: added ABI checking for talloc 2010-04-18 15:00:37 +10:00
Andrew Tridgell
7818e2cc8c replace-waf: hide symbols in libreplace if a builtin library 2010-04-18 15:00:37 +10:00
Andrew Tridgell
4e448e2d2c libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h
these are needed for all libs that use ABI checking, so libreplace
is the logical place for now
2010-04-18 15:00:37 +10:00
Andrew Tridgell
d81eccc0ba s4-waf: put the --xxx-wrapper options in 'developer options' group 2010-04-18 15:00:37 +10:00
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 a34eafc693d8750c0883823068e5c6f7355efa04.

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 fde707aa0c563d239c2f8c442cddfee0b6ff057f.

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