diff --git a/.gitignore b/.gitignore index 264daca..5d88ea2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*__pycache__ \ No newline at end of file +*__pycache__ +*.egg-info \ No newline at end of file diff --git a/src/ldapsm.egg-info/PKG-INFO b/src/ldapsm.egg-info/PKG-INFO deleted file mode 100644 index dbd7d8a..0000000 --- a/src/ldapsm.egg-info/PKG-INFO +++ /dev/null @@ -1,67 +0,0 @@ -Metadata-Version: 2.4 -Name: ldapsm -Version: 0.1.0 -Summary: CLI tool to manage OpenLDAP schema snippets under cn=config -Author: Kevin Veen-Birkenbach -License: MIT -Requires-Python: >=3.9 -Description-Content-Type: text/markdown -License-File: LICENSE -Requires-Dist: python-ldap>=3.4 -Dynamic: license-file - -# LDAP Schema Manager 🛠️ -[![GitHub Sponsors](https://img.shields.io/badge/Sponsor-GitHub%20Sponsors-blue?logo=github)](https://github.com/sponsors/kevinveenbirkenbach) [![Patreon](https://img.shields.io/badge/Support-Patreon-orange?logo=patreon)](https://www.patreon.com/c/kevinveenbirkenbach) [![Buy Me a Coffee](https://img.shields.io/badge/Buy%20me%20a%20Coffee-Funding-yellow?logo=buymeacoffee)](https://buymeacoffee.com/kevinveenbirkenbach) [![PayPal](https://img.shields.io/badge/Donate-PayPal-blue?logo=paypal)](https://s.veen.world/paypaldonate) - - -A Python-based CLI tool for managing OpenLDAP schema snippets under `cn=config`, allowing you to create or update schema entries—including custom `olcAttributeTypes` and `olcObjectClasses`—via LDAPI. - -## 🚀 Installation - -You can install **ldapsm** easily using [Kevin's package manager](https://github.com/kevinveenbirkenbach/package-manager): - -```bash -pkgmgr install ldapsm -``` - -## 📝 Usage - -After installation, run: - -```bash -ldapsm --help -``` - -to view all available commands and options. - -### Example - -```bash -ldapsm \ - -s ldapi:/// \ - -D "" \ - -W "" \ - -n nextcloud \ - -a "( 1.3.6.1.4.1.99999.1 NAME 'nextcloudQuota' DESC 'Quota for Nextcloud' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )" \ - -c "( 1.3.6.1.4.1.99999.2 NAME 'nextcloudUser' DESC 'Auxiliary class for Nextcloud attributes' AUXILIARY MAY ( nextcloudQuota ) )" -``` - -## 📖 Help - -For detailed usage and options, run: - -```bash -ldapsm --help -``` - -## 🛡️ Contributing - -Contributions, issues, and feature requests are welcome! Feel free to check [issues](https://github.com/kevinveenbirkenbach/ldap-schema-manager/issues). - -## 📜 License - -This project is licensed under the MIT License. - ---- - -**Author:** [Kevin Veen-Birkenbach](https://www.veen.world/) diff --git a/src/ldapsm.egg-info/SOURCES.txt b/src/ldapsm.egg-info/SOURCES.txt deleted file mode 100644 index 30f3cde..0000000 --- a/src/ldapsm.egg-info/SOURCES.txt +++ /dev/null @@ -1,10 +0,0 @@ -LICENSE -README.md -pyproject.toml -src/ldapsm/__main__.py -src/ldapsm.egg-info/PKG-INFO -src/ldapsm.egg-info/SOURCES.txt -src/ldapsm.egg-info/dependency_links.txt -src/ldapsm.egg-info/entry_points.txt -src/ldapsm.egg-info/requires.txt -src/ldapsm.egg-info/top_level.txt \ No newline at end of file diff --git a/src/ldapsm.egg-info/dependency_links.txt b/src/ldapsm.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/src/ldapsm.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/ldapsm.egg-info/entry_points.txt b/src/ldapsm.egg-info/entry_points.txt deleted file mode 100644 index 8eff0dd..0000000 --- a/src/ldapsm.egg-info/entry_points.txt +++ /dev/null @@ -1,2 +0,0 @@ -[console_scripts] -ldapsm = ldapsm.__main__:main diff --git a/src/ldapsm.egg-info/requires.txt b/src/ldapsm.egg-info/requires.txt deleted file mode 100644 index 85341a3..0000000 --- a/src/ldapsm.egg-info/requires.txt +++ /dev/null @@ -1 +0,0 @@ -python-ldap>=3.4 diff --git a/src/ldapsm.egg-info/top_level.txt b/src/ldapsm.egg-info/top_level.txt deleted file mode 100644 index dca1325..0000000 --- a/src/ldapsm.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -ldapsm