Hello,
I'm configuring Autofs maps via OpenLDAP for some OS X (10.5/6/7) and Linux CentOS (5/6) boxes, and I'm running into a little problem.
OS X needs to have an "automountMapName=auto_master" and "automountMapName=auto_home" located in "cn=automountMap,dc=subnet,dc=example,dc=com" Linux needs to have an "automountMapName=auto.master" and "automountMapName=auto.home" located wherever I want in "dc=subnet,dc=example,dc=com"
The entries contained in "automountMapName=auto_home" and "automountMapName=auto.home" will be exactly the same ones; SO what is the best way to implement it without duplicate them ? Using aliases or rwm+relay ?
Cheers, Rafael.
OS X needs to have an "automountMapName=auto_master" and "automountMapName=auto_home" located in "cn=automountMap,dc=subnet,dc=example,dc=com" Linux needs to have an "automountMapName=auto.master" and "automountMapName=auto.home" located wherever I want in "dc=subnet,dc=example,dc=com"
The entries contained in "automountMapName=auto_home" and "automountMapName=auto.home" will be exactly the same ones; SO what is the best way to implement it without duplicate them ? Using aliases or rwm+relay ?
I don't believe that the Linux map names are hardcoded. On my system automount is started with the master map name in the arguments
/usr/sbin/automount ldap:auto.master
and the ldap entry for auto.home is arbitrarily named in # /home, auto.master, automount, example.com dn: cn=/home,ou=auto.master,ou=automount,dc=example,dc=com objectClass: automount cn: /home automountInformation: ldap:ldap.example.com:ou=auto.home,ou=automount,dc=example,dc=com --timeout 300
I'm sure these could be all changed to match the OS X conventions without impacting functionality on Linux.
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp
After modifying a configuration file on Linux CentOS, the rpm updater doesn't replace it anymore. It is good, and bad ! because most of these worksations will be running almost 5 years without reinstallation.
Isn't it worth using some sort of back-relay+slapo-rwm ?
Cheers, Rafael.
2011/10/28 James Dingwall james.dingwall@amdocs.com
OS X needs to have an "automountMapName=auto_master" and "automountMapName=auto_home" located in "cn=automountMap,dc=subnet,dc=example,dc=com" Linux needs to have an "automountMapName=auto.master" and "automountMapName=auto.home" located wherever I want in "dc=subnet,dc=example,dc=com"
The entries contained in "automountMapName=auto_home" and "automountMapName=auto.home" will be exactly the same ones; SO what is the best way to implement it without duplicate them ? Using aliases or rwm+relay ?
*I don’t believe that the Linux map names are hardcoded. On my system automount is started with the master map name in the arguments*
*/usr/sbin/automount ldap:auto.master*
*and the ldap entry for auto.home is arbitrarily named in*
# /home, auto.master, automount, example.com****
dn: cn=/home,ou=auto.master,ou=automount,dc=example,dc=com****
objectClass: automount****
cn: /home****
automountInformation: ldap:ldap.example.com:ou=auto.home,ou=automount,dc=example,dc=com --timeout 300****
I’m sure these could be all changed to match the OS X conventions without impacting functionality on Linux.****
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp
Hi,
On Friday, October 28, 2011 10:13:53 am Frava wrote:
The entries contained in "automountMapName=auto_home" and "automountMapName=auto.home" will be exactly the same ones; SO what is the best way to implement it without duplicate them ? Using aliases or rwm+relay ?
As long as the autofs schema required by OS X and Linux is the same you should be able to point to the auto.home for both auto.master and auto_master.
The auto.master may not be so easy to unify, as in my own experience different platforms look for specific entries to begin their automount look ups.
-- Khosrow
Ok thanks you all :)
A solution should be to create :
dn: autoumountMapName=auto_master,cn=autoumountMap,dc=subnet,dc=example,dc=com dn: autoumountMapName=auto.master,cn=autoumountMap,dc=subnet,dc=example,dc=com dn: autoumountMapName=auto.home,cn=autoumountMap,dc=subnet,dc=example,dc=com
and add :
"+auto.home" in the "/etc/auto_home" file of the OS-X boxes ?
-> My first intention was to setup something like :
database relay suffix "automountMapName=auto_home,cn=automountMap,dc=subnet,dc=example,dc=com" relay "automountMapName=auto.home,cn=automountMap,dc=subnet,dc=example,dc=com" massage
Cheers, Rafael Navaza.
2011/10/28 Khosrow Ebrahimpour khosrow.ebrahimpour@ec.gc.ca
Hi,
On Friday, October 28, 2011 10:13:53 am Frava wrote:
The entries contained in "automountMapName=auto_home" and "automountMapName=auto.home" will be exactly the same ones; SO what is the best way to implement it without duplicate them ? Using
aliases
or rwm+relay ?
As long as the autofs schema required by OS X and Linux is the same you should be able to point to the auto.home for both auto.master and auto_master.
The auto.master may not be so easy to unify, as in my own experience different platforms look for specific entries to begin their automount look ups.
-- Khosrow
openldap-technical@openldap.org