web2ldap  1.6.5
About: web2ldap is a full-featured web-based LDAPv3 client.
  Fossies Dox: web2ldap-1.6.5.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

web2ldap.app.schema.syntaxes.LDAPSyntax Class Reference
Inheritance diagram for web2ldap.app.schema.syntaxes.LDAPSyntax:
[legend]

Public Member Functions

def __init__ (self, app, Optional[str] dn, SubSchema schema, Optional[str] attrType, Optional[bytes] attr_value, entry=None)
 
def dn (self)
 
def av_u (self)
 
bytes sanitize (self, bytes attr_value)
 
List[bytes] transmute (self, List[bytes] attr_values)
 
def validate (self, bytes attr_value)
 
str value_button (self, command, row, mode, link_text=None)
 
str form_value (self)
 
def input_fields (self)
 
web_forms.Field input_field (self)
 
str display (self, vidx, links)
 

Static Public Attributes

 str
 
 int
 
 bool
 

Private Member Functions

bool _validate (self, bytes attr_value)
 

Private Attributes

 _at
 
 _av
 
 _av_u
 
 _app
 
 _schema
 
 _dn
 
 _entry
 

Static Private Attributes

tuple __slots__
 

Detailed Description

Base class for all LDAP syntax and attribute value plugin classes

Definition at line 246 of file syntaxes.py.

Constructor & Destructor Documentation

◆ __init__()

Member Function Documentation

◆ _validate()

bool web2ldap.app.schema.syntaxes.LDAPSyntax._validate (   self,
bytes  attr_value 
)
private
check the syntax of attr_value

Implementors can overload this method to apply arbitrary syntax checks.

Reimplemented in web2ldap.app.plugins.activedirectory.ObjectSID, web2ldap.app.plugins.activedirectory.LogonHours, web2ldap.app.plugins.activedirectory.DNWithOctetString, web2ldap.app.plugins.activedirectory.MsDSReplAttributeMetaData, web2ldap.app.plugins.aedir.AEHomeDirectory, web2ldap.app.plugins.aedir.AEGroupMember, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEPerson, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AEPersonMailaddress, web2ldap.app.plugins.aedir.AEHostname, web2ldap.app.plugins.aedir.AEZonePrefixCommonName, web2ldap.app.plugins.aedir.AENotAfter, web2ldap.app.plugins.aedir.AEStatus, web2ldap.app.plugins.dhcp.DHCPRange, web2ldap.app.plugins.dns.AssociatedDomain, web2ldap.app.plugins.dns.SSHFPRecord, web2ldap.app.plugins.dyngroup.MemberUrl, web2ldap.app.plugins.edirectory.OctetStringGUID, web2ldap.app.plugins.msperson.EuVATId, web2ldap.app.plugins.nis.GidNumber, web2ldap.app.plugins.nis.MemberUID, web2ldap.app.plugins.openldap.OlcSchemaDescription, web2ldap.app.plugins.openldap.OlcPPolicyDefault, web2ldap.app.plugins.openldap.ReqMod, web2ldap.app.plugins.opensshlpk.SshPublicKey, web2ldap.app.plugins.pgpkeysrv.OtherPgpCertID, web2ldap.app.plugins.ppolicy.PwdAttribute, web2ldap.app.plugins.ppolicy.PwdAccountLockedTime, web2ldap.app.plugins.schac.SchacYearOfBirth, web2ldap.app.schema.syntaxes.Audio, web2ldap.app.schema.syntaxes.DirectoryString, web2ldap.app.schema.syntaxes.DistinguishedName, web2ldap.app.schema.syntaxes.NameAndOptionalUID, web2ldap.app.schema.syntaxes.IA5String, web2ldap.app.schema.syntaxes.GeneralizedTime, web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString, web2ldap.app.schema.syntaxes.Integer, web2ldap.app.schema.syntaxes.IPHostAddress, web2ldap.app.schema.syntaxes.IPNetworkAddress, web2ldap.app.schema.syntaxes.Image, web2ldap.app.schema.syntaxes.Date, web2ldap.app.schema.syntaxes.DateOfBirth, web2ldap.app.schema.syntaxes.SelectList, web2ldap.app.schema.syntaxes.DynamicValueSelectList, web2ldap.app.schema.syntaxes.DynamicDNSelectList, web2ldap.app.schema.syntaxes.Boolean, web2ldap.app.schema.syntaxes.JSONValue, web2ldap.app.schema.syntaxes.XmlValue, and web2ldap.app.schema.syntaxes.SchemaDescription.

Definition at line 342 of file syntaxes.py.

Referenced by web2ldap.app.schema.syntaxes.Image.sanitize(), and web2ldap.app.schema.syntaxes.LDAPSyntax.validate().

◆ av_u()

def web2ldap.app.schema.syntaxes.LDAPSyntax.av_u (   self)

Definition at line 307 of file syntaxes.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.openldap.ReqMod._av, web2ldap.app.schema.syntaxes.LDAPSyntax._av, and web2ldap.app.schema.syntaxes.LDAPSyntax._av_u.

Referenced by web2ldap.app.plugins.aedir.AEEntryDNAEUser._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAEZone._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAESrvGroup._additional_links(), web2ldap.app.plugins.dds.DynamicSubtrees._additional_links(), web2ldap.app.plugins.pkcschema.PkcX509Issuer._additional_links(), web2ldap.app.plugins.quirks.NamingContexts._additional_links(), web2ldap.app.schema.syntaxes.DistinguishedName._additional_links(), web2ldap.app.plugins.quirks.NamingContexts._config_link(), web2ldap.app.plugins.quirks.NamingContexts._monitor_link(), web2ldap.app.plugins.ppolicy.PwdMaxAge._timespan_search_params(), web2ldap.app.plugins.ppolicy.PwdExpireWarning._timespan_search_params(), web2ldap.app.plugins.activedirectory.DNWithOctetString.display(), web2ldap.app.plugins.aedir.AEGroupDN.display(), web2ldap.app.plugins.aedir.AECommonNameAETag.display(), web2ldap.app.plugins.apple.UUIDReference.display(), web2ldap.app.plugins.dhcp.DHCPConfigStatement.display(), web2ldap.app.plugins.dns.AssociatedDomain.display(), web2ldap.app.plugins.dns.ARecord.display(), web2ldap.app.plugins.dns.AAAARecord.display(), web2ldap.app.plugins.lotusdomino.DominoCertificate.display(), web2ldap.app.plugins.nis.GidNumber.display(), web2ldap.app.plugins.nis.MemberUID.display(), web2ldap.app.plugins.openldap.OlcSyncRepl.display(), web2ldap.app.plugins.openldap.AuditContext.display(), web2ldap.app.plugins.openldap.ReqControls.display(), web2ldap.app.plugins.openldap.ReqEntryUUID.display(), web2ldap.app.plugins.openldap.ReqSession.display(), web2ldap.app.plugins.samba.SambaAcctFlags.display(), web2ldap.app.schema.syntaxes.LDAPSyntax.display(), web2ldap.app.schema.syntaxes.DirectoryString.display(), web2ldap.app.schema.syntaxes.DistinguishedName.display(), web2ldap.app.schema.syntaxes.AuthzDN.display(), web2ldap.app.schema.syntaxes.NameAndOptionalUID.display(), web2ldap.app.schema.syntaxes.GeneralizedTime.display(), web2ldap.app.schema.syntaxes.Uri.display(), web2ldap.app.schema.syntaxes.OID.display(), web2ldap.app.schema.syntaxes.LDAPUrl.display(), web2ldap.app.schema.syntaxes.DateOfBirth.display(), web2ldap.app.schema.syntaxes.Timespan.display(), web2ldap.app.schema.syntaxes.SelectList.display(), web2ldap.app.schema.syntaxes.DynamicValueSelectList.display(), web2ldap.app.schema.syntaxes.DynamicDNSelectList.display(), web2ldap.app.schema.syntaxes.DNSDomain.display(), web2ldap.app.plugins.aedir.AEZonePrefixCommonName.form_value(), web2ldap.app.plugins.opends.OpenDSdsCfgAlternatebindDn.form_value(), web2ldap.app.schema.syntaxes.LDAPSyntax.form_value(), web2ldap.app.schema.syntaxes.GeneralizedTime.form_value(), and web2ldap.app.schema.syntaxes.BitArrayInteger.form_value().

