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

1508 Commits

Author SHA1 Message Date
Michael Adam
96b1bf0dd4 Makefile: add targets [clean_]libnetapi_examples to top lvl Makefile
Michael
2008-09-17 18:49:15 +02:00
Jelmer Vernooij
79190992b3 Move pidl to top-level directory. 2008-09-17 17:12:27 +02:00
Jelmer Vernooij
06999ae473 Merge branch 'master' of ssh://git.samba.org/data/git/samba into singlelib 2008-09-17 14:34:54 +02:00
Jelmer Vernooij
94855cd692 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
Jeremy Allison
a69a2ae5df Make the correct module name.
Jeremy.
2008-09-16 17:01:00 -07:00
Jeremy Allison
5cc096a109 First (incomplete) cut of this module. Based on Volker's original work.
Jeremy.
2008-09-16 15:55:06 -07:00
Gerald (Jerry) Carter
63554b4078 idmap_hash: Add the idmap/nss-info provider from Likewise Open.
* Port the Likewise Open idmap/nss_info provider (renamed to
  idmap_hash).

* uids & gids are generated based on a hashing algorithm that collapse
  the Domain SID to a 31 bit number.  The reverse mapping from the
  high order 11 bits to the originat8ing sdomain SID is stored in
  a has table initialized at start up.

* Includes support for "idmap_hash:name_map = <filename>" for the
  name aliasing layer.  The name map file consist of entries in
  the form "alias = DOMAIN\name"
2008-09-16 10:28:11 -07:00
Jelmer Vernooij
323346f7b0 Merge branch 'singlecompression' into single 2008-09-16 19:07:59 +02:00
Jelmer Vernooij
9c466a6158 Use single copy of compression library in Samba3,4. 2008-09-16 19:07:02 +02:00
Jelmer Vernooij
4beb6731a7 Use pidl from Samba 4 from Samba 3 rather than hoping there is one installed on the
system.
2008-09-16 18:48:56 +02:00
Jelmer Vernooij
c8bff39df6 Use a single copy of popt in samba3 and samba4. 2008-09-16 17:20:16 +02:00
Jelmer Vernooij
b8e8e9f0a5 Ignore generated build files. 2008-09-15 14:56:46 +02:00
Jelmer Vernooij
c592ec0e13 Import merged build patch. 2008-09-15 14:30:15 +02:00
Günther Deschner
a2919ddd38 build: don't install the cifs.upcall binary twice.
Guenther
(This used to be commit 1f44b4aaa5)
2008-09-11 14:54:55 +02:00
Günther Deschner
1aff853427 netapi: add NetFileClose skeleton.
Guenther
(This used to be commit 4a006ae644)
2008-09-11 14:36:05 +02:00
Jelmer Vernooij
372ecdfde3 Stop ignoring .svn directories when creating tags, since we no longer use
svn.
(This used to be commit 151c78652a)
2008-09-09 19:05:48 +02:00
Jelmer Vernooij
66060a0ba7 Rename object variables to avoid clashes with Samba 4.
(This used to be commit c77758de5d)
2008-09-09 19:03:49 +02:00
Jelmer Vernooij
174fd4a731 Use different variable names for talloc and tdb object file names than
Samba 4.
(This used to be commit 3f821e8c88)
2008-09-04 23:43:58 +02:00
Günther Deschner
0b484e684a netapi: add NetShareAdd skeleton.
Guenther
(This used to be commit 6e22bcc1f5)
2008-08-29 13:58:03 +02:00
Volker Lendecke
13c66c8eb1 Move idmap_cache.c from winbindd/ to lib/
(This used to be commit fe70dcc1b6)
2008-08-26 12:56:47 -07:00
Günther Deschner
98c3324cc3 build: make sure to create CODEPAGEDIR and MODULESDIR.
Guenther
(This used to be commit d31683cdc8)
2008-08-26 13:47:43 +02:00
Jeff Layton
a835c28bb7 cifs.upcall: move default install location to EPREFIX/sbin
cifs.upcall links to libraries that live under /usr, so installing it
in /sbin doesn't seem appropriate. Move it to EPREFIX/sbin instead
(i.e. /usr/sbin).

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit 5c9a1b2c98)
2008-08-21 19:40:14 -04:00
Michael Adam
fdb4fcf30c build: add [clean_]libsmbclient_examples targets to top level Makefile
Michael
(This used to be commit b476400f0a)
2008-08-21 12:16:05 +02:00
Michael Adam
447852c9d8 build: auto-generate symbols for libsmbsharemodes.
Michael
(This used to be commit f1d84e76bb)
2008-08-20 22:39:46 +02:00
Michael Adam
f483aa05e4 build: autogenerate symbols for libsmbclient.so
Michael
(This used to be commit d6fb6348a3)
2008-08-20 22:38:39 +02:00
Michael Adam
cc8404242c build: remove duplicated and hardcoded definition of LIBSMBSHAREMODES
Michael
(This used to be commit c3c3dadcab)
2008-08-20 22:38:07 +02:00
Michael Adam
e069dd4e5c build: rename LIBNETAPI_OBJ1 to LIBNETAPI_OBJ0 for consistency.
Michael
(This used to be commit ead9b9d716)
2008-08-20 22:38:07 +02:00
Michael Adam
4928791d79 build: fix linking cifs.upcall when nscd_flush_cache() is found.
Michael
(This used to be commit 661b7fdffd)
2008-08-19 13:31:33 +02:00
Michael Adam
e9739694b6 configure: Add --with-modulesdir to accompany --with-libdir.
This starts the seplitting of libdir in to libdir and modulesdir.
Our shared libs should go into libdir, the internal shared modules,
codepages, and other stuff that was originally in libdir, should
go into modulesdir.

The idea behind this is, that in a typical installation,
the shared (and static) libraries (as libtalloc, libsmbclient,
libwbclient and others) should be put into /usr/lib, while
the e.g. the vfs modules should reside in /usr/lib/samba.

This is meant to ease the work of packagers and reduce
the needs for manual interaction and workarounds.

Michael
(This used to be commit b17d1ff646)
2008-08-15 23:19:56 +02:00
Michael Adam
b02216b93f Makefile: print codepagedir in "make showlayout".
Michael
(This used to be commit a823733b91)
2008-08-15 23:19:55 +02:00
Michael Adam
dfd27586db build: fix a typo in the installlibtalloc rule.
The symlink liballoc.so -> libtalloc.so.1 would have been
created unconditionally, independent of the existence of
libtalloc.so.1.

Michael
(This used to be commit 04974818bd)
2008-08-15 23:19:54 +02:00
Michael Adam
762439025a Revert "Add a gpfs_prefetch module"
This reverts commit fc9b30bed2.

Sorry, this got pushed by accident:

"This can not go upstream yet because it uses the non-GPL libgpfs."

Michael
(This used to be commit 26a3cf0be9)
2008-08-14 17:46:28 +02:00
Andrew Tridgell
0f41961e4f first cut at adding full transactions for ctdb to samba3
(This used to be commit f91a3e0f7b)
2008-08-13 11:54:08 +02:00
Volker Lendecke
b0935e5663 Add a gpfs_prefetch module
This can not go upstream yet because it uses the non-GPL libgpfs. So it will
not be compiled by default and will not be included in the SOFS RPMs. But upon
Sven's request, we include it in the git tree and the source RPMs, so that it
can be built for in-house tests.
(This used to be commit fc9b30bed2)
2008-08-13 11:54:05 +02:00
Herb Lewis
9caabc441b use variables for files used in multiple places
(cherry picked from commit cee044bc42)
(This used to be commit 2462562b5c)
2008-08-12 22:01:02 +02:00
Volker Lendecke
b67def0a55 Add simple async wrappers around send, recv and connect
To be used later :-)
(This used to be commit 0d161d336a)
2008-08-08 18:30:57 +02:00
Michael Adam
e9a501a501 libnetapi: fix build of shared library after libnet_join changes.
This needs create_builtin_administrators() and create_builtin_users()
from token_utils now. Did not pop up because the only users of the
shared lib currently are the examples in lib/netapi/examples/
which are not automatically built.

