1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

13348 Commits

Author SHA1 Message Date
Stefan Metzmacher
df3f31d2d5 r25697: make *clean doesn't work after a svn up when some *.mk files were removed
the error is:
SAMBA_4_0/source> make clean
make: *** No rule to make target `lib/ldb/samba/config.mk', needed by `Makefile'.  Stop.

the problem is:
Makefile: config.status $(MK_FILES)
	./config.status

so now we let the MK_FILES variable empty for the *clean targets
if gnu make is detected, we should later test if this construct
is portable to other make implementations and remove the check for gnu make.

metze
(This used to be commit 4c8e539af1)
2007-12-21 05:43:19 +01:00
Günther Deschner
e77a831319 r25696: Fix pipe name for dfs.
Guenther
(This used to be commit 7a04419489)
2007-12-21 05:43:18 +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 95462d614d)
2007-12-21 05:43:18 +01:00
Andrew Bartlett
4bb52bfcb7 r25694: Move subtree_rename above the partitions module. The next step is to
built a linked_attributes module under this.

Andrew Bartlett
(This used to be commit 4f47e687e5)
2007-12-21 05:43:17 +01:00
Andrew Bartlett
21c65d93eb r25693: Implement the rest of subtree renames, now that tridge waved his magic
over the ldb_tdb part of the problem.

Andrew Bartlett
(This used to be commit daca0cfd2f)
2007-12-21 05:43:17 +01:00
Andrew Tridgell
5861a17042 r25692: fixed another example where the free of fde and the free of the socket
causes the fd to be closed before epoll is told
(This used to be commit d19686cf8a)
2007-12-21 05:43:16 +01:00
Andrew Tridgell
62078f17ba r25691: make "server role" case insensitive
(This used to be commit f61a9b7068)
2007-12-21 05:43:15 +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 aa9ab431e0)
2007-12-21 05:43:15 +01:00
Andrew Tridgell
ab52f9314d r25689: test with a non-zero size file
(This used to be commit 2a6713aa23)
2007-12-21 05:43:14 +01:00
Volker Lendecke
4e5e316022 r25688: Add a simple test for a samba3 regression
When trying an reqchal/auth2 for an unknown workstation account, we have
to return NT_STATUS_NO_TRUST_SAM_ACCOUNT to the auth2. v3-2-test right
now returns NT_STATUS_ACCESS_DENIED, which seems to prevent XP from
joining a Samba3 PDC.
(This used to be commit 99cc861238)
2007-12-21 05:43:14 +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 0ffdf4fdee)
(This used to be commit facb811bb3)
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
1b73fcadb2 r25686: Added in missing def for AI_ADDRCONFIG.
Jeremy.
(cherry picked from commit 3ef3c3afc3)
(This used to be commit 5d2995c413)
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 96820f8d8f)
(This used to be commit cd5069a8ca)
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 d20c2fa274)
(This used to be commit ee85577835)
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 f4c0961a16)
(This used to be commit 5d747fcad0)
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 33ee0cfb19)
(This used to be commit 3910d06941)
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 46c12de07f)
(This used to be commit 7099dde3fd)
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 0cd1ed0424)
(This used to be commit 249d69fd85)
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 d4ae42b1b2)
(This used to be commit a11d21790f)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
090015a6fb r25678: reformat getpass() replacement code
metze
(cherry picked from commit 3e8f43e3cf)
(This used to be commit 78da4477a7)
2007-12-21 05:43:10 +01:00
Stefan Metzmacher
ce7a3abcd8 r25677: add missing stuff from samba3
metze
(This used to be commit d286c0533d)
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 67240f380b)
2007-12-21 05:43:09 +01:00
Günther Deschner
c7a1a4abfa r25675: More frsapi IDL.
Guenther
(This used to be commit 7ab033e839)
2007-12-21 05:43:09 +01:00
Stefan Metzmacher
c28074da32 r25674: fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).

I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.

It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.

