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

1538 Commits

Author SHA1 Message Date
Michael Adam
23804595f7 build: add a cleanlibaddns target and use it in "make clean"
Michael
(This used to be commit 39a447a232)
2008-07-07 20:34:03 +02:00
Michael Adam
d51180e4b8 build: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.
Create .so file as a symlink.

Michael
(This used to be commit bbf665ad57)
2008-07-07 20:34:03 +02:00
Michael Adam
1c7123f3a6 build: move LIBADDNS_OBJ0 up again -- needed for NET_OBJ :-\
Michael
(This used to be commit b871cb0cb6)
2008-07-07 20:34:02 +02:00
Michael Adam
5df4ca43eb build: move libaddns related bits to the libaddns section in Makefile.in
Michael
(This used to be commit 61157cb92e)
2008-07-07 20:34:02 +02:00
Michael Adam
672eb71cf7 build: create cleanlibsmbsharemodes target and use it in "make clean".
Michael
(This used to be commit 20a5053f0e)
2008-07-07 20:34:02 +02:00
Michael Adam
fc54fc52f4 build: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME file.
Create libsmbsharemodes.so as a symlink.

Michael
(This used to be commit 1157048146)
2008-07-07 20:34:02 +02:00
Michael Adam
175497e14b build: move libsmbsharemodes related vars and targets to libsmbsharemodes section in Makefile.in
Michael
(This used to be commit 278dde8a6c)
2008-07-07 20:34:02 +02:00
Michael Adam
db6b94ee24 build: add structuring comment for libbigballofmud
(This used to be commit 879b000fd3)
2008-07-07 20:34:02 +02:00
Michael Adam
7e7e9250be build: add cleanlibsmbclient target and use it in make clean.
Michael
(This used to be commit 95a7d21d31)
2008-07-07 20:34:02 +02:00
Michael Adam
1b20cf1324 build: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.
Create libsmbclient.so as a symlink to libsmbclient.so.0.

Michael
(This used to be commit c463bd0cb9)
2008-07-07 20:34:02 +02:00
Michael Adam
2e694978f5 build: slightly change and extend the logic of SMB_LIBRARY().
Only call the install/uninstall targets (from make (un)install)
for libraries configured with SMB_LIBRARY(), when the user did
not set --with-libname=no.

Make sure to always (at least) build the static version of the library.

Michael
(This used to be commit f440538c94)
2008-07-07 20:34:01 +02:00
Michael Adam
c9178983e8 build: rename (un)installclientlib to (un)installlibsmbclient
keeping old targets as aliases for backward compatibility

Michael
(This used to be commit 40ff40de57)
2008-07-07 20:34:01 +02:00
Michael Adam
1920e603fc build: move libsmbclient related variables and targets to libsmbclient section
Michael
(This used to be commit ed3c35d307)
2008-07-07 20:34:01 +02:00
Michael Adam
1778ebf8e3 build: move definition of SHLIBS to libraries section
Michael
(This used to be commit 36c99a3cad)
2008-07-07 20:34:01 +02:00
Michael Adam
e4c67f9cc2 build: add a cleanlibwbclient target to Makefile.in and use it for make clean.
Michael
(This used to be commit e01a1d8d65)
2008-07-07 20:34:01 +02:00
Michael Adam
56579822da build: add uninstalllibwbclient to Makefile.in and use it for uninstall
Michael
(This used to be commit 2712dade9d)
2008-07-07 20:34:01 +02:00
Michael Adam
aedb019d65 build: fix the installlibwbclient target to use defined variables and install the symlink
Michael
(This used to be commit 922b136ada)
2008-07-07 20:34:01 +02:00
Michael Adam
c3bdfeade2 build: fix creation of libwbclient shared lib by crating soname file
and adding .so file as a symlink

Michael
(This used to be commit beab1a3148)
2008-07-07 20:34:01 +02:00
Michael Adam
6ec6f69d02 build: move libwbclient related target to libwbclient section in Makefile.in
Michael
(This used to be commit 8f64706b09)
2008-07-07 20:34:00 +02:00
Michael Adam
162f9619f4 build: move libtdb target further down following common schema like with libtalloc
Michael
(This used to be commit f94b07f0c5)
2008-07-07 20:34:00 +02:00
Michael Adam
c1dcbf9da4 build: fix uninstalllibnetapi target - handle symlink libnetapi.so
and use the defined variables instead of hardcoded bits.
Also move the target into the libnetapi section (forgotten last time).

