mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
- Update to 3.0.23c Common bugs fixed in 3.0.23c include: [1] o Authentication failures in pam_winbind when the AD domain policy is set to not expire passwords. o Authorization failures when using smb.conf options such as "valid users" with the smbpasswd passdb backend. *** net/samba-libsmbclient: [2] - Small cosmetic changes *** net/py-samba: [3] - Reset PORTREVISION back, as master port version bumped PR: ports/102805 [1] ports/102806 [2] ports/102807 [3] Submitted by: Timur I. Bakeyev <timur@gnu.org> (maintainer)
20 lines
872 B
C
20 lines
872 B
C
--- pam_smbpass/support.c.orig Tue May 23 20:54:32 2006
|
|
+++ pam_smbpass/support.c Thu Aug 24 01:30:57 2006
|
|
@@ -384,7 +384,7 @@
|
|
if (newauth != NULL) {
|
|
|
|
/* any previous failures for this user ? */
|
|
- pam_get_data(pamh, data_name, (const void **) &old);
|
|
+ pam_get_data(pamh, data_name, (void **) &old);
|
|
|
|
if (old != NULL) {
|
|
newauth->count = old->count + 1;
|
|
@@ -594,7 +594,7 @@
|
|
|
|
retval = pam_set_data( pamh, data_name, (void *) token, _cleanup );
|
|
if (retval != PAM_SUCCESS
|
|
- || (retval = pam_get_data( pamh, data_name, (const void **)&item ))
|
|
+ || (retval = pam_get_data( pamh, data_name, (void **)&item ))
|
|
!= PAM_SUCCESS)
|
|
{
|
|
_log_err( LOG_CRIT, "error manipulating password data [%s]"
|