summaryrefslogtreecommitdiff
path: root/nsswitch
AgeCommit message (Collapse)AuthorFilesLines
2009-08-30s3:libwbclient: Fix bug 6349, initialize domain info structVolker Lendecke1-0/+2
2009-08-18wbinfo: Reduce test noise in the wbinfo blackbox testKai Blin1-3/+7
With the switch to libwbclient the previously stubbed out --trusted-domains and --all-domains calls now fail. Set them to knownfail. The previously knownfail -D test is now stubbed out, test it now. This does not fix the issues with wbinfo -a and wbinfo -K not working on the build farm. I have no idea whatsoever what is causing this, as those are broken on my local machine even without my changes.
2009-08-18wbinfo: Use one codebase for Samba3 and Samba4.Kai Blin3-1335/+8
There can be only one....wbinfo that is.
2009-08-18s3 wbinfo: Only call afs_settoken_str if compiled with WITH_FAKE_KASERVERKai Blin1-0/+8
2009-08-18s3 wbinfo: use wbcSidTypeString instead of sid_type_lookupKai Blin1-2/+2
2009-08-18libwbclient: Add wbcSidTypeString function.Kai Blin2-1/+28
2009-08-18s3 wbinfo: Remove unused functions, use C99-typesKai Blin1-6/+1
2009-08-18s3 wbinfo: Explicitly include popt header, remove unused common options.Kai Blin1-1/+5
2009-08-18s3 wbinfo: Use talloc_strdup instead of SMB_STRDUPKai Blin1-21/+23
2009-08-18s3 wbinfo: Don't use global_myname()Kai Blin1-2/+17
2009-08-18s3 wbinfo: Avoid ADD_TO_ARRAY macro.Kai Blin1-1/+6
2009-08-18s3 wbinfo: Use uint32_t instead of uint32Kai Blin1-8/+8
2009-08-18s3 wbinfo: remove --get-auth-user and --set-auth-user functionalityKai Blin1-89/+6
Point to the corresponding commands in "net" instead.
2009-08-18s3 wbinfo: Get rid of lp_ functionsKai Blin1-100/+158
This commit also fixes a lot of line lengths to make the file more readable.
2009-08-16s3:winbind: Fix a potential segfault in libwbclientVolker Lendecke1-1/+1
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