1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1125 Commits

Author SHA1 Message Date
Volker Lendecke
f427d4ce65 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.
(This used to be commit 7a911b3571)
2007-12-18 09:56:04 +01:00
Rishi Srivatsavai
bf2c5e2bde Add smbclient support for basic mDNS browsing.
Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification
and minor syle changes by me.
(This used to be commit db74b99d0e)
2007-12-17 22:09:09 -08:00
Volker Lendecke
7ec9ee0e05 Remove t_doschar.c
(This used to be commit b89f87242b)
2007-12-17 07:18:30 +01:00
Stefan Metzmacher
873f14ae40 winbindd: move domain child specific stuff into its own file
metze
(This used to be commit 075d315e0f)
2007-12-14 08:28:35 +01:00
Rishi Srivatsavai
12ac4c3119 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.
(This used to be commit 1e7241517d)
2007-12-13 20:56:29 -08:00
James Peach
fa8966690b Autoconf support for detecting DNS Service Discovery support.
Patch from Rishi Srivatsavai <rishisv@gmail.com>, with some
adaptations.
(This used to be commit 2dfe9525b9)
2007-12-12 19:55:20 -08:00
Günther Deschner
353dba47df When building nsswitch, make sure to also build smbcontrol.
Guenther
(This used to be commit 3954313d4e)
2007-12-11 15:26:09 +01:00
Kai Blin
5c1e5b30a5 vlp: Build vlp (virtual line printer) against current git on make
everything.
(This used to be commit 212ab58a3a)
2007-12-11 11:53:57 +01:00
Volker Lendecke
d5ab80054d 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.
(This used to be commit 54e5d44046)
2007-12-10 16:06:32 +01:00
Volker Lendecke
8a8b146ead Make the Linux rbtrees compile within Samba
(This used to be commit c871fd802f)
2007-12-10 16:06:32 +01:00
Jeremy Allison
c281ff715b After conversations with Jerry, remove smbctool until it's
maintained. Now I don't have to fix the pstrings in it :-).
Jeremy.
(This used to be commit 9da4f40843)
2007-12-07 12:46:55 -08:00
Jeremy Allison
acf15ae730 Don't build rpctorture anymore - not maintained. Just remove.
Remove all vestiges of pstring (except for smbctool as noted
in previous commit).
Jeremy
(This used to be commit 4c32a22ac5)
2007-12-07 12:26:32 -08:00
Jeremy Allison
9e8180b983 Remove pstrings completely except for smbctool (what does this do ?).
Don't build this for now.
Jeremy.
(This used to be commit 46b67fd82c)
2007-12-07 12:02:44 -08:00
Jeremy Allison
761cd24982 Missed smbmnt popt.
Jeremy.
(This used to be commit da558a7bdb)
2007-12-06 18:51:10 -08:00
Jeremy Allison
9fdf2d0586 Get closer to building with smbmount. Move parameter line changes
into lib/util.c
Jeremy.
(This used to be commit 6ac5d81655)
2007-12-06 18:49:39 -08:00
Jeremy Allison
e67a6620a7 Add popt to binaries in makefile. Hack clitar to compile until I fix it.
Jeremy.
(This used to be commit 252ef28bb8)
2007-12-06 18:08:01 -08:00
Igor Mammedov
44a59c41cf * 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>
(This used to be commit f802db70b8)
2007-12-05 14:33:21 -05:00
Günther Deschner
9cc7b8e2a0 Reanimate rpcclient wkssvc command.
Guenther
(This used to be commit 1d615e3ac3)
2007-12-03 13:08:20 +01:00
Günther Deschner
a43e3f98ad Add "net dom" command suite to "net".
Guenther
(This used to be commit a41f9aef84)
2007-11-30 22:25:01 +01:00
Günther Deschner
a51e682a21 Add NetJoinDomain call.
Guenther
(This used to be commit 08a5a036ba)
2007-11-30 22:25:01 +01:00
Günther Deschner
4b9f336a62 Move param helper routines to one place.
Guenther
(This used to be commit 6bf2c8038c)
2007-11-30 22:25:01 +01:00
Volker Lendecke
1faeda8aab Do not link in SOCKET_WRAPPER_OBJ twice
(This used to be commit 99b3289aa4)
2007-11-22 16:00:13 +01:00
Gerald (Jerry) Carter
9d42000b7e Fix unresolved symbols in smbumount from addition of talloc_stackframe().
(This used to be commit 6b62b7dbab)
2007-11-21 10:27:01 -06:00
Stefan Metzmacher
84df457860 use samba4's librpc/ndr/uuid.c
metze
(This used to be commit c148e91fde)
2007-11-09 11:51:20 +01:00
Stefan Metzmacher
702d227433 make test: start winbindd
metze
(This used to be commit 8ad4287cca)
2007-11-09 09:53:03 +01:00
Stefan Metzmacher
cfec6c3083 make test: activate nss_wrapper for make test
metze
(This used to be commit 02cfd28362)
2007-11-09 09:53:02 +01:00
Stefan Metzmacher
8322aa6977 use nss_wrapper code in samba3 when --enable-nss-wrapper is given
metze
(This used to be commit 9682792962)
2007-11-09 09:52:58 +01:00
Michael Adam
7d899b5e7b Move some access check functions that are not posix-acl specific
to a new source file of their own.

