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

3361 Commits

Author SHA1 Message Date
Jelmer Vernooij
145bc26a0f r25855: Check for HPUX dl functions.
(This used to be commit 478b5ac8d92a23a32349bedfe7c6caf98b67fb39)
2007-12-21 05:44:29 +01:00
Jelmer Vernooij
f0be600e0d r25854: Link against -ldl properly.
(This used to be commit 6c46a925288e6be0a0e5f86e5a57ce269dc7a3df)
2007-12-21 05:44:28 +01:00
Jelmer Vernooij
a0e67315a4 r25853: Specify LIBS to sample_module - fixes build for gcov hosts.
(This used to be commit db9ebea52bf739cc297e94178a3a03548fd5ddfb)
2007-12-21 05:44:28 +01:00
Jelmer Vernooij
26c3cad60f r25852: Move SHLIBEXT determination into a test as well.
(This used to be commit aaaed5edc06f3055794e55a8038dbbdac47ce5b6)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
dd66e34d41 r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.
(This used to be commit d28c8b822e7b571f24542409376bba8701eeef79)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
6e561c7f7d r25850: Add macro for picflag.
(This used to be commit 9ebc6f2d17349b214618d65b29826867796c12ce)
2007-12-21 05:44:26 +01:00
Jelmer Vernooij
48ed51e61e r25846: Add configure test for -Wl,--export-dynamic.
(This used to be commit f67040d2a0cb8723f1bf0e9a9d90a821b38697b1)
2007-12-21 05:44:24 +01:00
Jelmer Vernooij
f3c0a6c459 r25844: Enable soloading by default.
(This used to be commit 8760f81aeae6a3275c6d2e95c72ec5f8b42fbea6)
2007-12-21 05:44:23 +01:00
Jelmer Vernooij
61b5dce0e6 r25843: Finish check-soloading.
(This used to be commit 4fd3770f0c3f9a3e586f1a03a759dab782e04ba7)
2007-12-21 05:44:23 +01:00
Jelmer Vernooij
f017f87107 r25842: Start working on test for loading dso's in ldb.
(This used to be commit d41ed7ca8d3954bf586126edd7aba17acc6af8a1)
2007-12-21 05:44:22 +01:00
Stefan Metzmacher
6ce86941de r25839: use nss_wrapper code in samba4 if
--enable-nss-wrapper or --enable-developer is given

metze
(This used to be commit f8bc6b9ad0eec60bff7fdc5653397efd9a044a29)
2007-12-21 05:44:20 +01:00
Stefan Metzmacher
4d354fd583 r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
metze
(This used to be commit 17f9189fb4b34dbc08f6aded6b0c81ee8eb07a9f)
2007-12-21 05:44:19 +01:00
Stefan Metzmacher
9dc10a65b0 r25837: nss_wrapper: add nss_wrapper.pl
This script will be used to add|delete passwd|group entries

metze
(This used to be commit 1f51a2db0aae05c062fa97c3989c71464b5235a9)
2007-12-21 05:44:19 +01:00
Stefan Metzmacher
be93d8a062 r25836: nss_wrapper: add support for groups and return EPERM in initgroups()
The NSS_WRAPPER_GROUP envvar should point to
the /etc/group style file.

Note: NSS_WRAPPER_PASSWD and NSS_WRAPPER_GROUP both
      need non-empty values to enable NSS Wrapper
      support.

metze
(This used to be commit fa255cc4b5c03ffe7b0fcf6c1fe4b61ff303fdd8)
2007-12-21 05:44:18 +01:00
Stefan Metzmacher
b8da353a02 r25835: nss_wrapper: add support for passwd accounts
The NSS_WRAPPER_PASSWD envvar should point to
the /etc/passwd style file.

