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

1117 Commits

Author SHA1 Message Date
Volker Lendecke
54e5d44046 dbwrap_rbt
This is meant as a replacement for the internal tdb. To me it seems a bit silly
that for in-memory structures we do our own memory management. With this rbt
based approach we can make use of the system-supplied malloc.
2007-12-10 16:06:32 +01:00
Volker Lendecke
c871fd802f Make the Linux rbtrees compile within Samba 2007-12-10 16:06:32 +01:00
Jeremy Allison
9da4f40843 After conversations with Jerry, remove smbctool until it's
maintained. Now I don't have to fix the pstrings in it :-).
Jeremy.
2007-12-07 12:46:55 -08:00
Jeremy Allison
4c32a22ac5 Don't build rpctorture anymore - not maintained. Just remove.
Remove all vestiges of pstring (except for smbctool as noted
in previous commit).
Jeremy
2007-12-07 12:26:32 -08:00
Jeremy Allison
46b67fd82c Remove pstrings completely except for smbctool (what does this do ?).
Don't build this for now.
Jeremy.
2007-12-07 12:02:44 -08:00
Jeremy Allison
da558a7bdb Missed smbmnt popt.
Jeremy.
2007-12-06 18:51:10 -08:00
Jeremy Allison
6ac5d81655 Get closer to building with smbmount. Move parameter line changes
into lib/util.c
Jeremy.
2007-12-06 18:49:39 -08:00
Jeremy Allison
252ef28bb8 Add popt to binaries in makefile. Hack clitar to compile until I fix it.
Jeremy.
2007-12-06 18:08:01 -08:00
Igor Mammedov
f802db70b8 * Adds support for cifs.spnego helper into configure and Makefile.in
* Added checks for spnego prereq keyutils.h and kerberos in configure.in

Signed-off-by: Igor Mammedov <niallain@gmail.com>
2007-12-05 14:33:21 -05:00
Günther Deschner
1d615e3ac3 Reanimate rpcclient wkssvc command.
Guenther
2007-12-03 13:08:20 +01:00
Günther Deschner
a41f9aef84 Add "net dom" command suite to "net".
Guenther
2007-11-30 22:25:01 +01:00
Günther Deschner
08a5a036ba Add NetJoinDomain call.
Guenther
2007-11-30 22:25:01 +01:00
Günther Deschner
6bf2c8038c Move param helper routines to one place.
Guenther
2007-11-30 22:25:01 +01:00
Volker Lendecke
99b3289aa4 Do not link in SOCKET_WRAPPER_OBJ twice 2007-11-22 16:00:13 +01:00
Gerald (Jerry) Carter
6b62b7dbab Fix unresolved symbols in smbumount from addition of talloc_stackframe(). 2007-11-21 10:27:01 -06:00
Stefan Metzmacher
c148e91fde use samba4's librpc/ndr/uuid.c
metze
2007-11-09 11:51:20 +01:00
Stefan Metzmacher
8ad4287cca make test: start winbindd
metze
2007-11-09 09:53:03 +01:00
Stefan Metzmacher
02cfd28362 make test: activate nss_wrapper for make test
metze
2007-11-09 09:53:02 +01:00
Stefan Metzmacher
9682792962 use nss_wrapper code in samba3 when --enable-nss-wrapper is given
metze
2007-11-09 09:52:58 +01:00
Michael Adam
9dd18bb534 Move some access check functions that are not posix-acl specific
to a new source file of their own.

Michael
2007-11-06 19:32:10 +01:00
Gerald (Jerry) Carter
b7d2fadbef Patch from Debian Samba package maintainers:
Patch 1 of 3:

- Patch 1 adds the new variables
- Patch 2 makes uses of them for files belonging to the "state" path
  and the "code pages" path
  This patch seemed more easily acceptable, which explains why we
  separated it from patch 3
- Patch 3 reassigns files to the "cache" path. Indeed all "debatable"
  changes have been moved to that one

The point is adding:

- a path for non discardable state data: basically all TDB files
  that may need to be backed up
- a path for shared data: mostly codepage stuff
- a path for cache data to host files such as
  browse.dat, printers.tbd, <printer>.tdb

All these are currently mixed in "libdir" (${prefix}/lib/samba by default).
The patch keeps these new paths to point to ${prefix}/lib/samba by default
and does therefore not change the software behaviour.  Used alone, it just
adds unused variables...so it can safely be used in sources without any
behaviour change and no impact on Samba developers work.
2007-11-01 13:00:10 -04:00
Jeremy Allison
bfbdb6324c Add in the recvfile entry to the VFS layer with a default
implementation. Needed for the zero-copy write code.
Jeremy.
2007-10-29 17:16:13 -07:00
Volker Lendecke
e17d3e10e8 Two patches
Hi!

Can you check and push them?

Thanks,

Volker

From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sat, 27 Oct 2007 14:20:09 +0200
Subject: [PATCH] Fix some warnings and errors
2007-10-27 12:50:36 -07:00
Andrew Tridgell
8b19cb17b9 added a syncops VFS module for filesystems which do not guarantee meta-data operations are immediately committed to disk in stable form. Essential for clustered Samba setups 2007-10-23 20:43:27 +10:00
Stefan Metzmacher
56640908a6 r25570: move code of the locator child into its own file
metze
2007-10-22 08:46:10 +02:00
Stefan Metzmacher
a1c354866c r25568: move idmap related functions into their own file.
the final goal is to have 3 child dispatch tables
'domain', 'idmap' and 'locator' instead of one.

