Matthias Dieter Wallnöfer
5eeb1fc447
NSS:winbind_struct_protocol.h - fix typo
2010-03-13 12:58:58 +01:00
Matthieu Patou
d1e3898a05
s4: allow pam_winbind.so to be build on samba4
...
* Modify the nsswitch/config.m4 to add tests and build that will be put in configure by the autoconf/autoheader
We test if there is pam headers and pam library to be able to build the pam module
We add s4 build directive (that are normaly in standalone config.mk) this is due to the fact that we need
to rely on path that are guessed during configure.
Add tests not to build pam_winbind if pam dev files is not present
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11 13:31:38 +01:00
Matthieu Patou
5f2f4849e5
s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests things in one place
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11 13:31:37 +01:00
Stefan Metzmacher
667e8d8fc6
nsswitch: build libnss_winbind.so with SOVERSION = 2
...
metze
2010-03-10 17:12:14 +01:00
Stefan Metzmacher
3d70a3f78d
nsswitch: don't use socket_wrapper for winbind client code
...
metze
2010-03-10 17:12:13 +01:00
Stefan Metzmacher
0b4ad41973
nsswitch: build libnss_winbindd.so only for the non merged build
...
metze
2010-03-10 17:12:12 +01:00
Matthieu Patou
98bc10d0a8
s4:unittest Fix unittest to reflect that wbinfo -r no longer fail
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:31 +01:00
Bo Yang
ef0b4e4687
s3: Add i18n/l10n strings in pam_winbind.c coming from winbindd.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2010-03-06 01:53:13 +08:00
Matthieu Patou
e0726d4d66
s4-build: fix SMB_LIBRARY and change its name so it didn't collide with s3 one
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03 09:22:40 +01:00
Matthieu Patou
db6781833d
nsswitch: libpam remove depedance on locale.h use directly LOCALEDIR
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03 09:22:38 +01:00
Kai Blin
9848086aa8
libwbclient: Fix s4 build failure by fixing up includes.
...
Sorry about this, folks.
2010-02-13 17:55:01 +01:00
Kai Blin
b99d9f86e4
libwbclient: Separate out the async functions
2010-02-13 14:30:36 +01:00
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