Lines Matching defs:shadow
63 #include <shadow.h>
644 struct spwd *shadow;
663 * Since there are no shadow maps this is done by accessing
668 /* Try to get shadow information */
669 shadow = get_old_shadow(yppwd->newpw.pw_name, domain);
671 /* If there is shadow information make password aging checks */
672 if (NULL != shadow) {
675 if (shadow->sp_max != -1) {
676 if (now < shadow->sp_lstchg + shadow->sp_min) {
679 "the last change", shadow->sp_min);
680 free_shadow_entry(shadow);
686 shadow->sp_lstchg = now;
689 write_shadow_info(domain, shadow);
691 free_shadow_entry(shadow);
1158 * DESCRIPTION :Extracts and decodes shadow information from the DIT
1180 /* OK just have no shadow info in DIT */
1184 /* Pull shadow apart */
1187 "Could not alloc for shadow decode");
1266 * DESCRIPTION: Writes shadow information back to the DIT.
1295 logmsg(MSG_NOMEM, LOG_ERR, "Could not aloc for shadow write");
1299 /* Build up shadow string */
1324 * DESCRIPTION: Frees up a shadow information structure