1

Topic: displayName LDAP Attribute

Hi,

First and foremost great job on iRedMail keep up the good work.

Would it be possible to add the displayName LDAP Attribute into iRedMail as a default, so when new users are created they have there First and Last name displayed in the LDAP Address Book instead of there commonName.
workPhone would also be another smile

regards,

Dariusz

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: displayName LDAP Attribute

Mail user has two object classes: inetOrgPerson, mailUser.

As defined in , mail user has 'displayName' attribute:

objectclass    ( 2.16.840.1.113730.3.2.2
    NAME 'inetOrgPerson'
    DESC 'RFC2798: Internet Organizational Person'
    SUP organizationalPerson
    STRUCTURAL
    MAY (
        audio $ businessCategory $ carLicense $ departmentNumber $
        displayName $ employeeNumber $ employeeType $ givenName $
        homePhone $ homePostalAddress $ initials $ jpegPhoto $
        labeledURI $ mail $ manager $ mobile $ o $ pager $
        photo $ roomNumber $ secretary $ uid $ userCertificate $
        x500uniqueIdentifier $ preferredLanguage $
        userSMIMECertificate $ userPKCS12 )
    )

As defined in iredmail.schema, mail user has 'telephoneNumber' attribute:

objectclass ( 1.3.6.1.4.1.32349.1.2.4.3 NAME 'mailUser'
    DESC 'Mail User' SUP top AUXILIARY
    MUST ( mail $ uid )
    MAY ( storageBaseDirectory $ mailMessageStore $ homeDirectory $
        userPassword $ mailHost $ mailUID $ mailGID $
        mailQuota $ mailQuotaMessageLimit $
        mailForwardingAddress $ accountStatus $
        userRecipientBccAddress $ userSenderBccAddress $
        enabledService $ telephoneNumber $ backupMailAddress $
        mtaTransport $ memberOfGroup ))