metze
(This used to be commit c98028458ab451bdde6ec2df6a12babc52ec1625)
2007-12-21 05:44:18 +01:00
Stefan Metzmacher
557b63be06 r25834: nss_wrapper: add lib/nss_wrapper skeleton
metze
(This used to be commit 9fdde8d5f5cc3ea49c0fb4078d7989058462e1d2)
2007-12-21 05:44:18 +01:00
Stefan Metzmacher
149190ff21 r25830: fix compiler warning
metze
(This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
2007-12-21 05:44:16 +01:00
Günther Deschner
f2002541ce r25803: Make our security descriptor acl manipulation methods more generic so that we
can add and delete ACEs for SACLs as well as for DACLs.

Guenther
(This used to be commit 947fff994181f0ae50ac76d09621ddd684873112)
2007-12-21 05:44:06 +01:00
Stefan Metzmacher
ffc3ff734e r25802: fix the build on solaris, void functions doesn't return values
metze
(This used to be commit 7d6c3e31de448c59dbb6933917c4f434c90cedf6)
2007-12-21 05:44:05 +01:00
Günther Deschner
c4b9283bbb r25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if not at the
beginning or the end of a blob). Usefull when inspecting protocols that
exchange huge mostly empty blobs.

Guenther
(This used to be commit c96047d022555678dabe08c0de94f0913bb4d047)
2007-12-21 05:44:04 +01:00
Stefan Metzmacher
f603a0c579 r25783: socket_wrapper: don't include "includes.h"
metze
(This used to be commit 47f865165e772540334dcbcf80cfc1999b0132fa)
2007-12-21 05:43:57 +01:00
Andrew Bartlett
2de30ecd94 r25755: Fix a couple of memory leaks, in particular a new leak onto the NULL
context caused by my objectclass module work.

Andrew Bartlett
(This used to be commit 2a835d900fee71e4461d5d18e39b4358fa6fdfba)
2007-12-21 05:43:46 +01:00
Stefan Metzmacher
74a2b05793 r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
metze
(This used to be commit 5648c8a0de7482a28a5b95410c083ac87577d482)
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
805eb06209 r25726: [libreplace] move and fix getaddrinfo configure checks
- move getaddrinfo check into getaddrinfo.m4
- add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements

metze
(This used to be commit b594d9c9fa86249e3d3988702a2333460cd70436)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
79affaf37a r25725: merge commit bc9008aa1dcb66890795f0ff2d3046da7df867d9 from v3-2-test:
Author:     Jeremy Allison <jra@samba.org>
AuthorDate: Wed Oct 24 14:40:24 2007 -0700

We do support name lookups for host and service in our replacement
code - remove the restrictions from the original Postgres code.

Jeremy.
(This used to be commit 25a892f2ad1b281869779686ca23f2ed29b46a5c)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
88f6c5a1d2 r25724: - include getaddrinfo.h after we have defined struct addrinfo
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions

metze
(This used to be commit 57d5cf4b5fe8885b1375059aa143c9c71d2503b4)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
31569f1c88 r25718: [libreplace] if we replace types define the HAVE_<type> macro
this is needed as heimdal's roken.h also tries to replace the types

metze
(This used to be commit 8b92b811015d0855efe3cf4c58cd08e3654f8e88)
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
582496f5d0 r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
metze
(This used to be commit 12cec014c465a55974aedf44e0e782f5fb841088)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
c01f61340b r25714: [libreplace] move define of a constant to near to the others
metze
(This used to be commit 8bd2cf71bee1a08c3d420a330730434edbac5e28)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
1cfd89c6aa r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze
(This used to be commit a3657a4e7175e35707e7a00330f6924833774253)
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
1a766af41e r25695: [libreplace] fix the standalone build of libreplace
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!

metze
(This used to be commit 95462d614d68a93e85232e3a779f8bfa86fba4d1)
2007-12-21 05:43:18 +01:00
Andrew Tridgell
0906096ee4 r25690: - only use a readonly traverse in ldb_search when not in a transaction. When we are in a transaction then we could be in a top level modify operation (such as rename), so we must use a writeable traverse so that the async callbacks can do the modifies while the search is progressing.
- don't do the lockall operation on the tdb during a ldb search if in
  a transaction, as this would prevent modifies by callbacks as well
