1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

126 Commits

Author SHA1 Message Date
Kai Blin
5d848053a7 libwbclient: Test wbcLookupName async functions 2010-02-11 23:56:35 +01:00
Kai Blin
cf968371ef libwbclient: Implement wbcLookupName_send/recv 2010-02-11 23:56:35 +01:00
Kai Blin
145f2c751b libwbclient: Implement wbcAuthenticateUserEx_send/recv 2010-02-11 23:56:35 +01:00
Kai Blin
749fb03971 libwbclient: Implement wbcLookupSid_send/recv 2010-02-11 23:56:34 +01:00
Kai Blin
57886720bb libwbclient: Implement wbcGidToSid_send/recv 2010-02-11 23:56:34 +01:00
Kai Blin
ada6e26d5e libwbclient: Implement wbcSidToGid_send/recv 2010-02-11 23:56:34 +01:00
Kai Blin
446b4aa17c libwbclient: Implement wbcUidToSid_send/recv 2010-02-11 23:56:34 +01:00
Kai Blin
4ff1906357 libwbclient: Implement wbcSidToUid_send/recv 2010-02-11 23:56:34 +01:00
Kai Blin
33bbe1cafd libwbclient: Add wbcInterfaceDetails_send/recv 2010-02-11 23:56:33 +01:00
Kai Blin
861ef367c8 libwbclient: Add wbcDomainInfo_send/recv calls 2010-02-11 23:56:33 +01:00
Kai Blin
99c0f569f9 libwbclient: Add wbcDomainName_send/recv call 2010-02-11 23:56:33 +01:00
Kai Blin
7cb070f2b3 libwbclient: Add wbcNetbiosName_send/recv calls 2010-02-11 23:56:33 +01:00
Kai Blin
fd6b145793 libwbclient: Add async wbcInfo_send()/wbcInfo_recv() calls 2010-02-11 23:56:33 +01:00
Kai Blin
a0895222be libwbclient: add wbcInterfaceVersion send/recv calls 2010-02-11 23:56:32 +01:00
Kai Blin
1ca727420a libwbclient: torture-test wbcPing async functions. 2010-02-11 23:56:32 +01:00
Kai Blin
3204113efe libwbclient: Add async wbcPing_send/_recv 2010-02-11 23:56:32 +01:00
Kai Blin
f9d041ccd3 libwbclient: Zero out context on initialization
This prevents a segfault when using wbcDebug without prior call to wbcSetDebug
2010-02-11 23:53:36 +01:00
Volker Lendecke
e2ddda3289 libwbclient: wbc_create_logon_info is always called with mem_ctx==NULL 2010-02-07 12:29:24 +01:00
Volker Lendecke
2607dc5ee8 libwbclient: wbc_create_password_policy_info is always called with mem_ctx==NULL 2010-02-07 12:29:24 +01:00
Volker Lendecke
1b2aad29a8 libwbclient: wbc_create_error_info is always called with mem_ctx==NULL 2010-02-07 12:29:24 +01:00
Volker Lendecke
65710dae84 pam_winbind: Remove a nested if-statement. Bo, please check! 2010-02-06 12:57:32 +01:00
Volker Lendecke
8cb6f7ec1b pam_winbind: Use strchr instead of strstr for a single character 2010-02-06 12:57:32 +01:00
Bo Yang
913a9f4e42 s3: Fix malformed require_membership_of_sid.
Signed-off-by: Bo Yang <boyang@samba.org>
2010-02-07 14:55:25 +08:00
Matthias Dieter Wallnöfer
a51d750652 NSS wrapper - add dependency to "nsstest"
The code part makes use of the "NSS wrapper" if it is enabled. Surprisingly
the build process doesn't break with the missing dependency on more recent
systems. But with an older CentOS 4 installation it has been broken.
This patch should fix the problem on older distributions while keep the build
running on newer ones.
2010-02-05 19:47:26 +01:00
Günther Deschner
b5d4726316 s4-smbtorture: test wbcResolveWinsByName/wbcResolveWinsByIP in WINBIND-WBCLIENT testsuite.
Guenther
2010-01-25 11:20:06 +01:00
Günther Deschner
e16e75a4f0 s4-smbtorture: add test for wbcPingDc to WINBIND-WBCLIENT testsuite.
Volker, please check, you know best how this interface is designed :-)

