passwdutil.h revision 2
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A#
include <
crypt.h>
/* CRYPT_MAXCIPHERTEXTLEN max crypt length */ 2N/A /* from plain passwd */ 2N/A /* special operations */ 2N/A /* Query operations */ 2N/A /* to obtain repository name that contained the info */ 2N/A /* special attribute */ 2N/A /* to set password following server policy */ 2N/A /* get history entry from supporting repositories */ 2N/A /* Failed login bookkeeping */ 2N/A/* For the time being, these are also defined in pam_*.h */ 2N/A#
define PWU_WRITE 1 /* Write (update) access to the repository */ 2N/A * Password history definitions 2N/A#
define MAXHISTORY 26 /* max depth of history 1 yr every 2 weeks */ 2N/A * Error / return codes 2N/A#
endif /* _PASSWDUTIL_H */