Michael
(This used to be commit 9dd18bb534)
2007-11-06 19:32:10 +01:00
Gerald (Jerry) Carter
8132a7b98b 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.
(This used to be commit b7d2fadbef)
2007-11-01 13:00:10 -04:00
Jeremy Allison
488b59cfac Add in the recvfile entry to the VFS layer with a default
implementation. Needed for the zero-copy write code.
Jeremy.
(This used to be commit bfbdb6324c)
2007-10-29 17:16:13 -07:00
Volker Lendecke
a97b33baad 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
(This used to be commit e17d3e10e8)
2007-10-27 12:50:36 -07:00
Andrew Tridgell
e5830c1365 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
(This used to be commit 8b19cb17b9)
2007-10-23 20:43:27 +10:00
Stefan Metzmacher
6ded271f77 r25570: move code of the locator child into its own file
metze
(This used to be commit 56640908a6)
2007-10-22 08:46:10 +02:00
Stefan Metzmacher
1e9e1b6fca 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)
(This used to be commit a1c354866c)
2007-10-22 08:46:10 +02:00
Stefan Metzmacher
0bb74d2f8c remove unused print_test.c code
metze
(This used to be commit 9e5ad21e67)
2007-10-13 15:09:24 +02:00
Jelmer Vernooij
98075c5542 Merge branch 'v3-2-stable' into my_branch
(This used to be commit 754671b8be)
2007-10-12 19:41:01 +02:00
Jelmer Vernooij
20d1141ed8 Fix valgrind window title.
(This used to be commit 4ac867f558)
2007-10-12 18:42:45 +02:00
Guenther Deschner
6b441e9e74 Rename krb5 locator plugin to "winbind_krb5_locator".
Guenther
(This used to be commit 6ae4066bbb)
2007-10-11 15:12:12 +02:00
Gerald (Jerry) Carter
e5a951325a [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe9)
2007-10-10 15:34:30 -05:00
Stefan Metzmacher
971cc997de r25570: move code of the locator child into its own file
metze
(This used to be commit 2dbc168e54)
2007-10-10 12:31:15 -05:00
Stefan Metzmacher
2f6fbb1c53 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
(This used to be commit 97c63f1b95)
2007-10-10 12:31:14 -05:00
Stefan Metzmacher
5c5acae0ee r25470: use --immediate like in samba4 to get more usefull output
metze
(This used to be commit f5b089370a)
2007-10-10 12:31:06 -05:00
James Peach
f3cf737ff0 r25432: Merge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduce
spurious tree differences.
(This used to be commit ee1eba2855)
2007-10-10 12:31:05 -05:00
Jelmer Vernooij
679ef7b6ba 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.
(This used to be commit bdc831ddb3)
2007-10-10 12:31:03 -05:00
Jeremy Allison
58a9621904 r25406: Make the Linux nss client code thread-safe.
Fix originally inspired from code from boyang <yyyeer.bo@gmail.com>.
Jeremy.
(This used to be commit cc19c0ace4)
2007-10-10 12:31:03 -05:00
Stefan Metzmacher
28aa4bff8d r25154: move winbindd code into winbindd/
metze
(This used to be commit 3ac7566ae1)
2007-10-10 12:30:46 -05:00
Jeremy Allison
132ee3990a 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.
(This used to be commit dee8beba7a)
2007-10-10 12:30:32 -05:00
Michael Adam
3edc4c6f66 r24955: Reformat some object lists in Makefile.in to minimize the diff.
(This used to be commit 5d94c3dab2)
2007-10-10 12:30:30 -05:00
Günther Deschner
56736616d8 r24841: The locator has no dependencies to ldap libs anymore. Also fix the build.
Guenther
(This used to be commit ce7c816083)
2007-10-10 12:30:27 -05:00
Günther Deschner
55b59eb80b r24833: Move locator to nsswitch (does not belong to libads anymore).
Guenther
(This used to be commit af90c6949c)
2007-10-10 12:30:26 -05:00