Results 1 to 6 of 6

Thread: zmprov attributes

  1. #1
    Join Date
    Dec 2006
    Posts
    4
    Rep Power
    9

    Default zmprov attributes

    Syntax:{name@domain} {password}
    [attribute1 value1 etc]

    Is there a list of attributes for the zmprove ca command

    I have to load a number of accounts and would like to fill in as much information in a batch file as possible. I could not get the zmprov ca to load department or company. So an attributes list would be great. I used the displayName and it worked fine.

  2. #2
    Join Date
    Dec 2006
    Posts
    4
    Rep Power
    9

    Default I found this and am not sure what it means!!

    http://www.zimbra.com/forums/showthr...ght=attribute1
    Had This

    Quote Originally Posted by Alfspace View Post
    Hi,
    Does anyone know where can I find which attributes to use with zmprov command ?

    I'm migrating accounts from another MTA and the command syntax is:

    zmprov ca {name@domain} {password} {attribute1 value1 etc}

    a reference to which attributes to use, like First Name, Last Name, Display name, etc.

    Thanks in advance,

    Alfspace.
    With this answer

    /opt/zimbra/openldap/etc/openldap/zimbra.schema has the complete list.

    The ones you mentioned:

    display name: cn
    first name: givenName
    last name: sn


    As I have stated before I am very new to Linux and am not sure what this command means or how to use it. I access my server by Putty so is it something I can run from the terminal if so I can't figure out how??

  3. #3
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default It's a file, not a command

    It's a text file. Just open it in your editor of choice.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  4. #4
    Join Date
    Apr 2006
    Posts
    7
    Rep Power
    9

    Default Listing attributes from command line

    zmprov ga name@domain.com will list the attributes that are currently set for account: name@domain.com.

    If account: name is in your default domain, then you can omit the @domain.com part. You can also send the output to a text file by using the following:

    zmprov ga name@domain.com > name1.txt

    Then you can change some settings and save the output to a new file:

    zmprov ga name@domain.com > name2.txt

    And use the diff command to see which attributes changed:

    diff name1.txt name2.txt

    Don't forget to leave off the : at the end of the attribute name...

  5. #5
    Join Date
    Mar 2007
    Posts
    3
    Rep Power
    8

    Default

    Since the mods blew away my post on the subject... I'll post the findings here to help others with the same zmprov and createAccount issue.
    (I am not trying to start anything, or talk down on the devs or mods, but as a professional in the industry I expect proper documentation on a product that I pay for, esp. with a product that costs as much as this one.)

    The file listed above is not documented as well as they lead you to believe and is not always in the spot listed. I still believe a wiki would be good as this seems to be a reoccurring topic. No where is it ever listed in any of the wikis, or pdfs to look at this file; and the file is of very little help as it is not meant for documentation (it appears to be a config file); there simply is no proper documentation out there for these attributes at this time.

    (Good luck until someone properly documents this stuff)

    J

    Here is the entry from the file they were referring to:


    # zimbraAccount extends zimbraMailRecipient. It represents a real
    # account in the system (either admin or end-user) that can be logged
    # into, etc.
    #
    # It is defined as AUXILIARY in case it needs to be mixed to an
    # existing directory deployment.
    #
    # cn - full name, common name
    # co - country friendly name
    # company - company (company name)
    # displayName - name to display in admin tool, outlook uses as well
    # (cn is multi-valued)
    # gn - first name (given name)
    # initials - middle initial
    # l - city (locality)
    # ou - organizational unit
    # physicalDeliveryOfficeName - office
    # street - street address
    # postalCode - zip code
    # sn - last name (sir name)
    # st - state
    # telephoneNumber - phone
    objectclass ( zimbraAccount
    NAME 'zimbraAccount'
    DESC 'Account object'
    SUP zimbraMailRecipient AUXILIARY
    MUST (
    uid $
    zimbraAccountStatus $
    zimbraId
    )
    MAY (
    c $
    cn $
    co $
    company $
    description $
    displayName $
    gn $
    initials $
    l $
    mail $
    o $
    ou $
    physicalDeliveryOfficeName $
    postalAddress $
    postalCode $
    sn $
    st $
    telephoneNumber $
    title $
    userPassword $
    zimbraAccountCalendarUserType $
    zimbraAdminAuthTokenLifetime $
    zimbraAllowAnyFromAddress $
    zimbraAllowFromAddress $
    zimbraArchiveAccount $
    zimbraArchiveAccountDateTemplate $
    zimbraArchiveAccountNameTemplate $
    zimbraAttachmentsBlocked $
    zimbraAttachmentsIndexingEnabled $
    zimbraAttachmentsViewInHtmlOnly $
    zimbraAuthLdapExternalDn $
    zimbraAuthTokenLifetime $
    zimbraAvailableSkin $
    zimbraCOSId $
    zimbraContactMaxNumEntries $
    zimbraDataSourceMaxNumEntries $
    zimbraDebugInfo $
    zimbraDomainAdminMaxMailQuota $
    zimbraFeatureAdvancedSearchEnabled $
    zimbraFeatureCalendarEnabled $
    zimbraFeatureChangePasswordEnabled $
    zimbraFeatureContactsEnabled $
    zimbraFeatureConversationsEnabled $
    zimbraFeatureFiltersEnabled $
    zimbraFeatureGalAutoCompleteEnabled $
    zimbraFeatureGalEnabled $
    zimbraFeatureHtmlComposeEnabled $
    zimbraFeatureIMEnabled $
    zimbraFeatureIdentitiesEnabled $
    zimbraFeatureInitialSearchPreferenceEnabled $
    zimbraFeatureMailForwardingEnabled $
    zimbraFeatureMobileSyncEnabled $
    zimbraFeatureNewMailNotificationEnabled $
    zimbraFeatureNotebookEnabled $
    zimbraFeatureOutOfOfficeReplyEnabled $
    zimbraFeaturePop3DataSourceEnabled $
    zimbraFeatureSavedSearchesEnabled $
    zimbraFeatureSharingEnabled $
    zimbraFeatureSkinChangeEnabled $
    zimbraFeatureTaggingEnabled $
    zimbraFeatureTasksEnabled $
    zimbraFeatureViewInHtmlEnabled $
    zimbraForeignPrincipal $
    zimbraIdentityMaxNumEntries $
    zimbraImapEnabled $
    zimbraIsAdminAccount $
    zimbraIsDomainAdminAccount $
    zimbraIsSystemResource $
    zimbraLastLogonTimestamp $
    zimbraLocale $
    zimbraMailIdleSessionTimeout $
    zimbraMailMessageLifetime $
    zimbraMailMinPollingInterval $
    zimbraMailQuota $
    zimbraMailSieveScript $
    zimbraMailSpamLifetime $
    zimbraMailTrashLifetime $
    zimbraMailboxLocationBeforeMove $
    zimbraMemberOf $
    zimbraNewMailNotificationBody $
    zimbraNewMailNotificationFrom $
    zimbraNewMailNotificationSubject $
    zimbraNotes $
    zimbraPasswordEnforceHistory $
    zimbraPasswordHistory $
    zimbraPasswordLocked $
    zimbraPasswordLockoutDuration $
    zimbraPasswordLockoutEnabled $
    zimbraPasswordLockoutFailureLifetime $
    zimbraPasswordLockoutFailureTime $
    zimbraPasswordLockoutLockedTime $
    zimbraPasswordLockoutMaxFailures $
    zimbraPasswordMaxAge $
    zimbraPasswordMaxLength $
    zimbraPasswordMinAge $
    zimbraPasswordMinLength $
    zimbraPasswordMinLowerCaseChars $
    zimbraPasswordMinNumericChars $
    zimbraPasswordMinPunctuationChars $
    zimbraPasswordMinUpperCaseChars $
    zimbraPasswordModifiedTime $
    zimbraPasswordMustChange $
    zimbraPop3Enabled $
    zimbraPrefAutoAddAddressEnabled $
    zimbraPrefBccAddress $
    zimbraPrefCalendarAlwaysShowMiniCal $
    zimbraPrefCalendarApptReminderWarningTime $
    zimbraPrefCalendarFirstDayOfWeek $
    zimbraPrefCalendarInitialCheckedCalendars $
    zimbraPrefCalendarInitialView $
    zimbraPrefCalendarNotifyDelegatedChanges $
    zimbraPrefCalendarUseQuickAdd $
    zimbraPrefComposeFormat $
    zimbraPrefComposeInNewWindow $
    zimbraPrefContactsInitialView $
    zimbraPrefContactsPerPage $
    zimbraPrefDedupeMessagesSentToSelf $
    zimbraPrefForwardIncludeOriginalText $
    zimbraPrefForwardReplyFormat $
    zimbraPrefForwardReplyInOriginalFormat $
    zimbraPrefForwardReplyPrefixChar $
    zimbraPrefFromAddress $
    zimbraPrefFromDisplay $
    zimbraPrefGalAutoCompleteEnabled $
    zimbraPrefGroupMailBy $
    zimbraPrefHtmlEditorDefaultFontColor $
    zimbraPrefHtmlEditorDefaultFontFamily $
    zimbraPrefHtmlEditorDefaultFontSize $
    zimbraPrefIdentityName $
    zimbraPrefImapSearchFoldersEnabled $
    zimbraPrefIncludeSpamInSearch $
    zimbraPrefIncludeTrashInSearch $
    zimbraPrefMailForwardingAddress $
    zimbraPrefMailInitialSearch $
    zimbraPrefMailItemsPerPage $
    zimbraPrefMailLocalDeliveryDisabled $
    zimbraPrefMailPollingInterval $
    zimbraPrefMailSignature $
    zimbraPrefMailSignatureEnabled $
    zimbraPrefMailSignatureStyle $
    zimbraPrefMessageViewHtmlPreferred $
    zimbraPrefNewMailNotificationAddress $
    zimbraPrefNewMailNotificationEnabled $
    zimbraPrefOutOfOfficeCacheDuration $
    zimbraPrefOutOfOfficeDirectAddress $
    zimbraPrefOutOfOfficeFromDate $
    zimbraPrefOutOfOfficeReply $
    zimbraPrefOutOfOfficeReplyEnabled $
    zimbraPrefOutOfOfficeUntilDate $
    zimbraPrefReadingPaneEnabled $
    zimbraPrefReplyIncludeOriginalText $
    zimbraPrefReplyToAddress $
    zimbraPrefReplyToDisplay $
    zimbraPrefReplyToEnabled $
    zimbraPrefSaveToSent $
    zimbraPrefSentMailFolder $
    zimbraPrefShortcuts $
    zimbraPrefShowFragments $
    zimbraPrefShowSearchString $
    zimbraPrefSkin $
    zimbraPrefTimeZoneId $
    zimbraPrefUseDefaultIdentitySettings $
    zimbraPrefUseKeyboardShortcuts $
    zimbraPrefUseRfc2231 $
    zimbraPrefUseTimeZoneListInCalendar $
    zimbraPrefWhenInFolderIds $
    zimbraPrefWhenInFoldersEnabled $
    zimbraPrefWhenSentToAddresses $
    zimbraPrefWhenSentToEnabled $
    zimbraProxyAllowedDomains $
    zimbraShareInfo $
    zimbraSyncWindowSize $
    zimbraTextAnalyzer $
    zimbraVersion $
    zimbraZimletAvailableZimlets $
    zimbraZimletUserProperties
    )

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    If you have an enhancement request (and that includes documentation) you should file it in bugzilla.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Users attributes in commamd zmprov
    By Alex_Saf in forum Administrators
    Replies: 1
    Last Post: 06-14-2007, 02:20 PM
  2. Replies: 9
    Last Post: 04-14-2007, 09:31 AM
  3. Alias Problems
    By Netsample in forum Administrators
    Replies: 8
    Last Post: 03-23-2007, 03:10 AM
  4. zmprov authentication error
    By WhiplashFunk in forum Installation
    Replies: 6
    Last Post: 03-11-2007, 11:22 AM
  5. zmprov createAccount Attributes
    By SomeJ in forum Migration
    Replies: 0
    Last Post: 03-08-2007, 12:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •