| 123456789101112131415161718192021222324252627 |
- /** BEGIN COPYRIGHT BLOCK
- * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
- * Copyright (C) 2005 Red Hat, Inc.
- * All rights reserved.
- * END COPYRIGHT BLOCK **/
- /*
- * slapd hashed password routines
- *
- */
- #include <stdio.h>
- #include <string.h>
- #include <sys/types.h>
- #include "pwdstorage.h"
- int
- clear_pw_cmp( char *userpwd, char *dbpwd )
- {
- return( strcmp( userpwd, dbpwd ));
- }
- char *
- clear_pw_enc( char *pwd )
- {
- return( slapi_ch_strdup( pwd ));
- }
|