Michael
(This used to be commit 21b6164795)
2008-07-07 20:34:00 +02:00
Michael Adam
cc20a6ba9d build: fix installlibnetapi target - install symlink libnetapi.so (if appropriate)
Michael
(This used to be commit 59e7827e55)
2008-07-07 20:34:00 +02:00
Michael Adam
521d4c8c6f build: add a cleanlibnetapi target and use it in make clean
Michael
(This used to be commit ff62887a94)
2008-07-07 20:34:00 +02:00
Michael Adam
fea56fe4c8 build: fix creation of the libnetapi shared lib: create soname library
and add the .so file as symlink

Michael
(This used to be commit d9af2f7ab6)
2008-07-07 20:34:00 +02:00
Michael Adam
4cc6a59041 build: move libnetapi related definitions and targets together into the libnetapi section.
in Makefile.in

Michael
(This used to be commit da29e1ce44)
2008-07-07 20:34:00 +02:00
Michael Adam
31a4a4ec81 build: add an uninstalllibtdb target.
Michael
(This used to be commit c50c847f4b)
2008-07-07 20:34:00 +02:00
Michael Adam
8583d07b75 build: fix the installlibtdb target to install the soname file of libtdb.
and create the .so file as a symlink (if appropriate)

Michael
(This used to be commit 5c090762f7)
2008-07-07 20:33:59 +02:00
Michael Adam
302e9ca2eb build: create a cleanlibtdb target and use it in target clean.
Michael
(This used to be commit ebfe13b79b)
2008-07-07 20:33:59 +02:00
Michael Adam
b622276655 build: fix creation of the libtdb shared library.
Create the libtdb.so.1 file and create the .so file as the symlink.
Not vice versa.

Michael
(This used to be commit 662d666b41)
2008-07-07 20:33:59 +02:00
Michael Adam
9bce1354b6 build: move libtdb related definitions and targets to libtdb section in Makefile.in
Michael
(This used to be commit a4de301af4)
2008-07-07 20:33:59 +02:00
Michael Adam
435137c16b build: move all libtalloc related definitions into the libtalloc section in Makefile.in
Michael
(This used to be commit b330892f4b)
2008-07-07 20:33:59 +02:00
Michael Adam
0427511466 build: move top level targets for the libs into the corresponding sections in Makefile.in
Michael
(This used to be commit 4092059ff0)
2008-07-07 20:33:59 +02:00
Michael Adam
8e61cc7bbb build: add more structuring comments to Makefile.in
for several shared libs and shared modules section

Michael
(This used to be commit 53cc6a3225)
2008-07-07 20:33:59 +02:00
Michael Adam
09ac0c064d build: add structuring comments for libraries and libtalloc section.
Michael
(This used to be commit 3de0008904)
2008-07-07 20:33:59 +02:00
Michael Adam
a386f431e4 build: fix installlibtalloc to not install symlink if the library is not there
Michael
(This used to be commit 52ccb52c8e)
2008-07-07 20:33:58 +02:00
Michael Adam
2a91d4adb5 build: move libtalloc related targets together.
Michael
(This used to be commit 01b1e642d7)
2008-07-07 20:33:58 +02:00
Michael Adam
dcf6bc8402 build: add a cleanlibtalloc target.
Michael
(This used to be commit 5d3c6c3c1c)
2008-07-07 20:33:58 +02:00
Michael Adam
368cea20e9 build: add an uninstalllibtalloc target
Michael
(This used to be commit 4b6ef6202c)
2008-07-07 20:33:58 +02:00
Michael Adam
95e434619b build: fix creation of link libtalloc.so on some systems.
ln -s -f seem to be unknown on some solaris versions (e.g.).
so if there is an old libtalloc.so around, this will fail.
use rm -f prior to creating the link to circumvent this.