metze
(cherry picked from commit 97c63f1b95)
2007-10-22 08:46:10 +02:00
Stefan Metzmacher
9e5ad21e67 remove unused print_test.c code
metze
2007-10-13 15:09:24 +02:00
Jelmer Vernooij
754671b8be Merge branch 'v3-2-stable' into my_branch 2007-10-12 19:41:01 +02:00
Jelmer Vernooij
4ac867f558 Fix valgrind window title. 2007-10-12 18:42:45 +02:00
Guenther Deschner
6ae4066bbb Rename krb5 locator plugin to "winbind_krb5_locator".
Guenther
2007-10-11 15:12:12 +02:00
Gerald (Jerry) Carter
5c6c8e1fe9 [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch. 2007-10-10 15:34:30 -05:00
Stefan Metzmacher
2dbc168e54 r25570: move code of the locator child into its own file
metze
2007-10-10 12:31:15 -05:00
Stefan Metzmacher
97c63f1b95 r25568: move idmap related functions into their own file.
the final goal is to have 3 child dispatch tables
'domain', 'idmap' and 'locator' instead of one.

metze
2007-10-10 12:31:14 -05:00
Stefan Metzmacher
f5b089370a r25470: use --immediate like in samba4 to get more usefull output
metze
2007-10-10 12:31:06 -05:00
James Peach
ee1eba2855 r25432: Merge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduce
spurious tree differences.
2007-10-10 12:31:05 -05:00
Jelmer Vernooij
bdc831ddb3 r25415: Merge the 3.2-perltest branch that switches Samba 3.2 to use Samba 4's selftest code. See the mailing list for details. 2007-10-10 12:31:03 -05:00
Jeremy Allison
cc19c0ace4 r25406: Make the Linux nss client code thread-safe.
Fix originally inspired from code from boyang <yyyeer.bo@gmail.com>.
Jeremy.
2007-10-10 12:31:03 -05:00
Stefan Metzmacher
3ac7566ae1 r25154: move winbindd code into winbindd/
metze
2007-10-10 12:30:46 -05:00
Jeremy Allison
dee8beba7a r25009: Large patch discussed with Volker. Move unix_convert to a talloc-based
interface. More development will come on top of this. Remove the
"mangled map" parameter.
Jeremy.
2007-10-10 12:30:32 -05:00
Michael Adam
5d94c3dab2 r24955: Reformat some object lists in Makefile.in to minimize the diff. 2007-10-10 12:30:30 -05:00
Günther Deschner
ce7c816083 r24841: The locator has no dependencies to ldap libs anymore. Also fix the build.
Guenther
2007-10-10 12:30:27 -05:00
Günther Deschner
af90c6949c r24833: Move locator to nsswitch (does not belong to libads anymore).
Guenther
2007-10-10 12:30:26 -05:00
Volker Lendecke
6585ea2cb7 r24809: Consolidate the use of temporary talloc contexts.
This adds the two functions talloc_stackframe() and talloc_tos().

 * When a new talloc stackframe is allocated with talloc_stackframe(), then
 * the TALLOC_CTX returned with talloc_tos() is reset to that new
 * frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse
 * happens: The previous talloc_tos() is restored.
 *
 * This API is designed to be robust in the sense that if someone forgets to
 * TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and
 * resets the talloc_tos().

The original motivation for this patch was to get rid of the
sid_string_static & friends buffers. Explicitly passing talloc context
everywhere clutters code too much for my taste, so an implicit
talloc_tos() is introduced here. Many of these static buffers are
replaced by a single static pointer.

The intended use would thus be that low-level functions can rather
freely push stuff to talloc_tos, the upper layers clean up by freeing
the stackframe. The more of these stackframes are used and correctly
freed the more exact the memory cleanup happens.

This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and
lp_talloc_ctx (did I forget any?)

So, never do a

tmp_ctx = talloc_init("foo");

anymore, instead, use

tmp_ctx = talloc_stackframe()

:-)

Volker
2007-10-10 12:30:24 -05:00
Günther Deschner
cd1fccaf8f r24806: Fix the build, sorry...
Guenther
2007-10-10 12:30:23 -05:00
Günther Deschner
91d10fe159 r24805: When we can build the locator, build it.
Guenther
2007-10-10 12:30:23 -05:00
Gerald Carter
ba05dc013f r24788: Cleanup some linking msgs and remove references to libmsrpc
in SAMBA_3_2_0
2007-10-10 12:30:21 -05:00
Günther Deschner
908e7963b8 r24748: Remove all dependencies to samba internals and convert the krb5 locator plugin
into a tiny winbindd DsGetDcName client. This still does not solve the case of
using the locator from within winbindd itself but at least gencache.tdb and
others are no longer corrupted.

Guenther
2007-10-10 12:30:17 -05:00
Gerald Carter
22f2f1e033 r24745: Merge Simo's shared lib build fix from svn r22842 that was lost
somehow.  Don't include the PIE_FLAGS when building shared libs.
2007-10-10 12:30:17 -05:00
Günther Deschner
3263cd680f r24742: Add experimental DsGetDcName() call (will be used by krb5 locator for fine
grained KDC DNS queries).

Guenther
2007-10-10 12:30:16 -05:00
Günther Deschner
3e240672b4 r24416: Some more minor edits for libgpo, mostly reformatting and moving of functions.
Guenther
2007-10-10 12:29:43 -05:00