]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/kerberos.c
Fixed invalid cookie in pagedResults control (ITS#3089)
[openldap] / servers / slapd / kerberos.c
index 66825e5a64cc0df076d56b282bd6582ed41c107e..2fe5afe2f5f1fadbf07522306dae7ef14459af07 100644 (file)
@@ -1,8 +1,17 @@
 /* kerberos.c - ldbm backend kerberos bind routines */
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2004 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #include "portable.h"
@@ -32,7 +41,7 @@ krbv4_ldap_auth(
 
        Debug( LDAP_DEBUG_TRACE, "=> kerberosv4_ldap_auth\n", 0, 0, 0 );
 
-       SAFEMEMCPY( ktxt->dat, cred->bv_val, cred->bv_len );
+       AC_MEMCPY( ktxt->dat, cred->bv_val, cred->bv_len );
        ktxt->length = cred->bv_len;
 
        strcpy( instance, "*" );