metze
(This used to be commit 7203f717a6)
2007-12-21 05:43:08 +01:00
Günther Deschner
af0832769f r25673: Ignore RPC-FRSAPI for samba4.
Guenther
(This used to be commit b9d53f1eea)
2007-12-21 05:43:08 +01:00
Günther Deschner
177faf940f r25672: Some more FRS werrors.
Guenther
(This used to be commit 8fa3de8dca)
2007-12-21 05:43:08 +01:00
Günther Deschner
d026214c09 r25671: Add stub FRSAPI_FORCE_REPLICATION.
Guenther
(This used to be commit a7ebef8dd7)
2007-12-21 05:43:07 +01:00
Günther Deschner
5da21cd19b r25670: Add torture test for frsapi_IsPathReplicated().
Guenther
(This used to be commit e7fc3c1da9)
2007-12-21 05:43:07 +01:00
Günther Deschner
47f67ef366 r25669: Real build fix.
Guenther
(This used to be commit 1b9e526bf6)
2007-12-21 05:43:07 +01:00
Günther Deschner
6282194fe5 r25668: Hopefully fix the build, sorry...
Guenther
(This used to be commit df94fbfe96)
2007-12-21 05:43:06 +01:00
Günther Deschner
8071c56ac2 r25667: Start on frsapi testsuite.
Guenther
(This used to be commit ebcbdb5fbd)
2007-12-21 05:43:06 +01:00
Günther Deschner
5e6372460c r25666: Add frsapi_IsPathReplicated IDL.
Guenther
(This used to be commit d8fe7652bd)
2007-12-21 05:43:05 +01:00
Günther Deschner
4860557842 r25665: Add some more WERR codes.
Guenther
(This used to be commit 846d81c0ad)
2007-12-21 05:43:05 +01:00
Günther Deschner
f1f746875c r25664: Use [out] pointers in frsapi idl.
Guenther
(This used to be commit 2114103aed)
2007-12-21 05:43:04 +01:00
Günther Deschner
c6dd81a15c r25663: Add frsapi_SetDsPollingIntervalW and frsapi_GetDsPollingIntervalW idl.
Guenther
(This used to be commit 109e05b511)
2007-12-21 05:43:04 +01:00
Günther Deschner
256b839ecc r25662: While watching traces, learned the frsapi_InfoEnum enum types.
Guenther
(This used to be commit 5922a12286)
2007-12-21 05:43:04 +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 606c82f625)
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 6a5630d371)
2007-12-21 05:43:03 +01:00
Kai Blin
1eaefd15cb r25642: Fix a small typo.
(This used to be commit 7416a1d606)
2007-12-21 05:43:02 +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 083b606496)
2007-12-21 05:43:02 +01:00
Jelmer Vernooij
a449b30ca4 r25628: Fix formatting, missing include.
(This used to be commit aafd3ea03f)
2007-12-21 05:43:01 +01:00
Jelmer Vernooij
ef13073676 r25627: Remove unused global.
(This used to be commit b0b4668333)
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 84a2027540)
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
b09047b78e r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
(This used to be commit 262c1c23a6)
2007-12-21 05:43:00 +01:00
Stefan Metzmacher
8517878144 r25623: add 'make test-swrap-pcap' and 'make test-swrap-keep-pcap'
metze
(This used to be commit 398940031b)
2007-12-21 05:42:57 +01:00
Stefan Metzmacher
23a55848d9 r25622: let --socket-wrapper-keep-pcap imply --socket-wrapper-pcap
metze
(This used to be commit eceed3f6d6)
2007-12-21 05:42:56 +01:00
Andrew Bartlett
a72869d77b r25619: As perhaps could have been expected, the CFLAGS hack broke all non-gcc
compilers.

Instead, as jelmer suggests, remove the depricated marker on fstring,
for as long as it is used in the samba3 winbind protocol.

Andrew Bartlett
(This used to be commit b15df834ae)
2007-12-21 05:42:55 +01:00
Andrew Bartlett
68c550e8e4 r25618: I'm sick of the fstring warnings turning up here. Let's see how much
of the build farm I can break with this...

Andrew Bartlett
(This used to be commit b7e4b4f95c)
2007-12-21 05:42:55 +01:00
Jelmer Vernooij
a33d97341f r25617: Make sure system include paths come after samba include paths. Patch from Timur Bakeyev.
(This used to be commit 7565c4a0dd)
2007-12-21 05:42:55 +01:00
Andrew Bartlett
5c4a4b4566 r25616: Fedora DS now has a way to install the schema and extra configuration
as part of the setup inf file.

Andrew Bartlett
(This used to be commit 6c8987464e)
2007-12-21 05:42:54 +01:00
Jelmer Vernooij
286157f4aa r25615: Honor SMBD_VALGRIND and NMBD_VALGRIND for Samba3.
(This used to be commit 9f1e4a44b5)
2007-12-21 05:42:54 +01:00
Jelmer Vernooij
61931ca643 r25614: Add trivial tdb website.
(This used to be commit 6f88c41c31)
2007-12-21 05:42:53 +01:00
Stefan Metzmacher
0e30691861 r25613: verify the length and type before checking the value,
hopefully gives more info why this fails some bigendian
platforms