Guenther
2010-01-25 11:20:06 +01:00
Volker Lendecke
e879b50b32 libwbclient: Actually implement wbcCredentialCache() 2010-01-24 20:32:16 +01:00
Volker Lendecke
6ba9bf004f s3: Add the session key to the ccache_ntlm_auth response 2010-01-24 20:32:16 +01:00
Volker Lendecke
7d18d058a1 s3: Add wbinfo --ccache-save
With this command you can give winbind your password for later use by
the automatic ntlm_auth
2010-01-24 20:32:16 +01:00
Volker Lendecke
96b12e0d59 libwbclient: Use winbindd_free_response() 2010-01-24 14:52:33 +01:00
Volker Lendecke
5a313731f3 libwbclient: Remove a pointless talloc_strdup 2010-01-24 14:52:33 +01:00
Volker Lendecke
756444566f nsswitch: Move nss_err_str to its only caller 2010-01-23 19:14:50 +01:00
Volker Lendecke
c821be415b nsswitch: Make some functions static 2010-01-23 19:14:50 +01:00
Volker Lendecke
6ada1f250b libwbclient: Remove a pointless check
We have dereferenced "blobs" before
2010-01-03 11:38:22 +01:00
Volker Lendecke
9b6b01aab6 s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
2009-12-21 23:23:52 +01:00
Bo Yang
c7e3a2dc31 s3: check for PAM_RADIO_TYPE.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10 19:29:24 +08:00
Bo Yang
b386c3311d s3: Fix build on non-linux platform.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10 17:22:25 +08:00
Bo Yang
f7723293a0 s3: Give the user a chance to change password when password will expire soon.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10 14:38:28 +08:00
Günther Deschner
5b3a32be97 s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.
Based on patch from Allan <allan@archlinux.org>.

Also should fix the FreeBSD build on the buildfarm.

Guenther
2009-11-26 10:15:45 +01:00
Günther Deschner
51864219cc nsswitch: fix compile of winbind_krb5_locator with recent Heimdal versions.
Guenther
2009-11-25 17:58:52 +01:00
Björn Jacke
5377d5f894 pam_winbind: fix a printf type mismatch warning 2009-11-14 01:54:53 +01:00
Bo Yang
b9a3f1dd85 s3: Fix crash in pam_winbind, another reference to freed memory.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-24 09:36:23 +08:00
Günther Deschner
10bd521849 wbinfo: use wbcLookupDomainControllerEx for wbinfo --dsgetdcname.
Guenther
2009-10-19 18:44:51 +02:00
Günther Deschner
110a40d4bc libwbclient: fix wbcLookupDomainController().
Found by WINBIND-WBCLIENT torture test.

Guenther
2009-10-19 18:44:51 +02:00
Günther Deschner
71cfbf958c s4-smbtorture: test wbcLookupDomainController{Ex} in WINBIND-WBCLIENT.
Guenther
2009-10-19 18:44:51 +02:00
Bo Yang
31f1a36901 s3: Don't fail authentication when one or some group of require-membership-of is invalid.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-20 02:05:58 +08:00
Günther Deschner
20c07674f6 nsswitch: increase libwbclient version after adding wbcChangeTrustCredentials().
Guenther
2009-10-16 16:08:55 +02:00
Günther Deschner
c2966a0766 s4-smbtorture: test wbcLookupUserSids in WINBIND-WBCLIENT as well.
Guenther
2009-10-16 14:54:57 +02:00
Günther Deschner
246597cb0d s4-smbtorture: test wbcGuidToString and friends as well in WINBIND-WBCLIENT.
Guenther
2009-10-16 14:54:57 +02:00
Günther Deschner
612deb2699 s4-smbtorture: add very basic libwbclient testsuite.
Guenther
2009-10-16 02:04:29 +02:00