summaryrefslogtreecommitdiffstats
path: root/lib/nss_wrapper/nss_wrapper.c
Commit message (Collapse)AuthorAgeFilesLines
* nwrap: Make sure addr is initialized.Andreas Schneider2014-10-091-1/+3
| | | | | | | CID #72755 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* nwrap: Use DNS_NAME_MAX cause it is not available on BSD.Andreas Schneider2014-10-091-2/+5
| | | | | | | | Also HOST_NAME_MAX is only for the value returned by gethostname(). It is normally limited to 64 chars on Linux. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* nwrap: Don't overflow the in_addr if convert IPv6.Andreas Schneider2014-10-091-32/+22
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* nwrap: Fix resolving hostnames with a trailing dot.Andreas Schneider2014-10-091-0/+9
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* nwrap: Fall back to RTLD_NEXT if we can't find libc.Andreas Schneider2014-10-091-4/+7
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* nss_wrapper: Fix some "discarding const" warningsVolker Lendecke2014-06-211-6/+6
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* nss_wrapper: Align indentation with the rest of SambaVolker Lendecke2014-06-211-16/+16
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib: Change nss_wrapper to preloadable version.Andreas Schneider2014-04-171-384/+2360
| | | | | | | This imports nss_wrapper version 1.0.2. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Clean up some const and other compiler warnings.Jeremy Allison2011-05-051-0/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
* nss_wrapper: Fix a segfault when libnss_winbind.so is not loadableVolker Lendecke2011-02-261-2/+11
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 13:19:01 CET 2011 on sn-devel-104
* nss_wrapper: Make nwrap_module_init a bit more readableVolker Lendecke2011-02-261-5/+9
|
* nss_wrapper: Fixed a possible NULL pointer problem.Andreas Schneider2010-06-281-1/+1
|
* build: fixed nss_wrapper on solarisAndrew Tridgell2010-03-241-0/+4
| | | | solaris has different getpwnam_r syntax
* Spelling fixes for nss_wrapper.Brad Hards2010-02-221-2/+2
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* nss_wrapper: add my copyright.Günther Deschner2009-06-081-0/+1
| | | | Guenther
* nss_wrapper: rename nwrap_cache_{re,un}load as per metzes request.Günther Deschner2009-06-061-10/+10
| | | | Guenther
* nss_wrapper: add support for loading nss_winbind.so via WINBIND_SO_PATH env.Günther Deschner2009-06-061-0/+12
| | | | Guenther
* nss_wrapper: fill in module nwrap_backend.Günther Deschner2009-06-061-13/+332
| | | | Guenther
* nss_wrapper: add missing return in nwrap_module_init().Günther Deschner2009-06-051-0/+1
| | | | Guenther
* nss_wrapper: add skeleton for module nwrap_backend.Günther Deschner2009-06-051-0/+159
| | | | Guenther
* nss_wrapper: add capability to load nss modules.Günther Deschner2009-06-051-1/+115
| | | | Guenther
* nss_wrapper: add struct nwrap_backend.Günther Deschner2009-06-051-85/+320
| | | | Guenther
* nss_wrapper: fix segfault in nwrap_gr_copy_r()Stefan Metzmacher2009-06-051-3/+8
| | | | metze
* nss_wrapper: remove getgrouplist from nwrap_ops table.Günther Deschner2009-06-041-72/+64
| | | | Guenther
* nss_wrapper: call the nwrap_files_*() from nwrap_files_*_r()Stefan Metzmacher2009-06-041-9/+7
| | | | | | | | | | | 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
* nss_wrapper: prefix function pointer names in struct nwrap_ops.Günther Deschner2009-06-021-54/+54
| | | | Guenther
* nss_wrapper: resort calls to move public calls to the end.Günther Deschner2009-06-021-193/+197
| | | | Guenther
* nss_wrapper: add nwrap_ops function pointer table.Günther Deschner2009-06-021-19/+104
| | | | Guenther
* nss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.Günther Deschner2009-06-021-0/+4
| | | | Guenther
* nss_wrapper: fix typo while checking for getgrid_r support.Günther Deschner2009-06-021-2/+2
| | | | | | Metze, this has been in here for a long time, please check. Guenther
* nss_wrapper: try to fix the build of nss_wrapper on solaris.Günther Deschner2009-05-301-0/+5
| | | | Guenther
* nss_wrapper: add support for getgrouplist.Günther Deschner2009-05-301-0/+79
| | | | Guenther
* nss_wrapper: fix nss_wrapper build for solaris.Günther Deschner2009-05-281-0/+2
| | | | Guenther
* nss_wrapper: remove re-structuring leftovers (unused variables).Günther Deschner2009-05-281-6/+0
| | | | Guenther
* nss_wrapper: restructure nwrap calls.Günther Deschner2009-05-281-71/+169
| | | | Guenther
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-171-0/+1130