Sergey Rusakov
and 1 contributors

restore()

Restore a user from DB. Look up by ID first, then by username and DN.

find_user()

The same functionality as restore() but additionaly look for

 fullname like 'name%'

If unique fullname found then the user is restored.