1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

63798 Commits

Author SHA1 Message Date
Jelmer Vernooij
f2527d217c replace: Avoid hiding symbols when libreplace is builtin, as this
appears to cause unresolved symbols at the moment.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
380ee5f081 ldb: Remove dependency on self. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
e0fe941218 wafsamba: Use BUILTIN_LIBRARY() rather than relying on side-effects. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
da0fb0affb ldbsamba: Build as subsystem to prevent infinite recursion issues. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
4c22434b3b s4: Don't build a $prefix/lib/libpython.so, as such a library often already exists :-) 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
b391b7d072 s4-waf: Don't include pytalloc when embedding python. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
ebd0bca555 s4: Build more python convenience files as subsystems rather than as python modules. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
8e8496208b ldb: Don't build pyldb_util as python module but rather as subsystem, so as to not delute /usr/lib. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
f74dceda8c ldb-samba: Don't build pyldbsamba as python module but rather as subsystem, so as to not delute /usr/lib. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
9382507909 web_server: Don't build wsgi support as python module but rather as
subsystem so we don't install it into /usr/lib.
2010-06-18 23:51:40 +02:00
Matthias Dieter Wallnöfer
837a975c2b s4:cldap_server/rootdse.c - simplify the code a bit
Remove "NULL"-content variables and use "NULL"s directly as arguments. Add some
linewraps where needed.
2010-06-18 19:21:34 +02:00
Matthias Dieter Wallnöfer
9969cfc36c s4:cldap_server.c - here the counter variable should be "signed" 2010-06-18 18:57:38 +02:00
Jeremy Allison
2e8c563961 Second part of fix converting prs_XX struct and functions to talloc. Remove unneeded prs_mem_free calls.
Jeremy.

Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-18 07:42:05 -04:00
Jeremy Allison
f4e7d9d38e Convert the prs_XXX struct and functions to use talloc instead of malloc. Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls.
Jeremy.

Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-18 07:41:47 -04:00
Matthieu Patou
3fa38046cb unittest: Change the name of the base ldb test so that it can be easily called separatly 2010-06-18 10:04:28 +02:00
Matthias Dieter Wallnöfer
c9ef9da12f s4:ldap_backend.c - fix crash bugs when we got in error situations with "res" still set to "NULL" 2010-06-18 10:03:19 +02:00
Matthias Dieter Wallnöfer
e7fef1ac84 s4:ldap_backend.c - fix a small error (use "ModifyResponse" rather than "AddResponse") 2010-06-18 10:03:19 +02:00
Matthias Dieter Wallnöfer
955e1835ef s4:objectclass LDB module - move "mem_ctx" initialisation lower
Saves us some "talloc_free"s on error cases
2010-06-18 10:03:09 +02:00
Matthias Dieter Wallnöfer
56e4822566 s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the detection of the address family in a better way
Obviously the last attempt wasn't enough. Now we do really only read the first
byte in the address buffer which on little endian transmission does always
contain the address family (MS-NRPC 2.2.1.2.4.1).
This should now be working platform-independently.
2010-06-18 10:03:08 +02:00
Matthias Dieter Wallnöfer
01e9d090f1 s4:torture/rpc/netlogon.c - make sure that the address family is set in little endian in the "AddressToSitenames" tests 2010-06-18 10:03:07 +02:00
Matthias Dieter Wallnöfer
917f6015a6 s4:torture/rpc/netlogon.c - activate "AddressToSitenames" tests which do run against s4 2010-06-18 10:03:07 +02:00
Jeremy Allison
be31b2ba62 Use #defined constant instead of "false" to be clearer about intent. 2010-06-17 12:34:15 -07:00
Günther Deschner
160d882f34 s3-selftest: fix locktest9 in make selftest.
Guenther
2010-06-17 15:08:27 +02:00
Björn Jacke
14c8d319e3 s3:configure: use cc for linking on IRIX and fix shlib usage 2010-06-17 11:41:58 +02:00
Stefan Metzmacher
d823e529b8 s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of dcerpc_netr_LogonSamLogon()
metze
2010-06-17 10:17:33 +02:00
Stefan Metzmacher
22eb6d7b6b selftest/Samba4: make the naming of passwords more consistent
metze
2010-06-17 09:12:00 +02:00
Stefan Metzmacher
f26c0e5456 selftest/Samba4: let localfl2000dc use 127.0.0.5
Now we have 127.0.0.6-10 available for more servers.

metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
8aed54adbf selftest/Samba4: let localvampiredc use 127.0.0.2
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
6a0db03c80 selftest: use 127.0.0.11-16 for the client
This gives more room for servers.

Note: socket_wrapper currently only supports 127.0.0.1-16
      see MAX_WRAPPED_INTERFACES.

metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
1e8d025a3c selftest/Samba3: remove unused create_clientconf() function
metze
2010-06-17 09:11:58 +02:00
Stefan Metzmacher
9e3511ef1c pidl/wscript: build manpages in build group 'final'
So that waf --target=smbtorture doesn't build them

metze
2010-06-17 09:11:58 +02:00
Stefan Metzmacher
b0b2b4ff8b pidl/wscript: only try to build pidl manpages if pod2man is available
metze
2010-06-17 09:11:57 +02:00
Stefan Metzmacher
e80f576db6 pidl/wscript: call pod2man with the detected perl version
Some systems like SLES11 have a broken perl path in pod2man.

metze
2010-06-17 09:11:57 +02:00
Kai Blin
93280974b8 s3-waf: Fix the OSX 10.4 build by adding an explicit resolv dep on smbclient 2010-06-17 08:10:11 +02:00
Kai Blin
83ad437a9c s3-waf: Add check for iconv 2010-06-17 08:09:49 +02:00
Kai Blin
7a1c24705d s3-waf: Work around missing *netgrent prototypes on OSX 10.4 2010-06-17 08:09:49 +02:00
Matthias Dieter Wallnöfer
d9c81e3ea5 s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the read of the IP packet version
This should make it clearer by the use of the standardised "sa_family_t" type
and hopefully fixes the problems on platforms other than Linux (NetBSD in the
buildfarm for example).
2010-06-16 21:47:22 +02:00
Matthias Dieter Wallnöfer
ad7859dfff s4:ldif_handlers.c - fix warning 2010-06-16 21:45:15 +02:00
Jeremy Allison
7e388c8b27 Remove an unused chunk of code (will make it easier to talloc'ize prs_XXX).
Jeremy.
2010-06-16 10:27:54 -07:00
Jeremy Allison
5a77d648d9 Remove two unused functions (prs_force_dynamic, prs_set_session_key).
Jeremy.
2010-06-16 10:26:47 -07:00
Jelmer Vernooij
1614bcf0ec codepages-waf: When built with --with-fhs, install to
$prefix/share/samba, not $prefix/share.
2010-06-16 19:15:30 +02:00
Günther Deschner
aa76e8263d lib/crypto: only include what is needed.
Guenther
2010-06-16 18:58:04 +02:00
Jelmer Vernooij
65ca3e4ee9 pidl-waf: Avoid relying on MakeMaker when installing pidl manpages. 2010-06-16 18:25:04 +02:00
Jelmer Vernooij
bd8fcd869d s4: Fix build when there is a system-provided ldb. 2010-06-16 18:13:18 +02:00
Günther Deschner
a6f1c111ff s4-smbtorture: Remind myself we need to add a test for SMBsplretq in RAP-PRINTING.
Guenther
2010-06-16 17:10:15 +02:00
Günther Deschner
cfb67b1a16 s3-docs: Fix some of ntlm_auth ntlm-server-1 protocol documentation.
Guenther
2010-06-16 17:10:14 +02:00
John H Terpstra
7af7e94952 Merge branch 'master' of git+ssh://git.samba.org/data/git/samba 2010-06-16 08:57:44 -05:00
John H Terpstra
50882e2077 Fix typo reported by Söderlund David <david.soderlund@baesystems.se>. 2010-06-16 08:56:42 -05:00
Matthias Dieter Wallnöfer
12fdfc9430 s4:ldap.py - add another test about linked attributes
In addition this test makes sure that the bug regarding the search with deleted
linked attributes in the filter has been fixed.
2010-06-16 15:34:42 +02:00
Andrew Bartlett
53afe4e018 s4:ldif-handlers Add a custom handler for DNs that knows about deleted values
In Samba we my store a deleted DN for a linked attribute.  We must
ensure that we can't match on it, or else searches for member= will
still reveal it.

Andrew Bartlett
2010-06-16 15:34:42 +02:00