Michael
(This used to be commit 8dca23a559)
2008-08-06 13:56:52 +02:00
Zach Loafman
abaa69b32b Make DSO_EXPORTS_CMD regexp more POSIX compliant
The FreeBSD sed command doesn't understand \? without passing -E to turn
on extended regexps. This patch changes the DSO_EXPORTS_CMD regexp to a
POSIX compliant RE by switching the \+ to a \{1,\} bound and the \? to a
\{0,1\} bound.
(This used to be commit 0acc888ca9)
2008-07-22 15:00:48 +02:00
Zach Loafman
45bbad9ca0 Add --enable-picky-developer
This adds an --enable-picky-developer option that will halt compilation
on warnings. Yes, this could be handled by a direct Makefile change, but
people should be encourage to do it!
(This used to be commit 10a2ab4077)
2008-07-22 15:00:48 +02:00
Günther Deschner
a6aeb73e4a netapi: add ConvertSidToStringSid() for convenience of the callers.
Guenther
(This used to be commit b7633998ed)
2008-07-17 10:33:27 +02:00
Jeremy Allison
cdabee2bb4 This patchset comprises a number of cleanups for the cifs upcall
binary. The biggest change is that it renames it from cifs.spnego
to cifs.upcall since the cifs.spnego name really isn't applicable
anymore.

It also fixes a segfault when the program is run without any args
and adds a manpage. Comments and/or suggestions appreciated.

This set should apply cleanly to the 3.3 test branch.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeremy.
(This used to be commit c633f10d9e)
2008-07-16 17:27:05 -07:00
Derrell Lipman
db7bff1bab Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
(This used to be commit 11d74fc51c)
2008-07-16 09:48:23 -04:00
Derrell Lipman
deac1761f0 Static libsmbclient library needs to include all objects
LIBSMBCLIENT_OBJ0 contains only the libsmb/libsmb_*.o files.  We need the
  more inclusive set of object files defined by LIBSMBCLIENT_OBJ1.

Derrell
(This used to be commit 6c33c62007)
2008-07-16 09:47:06 -04:00
Michael Adam
b385f6626b build: use $(PAM_WINBIND_EXTRA_LIBS) instead of @PAM_WINBIND_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 8897aaec32)
2008-07-14 23:16:47 +02:00
Michael Adam
e147120918 build: use $(WINBIND_NSS_PTHREAD) instead of @WINBIND_NSS_PTHREAD@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit bf619d0192)
2008-07-14 23:16:46 +02:00
Michael Adam
f6ec12f477 build: use $(WINBIND_NSS_EXTRA_LIBS) instead of @WINBIND_NSS_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 603b83c980)
2008-07-14 23:16:46 +02:00
Michael Adam
f5715af1fe build: use $(LDAP_LIBS) instead of @LDAP_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 1f0feb3d12)
2008-07-14 23:16:46 +02:00
Michael Adam
4d9c1bb8fc build: use $(LIBNETAPI_LIBS) instead of @LIBNETAPI_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit cd3c667bda)
2008-07-14 23:16:45 +02:00
Michael Adam
b1560e558a build: link in $(WINBIND_LIBS) instead of @LIBWBCLIENT_SHARED@
This should fix some more picky makes when not building @LIBWBCLINET_SHARED@
Moreover, we want to link against -lwbclient, not against bin/libwbclient.so
anyways.

Michael
(This used to be commit 73582e4c51)
2008-07-14 23:16:45 +02:00
Michael Adam
599df86b57 build: use $(LIBTDB_LIBS) instead of @LIBTDB_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 4330a2ab13)
2008-07-14 23:16:45 +02:00