From: Phy Prabab Subject: autofs5 + ldap Date: Sat, 12 May 2007 22:35:54 -0700 (PDT) Message-ID: <370788.91736.qm@web90501.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5301685806653618612==" Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: autofs@linux.kernel.org --===============5301685806653618612== Content-Type: multipart/alternative; boundary="0-1642668879-1179034554=:91736" --0-1642668879-1179034554=:91736 Content-Type: text/plain; charset=ascii Hello! I am having some issues with autofs5 + ldap configuration, I just can not seem to get autofs to read the auto_master map out of ldap. I have tried unsuccessfully using the "samples" and my previous configuration (autofs414 which does work with ldap). I tried to use the /etc/sysconfig/autofs config file paralleling the sample but using my ldap settings as well as using /etc/auto.master again using my ldap settings, both to no avail. I know the ldap settings are correct, I can search the ldap server without any issues and I am using it to authenticate (i.e. passwords). If anyone could lend me a suggestion, I would be most grateful. TIA, Phy [root@b~]# cat /etc/auto.master dn: automountMapName=auto_master,ou=automount,ou=defaults,ou=sanjose,ou=services,o=cadence.com objectClass: top objectClass: automountMap automountMapName: auto_master #+auto.master [root@b ~]# [root@b ~]# /usr/sbin/automount --version Linux automount version 5.0.1 Directories: config dir: /etc/sysconfig maps dir: /etc modules dir: /usr/local/autofs501p1/lib/autofs Compile options: ENABLE_IGNORE_BUSY_MOUNTS WITH_LDAP [root@b ~]# ldapsearch -x -b 'ou=default,ou=region,o=test.com' automountMapName=auto_master version: 2 # # filter: automountMapName=auto_master # requesting: ALL # # auto_master, automount, Default, region, test.com dn: automountMapName=auto_master,ou=automount,ou=Default,ou=region,ou=test.com objectClass: top objectClass: automountMap objectClass: nisMap automountMapName: auto_master nisMapName: auto_master # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 [root@b ~]# uname -a Linux host1.test.com 2.6.21.1 #1 SMP Wed May 9 08:54:29 PDT 2007 i686 athlon i386 GNU/Linux [root@b ~]# ____________________________________________________________________________________Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC --0-1642668879-1179034554=:91736 Content-Type: text/html; charset=ascii
Hello!

I am having some issues with autofs5 + ldap configuration, I just can not seem to get autofs to read the auto_master map out of ldap.  I have tried unsuccessfully using the "samples" and my previous configuration (autofs414 which does work with ldap).  I tried to use the /etc/sysconfig/autofs config file paralleling the sample but using my ldap settings as well as using /etc/auto.master again using my ldap settings, both to no avail.  I know the ldap settings are correct, I can search the ldap server without any issues and I am using it to authenticate (i.e. passwords).

If anyone could lend me a suggestion, I would be most grateful.
TIA,
Phy


[root@b~]# cat /etc/auto.maste r
dn: automountMapName=auto_master,ou=automount,ou=defaults,ou=sanjose,ou=services,o=cadence.com
objectClass: top
objectClass: automountMap
automountMapName: auto_master
#+auto.master
[root@b ~]#

[root@b ~]# /usr/sbin/automount --version

Linux automount version 5.0.1

Directories:
        config dir:     /etc/sysconfig
        maps dir:       /etc
        modules dir:    /usr/local/autofs501p1/lib/autofs

Compile options:
  ENABLE_IGNORE_BUSY_MOUNTS WITH_LDAP

[root@b ~]# ldapsearch -x -b 'ou=default,ou=region,o=test.com' automountMapName=auto_master
version: 2

#
# filter: automountMapName=auto_master
# requesting: ALL
#

# auto_master, automount, Default, region, test.com
dn: automountMapName=auto_master,ou=automount,ou=Default,ou=region,ou=test.com
objectClass: top
objectClass: automountMap
objectClass: nisMap
automountMapName: auto_master
nisMapName: auto_master

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
[root@b ~]# uname -a
Linux host1.test.com 2.6.21.1 #1 SMP Wed May 9 08:54:29 PDT 2007 i686 athlon i386 GNU/Linux
[root@b ~]#



Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search. --0-1642668879-1179034554=:91736-- --===============5301685806653618612== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs --===============5301685806653618612==--