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

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 09-24-2009, 06:58 AM
Intermediate Member
 
Posts: 24
Question Different values in zimbra_posixaccount.zip and zimbra_samba.zip

Hi everbody!

In Zimbra 6.0.1 /opt/zimbra/zimlets-admin-extra/zimbra_posixaccount.zip and /opt/zimbra/zimlets-admin-extra/zimbra_samba.zip have different values for gidBase and uidBase.

Content of /opt/zimbra/zimlets-admin-extra/zimbra_posixaccount.zip (config_template.xml file inside):

Code:
<zimletConfig name="zimbra_posixaccount" version="4">
    <global>
       	<property name="loginShells">/bin/bash,/bin/sh,/bin/false</property>        
    	<property name="homePath">/home/%u</property>        
   		<property name="gidBase">10000</property>        
   		<property name="uidBase">10000</property>   
		<property name="ldapSuffix">dc=example,dc=com</property>
		<property name="ldapGroupSuffix">ou=groups</property>
    </global>
</zimletConfig>
Content of /opt/zimbra/zimlets-admin-extra/zimbra_samba.zip (config_template.xml file inside):

Code:
<zimletConfig name="zimbra_samba" version="6"> 
   <global> 
               <property name="gidBase">1001</property> 
               <property name="uidBase">1000</property> 
               <property name="ridBase">1000</property> 
               <property name="ldapSuffix">dc=example,dc=com</property> 
               <property name="ldapGroupSuffix">ou=groups</property> 
               <property name="ldapMachineSuffix">ou=machines</property> 
   </global> 
</zimletConfig>
In the article UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI 6.0 - Zimbra :: Wiki it´s said:

Quote:
Edit ldapSuffix, uidBase and gidBase properties using the same values as you used in for zimbra_posixaccount.zip
Questions:
a) should I use 10000 for gidBase and uidBase in config_template.xml file of zimbra_posixaccount.zip and zimbra_samba.zip?

b) besides the fact that in zimbra_samba.zip the values are in the range of thousands, there is some motivation for gidBase be 1001 and uidBase be 1000?

c) what´s the purpose of ridBase? it must match values of zimbra_posixaccount.zip (10000´s) or the values of zimbra_samba.zip (1000´s)?


Last edited by peracchi; 09-24-2009 at 07:03 AM..
Reply With Quote
  #2 (permalink)  
Old 09-24-2009, 11:27 AM
Moderator
 
Posts: 1,147
Default

a/b) As the wiki said, create the values for the posix configuration file (check to see the range that the local user accounts have on hte Samba server, usually they are 1xxx so the 10xxx accounts in posix won't conflict with them). After you have setup the posix file, put the exact same numbers into the Samba file.
c) You can leave rid at 1000 as it is the base for the sambaSID that is only used for the windows network, and thus has no bearing on the posix uid/gid
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.