1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

dirmngr: Finalize Active Directory LDAP Schema

--

With these modifications it is now possible to store and retrieve keys
from an AD without manually tweaking the schema.  Permissions need to
be set manuallay, though.
This commit is contained in:
Werner Koch 2020-12-17 10:17:22 +01:00
parent a2434ccabd
commit 2b06afbf26
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
3 changed files with 7 additions and 5 deletions

View File

@ -379,7 +379,7 @@ To list the entire DIT for the domain "example.com" use this command:
: ldapsearch -Q -Y EXTERNAL -LLL -H ldapi:/// -b dc=example,dc=com dn : ldapsearch -Q -Y EXTERNAL -LLL -H ldapi:/// -b dc=example,dc=com dn
This lists just the DNs. If you need the entire content of the DIT This lists just the DNs. If you need the entire content of the DIT
leave our the "dn" argument. The option "-LLL" selects a useful leave out the "dn" argument. The option "-LLL" selects useful
formatting options for the output. formatting options for the output.
** Insert X.509 Certficate ** Insert X.509 Certficate

View File

@ -1,17 +1,17 @@
# gnupg-ldap-ad-init.ldif -*- conf -*- # gnupg-ldap-ad-init.ldif -*- conf -*-
# #
# Entries connecting the schema specified in gnupg-ldap-ad-schema.ldif. # Entries connecting the schema specified in gnupg-ldap-ad-schema.ldif.
# Revision: 2020-12-08 # Revision: 2020-12-16
dn: cn=GnuPG Keys,dc=w32demo,dc=g10code,dc=de dn: cn=GnuPG Keys,DC=EXAMPLEDC
changetype: add changetype: add
objectClass: container objectClass: container
cn: GnuPG Keys cn: GnuPG Keys
dn: cn=PGPServerInfo,dc=w32demo,dc=g10code,dc=de dn: cn=PGPServerInfo,DC=EXAMPLEDC
changetype: add changetype: add
objectClass: pgpServerInfo objectClass: pgpServerInfo
cn: PGPServerInfo cn: PGPServerInfo
pgpBaseKeySpaceDN: cn=GnuPG Keys,dc=w32demo,dc=g10code,dc=de pgpBaseKeySpaceDN: cn=GnuPG Keys,DC=EXAMPLEDC
pgpSoftware: GnuPG pgpSoftware: GnuPG
pgpVersion: 2 ntds pgpVersion: 2 ntds

View File

@ -294,6 +294,7 @@ mustContain: cn
mustContain: pgpBaseKeySpaceDN mustContain: pgpBaseKeySpaceDN
mayContain: pgpSoftware mayContain: pgpSoftware
mayContain: pgpVersion mayContain: pgpVersion
systemPossSuperiors: domainDNS
schemaIDGUID:: 9AbnpaXqQR6d3S5OZomYIA== schemaIDGUID:: 9AbnpaXqQR6d3S5OZomYIA==
# The original PGP key object extended with a few extra attributes. # The original PGP key object extended with a few extra attributes.
@ -324,6 +325,7 @@ mayContain: pgpKeyExpireTime
mayContain: gpgFingerprint mayContain: gpgFingerprint
mayContain: gpgSubFingerprint mayContain: gpgSubFingerprint
mayContain: gpgMailbox mayContain: gpgMailbox
systemPossSuperiors: container
schemaIDGUID:: 9AbnpaXqQR6d3S5OZomYIQ== schemaIDGUID:: 9AbnpaXqQR6d3S5OZomYIQ==