web2ldap
1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
![]() ![]() |
Public Member Functions | |
def | __init__ (self, app, str dn, schema, str attrType, bytes attr_value, entry=None) |
Field | input_field (self) |
str | display (self, vidx, links) |
str | display (self, vidx, links) |
![]() | |
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) |
![]() | |
def | __init__ (self, app, str dn, schema, str attrType, bytes attr_value, entry=None) |
str | display (self, vidx, links) |
Dict[str, str] | get_attr_value_dict (self) |
Dict[str, str] | get_attr_value_dict (self) |
str | display (self, vidx, links) |
web_forms.Field | input_field (self) |
Static Public Attributes | |
str | |
ldap_url = None | |
![]() | |
str | |
![]() | |
str | |
string | html_tmpl = '{av}' |
![]() | |
str | |
int | |
bool | |
![]() | |
str | |
tuple | ignored_errors |
![]() | |
str | |
bool | |
Private Member Functions | |
bool | _validate (self, bytes attr_value) |
Additional Inherited Members | |
![]() | |
lu_obj | |
min_len | |
def web2ldap.app.plugins.nis.MemberUID.__init__ | ( | self, | |
app, | |||
str | dn, | ||
schema, | |||
str | attrType, | ||
bytes | attr_value, | ||
entry = None |
|||
) |
Reimplemented from web2ldap.app.schema.syntaxes.DynamicValueSelectList.
Definition at line 91 of file nis.py.
References web2ldap.app.handler.AppHandler.ldap_url, web2ldap.app.plugins.acp133.AddressListDN.ldap_url, web2ldap.app.plugins.activedirectory.ObjectCategory.ldap_url, web2ldap.app.plugins.activedirectory.ClassSchemaLDAPName.ldap_url, web2ldap.app.plugins.activedirectory.AttributeSchemaLDAPName.ldap_url, web2ldap.app.plugins.activedirectory.ShowInAddressBook.ldap_url, web2ldap.app.plugins.activedirectory.MsSFU30NisDomain.ldap_url, web2ldap.app.plugins.aedir.AEZoneDN.ldap_url, web2ldap.app.plugins.aedir.AEHost.ldap_url, web2ldap.app.plugins.aedir.AENwDevice.ldap_url, web2ldap.app.plugins.aedir.AEGroupMember.ldap_url, web2ldap.app.plugins.aedir.AEMailGroupMember.ldap_url, web2ldap.app.plugins.aedir.AEMemberUid.ldap_url, web2ldap.app.plugins.aedir.AEGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEZoneAdminGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEZoneAuditorGroupDN.ldap_url, web2ldap.app.plugins.aedir.AESrvGroupRightsGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEDisplayNameGroups.ldap_url, web2ldap.app.plugins.aedir.AESameZoneObject.ldap_url, web2ldap.app.plugins.aedir.AESrvGroupDN.ldap_url, web2ldap.app.plugins.aedir.AESrvGroup.ldap_url, web2ldap.app.plugins.aedir.AERequires.ldap_url, web2ldap.app.plugins.aedir.AEProxyFor.ldap_url, web2ldap.app.plugins.aedir.AETag.ldap_url, web2ldap.app.plugins.aedir.AELocation.ldap_url, web2ldap.app.plugins.aedir.AEDept.ldap_url, web2ldap.app.plugins.aedir.AEOwner.ldap_url, web2ldap.app.plugins.aedir.AEPerson.ldap_url, web2ldap.app.plugins.aedir.AEManager.ldap_url, web2ldap.app.plugins.aedir.AEPersonMailaddress.ldap_url, web2ldap.app.plugins.aedir.AESudoRuleDN.ldap_url, web2ldap.app.plugins.aedir.AESudoUser.ldap_url, web2ldap.app.plugins.aedir.AERFC822MailMember.ldap_url, web2ldap.app.plugins.aedir.AEPwdPolicy.ldap_url, web2ldap.app.plugins.aedir.AERemoteHostAEHost.ldap_url, web2ldap.app.plugins.apple.UUIDReference.ldap_url, web2ldap.app.plugins.debian.DebianSupplementaryGid.ldap_url, web2ldap.app.plugins.dhcp.DHCPServerDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPOptionsDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPHostDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPPoolDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPGroupDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSubnetDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPLeasesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPClassesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSubclassesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSharedNetworkDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPServiceDN.ldap_url, web2ldap.app.plugins.dns.ResourceRecord.ldap_url, web2ldap.app.plugins.dyngroup.MemberUrl.ldap_url, web2ldap.app.plugins.edirectory.NspmPasswordPolicyDN.ldap_url, web2ldap.app.plugins.eduperson.EduPersonOrgUnitDN.ldap_url, web2ldap.app.plugins.eduperson.EduPersonOrgDN.ldap_url, web2ldap.app.plugins.freeradius.RadiusProfileDN.ldap_url, web2ldap.app.plugins.krb5.KrbTicketPolicyReference.ldap_url, web2ldap.app.plugins.krb5.KrbPwdPolicyReference.ldap_url, web2ldap.app.plugins.lotusdomino.MailServer.ldap_url, web2ldap.app.plugins.nis.GidNumber.ldap_url, web2ldap.app.plugins.nis.MemberUID.ldap_url, web2ldap.app.plugins.oath.OathHOTPParams.ldap_url, web2ldap.app.plugins.oath.OathHOTPToken.ldap_url, web2ldap.app.plugins.oath.OathTOTPParams.ldap_url, web2ldap.app.plugins.oath.OathTOTPToken.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordPolicy.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordStorageScheme.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordGenerator.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgIdentityMapper.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgCertificateMapper.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgKeyManagerProvider.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgTrustManagerProvider.ldap_url, web2ldap.app.plugins.openldap.OlmSeeAlso.ldap_url, web2ldap.app.plugins.pgpkeysrv.OtherPgpCertID.ldap_url, web2ldap.app.plugins.ppolicy.PwdPolicySubentry.ldap_url, web2ldap.app.plugins.quirks.NamingContexts.ldap_url, web2ldap.app.plugins.samba.ReferencedSID.ldap_url, web2ldap.app.plugins.samba.SambaGroupSID.ldap_url, web2ldap.app.plugins.samba.SambaDomainName.ldap_url, web2ldap.app.plugins.sudoers.SudoUserGroup.ldap_url, and web2ldap.app.plugins.ucs.UniventionPolicyReference.ldap_url.
|
private |
check the syntax of attr_value Implementors can overload this method to apply arbitrary syntax checks.
Reimplemented from web2ldap.app.schema.syntaxes.IA5String.
Reimplemented in web2ldap.app.plugins.aedir.AEMemberUid.
Definition at line 96 of file nis.py.
References web2ldap.app.handler.AppHandler.ldap_url, web2ldap.app.plugins.acp133.AddressListDN.ldap_url, web2ldap.app.plugins.activedirectory.ObjectCategory.ldap_url, web2ldap.app.plugins.activedirectory.ClassSchemaLDAPName.ldap_url, web2ldap.app.plugins.activedirectory.AttributeSchemaLDAPName.ldap_url, web2ldap.app.plugins.activedirectory.ShowInAddressBook.ldap_url, web2ldap.app.plugins.activedirectory.MsSFU30NisDomain.ldap_url, web2ldap.app.plugins.aedir.AEZoneDN.ldap_url, web2ldap.app.plugins.aedir.AEHost.ldap_url, web2ldap.app.plugins.aedir.AENwDevice.ldap_url, web2ldap.app.plugins.aedir.AEGroupMember.ldap_url, web2ldap.app.plugins.aedir.AEMailGroupMember.ldap_url, web2ldap.app.plugins.aedir.AEMemberUid.ldap_url, web2ldap.app.plugins.aedir.AEGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEZoneAdminGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEZoneAuditorGroupDN.ldap_url, web2ldap.app.plugins.aedir.AESrvGroupRightsGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEDisplayNameGroups.ldap_url, web2ldap.app.plugins.aedir.AESameZoneObject.ldap_url, web2ldap.app.plugins.aedir.AESrvGroupDN.ldap_url, web2ldap.app.plugins.aedir.AESrvGroup.ldap_url, web2ldap.app.plugins.aedir.AERequires.ldap_url, web2ldap.app.plugins.aedir.AEProxyFor.ldap_url, web2ldap.app.plugins.aedir.AETag.ldap_url, web2ldap.app.plugins.aedir.AELocation.ldap_url, web2ldap.app.plugins.aedir.AEDept.ldap_url, web2ldap.app.plugins.aedir.AEOwner.ldap_url, web2ldap.app.plugins.aedir.AEPerson.ldap_url, web2ldap.app.plugins.aedir.AEManager.ldap_url, web2ldap.app.plugins.aedir.AEPersonMailaddress.ldap_url, web2ldap.app.plugins.aedir.AESudoRuleDN.ldap_url, web2ldap.app.plugins.aedir.AESudoUser.ldap_url, web2ldap.app.plugins.aedir.AERFC822MailMember.ldap_url, web2ldap.app.plugins.aedir.AEPwdPolicy.ldap_url, web2ldap.app.plugins.aedir.AERemoteHostAEHost.ldap_url, web2ldap.app.plugins.apple.UUIDReference.ldap_url, web2ldap.app.plugins.debian.DebianSupplementaryGid.ldap_url, web2ldap.app.plugins.dhcp.DHCPServerDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPOptionsDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPHostDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPPoolDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPGroupDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSubnetDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPLeasesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPClassesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSubclassesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSharedNetworkDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPServiceDN.ldap_url, web2ldap.app.plugins.dns.ResourceRecord.ldap_url, web2ldap.app.plugins.dyngroup.MemberUrl.ldap_url, web2ldap.app.plugins.edirectory.NspmPasswordPolicyDN.ldap_url, web2ldap.app.plugins.eduperson.EduPersonOrgUnitDN.ldap_url, web2ldap.app.plugins.eduperson.EduPersonOrgDN.ldap_url, web2ldap.app.plugins.freeradius.RadiusProfileDN.ldap_url, web2ldap.app.plugins.krb5.KrbTicketPolicyReference.ldap_url, web2ldap.app.plugins.krb5.KrbPwdPolicyReference.ldap_url, web2ldap.app.plugins.lotusdomino.MailServer.ldap_url, web2ldap.app.plugins.nis.GidNumber.ldap_url, web2ldap.app.plugins.nis.MemberUID.ldap_url, web2ldap.app.plugins.oath.OathHOTPParams.ldap_url, web2ldap.app.plugins.oath.OathHOTPToken.ldap_url, web2ldap.app.plugins.oath.OathTOTPParams.ldap_url, web2ldap.app.plugins.oath.OathTOTPToken.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordPolicy.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordStorageScheme.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordGenerator.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgIdentityMapper.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgCertificateMapper.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgKeyManagerProvider.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgTrustManagerProvider.ldap_url, web2ldap.app.plugins.openldap.OlmSeeAlso.ldap_url, web2ldap.app.plugins.pgpkeysrv.OtherPgpCertID.ldap_url, web2ldap.app.plugins.ppolicy.PwdPolicySubentry.ldap_url, web2ldap.app.plugins.quirks.NamingContexts.ldap_url, web2ldap.app.plugins.samba.ReferencedSID.ldap_url, web2ldap.app.plugins.samba.SambaGroupSID.ldap_url, web2ldap.app.plugins.samba.SambaDomainName.ldap_url, web2ldap.app.plugins.sudoers.SudoUserGroup.ldap_url, and web2ldap.app.plugins.ucs.UniventionPolicyReference.ldap_url.
Referenced by web2ldap.app.schema.syntaxes.Image.sanitize(), and web2ldap.app.schema.syntaxes.LDAPSyntax.validate().
str web2ldap.app.plugins.nis.MemberUID.display | ( | self, | |
vidx, | |||
links | |||
) |
Reimplemented from web2ldap.app.schema.syntaxes.DynamicValueSelectList.
Reimplemented in web2ldap.app.plugins.aedir.AEMemberUid.
Definition at line 106 of file nis.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.schema.syntaxes.LDAPSyntax._dn, web2ldap.app.search.PrintableHTMLWriter._dn, web2ldap.app.plugins.activedirectory.Interval.av_u, and web2ldap.app.schema.syntaxes.LDAPSyntax.av_u().
Field web2ldap.app.plugins.nis.MemberUID.input_field | ( | self | ) |
Reimplemented from web2ldap.app.schema.syntaxes.SelectList.
Reimplemented in web2ldap.app.plugins.aedir.AEMemberUid.
Definition at line 101 of file nis.py.
References web2ldap.app.handler.AppHandler.ldap_url, web2ldap.app.plugins.acp133.AddressListDN.ldap_url, web2ldap.app.plugins.activedirectory.ObjectCategory.ldap_url, web2ldap.app.plugins.activedirectory.ClassSchemaLDAPName.ldap_url, web2ldap.app.plugins.activedirectory.AttributeSchemaLDAPName.ldap_url, web2ldap.app.plugins.activedirectory.ShowInAddressBook.ldap_url, web2ldap.app.plugins.activedirectory.MsSFU30NisDomain.ldap_url, web2ldap.app.plugins.aedir.AEZoneDN.ldap_url, web2ldap.app.plugins.aedir.AEHost.ldap_url, web2ldap.app.plugins.aedir.AENwDevice.ldap_url, web2ldap.app.plugins.aedir.AEGroupMember.ldap_url, web2ldap.app.plugins.aedir.AEMailGroupMember.ldap_url, web2ldap.app.plugins.aedir.AEMemberUid.ldap_url, web2ldap.app.plugins.aedir.AEGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEZoneAdminGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEZoneAuditorGroupDN.ldap_url, web2ldap.app.plugins.aedir.AESrvGroupRightsGroupDN.ldap_url, web2ldap.app.plugins.aedir.AEDisplayNameGroups.ldap_url, web2ldap.app.plugins.aedir.AESameZoneObject.ldap_url, web2ldap.app.plugins.aedir.AESrvGroupDN.ldap_url, web2ldap.app.plugins.aedir.AESrvGroup.ldap_url, web2ldap.app.plugins.aedir.AERequires.ldap_url, web2ldap.app.plugins.aedir.AEProxyFor.ldap_url, web2ldap.app.plugins.aedir.AETag.ldap_url, web2ldap.app.plugins.aedir.AELocation.ldap_url, web2ldap.app.plugins.aedir.AEDept.ldap_url, web2ldap.app.plugins.aedir.AEOwner.ldap_url, web2ldap.app.plugins.aedir.AEPerson.ldap_url, web2ldap.app.plugins.aedir.AEManager.ldap_url, web2ldap.app.plugins.aedir.AEPersonMailaddress.ldap_url, web2ldap.app.plugins.aedir.AESudoRuleDN.ldap_url, web2ldap.app.plugins.aedir.AESudoUser.ldap_url, web2ldap.app.plugins.aedir.AERFC822MailMember.ldap_url, web2ldap.app.plugins.aedir.AEPwdPolicy.ldap_url, web2ldap.app.plugins.aedir.AERemoteHostAEHost.ldap_url, web2ldap.app.plugins.apple.UUIDReference.ldap_url, web2ldap.app.plugins.debian.DebianSupplementaryGid.ldap_url, web2ldap.app.plugins.dhcp.DHCPServerDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPOptionsDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPHostDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPPoolDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPGroupDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSubnetDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPLeasesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPClassesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSubclassesDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPSharedNetworkDN.ldap_url, web2ldap.app.plugins.dhcp.DHCPServiceDN.ldap_url, web2ldap.app.plugins.dns.ResourceRecord.ldap_url, web2ldap.app.plugins.dyngroup.MemberUrl.ldap_url, web2ldap.app.plugins.edirectory.NspmPasswordPolicyDN.ldap_url, web2ldap.app.plugins.eduperson.EduPersonOrgUnitDN.ldap_url, web2ldap.app.plugins.eduperson.EduPersonOrgDN.ldap_url, web2ldap.app.plugins.freeradius.RadiusProfileDN.ldap_url, web2ldap.app.plugins.krb5.KrbTicketPolicyReference.ldap_url, web2ldap.app.plugins.krb5.KrbPwdPolicyReference.ldap_url, web2ldap.app.plugins.lotusdomino.MailServer.ldap_url, web2ldap.app.plugins.nis.GidNumber.ldap_url, web2ldap.app.plugins.nis.MemberUID.ldap_url, web2ldap.app.plugins.oath.OathHOTPParams.ldap_url, web2ldap.app.plugins.oath.OathHOTPToken.ldap_url, web2ldap.app.plugins.oath.OathTOTPParams.ldap_url, web2ldap.app.plugins.oath.OathTOTPToken.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordPolicy.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordStorageScheme.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgPasswordGenerator.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgIdentityMapper.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgCertificateMapper.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgKeyManagerProvider.ldap_url, web2ldap.app.plugins.opends.OpenDSCfgTrustManagerProvider.ldap_url, web2ldap.app.plugins.openldap.OlmSeeAlso.ldap_url, web2ldap.app.plugins.pgpkeysrv.OtherPgpCertID.ldap_url, web2ldap.app.plugins.ppolicy.PwdPolicySubentry.ldap_url, web2ldap.app.plugins.quirks.NamingContexts.ldap_url, web2ldap.app.plugins.samba.ReferencedSID.ldap_url, web2ldap.app.plugins.samba.SambaGroupSID.ldap_url, web2ldap.app.plugins.samba.SambaDomainName.ldap_url, web2ldap.app.plugins.sudoers.SudoUserGroup.ldap_url, and web2ldap.app.plugins.ucs.UniventionPolicyReference.ldap_url.
Referenced by web2ldap.app.schema.syntaxes.LDAPSyntax.input_fields().
|
static |
Definition at line 88 of file nis.py.
Referenced by web2ldap.app.plugins.nis.MemberUID.__init__(), web2ldap.app.plugins.nis.MemberUID._validate(), web2ldap.app.handler.AppHandler.dispatch(), web2ldap.app.plugins.nis.MemberUID.input_field(), and web2ldap.app.handler.AppHandler.run().