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

1338 Commits

Author SHA1 Message Date
Gerald (Jerry) Carter
98b21126a7 Fix "make test" using the LD_LIBRARY_PATH for selftest script so
smbd can locate the libwbclient library (if neccessary).
(This used to be commit 481cc9ab6a6608e13710c93783ea4e62363e78be)
2007-12-21 13:50:13 -06:00
Gerald (Jerry) Carter
a2481eda8c 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.
(This used to be commit 83d274b46078a9ace77edb822a0e336c79dcf40e)
2007-12-21 11:58:04 -06:00
Günther Deschner
be57bc8568 Make sure libnetapi has getdcname support.
Guenther
(This used to be commit c527a28c47f42617853cd28772ef46e5e6b058b6)
2007-12-21 16:03:12 +01:00
Günther Deschner
5479c50c37 Merge all headers into libnetapi.h.
Guenther
(This used to be commit a2c5beda2ec98dea8951fb3a37774f5f325410ef)
2007-12-21 15:29:11 +01:00
Günther Deschner
721d36df83 Add NetServerGetInfo and NetServerSetInfo (for level 1005).
Guenther
(This used to be commit 1cad549f54563c3a9787624ba7a56b54107ebd57)
2007-12-21 15:29:11 +01:00
Günther Deschner
d1548d035f Use DsGetDcName in local libnetapi join to find a dc.
Guenther
(This used to be commit fbc60c1648ff8b1fa0ae33c09237e41232f9769c)
2007-12-21 15:29:10 +01:00
Günther Deschner
8f65326e99 Build libnetapi shared and static if possible.
Guenther
(This used to be commit 11e90dcbf5dd1a91118e6a5cee53735d72767c93)
2007-12-21 15:29:10 +01:00
Günther Deschner
749f699f87 Build fixes for libnetapi.
Guenther
(This used to be commit 07d33557b95106ac57fdef8c767ab86192930a6d)
2007-12-21 15:29:10 +01:00
Günther Deschner
5799dcdfed Add _wkssvc_NetrJoinDomain2() server.
Guenther
(This used to be commit 9b0423e7d918b7b3837ca4ebf997edd80d4da6de)
2007-12-21 15:29:10 +01:00
Günther Deschner
5bf7319ac4 Add libnet_Join().
Heavily based on existing code in net_ads_join().

Guenther
(This used to be commit fb6315b68b16d64625457881302fd191f90defa0)
2007-12-21 15:29:10 +01:00
Günther Deschner
1b5c1ae742 Very quick conversion of net_conf functions into the libnet_conf layer.
Certainly needs cleanup later.

Guenther
(This used to be commit 2b41ac926de76804a50681bd246b3a20e112853b)
2007-12-21 15:29:09 +01:00
Günther Deschner
8edf48bbf7 For the fun of it, build netapi.so|.a.
Guenther
(This used to be commit 8cbc6bdede9e8fc423488c7632546c548234cc0c)
2007-12-21 15:29:09 +01:00
Volker Lendecke
cd893dd365 Today is not my day...
dmapi.c certainly did compile now...
(This used to be commit 93f3a1172af2f1a20f0c4c26ec8be999546d95f8)
2007-12-19 16:30:36 +01:00
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 7a911b35713538d82001a3c9f34152e293fe1943)
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 db74b99d0ef1a60894c838b4c9d0d454db6cf620)
2007-12-17 22:09:09 -08:00
Volker Lendecke
7ec9ee0e05 Remove t_doschar.c
(This used to be commit b89f87242b9c949401f3fa9b352211906cb76895)
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 075d315e0f72d506b70040da10940e4af131b4e2)
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 1e7241517d1f55d60af22570e0c9feb280e3fdb5)
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 2dfe9525b9e6e7dcbac191c1fb6288e166d171e5)
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 3954313d4e3d3a782f0ba41afa5d81b7cc5adac9)
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 212ab58a3a7f03bb97c6ad3430e2776f9faba7c9)
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 54e5d4404619443caed32e2acff8921cdbff9ed1)
2007-12-10 16:06:32 +01:00
Volker Lendecke
8a8b146ead Make the Linux rbtrees compile within Samba
(This used to be commit c871fd802f3c0c5ef1f63b2d01a636c885f22b23)
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 9da4f408433759b7d86d1954e2e7c1365d590389)
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 4c32a22ac50ada3275d2ffba3c1aa08bee7d1549)
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 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-07 12:02:44 -08:00
Jeremy Allison
761cd24982 Missed smbmnt popt.
Jeremy.
(This used to be commit da558a7bdb40c755aee60198d1f9eb9efe4c5463)
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 6ac5d81655927ba8eabea35adaae5adfcbb821c9)
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 252ef28bb8f1406fdd92edba8538cb9e88f0b77f)
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 f802db70b8675df43fba892986203bbeac2d02f8)
2007-12-05 14:33:21 -05:00
Günther Deschner
9cc7b8e2a0 Reanimate rpcclient wkssvc command.
Guenther
(This used to be commit 1d615e3ac397106f47c51ace36c01a8f6e1d5d13)
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 a41f9aef843378b1f85f9b3d672d00f3399fa342)
2007-11-30 22:25:01 +01:00
Günther Deschner
a51e682a21 Add NetJoinDomain call.
Guenther
(This used to be commit 08a5a036ba97d1f4830d73e95b8369aa9e6683e8)
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 6bf2c8038c4bc7a52b7f260209ade0bdeb95c685)
2007-11-30 22:25:01 +01:00
Volker Lendecke
1faeda8aab Do not link in SOCKET_WRAPPER_OBJ twice
(This used to be commit 99b3289aa44c94c16f5330eba841fd9c21c6303b)
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 6b62b7dbab559ffc0047790c7ec68c1b30f0eff0)
2007-11-21 10:27:01 -06:00
Stefan Metzmacher
84df457860 use samba4's librpc/ndr/uuid.c
metze
(This used to be commit c148e91fdedd20cfb737465dffc86ed6fa7d7c02)
2007-11-09 11:51:20 +01:00
Stefan Metzmacher
702d227433 make test: start winbindd
metze
(This used to be commit 8ad4287cca5393a7fef148365aef2e2377c29280)
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 02cfd283627bd8f10d7beb8d43cead35dd867346)
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 96827929626a528bb3e1ec8366aef58c174d67e1)
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 9dd18bb534bca6b5de6cad9580b48681b36c0832)
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 b7d2fadbef044a89920da613b1aafc74a3d94e24)
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 bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
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 e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
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 8b19cb17b9ae9e1cd4a96df6e7dedb75aff7ee96)
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 56640908a6367acfdfd53568a0d329c13330e5eb)
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 97c63f1b95190f3bcc1d9f34765934c97ffb720c)
(This used to be commit a1c354866c04a305aa28a287dc6c72db1aa845a9)
2007-10-22 08:46:10 +02:00
Stefan Metzmacher
0bb74d2f8c remove unused print_test.c code
metze
(This used to be commit 9e5ad21e6793981a01f63f2de1c4d496ade0bb54)
2007-10-13 15:09:24 +02:00
Jelmer Vernooij
98075c5542 Merge branch 'v3-2-stable' into my_branch
(This used to be commit 754671b8be0bf73a9e1fe7ff420a1b7a1cd501b7)
2007-10-12 19:41:01 +02:00
Jelmer Vernooij
20d1141ed8 Fix valgrind window title.
(This used to be commit 4ac867f5588e902358eba7bcb4dbfd431181943d)
2007-10-12 18:42:45 +02:00