Author: metze Date: 2005-10-21 10:08:40 +0000 (Fri, 21 Oct 2005) New Revision: 11241
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11241 Log: - fix compiler warning - fix comment metze Modified: branches/SAMBA_4_0/source/kdc/kpasswdd.c Changeset: Modified: branches/SAMBA_4_0/source/kdc/kpasswdd.c =================================================================== --- branches/SAMBA_4_0/source/kdc/kpasswdd.c 2005-10-21 02:14:23 UTC (rev 11240) +++ branches/SAMBA_4_0/source/kdc/kpasswdd.c 2005-10-21 10:08:40 UTC (rev 11241) @@ -224,7 +224,7 @@ switch (version) { case KRB5_KPASSWD_VERS_CHANGEPW: { - char *password = talloc_strndup(mem_ctx, input->data, input->length); + char *password = talloc_strndup(mem_ctx, (const char *)input->data, input->length); if (!password) { return False; } @@ -308,7 +308,7 @@ status = samdb_set_password(samdb, mem_ctx, set_password_on_dn, NULL, msg, password, NULL, NULL, - False, /* this is a user password change */ + False, /* this is not a user password change */ True, /* run restriction tests */ &reject_reason, &dominfo);