Michael
(This used to be commit d913b1e731)
2008-07-07 20:33:58 +02:00
Michael Adam
7a3e3f0a37 build: fix the installlibtalloc target to install SONAME and \.so versions of shared lib.
Michael
(This used to be commit 4991988989)
2008-07-07 20:33:58 +02:00
Michael Adam
27ca5cd80a build: fix creation of talloc shared lib.
link the libtalloc.so.1 file and create libtalloc.so as a link

Michael
(This used to be commit 946537e6be)
2008-07-07 20:33:58 +02:00
Michael Adam
ef6619fc3c build: add ability to use library files of the form NAME.so.VERSION to create version script name.
Michael
(This used to be commit b8d13f8773)
2008-07-07 20:33:58 +02:00
Günther Deschner
9b0e3bb0c3 net_vampire: add code to vampire to a Kerberos keytab file using DRSUAPI.
Guenther
(This used to be commit 0ef420c3a4)
2008-07-01 10:02:01 +02:00
Karolin Seeger
006515d889 Revert "build: add symbol versioning when we build with gnu ld"
This reverts commit cb5492978b.

For more information, please have a look at the discussion on
samba-technical starting with [1].

[1] http://lists.samba.org/archive/samba-technical/2008-June/059511.html

Karolin
(cherry picked from commit 1e5aeb96f9)
(This used to be commit d06baf0e74)
2008-06-27 13:46:26 +02:00
Günther Deschner
8b52e2bc63 net_vampire: separate keytab code from samsync code.
Guenther
(This used to be commit 69d8442bf3)
2008-06-27 01:58:39 +02:00
Günther Deschner
a8936da0e9 drsuapi: rerun make idl and add drsblobs generated files.
Guenther
(This used to be commit 6725b751d8)
2008-06-26 12:17:43 +02:00
Günther Deschner
90925fbd3a drsuapi: add drsblobs.idl from samba4.
Guenther
(This used to be commit 58dc161ac9)
2008-06-26 12:17:34 +02:00
Günther Deschner
2341f3381d net_vampire: add basic libnet_dssync() infrastructure.
Guenther
(This used to be commit 9486e532da)
2008-06-24 23:50:31 +02:00
Günther Deschner
adef1b004b net_vampire: add code to vampire a SAM database to a keytab file.
Guenther
(This used to be commit ee6e422c0e)
2008-06-24 23:40:14 +02:00
Günther Deschner
bd6fece98a net_vampire: move out display routines to one file.
Guenther
(This used to be commit 64b48a07e7)
2008-06-23 23:38:52 +02:00
Günther Deschner
de33b264d1 net_vampire: move out passdb routines to one file.
Guenther
(This used to be commit 74d431270d)
2008-06-23 23:38:52 +02:00
Jeremy Allison
33aa758bf3 Fix 'make distclean'. delheaders: no longer exists as a dependency.
Jeremy.
(This used to be commit 8b26afdcdd)
2008-06-18 12:56:36 -07:00
Günther Deschner
51fec7863b net_vampire: move ldif code out of net_rpc_samsync.c
Guenther
(This used to be commit 1d5758ec3a)
2008-06-17 10:49:13 +02:00
Günther Deschner
61b68fc43c samsync: add samsync_fix_delta_array()
This code is vastly based on samba4 code.

Guenther
(cherry picked from commit 5b68be9699)
(This used to be commit 2c53d87de4)
2008-06-13 12:23:50 +02:00
Volker Lendecke
b76f967300 shrink ldbtools
Thanks to Björn Jacke for noticing :-)
(cherry picked from commit 8faee1cee8)
(This used to be commit 49f99fcf12)
2008-06-09 16:31:42 +02:00
Günther Deschner
4f419aae80 netapi: add NetLocalGroupAdd() skeleton.
Guenther
(This used to be commit 528544d4ce)
2008-06-03 01:27:46 +02:00
Günther Deschner
31c185011f netapi: add libnetapi_samr_open_domain().
Guenther
(This used to be commit a99906f661)
2008-06-03 01:27:45 +02:00
Günther Deschner
ee671b1982 libnetapi: add dummy implementation for NetGroupAdd() and NetGroupDel().
Guenther
(This used to be commit d690f9e9f8)
2008-06-03 01:27:40 +02:00
Michael Adam
c5d3fb7062 build: combine LIB_WITHOUT_PROTO_OBJ and LIB_WITH_PROTO_OBJ into LIB_OBJ
No need for this split any more.

