1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

1920 Commits

Author SHA1 Message Date
Günther Deschner
4ff415dd15 pam_winbind: remove ACB_PWNOEXP.
Guenther
2008-10-10 15:42:01 +02:00
Günther Deschner
dde8046489 pam_winbind: use libwbclient for WINBINDD_PAM_AUTH.
Guenther
2008-10-10 15:41:25 +02:00
Günther Deschner
d3afd53429 pam_winbind: use libwbclient for WINBINDD_PAM_LOGOFF.
Guenther
2008-10-10 15:40:55 +02:00
Günther Deschner
3eae89dd77 pam_winbind: use libwbclient for WINBINDD_PAM_CHAUTHTOK.
Guenther
2008-10-10 15:40:23 +02:00
Günther Deschner
ed2b94c1a2 pam_winbind: use libwbclient for WINBINDD_LOOKUPNAME/LOOKUPSID.
Guenther
2008-10-10 15:39:39 +02:00
Günther Deschner
d397bafa0a pam_winbind: use libwbclient for WINBINDD_INFO.
Guenther
2008-10-10 15:39:20 +02:00
Günther Deschner
377e4f929a pam_winbind: use libwbclient for WINBINDD_GETPWNAM.
Guenther
2008-10-10 15:39:05 +02:00
Günther Deschner
b1282d720c pam_winbind: add _pam_check_remark_auth_err().
Guenther
2008-10-10 15:38:29 +02:00
Günther Deschner
0566164db0 pam_winbind: add wbc_auth_error_to_pam_error().
Guenther
2008-10-10 15:38:21 +02:00
Günther Deschner
0532291fe9 pam_winbind: add wbc_error_to_pam_error().
Guenther
2008-10-10 15:38:13 +02:00
Günther Deschner
7817ad4ae0 pam_winbind: prepare to use libwbclient inside pam_winbind.
Guenther
2008-10-10 15:38:04 +02:00
Günther Deschner
3bbffb9664 pam_winbind: convert to use talloc.
Guenther
2008-10-10 15:37:35 +02:00
Günther Deschner
65dc0c3e2f libwbclient: add wbcLogonUser().
Guenther
2008-10-10 15:37:00 +02:00
Günther Deschner
f33f888de7 libwbclient: add wbcLogoffUserEx().
Guenther
2008-10-10 15:36:43 +02:00
Günther Deschner
be6e21f9ea libwbclient: add wbcAddNamedBlob.
Guenther
2008-10-10 15:36:09 +02:00
Günther Deschner
4464011cea libwbclient: add wbcBlob and wbcNamedBlob.
Guenther
2008-10-10 15:35:58 +02:00
Günther Deschner
08d3918cf8 libwbclient: fix wbcAuthenticateUserEx() to not ignore provided flags field.
Guenther
2008-10-10 15:24:06 +02:00
Günther Deschner
83f55e0755 krb5_locator: use wbcLookupDomainControllerEx() for query.
Guenther
2008-10-10 11:13:04 +02:00
Günther Deschner
eb78e5c46f wbclient: add wbcLookupDomainControllerEx call.
Guenther
2008-10-09 12:48:13 +02:00
Günther Deschner
b28db15af8 wbclient: add wbcGuidToString and wbcStringToGuid helper functions.
Guenther
2008-10-09 12:45:46 +02:00
Günther Deschner
8fcb81ee99 wbclient: add wbcGuid structure.
Guenther
2008-10-09 12:45:35 +02:00
Günther Deschner
5a61f30d13 wbclient: add my copyright.
Guenther
2008-10-09 12:38:04 +02:00
Günther Deschner
bf5c80c8eb krb5-locator: fix dsgetdcname caller.
Guenther
2008-10-09 12:37:18 +02:00
Günther Deschner
4e04c5ae1b wbinfo: fix dsgetdcname caller.
Guenther
2008-10-09 12:37:18 +02:00
Günther Deschner
298a918e95 s3-winbindd: add dsgetdcname request and reply to winbind structure.
Guenther
2008-10-09 11:08:56 +02:00
Günther Deschner
ce46f65f17 libwbclient: fix doxygen warnings.
Guenther
2008-09-27 01:15:07 +02:00
Günther Deschner
0bbbe2c21f pam_winbind: attempt to fix build issue on solaris, bug #5784
Guenther
2008-09-23 23:42:08 +02:00
Günther Deschner
93384b627c pam_winbind: fix the build wrt libreplace.
Guenther
2008-09-17 15:00:50 +02:00
Jelmer Vernooij
0888ffa2b7 Make Samba 3 and Samba 4 both use the same single copy of libreplace. 2008-09-16 16:30:14 +02:00
Volker Lendecke
9554f39b12 Fix Coverity ID 589, dead code
(This used to be commit 67c0835226e189deba5856710a1dea19ac5f30fd)
2008-08-31 12:15:35 +02:00
Günther Deschner
1f0cd6a744 wbinfo: add change-user-password command.
Guenther
(This used to be commit e572ede9995a66ae452ab25018b8df16101a2c2a)
2008-08-29 17:35:23 +02:00
Günther Deschner
bb1d3a73c4 libwbclient: add wbcChangeUserPassword and wbcChangeUserPasswordEx.
Guenther
(This used to be commit 62e7b4aa32051bce34c890cb41270e5fe31111ca)
2008-08-29 17:34:11 +02:00
David Leonard
9f93d4e5e1 Fix bug 4516, no IPv6 on Solaris 2.6.
(This used to be commit b5d0f751e4bf19c2ad306ebb3baeb5e9e83e49ee)
2008-08-25 15:17:53 -07:00
Gerald (Jerry) Carter
cf710f0464 nss_winbind: When returning NSS_UNAVAIL, squash errno to ENOENT
According to the GNU libc nss guide, we should always set
errno to ENOENT when returning NSS_UNAVAIL.

