1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

22523 Commits

Author SHA1 Message Date
Stefan Metzmacher
e3435930a3 auth_winbind: use wbcAuthenticateUserEx()
smbd doesn't need $(WBCOMMON_OBJ) anymore,
it works with any libwbclient.so now
and may talk to an older winbindd.

metze
2008-02-13 13:30:16 +01:00
Stefan Metzmacher
923cb37837 wbinfo: use wbcAuthenticateUserEx()
metze
2008-02-13 13:30:16 +01:00
Stefan Metzmacher
72af96a320 libwbclient: add wbcAuthenticateUserEx() function
This function will be used by auth_winbind.c.

metze
2008-02-13 13:30:15 +01:00
Stefan Metzmacher
c5e6dd1ca9 winbindd: add rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode
metze
2008-02-13 13:30:15 +01:00
Michael Adam
60a4c8411b Only export talloc related symbols in libtalloc.so.
Michael
2008-02-13 12:41:03 +01:00
Günther Deschner
ec4947525e Use pidl for _netr_LogonControl.
Guenther
2008-02-13 12:19:37 +01:00
Günther Deschner
d54456f3c4 Use rpccli_netr_LogonControl() in rpcclient.
Guenther
2008-02-13 12:19:20 +01:00
Günther Deschner
46d5989562 Remove redundant (and unused) set of samr opcodes.
Guenther
2008-02-13 12:19:19 +01:00
Michael Adam
a84bf0786f Add libreplace objects to libtalloc.so.
Michael
2008-02-13 11:54:41 +01:00
Günther Deschner
8a8c5826e7 Goodbye parse_samr.c, rest in peace - but never come back!
Guenther
2008-02-13 11:36:17 +01:00
Günther Deschner
7e1f33436a Remove unused marshalling for SAMR_ENUM_DOM_ALIASES.
Guenther
2008-02-13 11:18:36 +01:00
Günther Deschner
33a97b447c Convert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.
Guenther
2008-02-13 11:18:36 +01:00
Günther Deschner
6f269ec8c0 Remove unused marshalling for SAMR_ENUM_DOM_GROUPS.
Guenther
2008-02-13 11:18:36 +01:00
Günther Deschner
8890bc481f Convert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.
Guenther
2008-02-13 11:18:36 +01:00
Michael Adam
d950174bcb Change hand written configure help strings to use AS_HELP_STRING().
Michael
2008-02-13 11:03:50 +01:00
Michael Adam
90bdd0fa2e Use AS_HELP_STRING instead of (deprecated) AC_HELP_STRING.
Existence is guaranteed by libreplace.

Michael
2008-02-13 11:03:49 +01:00
Günther Deschner
c6db963dac Remove unused marshalling for SAMR_LOOKUP_RIDS.
Guenther
2008-02-13 10:56:56 +01:00
Günther Deschner
34c2566f02 Convert last caller (in winbindd) to rpccli_samr_LookupRids.
Guenther
2008-02-13 10:56:56 +01:00
Günther Deschner
c19847a024 Remove unused init_sam_entry routine.
Guenther
2008-02-13 10:56:56 +01:00
Michael Adam
fa3a78b815 Fix build: Add missing prerequisites for libwbclient.so
Michael
2008-02-13 10:52:21 +01:00
Stefan Metzmacher
135d9dd6d8 libwbclient: include wb_common.o in libwbclient.a
And only link in wb_common.o directly into binaries
which really need it.

Note: It's important that $(WBCOMMON_OBJ) comes before
      @LIBWBCLIENT_STATIC@ overwise we may try to
      link in wb_common.o twice.

metze
2008-02-13 10:44:52 +01:00
Stefan Metzmacher
5f623f54a9 nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros
metze
2008-02-13 10:44:52 +01:00
Michael Adam
26d012dd3d Fix install: Add creation of include dir to installlibtalloc target.
Michael
2008-02-13 10:36:48 +01:00
Günther Deschner
9312755955 Remove unused marshalling for NET_TRUST_DOM_LIST.
Guenther
2008-02-13 10:27:15 +01:00
Günther Deschner
243bdaeea7 Use pidl for _netr_NetrEnumerateTrustedDomains().
This call is completely broken. For now, just make sure that we return the exact same
data as before the conversion to pidl.

Guenther
2008-02-13 10:23:45 +01:00
Günther Deschner
9fca3ca37e Merge data_blob_talloc_zero() from samba4.
Guenther
2008-02-13 10:20:10 +01:00
Michael Adam
e904a3dd53 Add linking -ltalloc to libwbclient.so. Noted by Metze.
Michael
2008-02-13 10:11:43 +01:00
Michael Adam
b1deb11a19 Add forgotten file exports/libtalloc.syms ... Thanks Günther!
Michael
2008-02-13 09:48:47 +01:00
Günther Deschner
cd5bf3449a Some minor, cosmetic cleanup in srv_samr_util.c.
Guenther
2008-02-13 09:42:47 +01:00
Michael Adam
bc4482cde1 Fix some comment typos.
Michael
2008-02-13 09:25:31 +01:00
Michael Adam
97a60565ad Remove some unneded variables: we always build and install some talloc libs.
LIBTALLOC, INSTALL_LIBTALLOC, UNINSTALL_LIBTALLOC