Michael
(This used to be commit 534e87de2e)
2008-05-24 01:51:07 +02:00
Michael Adam
af78d91d92 build: remove PROTO_OBJ from Makefile.in - it is not needed any more
Michael
(This used to be commit 3bb1c07890)
2008-05-24 01:44:25 +02:00
Günther Deschner
fb05d41cb7 drsuapi: add very basic drsuapi rpcclient command set.
Guenther
(This used to be commit bd13c87bac)
2008-05-24 01:28:22 +02:00
Günther Deschner
d823940f91 drsuapi: fix the build.
Guenther
(This used to be commit 92412648c3)
2008-05-24 01:25:30 +02:00
Günther Deschner
36f67dc5e0 Revert "drsuapi: fix the build."
This reverts commit b2421c8116.
(This used to be commit f853f3b0ac)
2008-05-24 01:24:03 +02:00
Günther Deschner
0eae576b19 drsuapi: fix the build.
Guenther
(This used to be commit b2421c8116)
2008-05-24 00:58:45 +02:00
Günther Deschner
6b3bcb3724 drsuapi: add all code required for our drsuapi rpc client.
Guenther
(This used to be commit 7c93190843)
2008-05-23 23:56:21 +02:00
Stefan Metzmacher
7abda3fb9d build: add symbol versioning when we build with gnu ld
There's --enable-symbol-versioning=no to disable it.

metze
(cherry picked from commit cb5492978b)
(This used to be commit a739652d94)
2008-05-23 17:19:57 +02:00
Stefan Metzmacher
3d6911afca build: autogenerate exports/libwbclient.syms
metze
(cherry picked from commit 8e0fcd583a)
(This used to be commit 17ce137754)
2008-05-23 17:19:56 +02:00
Stefan Metzmacher
76b04f98fa build: autogenerate exports/libtalloc.syms
metze
(cherry picked from commit ce9d8ea981)
(This used to be commit dc0a4f7dc5)
2008-05-23 17:19:56 +02:00
Stefan Metzmacher
ef0dd8850b build: pass .syms extention via @SYMSEXT@ from configure
metze
(cherry picked from commit efb23fdce7)
(This used to be commit 3bf5a047e3)
2008-05-23 17:19:55 +02:00
Michael Adam
7322072962 build: add a "make shlibs" target to build all the shared libraries.
Michael
(This used to be commit 5a99f59d75)
2008-05-23 13:42:40 +02:00
Stefan Metzmacher
9301310ea7 build: autogenerate exports/libnetapi.syms
metze
(cherry picked from commit dc09e04d52)
(This used to be commit c3797d6a2c)
2008-05-23 08:54:45 +02:00
Michael Adam
5a2206f254 torture: add a test program rpc_open_tcp() to test the rpc_pipe_open_tcp() func.
This is still very raw and has yet to be integrated into the test suite.

Michael
(This used to be commit 3ec3ab4e53)
2008-05-22 11:30:03 +02:00
Michael Adam
b398a96b09 rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().
Michael
(This used to be commit f7db445c82)
2008-05-22 11:29:57 +02:00
Volker Lendecke
44fbd895e8 Compile endpoint mapper pidl output
(This used to be commit fe8f9e427a)
2008-05-21 23:35:26 +02:00
Jelmer Vernooij
20796bcf57 Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into docbook
Conflicts:

	source/Makefile.in
