summaryrefslogtreecommitdiff
path: root/nsswitch
Commit message (Collapse)AuthorAgeFilesLines
* nsswitch: fix crash on null pam change pw responseLuca Lorenzetto2012-09-121-1/+1
| | | | | | | | | | | | The function _pam_winbind_change_pwd crashes due to a null value passed to the function strcasecmp and denies to login via graphical login manager. Check for a null value before doing a strcasecmp. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1003296 Bug: https://bugzilla.samba.org/show_bug.cgi?id=9013 Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Wed Sep 12 00:07:28 CEST 2012 on sn-devel-104
* Extending space for fqdn in wbinfo --trusted-domains in verbose modeDaniel Liberman2012-08-231-2/+2
| | | | | | | | | Microsoft documentation states that maximum fqdn length is 64 characters, so extending DNS Domain column to 65 characters. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Aug 23 03:49:00 CEST 2012 on sn-devel-104
* libwbclient: Add test for wbcPingDc2Christof Schmitt2012-08-151-0/+14
| | | | | | | The internal domain used in 'make test' does not report a DC name, so just add tests similar to the old wbcPingDc call. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* wbinfo: Improve output of wbinfo --ping-dcChristof Schmitt2012-08-151-3/+5
| | | | | | | | | | | Use wbcPingDc2 to get the DC name and print it. Cleanup error messages: Remove "Could not ping our DC", there is always a more specific message. Avoid printing "failed to call wbcPingDc" in case the ping has been attempted and it returns an error, the error is already printed. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* libwbclient: Add wbcPingDc2Christof Schmitt2012-08-154-2/+115
| | | | | | | Add wbcPingDc2 that optionally returns the DC that was attempted to ping. wbcPing is implemented as a wrapper around wbcPingDc2. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* nsswitch: add ABI checking and symbol versions to libwbclientAndrew Bartlett2012-08-102-0/+78
| | | | | | | | | This will ensure that we do not unintentionally break the ABI. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 10 04:08:54 CEST 2012 on sn-devel-104
* nsstest: fix use of a non-existent word (existant)Michael Adam2012-06-121-4/+4
|
* libwbclient: Fix an invalid free()Volker Lendecke2012-05-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed May 16 00:00:00 CEST 2012 on sn-devel-104
* wbinfo: Fix Coverity ID 242684 Resource leakVolker Lendecke2012-05-151-0/+1
|
* wbinfo: Fix Coverity ID 242685 Resource leakVolker Lendecke2012-05-151-0/+1
|
* allow to use system iniparser library.Günther Deschner2012-05-091-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 9 17:38:33 CEST 2012 on sn-devel-104
* Fix bug reported by Dina_Fine@Dell.com.Jeremy Allison2012-04-251-16/+19
| | | | | | | | Don't ask the DC for an IP list when locating kdc's. Ask for the name and use getaddrinfo to get all possible addresses instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 25 22:01:18 CEST 2012 on sn-devel-104
* Fix pam_winbind build against newer iniparser librarySimo Sorce2012-04-241-4/+4
| | | | | | | | iniparser_getstr is deprecated and has been removed in newer libraries available in Fedora. Use iniparse_getstring instead. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Apr 24 02:56:10 CEST 2012 on sn-devel-104
* build: Remove support for system libwbclientAndrew Bartlett2012-04-231-8/+19
| | | | | | | | | This effectively reverts commit 2c49782dc1069eebc9f5a5cd2a055b5912665595 This also adds explaination about what would need to be done to support a system libwbclient Andrew Bartlett
* selftest: Add test for bug #8884: wbinfo --group-info=administrator ↵Andrew Bartlett2012-04-231-0/+2
| | | | | | | segfaults s4-winbindd Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 07:44:50 CEST 2012 on sn-devel-104
* selftest: Add extra info on what is failing in wbclient testsAndrew Bartlett2012-04-201-65/+71
| | | | | | | | | This may help me chase down the failure in my idmap rework. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 20 09:51:35 CEST 2012 on sn-devel-104
* libwbclient: bump version to 0.9, and add this version to .pc fileAndrew Bartlett2012-04-202-3/+7
|
* waf: Add possibility to build with system libwbclient.Andreas Schneider2012-04-172-9/+28
|
* nsswitch: Remove a pointless if-clauseVolker Lendecke2012-02-251-1/+1
| | | | gr->num_gr_mem is a uint32, so it can never be < 0
* nsstest: Allocate the correct sized buffer for initgroupsAndrew Bartlett2012-02-201-1/+1
| | | | | | | | | | | Found by chance due to a re-order of the tests to start s3member earlier and chasing down a malloc Abort into a valgrind error. Only happens when a user has more than 4 groups. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 20 05:23:04 CET 2012 on sn-devel-104
* s3-nsswitch: Fix warnings on Solaris.Ira Cooper2012-02-061-0/+1
| | | | | | | Add "system/passwd.h" so struct group is declared. Autobuild-User: Ira Cooper <ira@samba.org> Autobuild-Date: Mon Feb 6 18:28:53 CET 2012 on sn-devel-104
* selftest: Remove unused support for --exeextAndrew Bartlett2012-02-011-1/+1
|
* s3: No value change, just use the correct enum valueVolker Lendecke2012-01-061-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 6 16:33:42 CET 2012 on sn-devel-104
* nsswitch: Disable uid_wrapper in libwbclient.Andreas Schneider2011-10-273-0/+5
| | | | This way we don't have to link against it in the autoconf build.
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-111-1/+1
| | | | | | | | | | | | This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
* build: build wbinfo only once in the waf buildAndrew Bartlett2011-10-082-1/+7
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 8 04:52:03 CEST 2011 on sn-devel-104
* Add missing com_err dependenciesEwoud Kohl van Wijngaarden2011-10-061-1/+1
| | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 6 02:10:21 CEST 2011 on sn-devel-104
* build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett2011-09-231-1/+1
|
* wbclient: added support for handling WBC_ID_TYPE_BOTH mappingsAndrew Tridgell2011-09-231-0/+3
| | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* libwbclient: added support for WBC_ID_TYPE_BOTHAndrew Tridgell2011-09-232-1/+6
| | | | | | | | | | the Samba4 winbindd allows for a single SID to map to both a user and group id. This is used to support files with the owner_sid set to a group Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* nsswitch: make the wbcSidsToUnixIds() parser more robustAndrew Tridgell2011-09-081-2/+2
| | | | | | this allows it to handle new types of responses Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: install pam modules in PAMMODULESDIR.Günther Deschner2011-09-061-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Sep 6 11:09:45 CEST 2011 on sn-devel-104
* wbclient: Add pkg-config file.Jelmer Vernooij2011-08-212-0/+12
|
* s3: Remove "struct ip_service" from resolve_winsVolker Lendecke2011-06-121-8/+7
|
* nsswitch: Remove some refs to the global winbindd_fdVolker Lendecke2011-06-121-8/+10
|
* nsswitch/winbind_client.h: fix licence/copyrightGünther Deschner2011-06-101-0/+29
| | | | Guenther
* nsswitch/pam_winbind.h: fix licence/copyright.Günther Deschner2011-06-101-0/+48
| | | | Guenther
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* nss_wins: Add a stackframe to lookup_byname_backend()Volker Lendecke2011-06-051-3/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 5 15:17:42 CEST 2011 on sn-devel-104
* Remove a PATH_MAX.Jeremy Allison2011-06-011-2/+3
|
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-2/+2
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* Fix redefinition of fstrcpy.Jeremy Allison2011-05-171-1/+7
|
* s3: Fix return check in nss_winsVolker Lendecke2011-05-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 16 00:30:42 CEST 2011 on sn-devel-104
* nsswitch: Fix build check logicKai Blin2011-05-081-1/+1
| | | | | | | Only build pam_winbind.so if we want pam modules _and_ have the libs Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun May 8 23:56:33 CEST 2011 on sn-devel-104
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-061-2/+0
|
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-052-15/+15
|
* Clean up some const and other compiler warnings.Jeremy Allison2011-05-051-8/+8
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
* Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison2011-05-041-1/+1
|
* Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2011-05-031-1/+0
| | | | | | | | | This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
* Fix Bug #8099 setpwent() actually does endpwent() and vice versa on FreeBSDSergey Korsak2011-04-191-4/+4
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 19 19:15:14 CEST 2011 on sn-devel-104