Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 

README.md

simple_pam

Tiny binding around PAM

Installation:

oasis setup
ocaml setup.ml -configure [--prefix <prefix]
ocaml setup.ml -build
ocaml setup.ml -install

Usage

There is only one function:

Simple_pam.authenticate "service" "user" "password"

if it returns (), then the user/password is valid for the given service definition (usually /etc/pam/<service>).

if it throws a Failure exception, then the user, password, or service are wrong :)

Author(s):

The code in src/lib/simple_pam_stubs.c has been extracted from XEN-API: https://github.com/xen-org/xen-api

Copyright (C) 2006-2009 Citrix Systems Inc.

Sebastien Mondet (http://seb.mondet.org)

About

Tiny binding around PAM

Resources

License

Packages

No packages published
You can’t perform that action at this time.