metze
(This used to be commit 1d2bc79aa5)
2007-12-21 05:42:53 +01:00
Günther Deschner
bdf71f5dc6 r25612: Add test_SetKeySecurity() call.
Guenther
(This used to be commit a5e4d13eef)
2007-12-21 05:42:53 +01:00
Günther Deschner
89f6f464ea r25611: Smaller fix for winreg test.
Guenther
(This used to be commit e9e6ee4f73)
2007-12-21 05:42:52 +01:00
Günther Deschner
4fb9aeb556 r25610: Add security_descriptor_appendv() which takes va_list directly.
Guenther
(This used to be commit 99408cf20c)
2007-12-21 05:42:52 +01:00
Günther Deschner
bf1293e9f2 r25609: Reformat RPC-WINREG test.
Guenther
(This used to be commit 617091fb5a)
2007-12-21 05:42:51 +01:00
Günther Deschner
39f1dab9eb r25608: Call security_descriptor_append from within security_descriptor_create.
Guenther
(This used to be commit 1ebcceb922)
2007-12-21 05:42:51 +01:00
Günther Deschner
a6c4b9d179 r25607: Allow to set security descriptor type flags at creation time with
security_descriptor_create().

Guenther
(This used to be commit 7dd0d28d25)
2007-12-21 05:42:51 +01:00
Günther Deschner
50bf951977 r25606: Allow test_GetKeySecurity() to return a security descriptor.
Guenther
(This used to be commit 3a0d22f572)
2007-12-21 05:42:50 +01:00
Günther Deschner
c353a7b05e r25605: Last round of registry reformats (before this gets an obsession...).
Guenther
(This used to be commit ceb2ebfbf1)
2007-12-21 05:42:49 +01:00
Günther Deschner
34d166111e r25604: Add security_descriptor_append() helper function.
Guenther
(This used to be commit 7d8f53b1c7)
2007-12-21 05:42:48 +01:00
Günther Deschner
33032276f5 r25603: More reformat.
Guenther
(This used to be commit 176614423e)
2007-12-21 05:42:48 +01:00
Stefan Metzmacher
a3e5710eda r25602: don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking

metze
(This used to be commit 507d5ca7d9)
2007-12-21 05:42:47 +01:00
Stefan Metzmacher
6876d2613d r25601: replace.h should never imply any "system/*.h"
(here it's "system/time.h")

metze
(This used to be commit 00467c2593)
2007-12-21 05:42:46 +01:00
Stefan Metzmacher
e12a4cb2f3 [GLUE] fix some executable bits on shell scripts
metze
(This used to be commit 76f1f7d701)
2007-12-21 05:21:31 +01:00
Stefan Metzmacher
f1e23d5a62 r25600: fix stupid typo...this should fix the build on sunX
metze
(This used to be commit 192c05556f)
2007-10-10 15:08:03 -05:00
Stefan Metzmacher
a508a210cb r25599: print the error...
metze
(This used to be commit b7027404ba)
2007-10-10 15:08:03 -05:00
Stefan Metzmacher
39f5745c16 r25597: HPUX doesn't have INET_ADDRSTRLEN defined
metze
(This used to be commit f9696109cc)
2007-10-10 15:08:02 -05:00
Andrew Bartlett
26d4d7543b r25596: It isn't valid to take the address of an array on the stack, and this
isn't what memset wants anyway.

Thanks to Indar Kriplani <indar.kriplani@gmail.com>.  Fixes bug 5010

Andrew Bartlett
(This used to be commit fd309065bb)
2007-10-10 15:08:02 -05:00
Stefan Metzmacher
761e067996 r25595: we pass the "blackbox.smbclient.*USER and PASSWD" test
so don't let the build-farm complain that is passes unexpected

metze
(This used to be commit cf3f0de921)
2007-10-10 15:08:01 -05:00
Günther Deschner
21a7a9639c r25594: Merge from 3_2:
"Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit."

Guenther
(This used to be commit 1c1811c5e3)
2007-10-10 15:08:01 -05:00
Jeremy Allison
397a0aaa43 r25586: Fix getaddrinfo detection - from Timur.
Jeremy.
(This used to be commit 48819012f8)
2007-10-10 15:08:00 -05:00
Stefan Metzmacher
da6add2c6e r25585: don't start winbindd untill the build-farm faked users work with it
metze
(This used to be commit eacbe31c89)
2007-10-10 15:08:00 -05:00
Stefan Metzmacher
d4d5876701 r25582: build nmblookup with make testsuite as it's needed in the blackbox tests
metze
(This used to be commit 18991998b2)
2007-10-10 15:08:00 -05:00
Stefan Metzmacher
83fbf5bbab r25581: move variable to the place it belongs to.
metze
(This used to be commit 578b4711c9)
2007-10-10 15:07:59 -05:00
Jelmer Vernooij
20d1ab47f8 r25580: Error out if there are no tests to run.
(This used to be commit eddb663959)
2007-10-10 15:07:59 -05:00
Stefan Metzmacher
dae6a24532 r25579: BOOL -> bool
metze
(This used to be commit 058a0619e9)
2007-10-10 15:07:59 -05:00
Stefan Metzmacher
b0ef52e959 r25578: BOOL -> bool
metze
(This used to be commit 198e8d7fff)
2007-10-10 15:07:58 -05:00
Stefan Metzmacher
863a1dd155 r25577: BOOL -> bool
metze
(This used to be commit 6f665a1278)
2007-10-10 15:07:58 -05:00
Stefan Metzmacher
b3393247a2 r25576: BOOL -> bool
metze
(This used to be commit 9fd96e1989)
2007-10-10 15:07:58 -05:00
Jelmer Vernooij
ffc9f2e05d r25574: Support SMBD_OPTIONS, NMBD_OPTIONS and WINBINDD_OPTIONS environment variables for make test.
(This used to be commit 814027146d)
2007-10-10 15:07:57 -05:00
Jelmer Vernooij
f7c3cd1350 r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev <timur@com.bat.ru>
(This used to be commit 8d4a435601)
2007-10-10 15:07:57 -05:00
Jelmer Vernooij
0df01cee47 r25562: Use standard bool types in cyrus sasl code - patch by Julien.
(This used to be commit 4f664939af)
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
775a3d034d r25558: Define HAVE_* for other gai functions to prevent problems with libroken.
(This used to be commit e09828a634)
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
f3e212ff69 r25556: Update README.
(This used to be commit 1a7dbfde5f)
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
da6d24c459 r25555: Remove support for BOOL, True and False.
(This used to be commit 18a2bcfa9e)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
05e7c48146 r25553: Convert to standard bool type.
(This used to be commit b7371f1a19)
2007-10-10 15:07:54 -05:00
Jelmer Vernooij
3642f3b40d r25552: Convert to standard bool type.
(This used to be commit b8d6b82f12)
2007-10-10 15:07:54 -05:00
Jelmer Vernooij
0c56f8dac3 r25551: Convert to standard bool type.
(This used to be commit c9651e2c5c)
2007-10-10 15:07:54 -05:00
Jelmer Vernooij
734aaefd34 r25550: Convert to standard bool type.
(This used to be commit 3ed7aba8e2)
2007-10-10 15:07:53 -05:00
Jelmer Vernooij
af0a85bc30 r25549: Convert to standard bool type.
(This used to be commit 318bf1f744)
2007-10-10 15:07:53 -05:00
Jelmer Vernooij
2f1c0eca13 r25548: Convert to standard bool type.
(This used to be commit 190d73b44b)
2007-10-10 15:07:53 -05:00
Jelmer Vernooij
d5a93dfcb9 r25547: Convert to standard bool type.
(This used to be commit 97a241692c)
2007-10-10 15:07:52 -05:00
Jelmer Vernooij
cac2379a2f r25546: Convert to standard bool type.
(This used to be commit ac83dbf199)
2007-10-10 15:07:52 -05:00
Jelmer Vernooij
6bc52259aa r25545: Use inet_ntop for ipv4 code as well - should make it easier to share code between IPv4 and IPv6 later on.
(This used to be commit e3df90927b)
2007-10-10 15:07:51 -05:00
Günther Deschner
cc8f4eb3cd r25544: Cleanup some more indents in lib/registry.
Guenther
(This used to be commit 0d9826dc54)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
e511090a43 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks:

- avoid including network headers in replace.h unless absolutely required
- autoconf tests for getaddrinfo() in lib/replace

The heimdal-specific code also no longer looks for these functions anymore.
(This used to be commit b6d3fd84a5)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
f0bc19ae47 r25541: Add setup.py for building ldb python wrappers standalone.
(This used to be commit 0e77e3e316)
2007-10-10 15:07:50 -05:00