svn commit: samba r3436 - branches/SAMBA_3_0/source/libads trunk/source/libads

gd at samba.org gd at samba.org
Mon Nov 1 16:18:16 GMT 2004


Author: gd
Date: 2004-11-01 16:18:14 +0000 (Mon, 01 Nov 2004)
New Revision: 3436

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3436

Log:
Fix build with recent heimdal-versions (0.6.3) as pointed out by Luke
Mewburn <lukem at NetBSD.org> and close Bugzilla #1661.

Leaving the old define for KRB5_KPASSWD_VERS_SETPW (added by Antti
Andreimann) as fallback when the library does not provide one.

Guenther


Modified:
   branches/SAMBA_3_0/source/libads/krb5_setpw.c
   trunk/source/libads/krb5_setpw.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/krb5_setpw.c
===================================================================
--- branches/SAMBA_3_0/source/libads/krb5_setpw.c	2004-11-01 15:08:09 UTC (rev 3435)
+++ branches/SAMBA_3_0/source/libads/krb5_setpw.c	2004-11-01 16:18:14 UTC (rev 3436)
@@ -25,7 +25,9 @@
 
 #define DEFAULT_KPASSWD_PORT	464
 #define KRB5_KPASSWD_VERS_CHANGEPW		1
+#ifndef KRB5_KPASSWD_VERS_SETPW
 #define KRB5_KPASSWD_VERS_SETPW			2
+#endif
 #define KRB5_KPASSWD_VERS_SETPW_MS		0xff80
 #define KRB5_KPASSWD_ACCESSDENIED		5
 #define KRB5_KPASSWD_BAD_VERSION		6

Modified: trunk/source/libads/krb5_setpw.c
===================================================================
--- trunk/source/libads/krb5_setpw.c	2004-11-01 15:08:09 UTC (rev 3435)
+++ trunk/source/libads/krb5_setpw.c	2004-11-01 16:18:14 UTC (rev 3436)
@@ -25,7 +25,9 @@
 
 #define DEFAULT_KPASSWD_PORT	464
 #define KRB5_KPASSWD_VERS_CHANGEPW		1
+#ifndef KRB5_KPASSWD_VERS_SETPW
 #define KRB5_KPASSWD_VERS_SETPW			2
+#endif
 #define KRB5_KPASSWD_VERS_SETPW_MS		0xff80
 #define KRB5_KPASSWD_ACCESSDENIED		5
 #define KRB5_KPASSWD_BAD_VERSION		6



More information about the samba-cvs mailing list