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

1338 Commits

Author SHA1 Message Date
Gerald (Jerry) Carter
481cc9ab6a Fix "make test" using the LD_LIBRARY_PATH for selftest script so
smbd can locate the libwbclient library (if neccessary).
2007-12-21 13:50:13 -06:00
Gerald (Jerry) Carter
83d274b460 Add files for new LGPL libwbclient DSO implementing the Winbind client API
(based on the winbind_struct_protocol.h).

The API in incomplete, but sufficient to merge.  See wbclienbt.h for the i
interface functions.
2007-12-21 11:58:04 -06:00
Günther Deschner
c527a28c47 Make sure libnetapi has getdcname support.
Guenther
2007-12-21 16:03:12 +01:00
Günther Deschner
a2c5beda2e Merge all headers into libnetapi.h.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
1cad549f54 Add NetServerGetInfo and NetServerSetInfo (for level 1005).
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
fbc60c1648 Use DsGetDcName in local libnetapi join to find a dc.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
11e90dcbf5 Build libnetapi shared and static if possible.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
07d33557b9 Build fixes for libnetapi.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
9b0423e7d9 Add _wkssvc_NetrJoinDomain2() server.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
fb6315b68b Add libnet_Join().
Heavily based on existing code in net_ads_join().

Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
2b41ac926d Very quick conversion of net_conf functions into the libnet_conf layer.
Certainly needs cleanup later.

Guenther
2007-12-21 15:29:09 +01:00
Günther Deschner
8cbc6bdede For the fun of it, build netapi.so|.a.
Guenther
2007-12-21 15:29:09 +01:00
Volker Lendecke
93f3a1172a Today is not my day...
dmapi.c certainly did compile now...
2007-12-19 16:30:36 +01:00
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 97c63f1b95190f3bcc1d9f34765934c97ffb720c)
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