summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-23tsocket: let tstream_inet_tcp_connect_recv() optionally return the used ↵Stefan Metzmacher3-6/+12
local address tstream_inet_tcp_connect_send() usually only gets no local port number and it may use the wildcard address '0.0.0.0' or '::'. tstream_inet_tcp_connect_recv() provides the used local address and port which are used on the wire. metze
2010-10-23tsocket: ask the kernel for the specific local address after a tcp connectStefan Metzmacher1-3/+54
metze
2010-10-23lib/replace: use snprintf() in test code to avoid warnings in the IBM-CheckerStefan Metzmacher1-2/+2
metze
2010-10-23lib/replace: fix rep_strtoull() prototypeStefan Metzmacher2-3/+3
metze
2010-10-22Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison11-38/+29
lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
2010-10-22s4-dsdb_syntax: Setup "String(Case Sensitive)" syntaxKamen Mazdrashki1-3/+10
Currently it is mapped to Octet String LDAP syntax for comparison purposes. According to LDAP rfc we should be using same comparison as Directory String (LDB_SYNTAX_DIRECTORY_STRING), but case sensitive. But according to ms docs binary compare should do the job: http://msdn.microsoft.com/en-us/library/cc223200(v=PROT.10).aspx Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Fri Oct 22 22:19:50 UTC 2010 on sn-devel-104
2010-10-22Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison11-29/+38
Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
2010-10-22Fix const warning. Allocate off NULL as we always talloc_free().Jeremy Allison1-1/+1
2010-10-21s4-dsdb/schema_syntax: Separate validation for numericoid OID valuesKamen Mazdrashki1-3/+47
This implementation doesn't use prefixMap/Schema to validate numericoid OIDs. We may not have this OID yet, so I see no point checking schema for if we have it. Side effect of using prefixMap/Schema for validating numericoids is that we mistakenly add the OID to the prefixMap. This led to a corrupted prefixMap in LDB. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Oct 21 23:32:26 UTC 2010 on sn-devel-104
2010-10-22asn1_tests: Implement negative unit-tests for ber_write_OID_String()Kamen Mazdrashki1-0/+22
2010-10-22asn1: ber_write_OID_String() to be more picky about supplied OIDKamen Mazdrashki1-0/+5
Now function will check for invalid OID handling cases where: - sub-identifier has invalid characters (non-digit) - 'dot' separator found on unexpected place. For instance '.' at start or end of the OID. Two '.' in a row.
2010-10-21waf: Mark the replacement zlib private so that it can build on machine ↵Matthieu Patou1-0/+1
without a system zlib Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 21 21:47:46 UTC 2010 on sn-devel-104
2010-10-22replace: use replace for non 'samba' compliant strptimeMatthieu Patou1-0/+19
2010-10-22replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou3-2/+77
2010-10-21Lowercase socket_wrapper name.Jelmer Vernooij7-7/+9
Avoid linking against socket_wrapper outside of developer mode. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 21 20:26:11 UTC 2010 on sn-devel-104
2010-10-21s4-dsdb extended_dn_out: Move lazy dereference control creation to lazy-initAndrew Bartlett1-54/+77
We didn't seem to get the control created by the time we do searches here. Andrew Bartlett Autobuild-User: Anatoliy Atanasov <anatoliy@samba.org> Autobuild-Date: Thu Oct 21 12:29:54 UTC 2010 on sn-devel-104
2010-10-21tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)Jelmer Vernooij12-128/+126
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 21 11:47:22 UTC 2010 on sn-devel-104
2010-10-21s4-waf: we don't need the smbtorture.static for s3 any moreAndrew Tridgell1-11/+0
this breaks the build farm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 21 11:04:21 UTC 2010 on sn-devel-104
2010-10-21autobuild: don't cleanup the pid file within the retry loopAndrew Tridgell1-1/+2
if we rebase and retry we need to keep the pid file
2010-10-21waf: RPC_NDR_WINBIND is samba4 specificAndrew Tridgell2-1/+9
this caused problems with the s3 waf build
2010-10-21ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"Matthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104
2010-10-21waf: check the linker accepts a set of ldflags before using themAndrew Tridgell1-1/+10
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 21 08:45:49 UTC 2010 on sn-devel-104
2010-10-21s4-dsdb: force LDB_ERR_NO_SUCH_ATTRIBUTE on missing schemaInfoAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-ldb: make ldb_options_find() publicAndrew Tridgell3-2/+231
we need to make this symbol public to allow for -Wl,-no-undefined, as otherwise the pyldb module can't find the symbol when it creates the module
2010-10-21waf: loosen the restriction on depending on python libsAndrew Tridgell1-1/+3
the pidl generated python code can generate dependencies between two python modules, so we have to allow this for now
2010-10-21waf-python: make the pyext flag add the pyembed features for librariesAndrew Tridgell1-1/+3
this is rather strange, but we get build errors without it. There may be a bug in the waf python tool, or I may misunderstand how to use it
2010-10-21waf: fixed the handling of -Wl,-no-undefinedAndrew Tridgell4-14/+6
this flag was not being propogated to our link rules, so we were not in fact enforcing no undefined symbols in libraries.
2010-10-21s4-librpc: fixed depenencies for libcli/securityAndrew Tridgell1-5/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21libcli: LIBSECURITY depends on NDR_SECURITYAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-dsdb: fixed depenencies for -no-undefinedAndrew Tridgell2-5/+5
added some depenencies needed for -Wl,-no-undefined
2010-10-21s4-events: LIBEVENTS depends on LIBSAMBA-UTILAndrew Tridgell1-1/+1
it needs it for the debug code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-rpc_server: split out DCERPC_SHARE as a separate subsystemAndrew Tridgell5-3/+12
this avoids a problem with -Wl,-no-undefined in the ntvfs layer Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-python: python_samba needs pyextAndrew Tridgell1-1/+2
2010-10-21waf: show duplicate objects in python modules as well as librariesAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-waf: removed the dependency loop between ntvfs and dcerpc_serverAndrew Tridgell1-5/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21librpc: added a few more NDR_* targets to NDR_SAMBAAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-ldb: make pyldb_util a private libraryAndrew Tridgell1-1/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21librpc: added RPC_NDR_SAMBA grouping libraryAndrew Tridgell1-1/+9
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21lib: make WRAP_XATTR a private libraryAndrew Tridgell1-6/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: added pyext option to SAMBA_LIBRARY()Andrew Tridgell1-1/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21librpc: added NDR_XATTR and NDR_UNIXINFO to the NDR_SAMBA grouping libraryAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-python: added a samba_python grouping libraryAndrew Tridgell1-0/+6
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-param: added a libshares grouping libraryAndrew Tridgell1-0/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s3-waf: mark some libraries as privateAndrew Tridgell1-0/+5
public libraries must have a vnum specified
2010-10-21waf: raise an error on a dependency on a python moduleAndrew Tridgell1-0/+3
it is never correct to list a dependency on a python module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-waf: don't depend directly on python modulesAndrew Tridgell4-9/+9
build rules should not list dependencies on python modules. Instead, if code needs the module it should use the python API import calls to access the module. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-waf: removed the XATTR and SASL aliasesAndrew Tridgell3-7/+2
these were hangovers from the old build system names Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: prevent the global deps list creating depenency loopsAndrew Tridgell1-1/+9
this prevents a loop between SOCKET_WRAPPER and replace in the s3 waf build
2010-10-21s4-libcli: make LIBSECURITY_SESSION a private libraryAndrew Tridgell1-5/+6
2010-10-21s4-socket: make LIBNETIF a private libraryAndrew Tridgell1-5/+6