(This used to be commit 01987778a1)
2008-05-21 18:04:47 +02:00
Jelmer Vernooij
f5364a786c Add double-colon where it makes sense.
(This used to be commit 256200e951)
2008-05-21 17:57:20 +02:00
Kai Blin
f9a6d1f264 net: Split out "net share"
(This used to be commit 25d4c6f692)
2008-05-20 14:28:01 +02:00
Kai Blin
00f6ad7b5a net: Split out "net afs"
(This used to be commit 3f10527f79)
2008-05-20 14:27:56 +02:00
Kai Blin
c9ca6092fe net: Split out "net file"
(This used to be commit 84a116be9c)
2008-05-20 14:27:47 +02:00
Kai Blin
007f0e19dc net: Split out "net group"
(This used to be commit 3ddd9c09e3)
2008-05-20 14:27:40 +02:00
Kai Blin
572de942c7 net: Split out "net user"
(This used to be commit 4ca08a5acc)
2008-05-20 14:27:27 +02:00
Kai Blin
666292129b net: Move "net join" handling into a separate file.
(This used to be commit d0237a7368)
2008-05-20 14:27:24 +02:00
Kai Blin
45653bd1b1 net: Split out common help functions.
(This used to be commit efc863e375)
2008-05-20 14:27:21 +02:00
Michael Adam
78b8417930 build: remove the proto_exists target - it is not needed anymore.
Michael
(This used to be commit 35f4df7ab8)
2008-05-19 01:23:17 +02:00
Michael Adam
aef2828831 build: remove the "delheaders" target.
Michael
(This used to be commit 0fe47c3c76)
2008-05-19 01:23:06 +02:00
Michael Adam
cf6f4cfefa build: remove "headers" and "proto" make targets.
Replace "proto" target by a message.

Michael
(This used to be commit 16fb26d73a)
2008-05-19 00:51:45 +02:00
Michael Adam
76977cbf6a build: remove reference to mkproto.sh from Makefile
No generated prototypes anymore...

Michael
(This used to be commit 4c7362f2b7)
2008-05-18 23:37:10 +02:00
Michael Adam
04da4453ab libnet: freeze libnet_proto.h from "make proto"
Michael
(This used to be commit b455cd1a61)
2008-05-18 23:35:42 +02:00
Michael Adam
20e9c5bea1 build: freeze passwd_proto.h from "make proto"
Michael
(This used to be commit 00cff30107)
2008-05-18 23:33:20 +02:00
Michael Adam
b189fe9154 net: freeze net_proto.h from "make proto"
Michael
(This used to be commit 673b24052a)
2008-05-18 23:31:42 +02:00
Michael Adam
beca01f402 ntlm_auth: freeze ntlm_auth_proto.h from "make proto"
Michael
(This used to be commit 35a517315b)
2008-05-18 23:29:01 +02:00
Michael Adam
7a1b7a14e4 smbclient: freeze client_proto.h from "make proto"
Michael
(This used to be commit f8c0710165)
2008-05-18 23:26:51 +02:00
Michael Adam
611c96d078 swat: freeze swat_proto.h from "make proto"
Michael
(This used to be commit 372c58cc22)
2008-05-18 23:16:38 +02:00
Michael Adam
03dcad0b27 winbindd: freeze winbindd_proto.h
Michael
(This used to be commit 467b8f0f4d)
2008-05-18 23:09:34 +02:00
Michael Adam
1ef69fcf21 build: freeze proto.h
Michael
(This used to be commit ff7f0cad2e)
2008-05-18 22:58:07 +02:00
Günther Deschner
4bd94c8338 cldap: move out cldap object to fix the build.
Guenther
(This used to be commit 56be9c98d2)
2008-05-09 14:59:19 +02:00
Günther Deschner
fb623c942d pam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).
Guenther
(This used to be commit d8372f73b9)
2008-04-30 18:34:29 +02:00
Günther Deschner
a7bd73c786 build: fix make everything.
Guenther
(This used to be commit d2cd011f43)
2008-04-30 16:04:30 +02:00
Volker Lendecke
974643f656 Next round fixing bug 5420, build on IRIX
The IRIX make does not like lines with only whitespace. With LIBNETAPI_LIBS
evaluating to nothing this happens there.
(This used to be commit 225fbe743c)
2008-04-30 12:50:26 +02:00
Günther Deschner
f49474f58a build: fix some build dependencies.
Guenther
(This used to be commit 067a6931a2)
2008-04-30 01:11:51 +02:00
Michael Adam
9188c8e381 libsmbconf: rename text backend smbconf_txt_simple to smbconf_txt.
Michael
(This used to be commit dd9fe5aec4)
2008-04-22 16:11:37 +02:00
Günther Deschner
937091161b winbind: Use libnbt for NTLOGON SAMLOGON mailslot request and reply.
Guenther
(This used to be commit 2d6a1c5da6)
2008-04-21 11:03:32 +02:00
Michael Adam
3a6ece8c52 build: add missing dependency for libtdb.so to pam_smbpass
Thanks to Andreas Schneider for noticing.

