'Verify that entries that claim to use shadow files have a shadow entry.
If the entries of the non-shadowed file indicate that a shadow file is used,
check that there is actually an entry for that file in shadow.
Args:
store_type: The type of password store that should be used (e.g.
/etc/shadow or /etc/gshadow)'

def ReconcileShadow(self, store_type):

    for (k, v) in self.entry.iteritems():
        if (v.pw_entry.store == store_type):
            shadow_entry = self.shadow.get(k)
            if shadow_entry:
                v.pw_entry = shadow_entry
            else:
                v.pw_entry.store = 'UNKNOWN'