http://www.gnu.org/software/libtool/manual/libc/NSS-Modules-Interface.html#NSS-Modules-Interface

At least the MQ Series message queing service that runs
on WebSphere will fail if you return any other errno in this case.
(This used to be commit ee26664602445fa7798e2061f6bcbef0756d6528)
2008-08-20 13:00:40 -05:00
Günther Deschner
bded7eb2af pam_winbind: some doxygen fixes.
Guenther
(This used to be commit f2a2ed315e393353110aa7760b4eca4f1f49ca21)
2008-08-19 16:19:54 +02:00
Günther Deschner
a11e310799 wbinfo: use wbinfo_prompt_pass() everywhere.
Guenther
(This used to be commit 687ef28874eb311b3e3919c3a38a22e5186d4c1b)
2008-08-19 15:33:45 +02:00
Günther Deschner
833af26eeb wbinfo: add wbinfo_prompt_pass.
Guenther
(This used to be commit 7cf6ed68236e7dd64657cb1087a5a687d6f59ad1)
2008-08-19 15:33:36 +02:00
Günther Deschner
1cef895f4b pam_winbind: use pam error string function to display result.
Guenther
(This used to be commit 8504a92ac55d6936df051be66207a59a76bf32a3)
2008-08-19 15:23:46 +02:00
Günther Deschner
299e6c7996 pam_winbind: add _pam_error_code_str().
Guenther
(This used to be commit 693f90fd2394309ce40d3ca5fc007543058b342a)
2008-08-19 15:23:33 +02:00
Günther Deschner
5692bbf64b pam_winbind: use integer constants.
Guenther
(This used to be commit 8d19b2ceb131ca2a0fd983cdb4fd17acdad9c26e)
2008-08-19 15:20:44 +02:00
Günther Deschner
3ea5c185ad build: fix some no previous prototype warnings.
Guenther
(This used to be commit 51062534fd58d7a914a6bbac2e52bb44e71363b7)
2008-07-30 18:10:46 +02:00
Günther Deschner
4356a45682 libwbclient: let wbcStringToSid handle the global NULL sid.
Guenther
(This used to be commit 09fed085bea9dae5bb8aacd986deed3d458e3574)
2008-07-30 17:08:31 +02:00
Andreas Schneider
4cdc6b3b23 Remove trailing withespace from wbinfo -m which breaks gdm auth.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(This used to be commit 12848e8eb91bf60551ada78e3430ee25142e366b)
2008-07-24 13:41:37 -07:00
Zach Loafman
06d0790c07 Fix various build warnings
This fixes various build warnings on our platform. I'm sure I haven't
caught them all, but it's a start.
(This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
2008-07-22 15:00:48 +02:00
Herb Lewis
a935b1b6d6 allow SID with 0 in subauthority to be converted properly
from string representation.
(This used to be commit 23f338d1da96fd4ea3283bc96ca7d496b23bf854)
2008-07-17 09:38:08 -07:00
Jeremy Allison
06b3a79d1f Allow authentication and memory credential refresh after password change from gdm/xdm. Patch from boyang <boyang@novell.com>.
Jeremy.
(This used to be commit 8cfc6afc7b4a6af9aea5f5a7cb5af7e3218c2d75)
2008-07-07 11:26:16 -07:00
Volker Lendecke
2a5dee2892 Fix an "invalid operation involving NULL pointer" found by the IBM checker
Jerry, please check!

Volker
(This used to be commit eb6096a2d488d64cfa86e01be2a97e14e5773fe3)
2008-06-27 11:23:20 +02:00
Volker Lendecke
f287cdb1f0 Remove a strlen check that will never kick in
strlen(str)<2 will be caught by the explicit tests for str[0] and str[1] in the
lines above this.

Jerry, please check!

Volker
(This used to be commit 44a9e5b713c25ff2cc7215635a516f25359b045b)
2008-06-27 11:23:20 +02:00
Volker Lendecke
6f66dbcda6 Fix a segfault in wbcLookupRids
The done: part could access uninitialized memory if intermediate
BAIL_ON_WBC_ERROR fire.

Jerry, please check!

Thanks,

Volker
(cherry picked from commit 31f4c33dcc744e81be54389756378e25aa2bb75e)
(This used to be commit 5b12d8aa510689114e5413be5afe6aeb6ec2d9db)
2008-06-17 15:22:13 +02:00
Volker Lendecke
7f9acfae73 Fix a segfault in wbcLookupSid
If the BAIL_ON_WBC_ERROR directly after wbcRequestResponse kicks in, *domain
and *name have not been initialized yet. So the cleanup routine in the done:
part of the routine (which did not check for domain!=NULL etc) would access
uninitialized memory.

Jerry, please check!

Thanks,

Volker
(cherry picked from commit 3d7e0cc40b1992f4555807acec4f00450e30e2de)
(This used to be commit ac5ba26bb0488c3fb95072d84898c02b72c5b819)
2008-06-17 15:22:04 +02:00