Results 1 to 2 of 2

Thread: Different values in zimbra_posixaccount.zip and zimbra_samba.zip

  1. #1
    peracchi is offline Intermediate Member
    Join Date
    Jul 2009
    Posts
    24
    Rep Power
    6

    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/&#37;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&#180;s said:

    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&#180;s the purpose of ridBase? it must match values of zimbra_posixaccount.zip (10000&#180;s) or the values of zimbra_samba.zip (1000&#180;s)?


    Last edited by peracchi; 09-24-2009 at 07:03 AM.

  2. #2
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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