{"id":29269115,"url":"https://github.com/master/eds","last_synced_at":"2025-07-04T20:07:30.516Z","repository":{"id":45527066,"uuid":"1512989","full_name":"master/eds","owner":"master","description":"Erlang Directory Server","archived":false,"fork":false,"pushed_at":"2011-05-07T12:19:33.000Z","size":1611,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-11T09:27:34.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/master.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-03-22T19:53:09.000Z","updated_at":"2023-03-11T09:27:34.505Z","dependencies_parsed_at":"2022-07-18T23:02:35.251Z","dependency_job_id":null,"html_url":"https://github.com/master/eds","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/master/eds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master%2Feds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master%2Feds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master%2Feds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master%2Feds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/master","download_url":"https://codeload.github.com/master/eds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master%2Feds/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263611900,"owners_count":23488429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-04T20:07:29.837Z","updated_at":"2025-07-04T20:07:30.507Z","avatar_url":"https://github.com/master.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"README\n======\nErland Directory Server is an [LDAP](http://en.wikipedia.org/wiki/LDAP) server with [MongoDB](http://www.mongodb.org/) backend.\n\nINSTALL\n=======\nCompile eMongo driver first:\n\n        $ git clone git://github.com/master/emongo.git emongo\n        $ cd emongo\n        $ make\n        $ cd ..\n\nDownload and compile EDS:\n\n        $ git clone git://github.com/master/eds.git eds\n        $ cd eds\n        $ make\n\nPopulate database with sample LDIF:\n\n        $ priv/populate.py t/000-init.ldif\n\n        dc=synrc,dc=com\n        uid=admin,dc=synrc,dc=com\n        ou=People,dc=synrc,dc=com\n        cn=Oleg Smirnov,ou=People,dc=synrc,dc=com\n        cn=Maxim Sokhatsky,ou=People,dc=synrc,dc=com\n\n\nUSAGE\n=====\n        $ ./eds.sh\n\nLDAP port is 1389 for testing purposes. Anonymous bind is not supported (yet).\n\nSearch\n------\n        $ ldapsearch -b \"dc=synrc,dc=com\" 'objectClass=*' \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\nFilters:\n\n        $ ldapsearch -b \"dc=synrc,dc=com\" '(\u0026(uid=*)(cn=Ma*))' \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\nAttributes selection:\n\n        $ ldapsearch -b \"dc=synrc,dc=com\" 'sn=*' cn sn \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\nSize limit on query result:\n\n        $ ldapsearch -b \"dc=synrc,dc=com\" 'sn=*' cn sn -z 1 \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\nAdd\n---\n\nAdding entries:\n\n        $ ldapmodify -f t/010-add.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\t\n\n        adding new entry \"cn=alice,ou=People,dc=synrc,dc=com\"\n\n        adding new entry \"cn=bob,ou=People,dc=synrc,dc=com\"\n\nAdding duplicate entries:\n\n        $ ldapmodify -f t/011-add-exists.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        adding new entry \"cn=alice,ou=People,dc=synrc,dc=com\"\n        ldap_add: Already exists (68)\n\n\nModify\n------\n\nReplacing value of an attribute:\n\n        $ ldapmodify -f t/020-modify-replace.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        modifying entry \"cn=alice,ou=People,dc=synrc,dc=com\"\n\nAdding new attribute:\n\n        $ ldapmodify -f t/021-modify-add.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        modifying entry \"cn=alice,ou=People,dc=synrc,dc=com\"\n\nDeleting an attribute:\n\n        $ ldapmodify -f t/022-modify-del.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        modifying entry \"cn=bob,ou=People,dc=synrc,dc=com\"\n\nChanging many attributes at once:\n\n        $ ldapmodify -f t/023-modify-multi.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        modifying entry \"cn=bob,ou=People,dc=synrc,dc=com\"\n\nChanging nonexistent object:\n\n        $ ldapmodify -f t/024-modify-noobj.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        modifying entry \"cn=eve,ou=People,dc=synrc,dc=com\"\n        ldap_modify: No such object (32)\n\nModify DN\n---------\n        $ ldapmodify -f t/025-modify-dn.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        modifying rdn of entry \"cn=alice,ou=People,dc=synrc,dc=com\"\n\nDelete\n------\nDeleting entries:\n\n        $ ldapmodify -f t/030-delete.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        deleting entry \"uid=alice,ou=People,dc=synrc,dc=com\"\n\n        deleting entry \"cn=bob,ou=People,dc=synrc,dc=com\"\n\nDeleting nonexistent entries:\n\n        $ ldapmodify -f t/031-delete-noobj.ldif \\\n                     -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n\n        deleting entry \"cn=alice,ou=People,dc=synrc,dc=com\"\n        ldap_delete: No such object (32)\n\nCompare\n-------\nEvaluating an expression:\n\n        $ ldapcompare \"uid=admin,dc=synrc,dc=com\" uid:admin \\\n                      -h localhost -p 1389 -D \"uid=admin,dc=synrc,dc=com\" -w secret\n        TRUE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaster%2Feds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaster%2Feds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaster%2Feds/lists"}