Michael
2008-02-13 09:25:31 +01:00
Michael Adam
d1bec38829 Put talloc lib targets into variables and uses these.
LIBTALLOC_STATIC_TARGET and LIBTALLOC_SHARED_TARGET.

Michael
2008-02-13 09:25:31 +01:00
Michael Adam
dddfdee90e Simplify code by moving duplicate assignment to common place.
Michael
2008-02-13 09:25:31 +01:00
Michael Adam
71b990d9d6 Add support for linking talloc library statically or dynamically into samba.
This also establishes a general configure mechanism to control static vs
dynamic linking of internal subsystems built as libraries:
This first simple approach is as follows.

* It applies only to "subsystems" that we build as libraries and for
  that linking samba against the libraries (as opposed to linking in
  the plain object files) has been configured in Makefile.in.

* If we do build the shared library, then we link dynamically by default.

* We only link statically if we don't build shared or if the library
  appears in the new --with-static-libs configure option
  (comma-separated list).

Example (currently only one):
  --with-static-libs=talloc makes use of libtalloc.a instead
  of linking the dynamic variant with -ltalloc.

A possilble way to setup linking against libraries in Makefile.in is this:
For a subsystem, "mylib" say, we build bin/libmylib.a and bin/libmylib.so.
The subsystem usually has a MYLIB_OBJ definition in Makefile.in.  Define
LIBMYLIB_STATIC=bin/libmylib.a and and LIBMYLIB_LIBS=-lmylib in configure.in
as controlled by presence of "mylib" in the list given to --with-static-libs
and change uses of $(MYLIB_OBJ) to @LIBMYLIB_STATIC@ in Makefile.in and
add @LIBMYLIB_LIBS@ to the link targets as needed.

In the example of talloc, which is needed everywhere, I have simply
added @LIBTALLOC_LIBS@ to the definition of "LIBS" in Makefile.in.
For other subsystems, one will have to be more careful.

Michael
2008-02-13 09:25:31 +01:00
Michael Adam
880238c65c Use data from lib/talloc/libtalloc.m4 instead of hard coded data.
Michael
2008-02-13 09:25:31 +01:00
Michael Adam
ed2337e3a2 Move the AC_LIBREPLACE_CC_CHECKS up before building SAMBA_CPPFLAGS.
Michael
2008-02-13 09:25:31 +01:00
Michael Adam
cb7f42bcbc Add support for building libtalloc.a and libtalloc.so.
Michael
2008-02-13 09:25:31 +01:00
Jeremy Allison
5116c9d9f4 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test 2008-02-12 17:56:02 -08:00
Jeremy Allison
f0195e937d Prevent "parameters" being used without initialization.
Jeremy.
2008-02-12 17:21:17 -08:00
Michael Adam
4c2f0e027d Fix copy & paste typo in function prototype.
Michael
2008-02-13 01:40:12 +01:00
Michael Adam
303a3eb128 Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
Michael
(cherry picked from commit 38855a9f145b54d05f4a508562fc1a6595e0d895)
2008-02-13 01:40:12 +01:00
Jelmer Vernooij
da98f4d223 Make sure talloc.so is build before installing.
(cherry picked from commit 51769f5cfc0f3a9f85ea533598a1f769e108d075)
2008-02-13 01:40:12 +01:00
Jelmer Vernooij
a780c0594a Fix out of tree builds.
(cherry picked from parts of commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)

Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
7710d3dea3 Split actual content out of talloc Makefile into talloc.mk.
(cherry picked from commit 2b8939975267fc4774bccd2a35ea9a35129d0a2b)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
6f8165e4b0 Split rules.mk out of Makefile.
(cherry picked from commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
2008-02-13 01:40:11 +01:00
Michael Adam
0d9ae82f51 Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
Not sure if we can produce one from the other, so I manually made
them equal for now.

Michael
(cherry picked from commit 1c14c457bea75fb3055712547cca501e8ef3fc20)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
4b03f88c1e build: Remove support for DESCRIPTION setting that is now unused.
(cherry picked from parts of commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)

Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
77664bc482 talloc/tdb: Use manually written pc file.
(cherry picked from parts of c8947fda23eb874a7694bdee1b4de605744c2769)

Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
a146145c28 r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.

(cherry picked from talloc part of commit c550c03372cb260b78f6a6c132e70571bc4cb852)

Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
f4c59316b9 r26454: Add simple SWIG macro for wrapping talloced types.
(cherry picked from talloc parts of commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)

Michael
2008-02-13 01:40:11 +01:00