◆ display()

str web2ldap.app.schema.syntaxes.LDAPSyntax.display (   self,
  vidx,
  links 
)

Reimplemented in web2ldap.app.plugins.activedirectory.ObjectVersion, web2ldap.app.plugins.activedirectory.ObjectSID, web2ldap.app.plugins.activedirectory.OtherSID, web2ldap.app.plugins.activedirectory.LogonHours, web2ldap.app.plugins.activedirectory.DNWithOctetString, web2ldap.app.plugins.activedirectory.MsAdGUID, web2ldap.app.plugins.activedirectory.Interval, web2ldap.app.plugins.activedirectory.LockoutTime, web2ldap.app.plugins.activedirectory.ClassSchemaLDAPName, web2ldap.app.plugins.activedirectory.AttributeSchemaLDAPName, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEGroupDN, web2ldap.app.plugins.aedir.AECommonNameAETag, web2ldap.app.plugins.aedir.AEStatus, web2ldap.app.plugins.apple.UUIDReference, web2ldap.app.plugins.dds.EntryTTL, web2ldap.app.plugins.dhcp.DHCPConfigStatement, web2ldap.app.plugins.dns.AssociatedDomain, web2ldap.app.plugins.dns.ResourceRecord, web2ldap.app.plugins.dns.ARecord, web2ldap.app.plugins.dns.AAAARecord, web2ldap.app.plugins.dns.SSHFPRecord, web2ldap.app.plugins.edirectory.OctetStringGUID, web2ldap.app.plugins.edirectory.IndexDefinition, web2ldap.app.plugins.edirectory.TaggedNameAndString, web2ldap.app.plugins.lotusdomino.DominoCertificate, web2ldap.app.plugins.nis.GidNumber, web2ldap.app.plugins.nis.MemberUID, web2ldap.app.plugins.oath.OathSecret, web2ldap.app.plugins.oath.OathSecretTime, web2ldap.app.plugins.opends.OpenDSSyncHist, web2ldap.app.plugins.openldap.OlcMultilineText, web2ldap.app.plugins.openldap.OlcSyncRepl, web2ldap.app.plugins.openldap.AuditContext, web2ldap.app.plugins.openldap.ReqMod, web2ldap.app.plugins.openldap.ReqControls, web2ldap.app.plugins.openldap.ReqEntryUUID, web2ldap.app.plugins.openldap.ReqSession, web2ldap.app.plugins.opensshlpk.SshPublicKey, web2ldap.app.plugins.ppolicy.PwdMaxAge, web2ldap.app.plugins.ppolicy.PwdAccountLockedTime, web2ldap.app.plugins.ppolicy.PwdChangedTime, web2ldap.app.plugins.quirks.UserPassword, web2ldap.app.plugins.samba.SambaAcctFlags, web2ldap.app.plugins.ucs.UniventionLDAPACLData, web2ldap.app.plugins.x509.Certificate, web2ldap.app.plugins.x509.CertificateList, web2ldap.app.schema.syntaxes.Binary, web2ldap.app.schema.syntaxes.Audio, web2ldap.app.schema.syntaxes.DirectoryString, web2ldap.app.schema.syntaxes.DistinguishedName, web2ldap.app.schema.syntaxes.AuthzDN, web2ldap.app.schema.syntaxes.NameAndOptionalUID, web2ldap.app.schema.syntaxes.GeneralizedTime, web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString, web2ldap.app.schema.syntaxes.Uri, web2ldap.app.schema.syntaxes.Image, web2ldap.app.schema.syntaxes.OID, web2ldap.app.schema.syntaxes.LDAPUrl, web2ldap.app.schema.syntaxes.OctetString, web2ldap.app.schema.syntaxes.MultilineText, web2ldap.app.schema.syntaxes.PreformattedMultilineText, web2ldap.app.schema.syntaxes.ObjectGUID, web2ldap.app.schema.syntaxes.DateOfBirth, web2ldap.app.schema.syntaxes.SecondsSinceEpoch, web2ldap.app.schema.syntaxes.DaysSinceEpoch, web2ldap.app.schema.syntaxes.Timespan, web2ldap.app.schema.syntaxes.SelectList, web2ldap.app.schema.syntaxes.DynamicValueSelectList, web2ldap.app.schema.syntaxes.DynamicDNSelectList, web2ldap.app.schema.syntaxes.Boolean, web2ldap.app.schema.syntaxes.BitArrayInteger, and web2ldap.app.schema.syntaxes.DNSDomain.

Definition at line 437 of file syntaxes.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.openldap.ReqMod._av, web2ldap.app.schema.syntaxes.LDAPSyntax._av, web2ldap.app.plugins.activedirectory.Interval.av_u, and web2ldap.app.schema.syntaxes.LDAPSyntax.av_u().

◆ dn()

◆ form_value()

str web2ldap.app.schema.syntaxes.LDAPSyntax.form_value (   self)
Transform LDAP string representations to HTML form input field
values. Returns Unicode string to be encoded with the browser's
accepted charset.

This is the inverse of LDAPSyntax.sanitize().

Reimplemented in web2ldap.app.plugins.activedirectory.ObjectSID, web2ldap.app.plugins.activedirectory.LogonHours, web2ldap.app.plugins.aedir.AEGIDNumber, web2ldap.app.plugins.aedir.AEUserUid, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEDerefAttribute, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AEZonePrefixCommonName, web2ldap.app.plugins.dhcp.DHCPRange, web2ldap.app.plugins.dns.AssociatedDomain, web2ldap.app.plugins.opends.OpenDSdsCfgAlternatebindDn, web2ldap.app.plugins.openldap.OlcRootDN, web2ldap.app.plugins.posixautogen.AutogenUIDNumber, web2ldap.app.plugins.posixautogen.AutogenGIDNumber, web2ldap.app.plugins.samba.SambaSID, web2ldap.app.schema.syntaxes.GeneralizedTime, web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString, web2ldap.app.schema.syntaxes.OctetString, web2ldap.app.schema.syntaxes.MultilineText, web2ldap.app.schema.syntaxes.Timespan, web2ldap.app.schema.syntaxes.BitArrayInteger, web2ldap.app.schema.syntaxes.DNSDomain, web2ldap.app.schema.syntaxes.RFC822Address, and web2ldap.app.schema.syntaxes.ComposedAttribute.

