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

1125 Commits

Author SHA1 Message Date
Volker Lendecke
7a911b3571 Add a in-memory cache
This is a more general API that caches data with a LRU scheme. See
include/cache.h. No comments yet, I'm still working on it. But Jeremy has given
me a hint in one of his checkins that he would like to make use of this now.

The idea is that we get rid of all our silly little caches and merge them all
into one cache that we can then very easily trim, for example even with a
smbcontrol message if someone decides memory is tight. The main user is the
stat cache, this patch also converts the getwd cache. More caches to come.
2007-12-18 09:56:04 +01:00
Rishi Srivatsavai
db74b99d0e Add smbclient support for basic mDNS browsing.
Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification
and minor syle changes by me.
2007-12-17 22:09:09 -08:00
Volker Lendecke
b89f87242b Remove t_doschar.c 2007-12-17 07:18:30 +01:00
Stefan Metzmacher
075d315e0f winbindd: move domain child specific stuff into its own file
metze
2007-12-14 08:28:35 +01:00
Rishi Srivatsavai
1e7241517d Register the smb service with mDNS if mSDN is supported.
If mDNS is supported, attempt to register the first port we are
listening on for the _smb._tcp service. This provides more reliable
service discovery than NetBIOS browsing.
2007-12-13 20:56:29 -08:00
James Peach
2dfe9525b9 Autoconf support for detecting DNS Service Discovery support.
Patch from Rishi Srivatsavai <rishisv@gmail.com>, with some
adaptations.
2007-12-12 19:55:20 -08:00
Günther Deschner
3954313d4e When building nsswitch, make sure to also build smbcontrol.
Guenther
2007-12-11 15:26:09 +01:00
Kai Blin
212ab58a3a vlp: Build vlp (virtual line printer) against current git on make
everything.
2007-12-11 11:53:57 +01:00
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