1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

67 Commits

Author SHA1 Message Date
Jeremy Allison
1c714850d5 Clean up some const and other compiler warnings.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu May  5 00:59:40 CEST 2011 on sn-devel-104
2011-05-05 00:59:40 +02:00
Volker Lendecke
b0aba17538 nss_wrapper: Fix a segfault when libnss_winbind.so is not loadable
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 26 13:19:01 CET 2011 on sn-devel-104
2011-02-26 13:19:01 +01:00
Volker Lendecke
22d8d277c6 nss_wrapper: Make nwrap_module_init a bit more readable 2011-02-26 12:00:48 +01:00
Günther Deschner
cb15d73c0b nss_wrapper: make nss_wrapper.pl executeable.
Guenther
2010-12-13 10:53:42 +01:00
Jelmer Vernooij
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Jelmer Vernooij
5cf904b1d9 s4-waf: Only enable various wrappers if they're actually used.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Nov 12 14:33:34 UTC 2010 on sn-devel-104
2010-11-12 14:33:34 +00:00
Jelmer Vernooij
3deece5591 s4: Remove the old perl/m4/make/mk-based build system.
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Jelmer Vernooij
2933fac7c7 s4: Rename NSS_WRAPPER to nss_wrapper.
Only link to nss_wrapper when it is enabled.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 23 23:05:44 UTC 2010 on sn-devel-104
2010-10-23 23:05:43 +00:00
Andrew Tridgell
dc00b773fc wrapper: make socket_wrapper, uid_wrapper and nss_wrapper private libs
this prevents double instantiation

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:24 +11:00
Andreas Schneider
b46eccfb19 nss_wrapper: Fixed a possible NULL pointer problem. 2010-06-28 10:18:12 +02:00
Matthias Dieter Wallnöfer
f1d7d6d4df nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" calls
This should fix bug #7319 and #7320.
2010-05-30 11:12:24 +02:00
Andrew Tridgell
ad32fabc54 s4-waf: fixed indentation for python 3.1
python 3.x is very fussy about tabs/spaces
2010-05-04 13:02:30 +02:00
Andrew Tridgell
d81eccc0ba s4-waf: put the --xxx-wrapper options in 'developer options' group 2010-04-18 15:00:37 +10:00
Stefan Metzmacher
783d2e9fe5 lib/nss_wrapper/wscript_build: 'replace' already includes 'dl'
metze
2010-04-12 12:31:14 +02:00
Andrew Tridgell
77a4fe495e s4-waf: added a --enable-selftest option as a shortcut
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper
but is easier to remember!
2010-04-06 20:27:17 +10:00
Andrew Tridgell
b690fedef5 s4-waf: removed the AUTOGENERATED markers
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
3cc01226ec s4-waf: more places missing libreplace 2010-04-06 20:27:14 +10:00
Andrew Tridgell
f9eae32f4b s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00
Andrew Tridgell
845e0cbe6f build: commit all the waf build files in the tree 2010-04-06 20:26:48 +10:00
Andrew Tridgell
6a8c43672b build: added wrapper options 2010-04-06 20:26:46 +10:00
Andrew Tridgell
4c4d0a029d build: fixed nss_wrapper on solaris
solaris has different getpwnam_r syntax
2010-03-24 15:50:50 +11:00
Günther Deschner
f06779629d nss_wrapper.pl: allow to specify gid for new users.
Guenther
2010-03-19 09:54:10 +01:00
Brad Hards
7863bb1511 Spelling fixes for nss_wrapper.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-22 21:45:33 +01:00
Michael Adam
1a42b020fd nss_wrapper: fix segfault in print_group() in the testsuite
Running
'TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test'
from s3 made smbtorture4 crash on my box.

