summaryrefslogtreecommitdiff
path: root/nsswitch
AgeCommit message (Collapse)AuthorFilesLines
2009-08-08Make wbinfo also print the members when querying a groupVolker Lendecke1-2/+18
2009-08-05s3:winbind: Add NDR-based parent-child communication to winbindVolker Lendecke1-0/+3
2009-08-05added a uid_wrapper libraryAndrew Tridgell1-1/+2
This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling
2009-07-18s3: add failure check.Bo Yang1-1/+4
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-18s3: compile warning and upn handlingBo Yang1-13/+24
Signed-off-by: Bo Yang <boyang@samba.org>
2009-06-19s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.Günther Deschner1-1/+2
Based on patch from Blindauer Emmanuel <samba@mooby.net>. Guenther
2009-06-18libwbclient: fix returned LogonInfo in wbc_LogonUser().Günther Deschner1-2/+4
That function could return emtpy blobs for username and ccache for e.g. cached logins. Guenther
2009-06-18wbinfo: use wbcLogonUser for wbinfo -K.Günther Deschner1-35/+76
Guenther
2009-06-13libwbclient: Add debugging hooks.Kai Blin2-0/+91
2009-06-12Fix wb_req_more(): Return 0 when done, read_pkt_send needs thatVolker Lendecke1-0/+5
2009-06-08nsswitch: try to fix segfault in nss_winbind on NetBSD found by torture test.Günther Deschner1-2/+2
Guenther
2009-06-08async_sock: try fix the source4 build on FreeBSD, Solaris, SLES8Stefan Metzmacher2-10/+4
metze
2009-06-04libwbclient: Attempt to fix build on AIXKai Blin7-0/+7
2009-06-04nsstest: Relicense header file to LGPLv3+Kai Blin1-8/+12
2009-05-30talloc_strdup "dir" in wb_context_initVolker Lendecke1-1/+5
2009-05-30libwbclient: Store the winbind socket dir to use in the wb_contextKai Blin2-3/+13
2009-05-30libwbclient: Silence a compiler warningKai Blin1-1/+1
2009-05-30libwbclient: Add async call framework.Kai Blin9-2/+1239
2009-05-25nsswitch/winbind_nss_aix.c(fill_grent): fixed memory leak.Slava Semushin1-0/+3
Found by cppcheck: [./nsswitch/winbind_nss_aix.c:241]: (error) Memory leak: result
2009-05-22s3: Fix request flags in wbinfo when perform krb5 authenticationBo Yang1-1/+2
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison1-19/+23
Should make Solaris 10 builds look cleaner. Jeremy.
2009-05-05s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.Günther Deschner1-1/+1
Patch from Blindauer Emmanuel <samba@mooby.net>. Guenther
2009-04-23Fix Coverity ID 626: DEADCODEVolker Lendecke1-5/+0
2009-04-15Merge branch 'master' of ssh://git.samba.org/data/git/samba into ↵Andrew Bartlett1-8/+8
libcli-auth-merge-without-netlogond
2009-04-14libwbclient: Fix undocumented arguments doxygen warnings.Günther Deschner1-8/+8
Guenther (cherry picked from commit f2b3fbf0c04a6f9484853da263174a472eb6bb6d)
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-3/+4
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-04-03s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.Günther Deschner1-0/+1
Patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
2009-04-03s3-nsswitch: Fix Bug #6238. Make sure logoff is bla bla.Günther Deschner1-2/+2
Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
2009-03-16nsswitch: only define TALLOC_ZERO if neededStefan Metzmacher1-0/+2
metze
2009-02-11s3: Implement wbcGetSidAliasesDan Sledz4-0/+219
* Adds wbcGetSidAliases that calls the lookup_useraliases function. * Updates wbinfo and winbind_util.c to call the new function. * Also added winbind_get_groups helper function.
2009-02-11s3: Implement wbcGetpwsidDan Sledz4-4/+92
* Adds the plumbing required to lookup users by sid into winbind, wbinfo and smbd helper lib (winbind_util.c). * Removes some double declarations of winbind_util.c functions. * Bumps the winbind protocol version to 21 and the minor version of wbclient to 3.
2009-02-03s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher1-2/+2
metze
2009-01-23talloc: Change the two other definitions of TALLOC_FREE to match the primary ↵Tim Prouty1-1/+1
version Eventually these two other definitions should be removed and all of the TALLOC macros should live in the same header. Until then, this patch eliminates some build warnings.
2009-01-19Avoid flooding of syslog with failing pam_putenv messages.Andreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Günther Deschner <gd@samba.org>
2009-01-15s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.Kai Blin1-2/+1
2009-01-15s4 torture: Add another wbinfo test and fix a typo in another oneKai Blin1-2/+2
2009-01-14s4 torture: Fix the wbinfo blackbox testsKai Blin1-5/+13
2009-01-05s3:winbindd: move WINBINDD_CCACHE_ENTRY and WINBINDD_MEMORY_CREDS to winbindd.hStefan Metzmacher1-27/+0
metze
2008-12-29wbinfo4: Add --gid-info optionKai Blin1-0/+37
2008-12-29wbinfo: Add --gid-info option.Kai Blin1-0/+30
2008-12-17Tweak with pam defines of older Linux versionsLars Müller1-1/+8
PAM_AUTHTOK_RECOVERY_ERR is not defined by older Linux versions (SUSE Linux Enterprise 9 and RedHat Enterprise 4). Patch suggested by Philipp Thomas <pth at suse dot de>.
2008-12-17nsswitch: fix compiler warnings in winbind_nss_linux.cStefan Metzmacher1-3/+3
metze
2008-12-16nss_winbind: Solaris 64-bit fix and...SATOH Fumiyasu2-2/+10
PATCH 1: Fix gmem->numgids and gmem->maxgids breakage on Solaris 64-bit because sizeof(int) != sizeof(long int). PATCH 2: This patch fixes a compile-time warning "warning: implicit function declaration: _nss_winbind_initgroups_dyn". (cherry picked from commit cb036772d09227f870c2fec3ecd8c3f53787dfbc)
2008-12-16nsswitch: Fix paths for Samba4 blackbox wbinfo testKai Blin1-2/+2
2008-12-16nsswitch: Move nsswitch files from source4 to top level nsswitch dirKai Blin7-0/+2059
2008-12-16nsswitch: Move source3 files to top level dir.Kai Blin33-0/+18573
Don't move source4 files yet to not confuse git's rename tracking too much.