Skip to content

yinyin/go-ldap-schema-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

The following command build utilities:

go build github.com/yinyin/go-ldap-schema-parser/cmd/ldap-schema-parser
go build github.com/yinyin/go-ldap-schema-parser/cmd/ldif-subschema-extract
go build github.com/yinyin/go-ldap-schema-parser/cmd/rfc-ldap-schema-extract
go build github.com/yinyin/go-ldap-schema-parser/cmd/pull-ldap-schema

Import Schema Elements

./rfc-ldap-schema-extract -out /tmp/ldap-schema-elements.txt \
    -rfc4512 docs/spec/rfc4512.txt \
    -rfc4517 docs/spec/rfc4517.txt \
    -rfc4519 docs/spec/rfc4519.txt \
    -rfc4523 docs/spec/rfc4523.txt
./ldif-subschema-extract -out /tmp/ldap-schema-elements.txt \
    docs/schema/core.ldif \
    docs/schema/cosine.ldif \
    docs/schema/inetorgperson.ldif \
    docs/schema/nis.ldif \
    docs/supplement-schema/posix.ldif

Pull Dependent Schema Elements

./pull-ldap-schema -verbose \
    -element /tmp/ldap-schema-elements.txt \
    -out /tmp/ldap-output.json \
    -root /tmp/ldap-schema-root.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published