Michael
(This used to be commit db708d4004)
2008-04-17 15:33:29 +02:00
Günther Deschner
6c6c89cde0 IDL: build generated nbt code.
Guenther
(This used to be commit 554dcfdab0)
2008-04-17 14:55:15 +02:00
Günther Deschner
0b8ad44578 IDL: Build nbt.idl always.
Guenther
(This used to be commit 933abaeb32)
2008-04-17 14:47:25 +02:00
Jelmer Vernooij
3db2249886 Add simple implementation of several functions in the Samba 4 RPC
library on top of the Samba 3 RPC library:

 * dcerpc_pipe_connect
 * dcerpc_ndr_request_recv
 * dcerpc_ndr_request_send

These are the main functions used by the generated client calls in Samba
4.
(This used to be commit 3501778242)
2008-04-17 10:58:10 +02:00
Gerald W. Carter
72556d4c8c Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
(This used to be commit 359921acd4)
2008-04-16 15:48:00 +02:00
Günther Deschner
4101068505 IDL: For the fun of it, build drsuapi.idl.
Guenther
(This used to be commit 192645f639)
2008-04-15 22:04:59 +02:00
Michael Adam
4eab3d3cf0 libsmbconf: add a smbconf init dispatcher smbconf_init().
The dispatcher takes a config source argument in the form
of "backend:path" where backend can (currently) be one of
"txt" (aka "file") or "reg" (aka "registry").

When the path is omitted, it is up to the backend to provide
a default path.

When there is no separator ":" and the string is not a recognized
backend, then file backend is assumed and the string is passed
in as the path argument.

Michael
(This used to be commit cc613a60eb)
2008-04-13 20:04:44 +02:00
Günther Deschner
de013be0b6 gpo: add scripts plugin.
Guenther
(This used to be commit cd6388f040)
2008-04-13 17:52:11 +02:00
Stefan Metzmacher
e21b283d67 dbwrap: wait for tdb2 change notifies in smbd, nmbd and winbindd
metze
(This used to be commit 64450cc1e4)
2008-04-12 09:14:10 +02:00
Stefan Metzmacher
dfb181ab73 dbwrap: add dbwrap_tdb2 backend
This backend can be used untill ctdb knows about real
transactions.

It stores a master tdb in a shared location and a readonly copy
on the local harddisk. Reads are always on the local tdb
and writes always on both. Change notify messages are send
to all message context, which ask for them. With the notifies
it's possible to just update the changed records, instead of
copying all records (which is the fallback).

You need to configure:

dbwrap:use_tdb2=yes
dbwrap_tdb2:master directory=/some/shared/path
dbwrap_tdb2:local directory=/var/lib/samba

metze
(This used to be commit aa6230de0d)
2008-04-12 09:14:09 +02:00
Michael Adam
85dc216ecb build: smbconftort only needs LIBSMB_ERR_OBJ, not LIBSAMBA_OBJ
Michael
(This used to be commit 27fea343d2)
2008-04-12 02:41:21 +02:00
Michael Adam
3b32275d48 build: move SECRETS_OBJ into LIBSMB_ERR_OBJ.
LIBSMB_ERR_OBJ depends on SECRETS_OBJ

Michael
(This used to be commit 79b5a0c7a8)
2008-04-12 02:41:21 +02:00
Michael Adam
63e4a96253 build: move SECRETS_OBJ into LIBSMB_OBJ
LIBSMB_OBJ is not used without SECRETS_OBJ

Michael
(This used to be commit bea66f07b4)
2008-04-12 02:41:20 +02:00
Michael Adam
ae51385dfb build: regroup LIBSMB objects to for a smallest linkable uint (LIBSMB_ERR_OBJ)
Michael
(This used to be commit 310fd52ea4)
2008-04-12 02:41:20 +02:00
Michael Adam
41fa859f90 build: group RPC_PARSE_OBJ1 with LIBSAMBA_OBJ
it is only ever used together

