diff options
Diffstat (limited to 'usr/src/lib/passwdutil/utils.c')
-rw-r--r-- | usr/src/lib/passwdutil/utils.c | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/usr/src/lib/passwdutil/utils.c b/usr/src/lib/passwdutil/utils.c index f98e342574..f723472465 100644 --- a/usr/src/lib/passwdutil/utils.c +++ b/usr/src/lib/passwdutil/utils.c @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 2003 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -46,6 +46,29 @@ #define MAXWEEKS -1 #define WARNWEEKS -1 +extern repops_t files_repops, nis_repops, + nisplus_repops, ldap_repops, nss_repops; + +repops_t *rops[REP_LAST+1] = { + NULL, + &files_repops, + &nis_repops, + NULL, + &nisplus_repops, + NULL, + NULL, + NULL, + &ldap_repops, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + &nss_repops, +}; + void free_pwd(struct passwd *pw) { |