Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-2006, 02:05 PM
New Member
 
Posts: 4
Default zmprov attributes

Quote:
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.
Reply With Quote
  #2 (permalink)  
Old 12-08-2006, 05:37 PM
New Member
 
Posts: 4
Default I found this and am not sure what it means!!

Migrating accounts with zmprov
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

Quote:
/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??
Reply With Quote
  #3 (permalink)  
Old 12-08-2006, 08:16 PM
Zimbra Employee
 
Posts: 1,434
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!
Reply With Quote
  #4 (permalink)  
Old 12-11-2006, 06:28 PM
Junior Member
 
Posts: 7
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...
Reply With Quote
  #5 (permalink)  
Old 03-09-2007, 11:02 AM
New Member
 
Posts: 3
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
)
Reply With Quote
  #6 (permalink)  
Old 03-09-2007, 12:38 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

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


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.