Michael
(This used to be commit 27c7441145)
2008-04-12 02:41:20 +02:00
Michael Adam
27d76acb8f build: group NTERR/DOSERR/ERRORMAP and LIBSAMBA object differently
Michael
(This used to be commit ddc2292c15)
2008-04-12 02:41:20 +02:00
Stefan Metzmacher
94df47318f net: 'net' doesn't need wb_common.o anymore.
metze
(This used to be commit 05f7f77135)
2008-04-11 15:59:34 +02:00
Stefan Metzmacher
4313d7b6c2 nsswitch: remove unused nsswitch/wb_client.c
metze
(This used to be commit 2b236c7ace)
2008-04-11 15:59:34 +02:00
Günther Deschner
4968ce2555 Add very basic cli_cm_* based connection handler to libnetapi.
Guenther
(This used to be commit e9e46cfcbe)
2008-04-10 21:41:03 +02:00
Michael Adam
e251327b5b libsmbconf: testsuite: add support for "--configfile" option.
Michael
(This used to be commit 9f6c909f46)
2008-04-10 01:28:57 +02:00
Michael Adam
b7377c33a3 libsmbconf: add testsuite to the library.
Currently only the init function is tested, more tests to come...

Michael
(This used to be commit bc8dc8626c)
2008-04-10 01:28:57 +02:00
Michael Adam
36ede8ae54 libsmbconf: move utility functions from main module to new smbconf_util.c
Michael
(This used to be commit e0f6a9d50c)
2008-04-10 01:28:55 +02:00
Michael Adam
98f3462df2 net: don't process net_registry_util.c with make proto
it has its own herader net_registry_util.h

Michael
(This used to be commit 51026d64b3)
2008-04-09 23:52:35 +02:00
Günther Deschner
6b2ae8e9ff Add NetUserAdd to libnetapi.
Guenther
(This used to be commit cb98996ed2)
2008-04-09 13:23:09 +02:00
Günther Deschner
ba35a8c8dd Restructure inner workings of libnetapi a bit.
Guenther
(This used to be commit a4e3bc2bad)
2008-04-08 03:08:49 +02:00
Günther Deschner
ec0a34864e Build libnetapi.idl.
Guenther
(This used to be commit c098714ac4)
2008-04-08 03:08:49 +02:00
Michael Adam
06466de5e9 net_registry: split utility function of common interest out into util module.
Michael
(This used to be commit 3bf890783f)
2008-04-04 17:05:00 +02:00
Michael Adam
eab99a9eee Makefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs...
Michael
(This used to be commit 7b16cb1023)
2008-04-04 16:47:52 +02:00
Michael Adam
fb6fb69966 net: add a "net registry" subcommand to locally access the registry.
The interface is like that of net rpc registry.
Access is direct local access to the registry tdb through reg_api.

Michael
(This used to be commit 3250068eb9)
2008-03-28 16:19:35 +01:00
Michael Adam
2e83818b3b libsmbconf: add a text backend to libsmbconf based on the params.c parser.
This is a simple implementation of text backend for libsmbconf.
It is read only. It uses the parser from params.c. It loads the
given config file and holds the parsed lists of strings in memory.
Config is only re-read if the time stamp of the config file has changed.
Brilliant performance on large files is not to be expected since the
string lists are not hashed. This might be added in the future.

Michael
(This used to be commit 4ea5084385)
2008-03-26 14:55:05 +01:00
Michael Adam
32691a7022 build: don't autogenerate prototypes for util_tdb and dbwrap anymore.
Stick to hand-written headers (that are there anyways).
Add some missing prototypes to util_tdb.h and dbwrap.h.

I did not bother to add a header for each single dbwrap backend
open function but put the prototypes for the open functions into
the central dbwrap.h.