Definition at line 406 of file syntaxes.py.

References web2ldap.app.plugins.activedirectory.Interval.av_u, and web2ldap.app.schema.syntaxes.LDAPSyntax.av_u().

Referenced by web2ldap.app.schema.syntaxes.DNSDomain.display(), web2ldap.app.plugins.activedirectory.LogonHours.input_field(), web2ldap.app.plugins.aedir.AEHomeDirectory.input_field(), web2ldap.app.plugins.aedir.AEUIDNumber.input_field(), web2ldap.app.plugins.aedir.AEUserUid.input_field(), web2ldap.app.plugins.aedir.AEMemberUid.input_field(), web2ldap.app.plugins.aedir.AEDerefAttribute.input_field(), web2ldap.app.plugins.aedir.AEUniqueIdentifier.input_field(), web2ldap.app.plugins.aedir.AERFC822MailMember.input_field(), web2ldap.app.plugins.aedir.AESudoHost.input_field(), web2ldap.app.schema.syntaxes.LDAPSyntax.input_field(), web2ldap.app.schema.syntaxes.Integer.input_field(), web2ldap.app.schema.syntaxes.OctetString.input_field(), web2ldap.app.schema.syntaxes.MultilineText.input_field(), web2ldap.app.schema.syntaxes.SelectList.input_field(), web2ldap.app.schema.syntaxes.BitArrayInteger.input_field(), and web2ldap.app.schema.syntaxes.ComposedAttribute.input_field().

◆ input_field()

web_forms.Field web2ldap.app.schema.syntaxes.LDAPSyntax.input_field (   self)

Reimplemented in web2ldap.app.plugins.activedirectory.ObjectSID, web2ldap.app.plugins.activedirectory.LogonHours, web2ldap.app.plugins.aedir.AEHomeDirectory, web2ldap.app.plugins.aedir.AEUIDNumber, web2ldap.app.plugins.aedir.AEGIDNumber, web2ldap.app.plugins.aedir.AEUserUid, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEDerefAttribute, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AEUniqueIdentifier, web2ldap.app.plugins.aedir.AERFC822MailMember, web2ldap.app.plugins.aedir.AESudoHost, web2ldap.app.plugins.apple.UUIDReference, web2ldap.app.plugins.nis.GidNumber, web2ldap.app.plugins.nis.MemberUID, web2ldap.app.schema.syntaxes.Binary, web2ldap.app.schema.syntaxes.Integer, web2ldap.app.schema.syntaxes.OctetString, web2ldap.app.schema.syntaxes.MultilineText, web2ldap.app.schema.syntaxes.Timespan, web2ldap.app.schema.syntaxes.SelectList, web2ldap.app.schema.syntaxes.BitArrayInteger, and web2ldap.app.schema.syntaxes.ComposedAttribute.

Definition at line 423 of file syntaxes.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.edirectory.OctetStringGUID._at, web2ldap.app.schema.syntaxes.LDAPSyntax._at, web2ldap.app.plugins.aedir.AEChildClasses.desc, web2ldap.app.plugins.subentries.AdministrativeRole.desc, web2ldap.app.plugins.activedirectory.ObjectSID.form_value(), web2ldap.app.plugins.activedirectory.LogonHours.form_value(), web2ldap.app.plugins.aedir.AEGIDNumber.form_value(), web2ldap.app.plugins.aedir.AEUserUid.form_value(), web2ldap.app.plugins.aedir.AEMemberUid.form_value(), web2ldap.app.plugins.aedir.AEDerefAttribute.form_value(), web2ldap.app.plugins.aedir.AEUserMailaddress.form_value(), web2ldap.app.plugins.aedir.AEZonePrefixCommonName.form_value(), web2ldap.app.plugins.dhcp.DHCPRange.form_value(), web2ldap.app.plugins.dns.AssociatedDomain.form_value(), web2ldap.app.plugins.opends.OpenDSdsCfgAlternatebindDn.form_value(), web2ldap.app.plugins.openldap.OlcRootDN.form_value(), web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.form_value(), web2ldap.app.plugins.posixautogen.AutogenUIDNumber.form_value(), web2ldap.app.plugins.posixautogen.AutogenGIDNumber.form_value(), web2ldap.app.plugins.samba.SambaSID.form_value(), web2ldap.app.schema.syntaxes.LDAPSyntax.form_value(), web2ldap.app.schema.syntaxes.GeneralizedTime.form_value(), web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString.form_value(), web2ldap.app.schema.syntaxes.OctetString.form_value(), web2ldap.app.schema.syntaxes.MultilineText.form_value(), web2ldap.app.schema.syntaxes.Timespan.form_value(), web2ldap.app.schema.syntaxes.BitArrayInteger.form_value(), web2ldap.app.schema.syntaxes.DNSDomain.form_value(), web2ldap.app.schema.syntaxes.RFC822Address.form_value(), web2ldap.app.schema.syntaxes.ComposedAttribute.form_value(), web2ldap.app.plugins.dhcp.DHCPNetMask.input_size, web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.input_size, web2ldap.app.schema.syntaxes.Integer.max_len, web2ldap.app.plugins.aedir.AEUserUid.max_values, web2ldap.app.plugins.aedir.AEPersonAttribute.max_values, web2ldap.app.plugins.aedir.AEUserMailaddress.max_values, web2ldap.app.plugins.aedir.AEPersonMailaddress.max_values, web2ldap.app.plugins.aedir.AEDeptAttribute.max_values, web2ldap.app.plugins.aedir.AEUniqueIdentifier.max_values, web2ldap.app.plugins.aedir.AEDepartmentNumber.max_values, web2ldap.app.plugins.aedir.AECommonName.max_values, web2ldap.app.plugins.aedir.AESudoHost.max_values, web2ldap.app.plugins.dns.CNAMERecord.max_values, web2ldap.app.plugins.inetorgperson.CNInetOrgPerson.max_values, and web2ldap.app.plugins.inetorgperson.DisplayNameInetOrgPerson.max_values.

Referenced by web2ldap.app.schema.syntaxes.LDAPSyntax.input_fields().

◆ input_fields()

◆ sanitize()

bytes web2ldap.app.schema.syntaxes.LDAPSyntax.sanitize (   self,
bytes  attr_value 
)
Transforms the HTML form input field values into LDAP string
representations and returns raw binary string.

This is the inverse of LDAPSyntax.form_value().

When using this method one MUST NOT assume that the whole entry is
present.

