Skip to content

ares-ensiie/rest-ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST-LDAP

Webservice Specs

BIND USERS

request

POST /auth
parameters
  • username
  • password

response

success
  • status 200
  • no content
failure
  • status 401
  • no content

SEARCH USERS

request

GET /users

response

  • status 200
[
    {
        "dn": "cn=chobert2010, ou=users, dc=ares",
        "attributes": {
            "cn": "chobert2010",
            "uid": "chobert2010",
            "uidnumber": 1001,
            "gidnumber": 1010,
            "homedirectory": "/home/chobert2010",
            "loginshell": "/bin/sh",
            "objectclass": ["posixaccount"]
        }
    }
]

SEARCH GROUPS

request

GET /groups

response

  • status 200
[
    {
        "dn": "cn=ares, ou=groups, dc=ares",
        "attributes": {
            "gidnumber": 1010,
            "memberuid": ["bee2010", "bertot2010", "chobert2010", "unbekandt2011"],
            "objectclass": ["posixgroup"]
        }
    }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published