Michael
2010-02-19 00:37:41 +01:00
Günther Deschner
2eb83f2964 s4-smbtorture: add LOCAL-NSS-WRAPPER-DUPLICATES test.
Guenther
2010-02-18 23:25:16 +01:00
Günther Deschner
9b9c9fd175 s4-smbtorture: be more verbose in LOCAL-NSS-WRAPPER.
Guenther
2010-02-18 23:25:16 +01:00
Günther Deschner
7caf51c37a nss_wrapper: fix typo in testsuite.
Guenther
2009-06-08 22:45:16 +02:00
Günther Deschner
7e8b3d8c06 nss_wrapper: add my copyright.
Guenther
2009-06-08 10:26:39 +02:00
Günther Deschner
0bf56f5cb3 nss_wrapper: rename nwrap_cache_{re,un}load as per metzes request.
Guenther
2009-06-06 02:00:36 +02:00
Günther Deschner
68a1ef2197 nss_wrapper: add support for loading nss_winbind.so via WINBIND_SO_PATH env.
Guenther
2009-06-06 01:01:25 +02:00
Günther Deschner
a845cb5ed3 nss_wrapper: fill in module nwrap_backend.
Guenther
2009-06-06 00:59:51 +02:00
Günther Deschner
2e78bc7b53 nss_wrapper: add missing return in nwrap_module_init().
Guenther
2009-06-05 23:10:58 +02:00
Günther Deschner
f3aa2a2b73 nss_wrapper: add skeleton for module nwrap_backend.
Guenther
2009-06-05 23:04:14 +02:00
Günther Deschner
6985f3995f nss_wrapper: add capability to load nss modules.
Guenther
2009-06-05 23:04:10 +02:00
Günther Deschner
47b5a55239 nss_wrapper: add struct nwrap_backend.
Guenther
2009-06-05 23:01:05 +02:00
Günther Deschner
61cf117f86 nss_wrapper: add cross checking test to testsuite.
Guenther
2009-06-05 15:58:22 +02:00
Günther Deschner
59ee0a1e8a nss_wrapper: add tests for getgrent_r to testsuite.
Guenther
2009-06-05 15:58:16 +02:00
Günther Deschner
af0b586c74 nss_wrapper: add tests for getpwent_r to testsuite.
Guenther
2009-06-05 15:58:09 +02:00
Stefan Metzmacher
c110e664af nss_wrapper: fix segfault in nwrap_gr_copy_r()
metze
2009-06-05 15:52:20 +02:00
Günther Deschner
5e0f122f7c nss_wrapper: rename test_nwrap_env to test_nwrap_enumeration in testsuite.
Guenther
2009-06-05 13:41:18 +02:00
Günther Deschner
34014f8aa6 nss_wrapper: add more coherency checks for user and group enumeration.
Guenther
2009-06-05 13:40:49 +02:00
Günther Deschner
930ea7c8a8 nss_wrapper: remove getgrouplist from nwrap_ops table.
Guenther
2009-06-04 21:23:39 +02:00
Stefan Metzmacher
9dad0536d6 nss_wrapper: call the nwrap_files_*() from nwrap_files_*_r()
We should not call the public functions, as this could lead
to a recursive loop when we have multiple nwrap backends
in future.

This also fixes the build if --enable-nss-wrapper was not
given to ./configure.

metze
2009-06-04 17:18:12 +02:00
Günther Deschner
8def5cb352 nss_wrapper: more coherence tests for group membership.
Guenther
2009-06-04 10:30:58 +02:00
Günther Deschner
dc9b705667 nss_wrapper: add coherency tests for get{gr,pw}{nam,id}.
Guenther
2009-06-04 10:30:51 +02:00
Günther Deschner
c49f6b7bc6 nss_wrapper: refactor test_nwrap_membership_user() in testsuite.
Guenther
2009-06-04 10:30:44 +02:00
Günther Deschner
911624567a nss_wrapper: make full talloced copies of struct passwd and group in testsuite.
Guenther
2009-06-04 10:30:36 +02:00
Günther Deschner
011a505800 nss_wrapper: prefix function pointer names in struct nwrap_ops.
Guenther
2009-06-02 14:52:53 +02:00
Günther Deschner
8684911bda nss_wrapper: resort calls to move public calls to the end.
Guenther
2009-06-02 13:11:57 +02:00
Günther Deschner
81e820c1aa nss_wrapper: add nwrap_ops function pointer table.
Guenther
2009-06-02 13:11:49 +02:00