Reimplemented in web2ldap.app.plugins.activedirectory.ObjectSID, web2ldap.app.plugins.activedirectory.LogonHours, web2ldap.app.plugins.activedirectory.MsAdGUID, web2ldap.app.plugins.aedir.AEUserUid, web2ldap.app.plugins.aedir.AEZonePrefixCommonName, web2ldap.app.plugins.dhcp.DHCPHWAddress, web2ldap.app.plugins.dhcp.DHCPRange, web2ldap.app.plugins.dns.AssociatedDomain, web2ldap.app.plugins.dns.SSHFPRecord, web2ldap.app.plugins.msperson.EuVATId, web2ldap.app.plugins.oath.OathInitPwAlphabet, web2ldap.app.plugins.opensshlpk.SshPublicKey, web2ldap.app.plugins.x509.Certificate, web2ldap.app.plugins.x509.CertificateList, web2ldap.app.schema.syntaxes.GeneralizedTime, web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString, web2ldap.app.schema.syntaxes.Integer, web2ldap.app.schema.syntaxes.MacAddress, web2ldap.app.schema.syntaxes.Image, web2ldap.app.schema.syntaxes.OID, web2ldap.app.schema.syntaxes.OctetString, web2ldap.app.schema.syntaxes.MultilineText, web2ldap.app.schema.syntaxes.PostalAddress, web2ldap.app.schema.syntaxes.Date, web2ldap.app.schema.syntaxes.Timespan, web2ldap.app.schema.syntaxes.BitArrayInteger, web2ldap.app.schema.syntaxes.UUID, web2ldap.app.schema.syntaxes.DNSDomain, web2ldap.app.schema.syntaxes.RFC822Address, and web2ldap.app.schema.syntaxes.JSONValue.

Definition at line 312 of file syntaxes.py.

References web2ldap.app.plugins.activedirectory.CountryCode.sani_funcs, web2ldap.app.plugins.aedir.AEUid.sani_funcs, web2ldap.app.plugins.aedir.AEUserUid.sani_funcs, web2ldap.app.plugins.aedir.AETicketId.sani_funcs, web2ldap.app.plugins.aedir.AEMailLocalAddress.sani_funcs, web2ldap.app.plugins.aedir.AEUserMailaddress.sani_funcs, web2ldap.app.plugins.aedir.AECommonName.sani_funcs, web2ldap.app.plugins.aedir.AECommonNameAEZone.sani_funcs, web2ldap.app.schema.syntaxes.IPHostAddress.sani_funcs, web2ldap.app.schema.syntaxes.Uri.sani_funcs, web2ldap.app.schema.syntaxes.CountryString.sani_funcs, web2ldap.app.schema.syntaxes.DNSDomain.sani_funcs, and web2ldap.app.schema.syntaxes.SchemaDescription.sani_funcs.

◆ transmute()

List[bytes] web2ldap.app.schema.syntaxes.LDAPSyntax.transmute (   self,
List[bytes]  attr_values 
)
This method can be implemented to transmute attribute values and has
to handle LDAP string representations (raw binary strings).

This method has access to the whole entry after processing all input.

Implementors should be prepared that this method could be called
more than once. If there's nothing to change then simply return the
same value list.

Exceptions KeyError or IndexError are caught by the calling code to
re-iterate invoking this method.

Reimplemented in web2ldap.app.plugins.posixautogen.HomeDirectory, web2ldap.app.plugins.aedir.AEHomeDirectory, web2ldap.app.plugins.aedir.AEUIDNumber, web2ldap.app.plugins.aedir.AEGIDNumber, web2ldap.app.plugins.aedir.AEGroupMember, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEVisibleGroups, web2ldap.app.plugins.aedir.AEDerefAttribute, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AEHostname, web2ldap.app.plugins.aedir.AEUniqueIdentifier, web2ldap.app.plugins.aedir.AECommonNameAEHost, web2ldap.app.plugins.aedir.AEZonePrefixCommonName, web2ldap.app.plugins.aedir.AEStatus, web2ldap.app.plugins.aedir.AERFC822MailMember, web2ldap.app.plugins.aedir.AESudoHost, and web2ldap.app.schema.syntaxes.ComposedAttribute.

Definition at line 326 of file syntaxes.py.

◆ validate()

def web2ldap.app.schema.syntaxes.LDAPSyntax.validate (   self,
bytes  attr_value 
)