(This used to be commit aa9ab431e071882f42ebc882e809ae1d4b8778d4)
2007-12-21 05:43:15 +01:00
Stefan Metzmacher
9f53479997 r25687: Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)
(This used to be commit facb811bb3c77a0b98089c283fe0707c5f486c88)
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
1b73fcadb2 r25686: Added in missing def for AI_ADDRCONFIG.
Jeremy.
(cherry picked from commit 3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf)
(This used to be commit 5d2995c413ff3da801c40fc6d631e2cd443695e3)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
c68e3d8d65 r25685: rename getsmbpass -> rep_getpass and provide the function prototype
metze
(cherry picked from commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e)
(This used to be commit cd5069a8ca17a3a14814c0fbf55f113690291165)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
de0343b77b r25684: use "system/*.h" to get the system includes
metze
(cherry picked from commit d20c2fa274297e9577ed28b8ed04806a425bdc57)
(This used to be commit ee8557783534ac5b075a8a4655a12b33b854c050)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
2367364094 r25683: fix the compilation of getpass.c and it's configure test
metze
(cherry picked from commit f4c0961a16a84dcdfe6e2faafb75c76983e6d466)
(This used to be commit 5d747fcad0b0ac66584da500148e7647122e0544)
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
190039a378 r25682: r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
(cherry picked from commit 33ee0cfb190a883229d0824d7194898fd8966ceb)
(This used to be commit 3910d069413834744b17175bb29775a69002712e)
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
066f56bfef r25681: r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
(cherry picked from commit 46c12de07fe6f44bcf58ca9de276e7932384843d)
(This used to be commit 7099dde3fd8962e752451ebe2d5d79de4d7caee9)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
50a749404b r25680: Volker's fix for bug #668. Change the \n after the password prompt to go to tty instead of stdout.
(cherry picked from commit 0cd1ed0424ce87f60070d43caffda41be6706d59)
(This used to be commit 249d69fd85b67657a4523ffc9244a8b4ab01270a)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
2627603506 r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
metze
(cherry picked from commit d4ae42b1b2982dd786d6da16d7fa964d25fd3356)
(This used to be commit a11d21790fc2ee33998e042195ccbad73631bad8)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
090015a6fb r25678: reformat getpass() replacement code
metze
(cherry picked from commit 3e8f43e3cf97f10be4717978643ef3edca8650a5)
(This used to be commit 78da4477a7ef920ff77b41abb841465511b8db31)
2007-12-21 05:43:10 +01:00
Stefan Metzmacher
ce7a3abcd8 r25677: add missing stuff from samba3
metze
(This used to be commit d286c0533dd2726ebc547dcaf99f45169d4a9d2f)
2007-12-21 05:43:09 +01:00
Andrew Tridgell
e95a5e2541 r25676: fixed a valgrind error in the epoll event backend. The linked list
could get mucked up.
(This used to be commit 67240f380b2828eb85463ab2d256ae601f57348f)
2007-12-21 05:43:09 +01:00
Andrew Bartlett
e19d281cb7 r25661: We don't actually need to know with DEBUG(0, ... every time we ask for
some random bytes.

Andrew Bartlett
(This used to be commit 606c82f6254b8dc6fb32740a7bb55a1989081fe7)
2007-12-21 05:43:03 +01:00
Andrew Bartlett
6554433fc2 r25660: Add a new interface 'generate_secret_buffer()', to be used when we
require top-quality entropy.  We don't want to waste system enropy
generating challenges (which simply need to be unpredictable, not
secret) or when generating UUIDs.

Rework generate_random_buffer() to use /dev/urandom less often, only
to seed the existing RC4 based PRNG.  (With an exception to ensure we
don't waste this setup cost for very small entropy requests).

Perhaps we should be using heimdal's code for this instead?

This should drasticly reduce our entropy use, particularly in the
build farm (automated Samba build on hosts without much other source
of entropy).

Andrew Bartlett
(This used to be commit 6a5630d37191542022f02fae519227b7829ef620)
2007-12-21 05:43:03 +01:00
Jelmer Vernooij
957af15e4b r25630: Allow "NULL" as memory context, for consistency with the rest of the code,
which also does.
(This used to be commit 083b606496308741958bb9fc6b3e50a582857677)
2007-12-21 05:43:02 +01:00
Jelmer Vernooij
a449b30ca4 r25628: Fix formatting, missing include.
(This used to be commit aafd3ea03f52b08b6697f3778728659c790d03b4)
2007-12-21 05:43:01 +01:00
Jelmer Vernooij
ef13073676 r25627: Remove unused global.
(This used to be commit b0b4668333b53991b04cae8905836c766e50aa10)
2007-12-21 05:43:01 +01:00
Jelmer Vernooij
f26222df4d r25626: Move some debug-specific prototypes to debug.h.
(This used to be commit 84a202754004ec618aa2663a4614d80eb2c7ce60)
2007-12-21 05:43:00 +01:00