Michael
(This used to be commit edf4dbed27)
2008-03-25 15:55:34 +01:00
Gerald (Jerry) Carter
eeeb4aa931 Fix libtdb some to move back towards allowing out of tree builds
Remaining problem is that not all *.syms linker scripts are generated
so the LD command needs to look in a single place.  Out of tree
builds now work but report write access to the source tree in order
to create the $(srcdir)/expotrs/libtdb.sysms file.
(This used to be commit 6e9287c5c3)
2008-03-24 17:25:13 -05:00
Michael Adam
5ea7faef3d libgpo: replace hand-crafted registry initialization by registry_init_basic.
IMO there is no need to imitate a custom registry backend.
Only default regdb hooks are used here, so a plain initialization
of regdb should suffice.

This way, only reg_api is used in libgpo, and no registry
backend code is visible.

Michael
(This used to be commit 10ae8accb4)
2008-03-22 02:29:40 +01:00
Michael Adam
890d1d8f78 libsmbconf: move registry implementation to a module of its own.
Michael
(This used to be commit 431b10bfe0)
2008-03-21 16:26:50 +01:00
Günther Deschner
5fdf4b8f4a Remove remaining old srvsvc client and server rpc code entirely.
Guenther
(This used to be commit a5f0186f70)
2008-03-21 04:16:22 +01:00
Günther Deschner
bbd6120c0d Remove double RPC_PARSE_OBJ2 from Makefile.
Guenther
(This used to be commit 0244734cc5)
2008-03-21 04:16:22 +01:00
Michael Adam
670418c116 Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.
The libnet_conf code to access the registry based configuration has
become more of a library used in several places in samba (e.g. loadparm)
than an abstraction of "net conf". So I move it to a location lib/smbconf/.

In the same breath, the api is fixed (not generated by make proto anymore).

Michael
(This used to be commit 5315ef41f4)
2008-03-17 18:03:02 +01:00
Günther Deschner
7e652a254f Remove rpccli_srvsvc_net_file_enum() and cli_srvsvc.c with it.
Guenther
(This used to be commit e4b52133d6)
2008-03-10 17:14:11 +01:00
Simo Sorce
9e83c9159e Enable use of Relocations Read-Only, if supported, for enhanced security.
(This used to be commit c20c5f0821)
2008-03-07 11:33:26 -05:00
Michael Adam
156c42fd4f Time to confess...
Michael
(This used to be commit 4e584c6e36)
2008-03-07 14:31:08 +01:00
Günther Deschner
266af5887e Fix the build of cifs.spnego.
Guenther
(This used to be commit 9eaaf17d30)
2008-03-06 19:49:27 +01:00
Michael Adam
bdee4a5cb3 Revert "Build: Add an rpath of $(LIBDIR) to binary targets."
This reverts commit 3a0f781352.

This needs more thought.

Setting RPATH like this does not work on all supported
platforms (Linux, Solaris and AIX seem to work, HP-UX,
Tru64 and MacOS don't, MacOS doesn't even seem to have
an rpath at all prior to 10.4).

What is more, rpath also has some bad effects (when
updating libraries, e.g.), so it should not be set
unconditionally.

I will come up with a confiugure mechanism to control this.

For now, just use the LDFLAGS environment variable if
you want to use an rpath.

Sorry for any inconveniences.

Michael
(This used to be commit 6850dc242b)
2008-03-06 18:03:56 +01:00
Michael Adam
a521f39c89 Build: Add an rpath of $(LIBDIR) to binary targets.
This removes the need of setting LD_LIBRARY_PATH.

Michael
(This used to be commit 3a0f781352)
2008-03-06 14:56:24 +01:00
Volker Lendecke
1ea0a5d0cd Add infrastructure to support async SMB requests
(This used to be commit e215330135)
2008-03-06 13:28:23 +01:00
Volker Lendecke
f05bc40389 Add basic infrastructure for general async requests
(This used to be commit 9f8b2a87ee)
2008-03-06 13:28:23 +01:00
Michael Adam
26537251a3 Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael
(This used to be commit 21a527569b)
2008-03-06 10:26:37 +01:00
Michael Adam
04afd3d5ac Build: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.so
Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML.

Michael
(This used to be commit 3398403c22)
2008-03-05 23:47:59 +01:00
Günther Deschner
9f133a602f Fix build targets for bin/net.
Guenther
(This used to be commit 5159e3dafa)
2008-03-05 22:21:10 +01:00