Definition at line 350 of file syntaxes.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.edirectory.OctetStringGUID._at, web2ldap.app.schema.syntaxes.LDAPSyntax._at, web2ldap.app.plugins.activedirectory.ObjectSID._validate(), web2ldap.app.plugins.activedirectory.LogonHours._validate(), web2ldap.app.plugins.activedirectory.DNWithOctetString._validate(), web2ldap.app.plugins.activedirectory.MsDSReplAttributeMetaData._validate(), web2ldap.app.plugins.aedir.AEHomeDirectory._validate(), web2ldap.app.plugins.aedir.AEGroupMember._validate(), web2ldap.app.plugins.aedir.AEMemberUid._validate(), web2ldap.app.plugins.aedir.AEPerson._validate(), web2ldap.app.plugins.aedir.AEUserMailaddress._validate(), web2ldap.app.plugins.aedir.AEPersonMailaddress._validate(), web2ldap.app.plugins.aedir.AEHostname._validate(), web2ldap.app.plugins.aedir.AEZonePrefixCommonName._validate(), web2ldap.app.plugins.aedir.AENotAfter._validate(), web2ldap.app.plugins.aedir.AEStatus._validate(), web2ldap.app.plugins.dhcp.DHCPRange._validate(), web2ldap.app.plugins.dns.AssociatedDomain._validate(), web2ldap.app.plugins.dns.SSHFPRecord._validate(), web2ldap.app.plugins.dyngroup.MemberUrl._validate(), web2ldap.app.plugins.edirectory.OctetStringGUID._validate(), web2ldap.app.plugins.msperson.EuVATId._validate(), web2ldap.app.plugins.nis.GidNumber._validate(), web2ldap.app.plugins.nis.MemberUID._validate(), web2ldap.app.plugins.openldap.OlcSchemaDescription._validate(), web2ldap.app.plugins.openldap.OlcPPolicyDefault._validate(), web2ldap.app.plugins.openldap.ReqMod._validate(), web2ldap.app.plugins.opensshlpk.SshPublicKey._validate(), web2ldap.app.plugins.pgpkeysrv.OtherPgpCertID._validate(), web2ldap.app.plugins.ppolicy.PwdAttribute._validate(), web2ldap.app.plugins.ppolicy.PwdAccountLockedTime._validate(), web2ldap.app.plugins.schac.SchacYearOfBirth._validate(), web2ldap.app.schema.syntaxes.LDAPSyntax._validate(), web2ldap.app.schema.syntaxes.Audio._validate(), web2ldap.app.schema.syntaxes.DirectoryString._validate(), web2ldap.app.schema.syntaxes.DistinguishedName._validate(), web2ldap.app.schema.syntaxes.NameAndOptionalUID._validate(), web2ldap.app.schema.syntaxes.IA5String._validate(), web2ldap.app.schema.syntaxes.GeneralizedTime._validate(), web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString._validate(), web2ldap.app.schema.syntaxes.Integer._validate(), web2ldap.app.schema.syntaxes.IPHostAddress._validate(), web2ldap.app.schema.syntaxes.IPNetworkAddress._validate(), web2ldap.app.schema.syntaxes.Image._validate(), web2ldap.app.schema.syntaxes.Date._validate(), web2ldap.app.schema.syntaxes.DateOfBirth._validate(), web2ldap.app.schema.syntaxes.SelectList._validate(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._validate(), web2ldap.app.schema.syntaxes.DynamicDNSelectList._validate(), web2ldap.app.schema.syntaxes.Boolean._validate(), web2ldap.app.schema.syntaxes.JSONValue._validate(), web2ldap.app.schema.syntaxes.XmlValue._validate(), web2ldap.app.schema.syntaxes.SchemaDescription._validate(), web2ldap.app.plugins.aedir.AEUserUid.pattern, web2ldap.app.plugins.aedir.AEZonePrefixCommonName.pattern, web2ldap.app.plugins.dhcp.DHCPHWAddress.pattern, web2ldap.app.plugins.dns.MXRecord.pattern, web2ldap.app.plugins.dns.SSHFPRecord.pattern, web2ldap.app.plugins.eduperson.EduPersonScopedAffiliation.pattern, web2ldap.app.plugins.lotusdomino.DominoCertificate.pattern, web2ldap.app.plugins.msperson.EuVATId.pattern, web2ldap.app.plugins.nis.RFC2307BootParameter.pattern, web2ldap.app.plugins.nis.RFC2307NISNetgroupTriple.pattern, web2ldap.app.plugins.oath.OathTokenIdentifier.pattern, web2ldap.app.plugins.opends.OpenDSCfgTimeInterval.pattern, web2ldap.app.plugins.openldap.CSNSid.pattern, web2ldap.app.plugins.openldap.CSN.pattern, web2ldap.app.plugins.openldap.OlcDbIndex.pattern, web2ldap.app.plugins.opensshlpk.SshPublicKey.pattern, web2ldap.app.plugins.pgpkeysrv.PgpKey.pattern, web2ldap.app.plugins.pgpkeysrv.PgpCertID.pattern, web2ldap.app.plugins.samba.SambaAcctFlags.pattern, web2ldap.app.plugins.samba.SambaSID.pattern, web2ldap.app.plugins.schac.SchacMotherTongue.pattern, web2ldap.app.plugins.schac.SchacYearOfBirth.pattern, web2ldap.app.plugins.schac.SchacUrn.pattern, web2ldap.app.schema.syntaxes.BitString.pattern, web2ldap.app.schema.syntaxes.GeneralizedTime.pattern, web2ldap.app.schema.syntaxes.MacAddress.pattern, web2ldap.app.schema.syntaxes.Uri.pattern, web2ldap.app.schema.syntaxes.OID.pattern, web2ldap.app.schema.syntaxes.MultilineText.pattern, web2ldap.app.schema.syntaxes.PrintableString.pattern, web2ldap.app.schema.syntaxes.NumericString.pattern, web2ldap.app.schema.syntaxes.TelephoneNumber.pattern, web2ldap.app.schema.syntaxes.FacsimileTelephoneNumber.pattern, web2ldap.app.schema.syntaxes.TelexNumber.pattern, web2ldap.app.schema.syntaxes.NumstringDate.pattern, web2ldap.app.schema.syntaxes.ISO8601Date.pattern, web2ldap.app.schema.syntaxes.DeliveryMethod.pattern, web2ldap.app.schema.syntaxes.UUID.pattern, web2ldap.app.schema.syntaxes.DNSDomain.pattern, web2ldap.app.schema.syntaxes.RFC822Address.pattern, and web2ldap.app.schema.syntaxes.DomainComponent.pattern.

◆ value_button()

str web2ldap.app.schema.syntaxes.LDAPSyntax.value_button (   self,
  command,
  row,
  mode,
  link_text = None 
)
return HTML markup of [+] or [-] submit buttons for adding/removing
attribute values

row
  row number in input table
mode
  '+' or '-'
link_text
  optionally override displayed link link_text

Reimplemented in web2ldap.app.schema.syntaxes.OID.

Definition at line 371 of file syntaxes.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.edirectory.OctetStringGUID._at, web2ldap.app.schema.syntaxes.LDAPSyntax._at, web2ldap.app.read.VCardEntry._entry, web2ldap.app.schema.syntaxes.LDAPSyntax._entry, web2ldap.app.schema.syntaxes.LDAPSyntax._schema, web2ldap.app.schema.viewer.DisplaySchemaElement._schema, web2ldap.app.plugins.aedir.AEUserUid.max_values, web2ldap.app.plugins.aedir.AEPersonAttribute.max_values, web2ldap.app.plugins.aedir.AEUserMailaddress.max_values, web2ldap.app.plugins.aedir.AEPersonMailaddress.max_values, web2ldap.app.plugins.aedir.AEDeptAttribute.max_values, web2ldap.app.plugins.aedir.AEUniqueIdentifier.max_values, web2ldap.app.plugins.aedir.AEDepartmentNumber.max_values, web2ldap.app.plugins.aedir.AECommonName.max_values, web2ldap.app.plugins.aedir.AESudoHost.max_values, web2ldap.app.plugins.dns.CNAMERecord.max_values, web2ldap.app.plugins.inetorgperson.CNInetOrgPerson.max_values, web2ldap.app.plugins.inetorgperson.DisplayNameInetOrgPerson.max_values, web2ldap.app.plugins.aedir.AEMemberUid.show_val_button, and web2ldap.app.plugins.aedir.AERFC822MailMember.show_val_button.

Member Data Documentation

◆ __slots__

tuple web2ldap.app.schema.syntaxes.LDAPSyntax.__slots__
staticprivate
Initial value:
= (
'_app',
'_at',
'_av',
'_av_u',
'_dn',
'_entry',
'_schema',
)

Definition at line 250 of file syntaxes.py.

◆ _app

web2ldap.app.schema.syntaxes.LDAPSyntax._app
private

Definition at line 297 of file syntaxes.py.

Referenced by web2ldap.app.entry.DisplayEntry.__getitem__(), web2ldap.app.entry.InputFormEntry.__getitem__(), web2ldap.app.read.VCardEntry.__getitem__(), web2ldap.app.plugins.aedir.AEEntryDNAEUser._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAEHost._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAEZone._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAEGroup._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAESrvGroup._additional_links(), web2ldap.app.plugins.dds.DynamicSubtrees._additional_links(), web2ldap.app.plugins.pkcschema.PkcX509Issuer._additional_links(), web2ldap.app.plugins.quirks.NamingContexts._additional_links(), web2ldap.app.schema.syntaxes.DistinguishedName._additional_links(), web2ldap.app.plugins.quirks.AltServer._command_ldap_url(), web2ldap.app.plugins.openldap.OpenLDAPSpecialBackendSuffix._config_link(), web2ldap.app.plugins.quirks.NamingContexts._config_link(), web2ldap.app.plugins.x509.Certificate._display_extensions(), web2ldap.app.plugins.opensshlpk.SshPublicKey._display_lines(), web2ldap.app.plugins.opensshlpk.SshPublicKey._extract_pk_params(), web2ldap.app.plugins.aedir.AENwDevice._filterstr(), web2ldap.app.plugins.aedir.AEOathHOTPToken._filterstr(), web2ldap.app.plugins.aedir.AEUserUid._gen_uid(), web2ldap.app.plugins.aedir.AEGIDNumber._get_id_pool_dn(), web2ldap.app.plugins.aedir.AEGIDNumber._get_next_gid(), web2ldap.app.schema.syntaxes.DynamicDNSelectList._get_ref_entry(), web2ldap.app.schema.syntaxes.DerefDynamicDNSelectList._get_ref_entry(), web2ldap.app.plugins.aedir.AEObjectMixIn._get_zone_dn(), web2ldap.app.plugins.aedir.AEObjectMixIn._get_zone_name(), web2ldap.app.schema.syntaxes.Integer._maxlen(), web2ldap.app.plugins.quirks.NamingContexts._monitor_link(), web2ldap.app.plugins.dns.AssociatedDomain._parent_domain(), web2ldap.app.plugins.aedir.AEDerefAttribute._read_person_attr(), web2ldap.app.plugins.samba.SambaSID._search_domain_entry(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._search_ref(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._search_root(), web2ldap.app.schema.syntaxes.SelectList._sorted_select_options(), web2ldap.app.plugins.activedirectory.DNWithOctetString._validate(), web2ldap.app.plugins.aedir.AEHomeDirectory._validate(), web2ldap.app.plugins.aedir.AEHostname._validate(), web2ldap.app.plugins.aedir.AEZonePrefixCommonName._validate(), web2ldap.app.plugins.dhcp.DHCPRange._validate(), web2ldap.app.plugins.dyngroup.MemberUrl._validate(), web2ldap.app.plugins.msperson.EuVATId._validate(), web2ldap.app.schema.syntaxes.DirectoryString._validate(), web2ldap.app.schema.syntaxes.DistinguishedName._validate(), web2ldap.app.schema.syntaxes.NameAndOptionalUID._validate(), web2ldap.app.schema.syntaxes.Date._validate(), web2ldap.app.schema.syntaxes.DateOfBirth._validate(), web2ldap.app.schema.syntaxes.SelectList._validate(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._validate(), web2ldap.app.schema.syntaxes.SchemaDescription._validate(), web2ldap.app.plugins.aedir.AEObjectMixIn._zone_entry(), web2ldap.app.plugins.aedir.AEGroupMember._zone_filter(), web2ldap.app.entry.InputFormEntry.attribute_types(), web2ldap.app.schema.syntaxes.LDAPSyntax.av_u(), web2ldap.app.schema.viewer.DisplaySchemaElement.disp_details(), web2ldap.app.schema.viewer.DisplayObjectClass.disp_details(), web2ldap.app.schema.viewer.DisplayAttributeType.disp_details(), web2ldap.app.schema.viewer.DisplayLDAPSyntax.disp_details(), web2ldap.app.schema.viewer.DisplayMatchingRule.disp_details(), web2ldap.app.schema.viewer.DisplayDITStructureRule.disp_details(), web2ldap.app.schema.viewer.DisplayNameForm.disp_details(), web2ldap.app.schema.viewer.DisplaySchemaElement.display(), web2ldap.app.schema.viewer.DisplayDITStructureRule.display(), web2ldap.app.plugins.activedirectory.ObjectSID.display(), web2ldap.app.plugins.activedirectory.OtherSID.display(), web2ldap.app.plugins.activedirectory.DNWithOctetString.display(), web2ldap.app.plugins.activedirectory.LockoutTime.display(), web2ldap.app.plugins.aedir.AEGroupDN.display(), web2ldap.app.plugins.aedir.AECommonNameAETag.display(), web2ldap.app.plugins.apple.UUIDReference.display(), web2ldap.app.plugins.dhcp.DHCPConfigStatement.display(), web2ldap.app.plugins.dns.AssociatedDomain.display(), web2ldap.app.plugins.dns.ARecord.display(), web2ldap.app.plugins.dns.AAAARecord.display(), web2ldap.app.plugins.edirectory.IndexDefinition.display(), web2ldap.app.plugins.edirectory.TaggedNameAndString.display(), web2ldap.app.plugins.lotusdomino.DominoCertificate.display(), web2ldap.app.plugins.nis.GidNumber.display(), web2ldap.app.plugins.nis.MemberUID.display(), web2ldap.app.plugins.oath.OathSecret.display(), web2ldap.app.plugins.oath.OathSecretTime.display(), web2ldap.app.plugins.opends.OpenDSSyncHist.display(), web2ldap.app.plugins.openldap.OlcSyncRepl.display(), web2ldap.app.plugins.openldap.AuditContext.display(), web2ldap.app.plugins.openldap.ReqControls.display(), web2ldap.app.plugins.openldap.ReqEntryUUID.display(), web2ldap.app.plugins.openldap.ReqSession.display(), web2ldap.app.plugins.ppolicy.PwdMaxAge.display(), web2ldap.app.plugins.ppolicy.PwdChangedTime.display(), web2ldap.app.plugins.samba.SambaAcctFlags.display(), web2ldap.app.plugins.ucs.UniventionLDAPACLData.display(), web2ldap.app.plugins.x509.Certificate.display(), web2ldap.app.plugins.x509.CertificateList.display(), web2ldap.app.schema.syntaxes.LDAPSyntax.display(), web2ldap.app.schema.syntaxes.Binary.display(), web2ldap.app.schema.syntaxes.Audio.display(), web2ldap.app.schema.syntaxes.DirectoryString.display(), web2ldap.app.schema.syntaxes.DistinguishedName.display(), web2ldap.app.schema.syntaxes.AuthzDN.display(), web2ldap.app.schema.syntaxes.NameAndOptionalUID.display(), web2ldap.app.schema.syntaxes.GeneralizedTime.display(), web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString.display(), web2ldap.app.schema.syntaxes.Uri.display(), web2ldap.app.schema.syntaxes.Image.display(), web2ldap.app.schema.syntaxes.OID.display(), web2ldap.app.schema.syntaxes.LDAPUrl.display(), web2ldap.app.schema.syntaxes.OctetString.display(), web2ldap.app.schema.syntaxes.MultilineText.display(), web2ldap.app.schema.syntaxes.PreformattedMultilineText.display(), web2ldap.app.schema.syntaxes.ObjectGUID.display(), web2ldap.app.schema.syntaxes.Timespan.display(), web2ldap.app.schema.syntaxes.SelectList.display(), web2ldap.app.schema.syntaxes.DynamicValueSelectList.display(), web2ldap.app.schema.syntaxes.DynamicDNSelectList.display(), web2ldap.app.schema.syntaxes.BitArrayInteger.display(), web2ldap.app.schema.syntaxes.DNSDomain.display(), web2ldap.app.entry.InputFormEntry.fieldset_table(), web2ldap.app.plugins.dns.AssociatedDomain.form_value(), web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.form_value(), web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString.form_value(), web2ldap.app.schema.syntaxes.MultilineText.form_value(), web2ldap.app.schema.syntaxes.RFC822Address.form_value(), web2ldap.app.plugins.aedir.AEGroupMember.get_attr_value_dict(), web2ldap.app.plugins.aedir.AEUserMailaddress.get_attr_value_dict(), web2ldap.app.schema.syntaxes.PropertiesSelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.DynamicValueSelectList.get_attr_value_dict(), web2ldap.app.entry.DisplayEntry.get_html_templates(), web2ldap.app.plugins.aedir.AEHomeDirectory.input_field(), web2ldap.app.plugins.aedir.AEUIDNumber.input_field(), web2ldap.app.plugins.aedir.AEMemberUid.input_field(), web2ldap.app.plugins.aedir.AEDerefAttribute.input_field(), web2ldap.app.plugins.aedir.AEUniqueIdentifier.input_field(), web2ldap.app.plugins.aedir.AERFC822MailMember.input_field(), web2ldap.app.plugins.aedir.AESudoHost.input_field(), web2ldap.app.schema.syntaxes.LDAPSyntax.input_field(), web2ldap.app.schema.syntaxes.SelectList.input_field(), web2ldap.app.schema.syntaxes.ComposedAttribute.input_field(), web2ldap.app.entry.InputFormEntry.ldif_input(), web2ldap.app.search.PrintableHTMLWriter.process_results(), web2ldap.app.plugins.dns.AssociatedDomain.sanitize(), web2ldap.app.plugins.oath.OathInitPwAlphabet.sanitize(), web2ldap.app.schema.syntaxes.GeneralizedTime.sanitize(), web2ldap.app.schema.syntaxes.Date.sanitize(), web2ldap.app.schema.syntaxes.DNSDomain.sanitize(), web2ldap.app.entry.DisplayEntry.template_output(), web2ldap.app.entry.InputFormEntry.template_output(), web2ldap.app.plugins.posixautogen.HomeDirectory.transmute(), web2ldap.app.plugins.aedir.AEHomeDirectory.transmute(), web2ldap.app.plugins.aedir.AEGIDNumber.transmute(), web2ldap.app.plugins.aedir.AEDerefAttribute.transmute(), web2ldap.app.plugins.aedir.AEHostname.transmute(), web2ldap.app.plugins.aedir.AEUniqueIdentifier.transmute(), web2ldap.app.schema.syntaxes.ComposedAttribute.transmute(), web2ldap.app.schema.syntaxes.LDAPSyntax.validate(), and web2ldap.app.schema.syntaxes.LDAPSyntax.value_button().

◆ _at

web2ldap.app.schema.syntaxes.LDAPSyntax._at
private

Definition at line 294 of file syntaxes.py.

Referenced by web2ldap.app.schema.syntaxes.DistinguishedName._additional_links(), web2ldap.app.plugins.openldap.OpenLDAPSpecialBackendSuffix._config_link(), web2ldap.app.plugins.aedir.AEGIDNumber._get_next_gid(), web2ldap.app.schema.syntaxes.DerefDynamicDNSelectList._get_ref_entry(), web2ldap.app.plugins.aedir.AEDerefAttribute._read_person_attr(), web2ldap.app.schema.syntaxes.SelectList._sorted_select_options(), web2ldap.app.schema.syntaxes.Binary.display(), web2ldap.app.schema.syntaxes.Audio.display(), web2ldap.app.schema.syntaxes.Image.display(), web2ldap.app.schema.syntaxes.OID.display(), web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.form_value(), web2ldap.app.plugins.activedirectory.LogonHours.input_field(), web2ldap.app.plugins.aedir.AEHomeDirectory.input_field(), web2ldap.app.plugins.aedir.AEUIDNumber.input_field(), web2ldap.app.plugins.aedir.AEUserUid.input_field(), web2ldap.app.plugins.aedir.AEMemberUid.input_field(), web2ldap.app.plugins.aedir.AEDerefAttribute.input_field(), web2ldap.app.plugins.aedir.AEUniqueIdentifier.input_field(), web2ldap.app.plugins.aedir.AERFC822MailMember.input_field(), web2ldap.app.plugins.aedir.AESudoHost.input_field(), web2ldap.app.schema.syntaxes.LDAPSyntax.input_field(), web2ldap.app.schema.syntaxes.Binary.input_field(), web2ldap.app.schema.syntaxes.Integer.input_field(), web2ldap.app.schema.syntaxes.OctetString.input_field(), web2ldap.app.schema.syntaxes.MultilineText.input_field(), web2ldap.app.schema.syntaxes.SelectList.input_field(), web2ldap.app.schema.syntaxes.BitArrayInteger.input_field(), web2ldap.app.schema.syntaxes.ComposedAttribute.input_field(), web2ldap.app.plugins.aedir.AEGIDNumber.transmute(), web2ldap.app.schema.syntaxes.LDAPSyntax.validate(), web2ldap.app.schema.syntaxes.LDAPSyntax.value_button(), and web2ldap.app.schema.syntaxes.OID.value_button().

◆ _av

web2ldap.app.schema.syntaxes.LDAPSyntax._av
private

Definition at line 295 of file syntaxes.py.

Referenced by web2ldap.app.schema.syntaxes.Boolean._validate(), web2ldap.app.schema.syntaxes.LDAPSyntax.av_u(), web2ldap.app.plugins.activedirectory.ObjectSID.display(), web2ldap.app.plugins.activedirectory.OtherSID.display(), web2ldap.app.plugins.activedirectory.LogonHours.display(), web2ldap.app.plugins.activedirectory.MsAdGUID.display(), web2ldap.app.plugins.activedirectory.LockoutTime.display(), web2ldap.app.plugins.dds.EntryTTL.display(), web2ldap.app.plugins.dns.SSHFPRecord.display(), web2ldap.app.plugins.edirectory.IndexDefinition.display(), web2ldap.app.plugins.edirectory.TaggedNameAndString.display(), web2ldap.app.plugins.oath.OathSecret.display(), web2ldap.app.plugins.oath.OathSecretTime.display(), web2ldap.app.plugins.opends.OpenDSSyncHist.display(), web2ldap.app.plugins.openldap.OlcSyncRepl.display(), web2ldap.app.plugins.opensshlpk.SshPublicKey.display(), web2ldap.app.plugins.ppolicy.PwdAccountLockedTime.display(), web2ldap.app.plugins.ppolicy.PwdChangedTime.display(), web2ldap.app.plugins.ucs.UniventionLDAPACLData.display(), web2ldap.app.plugins.x509.Certificate.display(), web2ldap.app.plugins.x509.CertificateList.display(), web2ldap.app.schema.syntaxes.LDAPSyntax.display(), web2ldap.app.schema.syntaxes.Binary.display(), web2ldap.app.schema.syntaxes.Audio.display(), web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString.display(), web2ldap.app.schema.syntaxes.Image.display(), web2ldap.app.schema.syntaxes.LDAPUrl.display(), web2ldap.app.schema.syntaxes.OctetString.display(), web2ldap.app.schema.syntaxes.MultilineText.display(), web2ldap.app.schema.syntaxes.PreformattedMultilineText.display(), web2ldap.app.schema.syntaxes.ObjectGUID.display(), web2ldap.app.schema.syntaxes.SecondsSinceEpoch.display(), web2ldap.app.schema.syntaxes.DaysSinceEpoch.display(), web2ldap.app.schema.syntaxes.BitArrayInteger.display(), web2ldap.app.schema.syntaxes.DNSDomain.display(), web2ldap.app.plugins.activedirectory.ObjectSID.form_value(), web2ldap.app.plugins.activedirectory.LogonHours.form_value(), web2ldap.app.plugins.aedir.AEUserUid.form_value(), web2ldap.app.plugins.aedir.AEZonePrefixCommonName.form_value(), web2ldap.app.plugins.opends.OpenDSdsCfgAlternatebindDn.form_value(), web2ldap.app.schema.syntaxes.GeneralizedTime.form_value(), web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString.form_value(), web2ldap.app.schema.syntaxes.OctetString.form_value(), web2ldap.app.schema.syntaxes.MultilineText.form_value(), web2ldap.app.schema.syntaxes.Timespan.form_value(), web2ldap.app.schema.syntaxes.DNSDomain.form_value(), web2ldap.app.schema.syntaxes.RFC822Address.form_value(), web2ldap.app.schema.syntaxes.Boolean.get_attr_value_dict(), and web2ldap.app.schema.syntaxes.Binary.input_field().

◆ _av_u

web2ldap.app.schema.syntaxes.LDAPSyntax._av_u
private

◆ _dn

web2ldap.app.schema.syntaxes.LDAPSyntax._dn
private

Definition at line 299 of file syntaxes.py.

Referenced by web2ldap.app.plugins.aedir.AEEntryDNAEUser._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAEHost._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAEGroup._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAESrvGroup._additional_links(), web2ldap.app.schema.syntaxes.DistinguishedName._additional_links(), web2ldap.app.plugins.aedir.AEProxyFor._filterstr(), web2ldap.app.plugins.aedir.AEPersonMailaddress._filterstr(), web2ldap.app.schema.syntaxes.DerefDynamicDNSelectList._get_ref_entry(), web2ldap.app.plugins.dns.AssociatedDomain._parent_domain(), web2ldap.app.plugins.aedir.AENwDevice._search_root(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._search_root(), web2ldap.app.plugins.activedirectory.OtherSID.display(), web2ldap.app.plugins.aedir.AECommonNameAETag.display(), web2ldap.app.plugins.apple.UUIDReference.display(), web2ldap.app.plugins.nis.GidNumber.display(), web2ldap.app.plugins.nis.MemberUID.display(), web2ldap.app.plugins.openldap.ReqEntryUUID.display(), web2ldap.app.plugins.openldap.ReqSession.display(), web2ldap.app.plugins.ppolicy.PwdMaxAge.display(), web2ldap.app.schema.syntaxes.Binary.display(), web2ldap.app.schema.syntaxes.Audio.display(), web2ldap.app.schema.syntaxes.Image.display(), web2ldap.app.schema.syntaxes.LDAPSyntax.dn(), web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.form_value(), web2ldap.app.schema.syntaxes.RFC822Address.form_value(), and web2ldap.app.plugins.aedir.AEGIDNumber.transmute().

◆ _entry

web2ldap.app.schema.syntaxes.LDAPSyntax._entry
private

Definition at line 300 of file syntaxes.py.

Referenced by web2ldap.app.read.VCardEntry.__contains__(), web2ldap.app.read.VCardEntry.__getitem__(), web2ldap.app.plugins.aedir.AEEntryDNAEHost._additional_links(), web2ldap.app.plugins.aedir.AEEntryDNAEGroup._additional_links(), web2ldap.app.plugins.aedir.AEGroupMember._deref_person_attrset(), web2ldap.app.plugins.aedir.AENwDevice._filterstr(), web2ldap.app.plugins.aedir.AEPerson._filterstr(), web2ldap.app.plugins.aedir.AEOathHOTPToken._filterstr(), web2ldap.app.plugins.samba.SambaSID._get_domain_sid(), web2ldap.app.plugins.dhcp.DHCPRange._get_ipnetwork(), web2ldap.app.plugins.aedir.AEUserMailaddress._is_mail_account(), web2ldap.app.plugins.aedir.AEMemberUid._member_uids_from_member(), web2ldap.app.plugins.aedir.AEDerefAttribute._read_person_attr(), web2ldap.app.schema.syntaxes.SelectList._sorted_select_options(), web2ldap.app.plugins.ppolicy.PwdExpireWarning._timespan_search_params(), web2ldap.app.plugins.aedir.AEHomeDirectory._validate(), web2ldap.app.plugins.aedir.AEGroupMember._validate(), web2ldap.app.plugins.aedir.AENotAfter._validate(), web2ldap.app.plugins.aedir.AEStatus._validate(), web2ldap.app.plugins.dns.AssociatedDomain._validate(), web2ldap.app.plugins.aedir.AEGroupMember._zone_filter(), web2ldap.app.plugins.aedir.AEObjectMixIn.ae_status(), web2ldap.app.plugins.dns.AssociatedDomain.display(), web2ldap.app.plugins.nis.GidNumber.display(), web2ldap.app.plugins.oath.OathSecretTime.display(), web2ldap.app.plugins.openldap.ReqEntryUUID.display(), web2ldap.app.plugins.ppolicy.PwdMaxAge.display(), web2ldap.app.plugins.ppolicy.PwdChangedTime.display(), web2ldap.app.plugins.dns.AssociatedDomain.form_value(), web2ldap.app.plugins.opends.OpenDSdsCfgAlternatebindDn.form_value(), web2ldap.app.plugins.openldap.OlcRootDN.form_value(), web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.form_value(), web2ldap.app.plugins.samba.SambaSID.form_value(), web2ldap.app.plugins.aedir.AEUserMailaddress.get_attr_value_dict(), web2ldap.app.plugins.nis.GidNumber.input_field(), web2ldap.app.plugins.dns.AssociatedDomain.sanitize(), web2ldap.app.plugins.posixautogen.HomeDirectory.transmute(), web2ldap.app.plugins.aedir.AEHomeDirectory.transmute(), web2ldap.app.plugins.aedir.AEUIDNumber.transmute(), web2ldap.app.plugins.aedir.AEMemberUid.transmute(), web2ldap.app.plugins.aedir.AEVisibleGroups.transmute(), web2ldap.app.plugins.aedir.AEDerefAttribute.transmute(), web2ldap.app.plugins.aedir.AEUserMailaddress.transmute(), web2ldap.app.plugins.aedir.AECommonNameAEHost.transmute(), web2ldap.app.plugins.aedir.AEStatus.transmute(), web2ldap.app.plugins.aedir.AERFC822MailMember.transmute(), web2ldap.app.schema.syntaxes.ComposedAttribute.transmute(), and web2ldap.app.schema.syntaxes.LDAPSyntax.value_button().

◆ _schema

◆ bool

web2ldap.app.schema.syntaxes.LDAPSyntax.bool
static

Definition at line 266 of file syntaxes.py.

◆ int

◆ str

web2ldap.app.schema.syntaxes.LDAPSyntax.str
static

Definition at line 259 of file syntaxes.py.


The documentation for this class was generated from the following file: