All of lore.kernel.org
 help / color / mirror / Atom feed
* problem with autofs
@ 2006-11-06 16:50 Syed Khader
  2006-11-07  8:44 ` Ian Kent
  2006-11-07 13:44 ` Jeff Moyer
  0 siblings, 2 replies; 13+ messages in thread
From: Syed Khader @ 2006-11-06 16:50 UTC (permalink / raw)
  To: autofs


[-- Attachment #1.1: Type: text/plain, Size: 745 bytes --]

Hello Evrybuddy,

I had configured Openldap and succesfully configured for authentication of
users.I'm facing problem with autofs.

I'm using Rhel4.When i say service autofs start it says

No mount points defined.

I have written the correct entries in /etc/exports file.

I have sucessfully mounted directories using /etc/auto.master and indirect
maps on the client side
But when i'm using the ldap maps it's giving me problems
How can i make my autofs service to read the auto.master from LDAP Ou=
auto.master.

I have changed in the /etc/nsswitch.conf file to Automount: ldap but no use

when i use service autofs start it says "No mountpoints defined".

Are they any bugs with RHEL4?
Or am i going wrong somewhere?

Thanks in advance
Abdul.

[-- Attachment #1.2: Type: text/html, Size: 1061 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-06 16:50 problem with autofs Syed Khader
@ 2006-11-07  8:44 ` Ian Kent
  2006-11-07 13:44 ` Jeff Moyer
  1 sibling, 0 replies; 13+ messages in thread
From: Ian Kent @ 2006-11-07  8:44 UTC (permalink / raw)
  To: Syed Khader; +Cc: autofs

On Mon, 2006-11-06 at 22:20 +0530, Syed Khader wrote:
> Hello Evrybuddy,
>  
> I had configured Openldap and succesfully configured for
> authentication of users.I'm facing problem with autofs.
>  
> I'm using Rhel4.When i say service autofs start it says
>  
> No mount points defined.
>  
> I have written the correct entries in /etc/exports file.
>  
> I have sucessfully mounted directories using /etc/auto.master and
> indirect maps on the client side
> But when i'm using the ldap maps it's giving me problems
> How can i make my autofs service to read the auto.master from LDAP
> Ou=auto.master.
>  
> I have changed in the /etc/nsswitch.conf file to Automount: ldap but
> no use
>  
> when i use service autofs start it says "No mountpoints defined".
>  
> Are they any bugs with RHEL4?
> Or am i going wrong somewhere?

You need to show us your maps.

Ian

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-06 16:50 problem with autofs Syed Khader
  2006-11-07  8:44 ` Ian Kent
@ 2006-11-07 13:44 ` Jeff Moyer
  2006-11-07 14:12   ` Syed Khader
  1 sibling, 1 reply; 13+ messages in thread
From: Jeff Moyer @ 2006-11-07 13:44 UTC (permalink / raw)
  To: Syed Khader; +Cc: autofs

==> Regarding [autofs] problem with autofs; "Syed Khader" <syedk@google.com> adds:

syedk> Hello Evrybuddy,
syedk> I had configured Openldap and succesfully configured for authentication of
syedk> users.I'm facing problem with autofs.

syedk> I'm using Rhel4.When i say service autofs start it says

syedk> No mount points defined.

syedk> I have written the correct entries in /etc/exports file.

syedk> I have sucessfully mounted directories using /etc/auto.master and
syedk> indirect maps on the client side But when i'm using the ldap maps
syedk> it's giving me problems How can i make my autofs service to read the
syedk> auto.master from LDAP Ou= auto.master.

syedk> I have changed in the /etc/nsswitch.conf file to Automount: ldap but
syedk> no use

syedk> when i use service autofs start it says "No mountpoints defined".

syedk> Are they any bugs with RHEL4?

Bugs?  In software?  Nooo, none here.  ;)

syedk> Or am i going wrong somewhere?

Since you can authenticate users using ldap, I'm guessing that your
/etc/openldap/ldap.conf file points to the right server with the right base
DN.  If that is the case, then we'll need to see the ldif for your master
map, as Ian noted in his reply.

What version of autofs are you using?  What LDAP schema are you using?

-Jeff

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 13:44 ` Jeff Moyer
@ 2006-11-07 14:12   ` Syed Khader
  2006-11-07 14:47     ` Jeff Moyer
  0 siblings, 1 reply; 13+ messages in thread
From: Syed Khader @ 2006-11-07 14:12 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs


[-- Attachment #1.1: Type: text/plain, Size: 2489 bytes --]

The ldif for master is like this.

dn: ou=auto.master,dc=testlab,dc=com
objectClass:top
objectClass:automountMap
ou:auto.master

dn: cn=/home,ou=auto.master,dc=testlab,dc=com
objectClass:automount
cn:/home
automountInformation: ldap server.testlab.com:ou=auto.home,dc=testlab,dc=com
--timeout 60


Auto.Home

 dn: ou=auto.home,dc=testlab,dc=com
objectClass:top
objectClass:automountMap
ou:auto.home

dn: cn=user1,ou=auto.home,dc=testlab,dc=com
objectClass: automount
cn:user1
automountInformation: -fstype=nfs,hard,intr server.testlab.com:/home/user1

I'm using 4.1.3-155 version of autofs

My problem is to tell autofs daemon to read the map from LDAP and not from
files.
My autofs reads from the file /etc/auto.master.
If i give the entry

/home ldap:server.testlab.com:ou=auto.home,dc=testlab,dc=com

in the /etc/auto.master file and say Service autofs status

Then i see the mount point as the above.But when i try to login on the
client side.Still it doesn't mount the user's home directory.

I have changed the entry AUTOMOUNT:LDAP in /etc/nsswitch.conf file.

Thanks,
Abdul






On 11/7/06, Jeff Moyer <jmoyer@redhat.com> wrote:
>
> ==> Regarding [autofs] problem with autofs; "Syed Khader" <
> syedk@google.com> adds:
>
> syedk> Hello Evrybuddy,
> syedk> I had configured Openldap and succesfully configured for
> authentication of
> syedk> users.I'm facing problem with autofs
> syedk> I'm using Rhel4.When i say service autofs start it says
>
> syedk> No mount points defined.
>
> syedk> I have written the correct entries in /etc/exports file.
>
> syedk> I have sucessfully mounted directories using /etc/auto.master and
> syedk> indirect maps on the client side But when i'm using the ldap maps
> syedk> it's giving me problems How can i make my autofs service to read
> the
> syedk> auto.master from LDAP Ou= auto.master.
>
> syedk> I have changed in the /etc/nsswitch.conf file to Automount: ldap
> but
> syedk> no use
>
> syedk> when i use service autofs start it says "No mountpoints defined".
>
> syedk> Are they any bugs with RHEL4?
>
> Bugs?  In software?  Nooo, none here.  ;)
>
> syedk> Or am i going wrong somewhere?
>
> Since you can authenticate users using ldap, I'm guessing that your
> /etc/openldap/ldap.conf file points to the right server with the right
> base
> DN.  If that is the case, then we'll need to see the ldif for your master
> map, as Ian noted in his reply.
>
> What version of autofs are you using?  What LDAP schema are you using?
>
> -Jeff
>

[-- Attachment #1.2: Type: text/html, Size: 3660 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 14:12   ` Syed Khader
@ 2006-11-07 14:47     ` Jeff Moyer
  2006-11-07 15:16       ` Ian Kent
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Moyer @ 2006-11-07 14:47 UTC (permalink / raw)
  To: Syed Khader; +Cc: autofs

==> Regarding Re: [autofs] problem with autofs; "Syed Khader" <syedk@google.com> adds:

syedk> The ldif for master is like this.
syedk> dn: ou=auto.master,dc=testlab,dc=com
syedk> objectClass:top
syedk> objectClass:automountMap
syedk> ou:auto.master

syedk> dn: cn=/home,ou=auto.master,dc=testlab,dc=com
syedk> objectClass:automount
syedk> cn:/home
syedk> automountInformation: ldap server.testlab.com:ou=auto.home,dc=testlab,dc=com
syedk> --timeout 60

syedk> Auto.Home

syedk> dn: ou=auto.home,dc=testlab,dc=com
syedk> objectClass:top
syedk> objectClass:automountMap
syedk> ou:auto.home

syedk> dn: cn=user1,ou=auto.home,dc=testlab,dc=com
syedk> objectClass: automount
syedk> cn:user1
syedk> automountInformation: -fstype=nfs,hard,intr server.testlab.com:/home/user1

This looks okay to me, at first glance.

syedk> I'm using 4.1.3-155 version of autofs

syedk> My problem is to tell autofs daemon to read the map from LDAP and
syedk> not from files.  My autofs reads from the file /etc/auto.master.  If
syedk> i give the entry

syedk> /home ldap:server.testlab.com:ou=auto.home,dc=testlab,dc=com

syedk> in the /etc/auto.master file and say Service autofs status

syedk> Then i see the mount point as the above.But when i try to login on the
syedk> client side.Still it doesn't mount the user's home directory.

Well, for that problem we may need debug logs, but let's sort out your
issue with reading the master map from LDAP, first.

syedk> I have changed the entry AUTOMOUNT:LDAP in /etc/nsswitch.conf file.

Every time you type this in, you change the case.  Make sure that
nsswitch.conf reads:

automount: ldap

It should all be lower-case, as otherwise the init script will not match
it.  If it is lower-case, then please send along the output from:
  "sh -x /etc/init.d/autofs start"

It may also be useful to see the output from:
   /usr/lib[64]/autofs/autofs-ldap-auto-master

Thanks,

Jeff

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 14:47     ` Jeff Moyer
@ 2006-11-07 15:16       ` Ian Kent
  2006-11-07 15:32         ` Syed Khader
  2006-11-07 15:34         ` Syed Khader
  0 siblings, 2 replies; 13+ messages in thread
From: Ian Kent @ 2006-11-07 15:16 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs

On Tue, 2006-11-07 at 09:47 -0500, Jeff Moyer wrote:
> syedk> /home ldap:server.testlab.com:ou=auto.home,dc=testlab,dc=com
> 
> syedk> in the /etc/auto.master file and say Service autofs status
> 
> syedk> Then i see the mount point as the above.But when i try to login on the
> syedk> client side.Still it doesn't mount the user's home directory.

You refer to "the client side", you do mean the client that is running
autofs with the configuration you describe above, don't you?

Ian

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 15:16       ` Ian Kent
@ 2006-11-07 15:32         ` Syed Khader
  2006-11-07 16:07           ` Jeff Moyer
  2006-11-07 15:34         ` Syed Khader
  1 sibling, 1 reply; 13+ messages in thread
From: Syed Khader @ 2006-11-07 15:32 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs


[-- Attachment #1.1: Type: text/plain, Size: 3507 bytes --]

Hi Jeff,

Here's the ouput of sh -x \etc\init.d\autofs start

+ FLAGS='defaults 21'
+ DAEMON=/usr/sbin/automount
++ basename /usr/sbin/automount
+ prog=automount
+ initdir=/etc/rc.d/init.d
+ system=redhat
+ '[' redhat = redhat ']'
+ . /etc/rc.d/init.d/functions
++ TEXTDOMAIN=initscripts
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
++ export PATH
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -f /etc/sysconfig/i18n -a -z '' ']'
++ . /etc/sysconfig/i18n
+++ LANG=en_US.UTF-8
+++ SUPPORTED=en_US.UTF-8:en_US:en
+++ SYSFONT=latarcyrheb-sun16
++ '[' pty '!=' pty ']'
++ '[' -n '' ']'
++ export LANG
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ GRAPHICAL=yes
+++ RES_COL=60
+++ MOVE_TO_COL='echo -en \033[60G'
+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'
+++ SETCOLOR_FAILURE='echo -en \033[0;31m'
+++ SETCOLOR_WARNING='echo -en \033[0;33m'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ LOGLEVEL=3
+++ PROMPT=yes
++ '[' pty = serial ']'
++ '[' color '!=' verbose ']'
++ INITLOG_ARGS=-q
+ test -e /usr/sbin/automount
+ '[' redhat = debian ']'
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ export PATH
+ LOCALOPTIONS=
+ DAEMONOPTIONS=
+ UNDERSCORETODOT=1
+ DISABLE_DIRECT=1
+ ONE_AUTO_MASTER=0
+ DAEMON_EXIT_WAIT=34
+ GHOSTDIRS=
+ . /etc/sysconfig/autofs
++ LOCALOPTIONS=
++ DAEMONOPTIONS=--timeout=60
++ UNDERSCORETODOT=1
++ DISABLE_DIRECT=1
++ ONE_AUTO_MASTER=0
++ GHOSTDIRS=
+ RETVAL=0
+ '[' redhat = debian ']'
+ '[' redhat = redhat ']'
+ redhat start
+ case "$1" in
+ echo -n 'Starting automount: '
++ mktemp /tmp/autofs.XXXXXX
+ TMP=/tmp/autofs.TGH486
+ getmounts
+ local LC_ALL=C
+ export LC_ALL
+ knownmaps=' '
++ echo ''
++ sed 's/ /\|/g'
+ ghostdirs=
+ getrawmounts
++ getschemes
++ grep '^automount:' /etc/nsswitch.conf
+ read dir map options
+ tee /tmp/autofs.TGH486
+ WARN=0
+ SUCCESS=0
+ read cmd rest
++ sed -e 's/^.*://' -e 's/\[.*\]/ /g'
+ for scheme in '`getschemes`'
+ case "$scheme" in
+ '[' -z '' ']'
++ getldapmounts
++ '[' -x /usr/lib/autofs/autofs-ldap-auto-master ']'
++ /usr/lib/autofs/autofs-ldap-auto-master
+ LDAPMOUNTS=
+ '[' -n '' ']'
+ getldapmounts
+ '[' -x /usr/lib/autofs/autofs-ldap-auto-master ']'
+ /usr/lib/autofs/autofs-ldap-auto-master
+ ldapscheme=1
+ export ldapscheme
+ '[' 0 = 0 ']'
+ exit 2
+ RETVAL=2
+ '[' -s /tmp/autofs.TGH486 ']'
+ echo -n 'No Mountpoints Defined'
+ success 'automount startup'
+ '[' -z '' ']'
+ initlog -q -n /etc/init.d/autofs -s 'automount startup' -e 1
+ '[' color '!=' verbose -a -z '' ']'
+ echo_success
+ '[' color = color ']'
+ echo -en '\033[60G'
+ echo -n '[  '
+ '[' color = color ']'
+ echo -en '\033[0;32m'
+ echo -n OK
+ '[' color = color ']'
+ echo -en '\033[0;39m'
+ echo -n '  ]'
+ echo -ne '\r'
+ return 0
+ return 0
+ rm -f /tmp/autofs.TGH486
+ echo
+ exit 2

AND  /usr/lib[64]/autofs/autofs-ldap-auto-master DOESn't give any ouput

Thanks,
Abdul


On 11/7/06, Ian Kent <raven@themaw.net> wrote:
>
> On Tue, 2006-11-07 at 09:47 -0500, Jeff Moyer wrote:
> > syedk> /home ldap:server.testlab.com:ou=auto.home,dc=testlab,dc=com
> >
> > syedk> in the /etc/auto.master file and say Service autofs status
> >
> > syedk> Then i see the mount point as the above.But when i try to login
> on the
> > syedk> client side.Still it doesn't mount the user's home directory.
>
> You refer to "the client side", you do mean the client that is running
> autofs with the configuration you describe above, don't you?
>
> Ian
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 4373 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 15:16       ` Ian Kent
  2006-11-07 15:32         ` Syed Khader
@ 2006-11-07 15:34         ` Syed Khader
  1 sibling, 0 replies; 13+ messages in thread
From: Syed Khader @ 2006-11-07 15:34 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs


[-- Attachment #1.1: Type: text/plain, Size: 775 bytes --]

Hi Kent,

I mean when i write the map in the /etc/auto.master also it doesn't make any
difference when i login with the username on the client machine which is
configured to use LDAP and autofs.

Thanks,
Abdul


On 11/7/06, Ian Kent <raven@themaw.net> wrote:
>
> On Tue, 2006-11-07 at 09:47 -0500, Jeff Moyer wrote:
> > syedk> /home ldap:server.testlab.com:ou=auto.home,dc=testlab,dc=com
> >
> > syedk> in the /etc/auto.master file and say Service autofs status
> >
> > syedk> Then i see the mount point as the above.But when i try to login
> on the
> > syedk> client side.Still it doesn't mount the user's home directory.
>
> You refer to "the client side", you do mean the client that is running
> autofs with the configuration you describe above, don't you?
>
> Ian
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 1164 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 15:32         ` Syed Khader
@ 2006-11-07 16:07           ` Jeff Moyer
  2006-11-07 16:20             ` Syed Khader
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Moyer @ 2006-11-07 16:07 UTC (permalink / raw)
  To: Syed Khader; +Cc: autofs, Ian Kent

==> Regarding Re: [autofs] problem with autofs; "Syed Khader" <syedk@google.com> adds:

syedk> Hi Jeff,
syedk> AND  /usr/lib[64]/autofs/autofs-ldap-auto-master DOESn't give any ouput

That's bad.  What does the following show?

  ldapsearch -x -s subtree '(&(objectclass=automountMap)(ou=auto.master))'

Is the ldap server configured to allow anonymous binds?

-Jeff

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 16:07           ` Jeff Moyer
@ 2006-11-07 16:20             ` Syed Khader
  2006-11-07 19:01               ` Jeff Moyer
  0 siblings, 1 reply; 13+ messages in thread
From: Syed Khader @ 2006-11-07 16:20 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs, Ian Kent


[-- Attachment #1.1: Type: text/plain, Size: 640 bytes --]

Hi Jeff,
Here's the output
dn:ou=auto.master,dc=testlab,dc=com
objectClass:top
objectClass:automountMap
ou:auto.master

I have configured to allow anonymous bind.No ACLS are given

Thanks,
Abdul


On 11/7/06, Jeff Moyer <jmoyer@redhat.com> wrote:
>
> ==> Regarding Re: [autofs] problem with autofs; "Syed Khader" <
> syedk@google.com> adds:
>
> syedk> Hi Jeff,
> syedk> AND  /usr/lib[64]/autofs/autofs-ldap-auto-master DOESn't give any
> ouput
>
> That's bad.  What does the following show?
>
> ldapsearch -x -s subtree '(&(objectclass=automountMap)(ou=auto.master))'
>
> Is the ldap server configured to allow anonymous binds?
>
> -Jeff
>

[-- Attachment #1.2: Type: text/html, Size: 1127 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 16:20             ` Syed Khader
@ 2006-11-07 19:01               ` Jeff Moyer
  2006-11-08  3:53                 ` Syed Khader
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Moyer @ 2006-11-07 19:01 UTC (permalink / raw)
  To: Syed Khader; +Cc: autofs, Ian Kent

==> Regarding Re: [autofs] problem with autofs; "Syed Khader" <syedk@google.com> adds:

syedk> Hi Jeff,
syedk> Here's the output

>> ldapsearch -x -s subtree '(&(objectclass=automountMap)(ou=auto.master))'

syedk> dn:ou=auto.master,dc=testlab,dc=com
syedk> objectClass:top
syedk> objectClass:automountMap
syedk> ou:auto.master

syedk> I have configured to allow anonymous bind.No ACLS are given

OK, then what do you get with this:

ldapsearch -x -s subtree -b 'ou=auto.master,dc=testlab,dc=com' 'objectclass=automount'

-Jeff

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-07 19:01               ` Jeff Moyer
@ 2006-11-08  3:53                 ` Syed Khader
  2006-11-08  4:12                   ` Ian Kent
  0 siblings, 1 reply; 13+ messages in thread
From: Syed Khader @ 2006-11-08  3:53 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs, Ian Kent


[-- Attachment #1.1: Type: text/plain, Size: 862 bytes --]

Jeff,
It gives me

dn: cn=/home,dc=testlab,dc=com
and the automount information which i specified in the auto.home map.

I think Ldap entries are fine,but the problem is to make autofs read from
the LDAP rather than files.

Thanks,
Abdul.



On 11/8/06, Jeff Moyer <jmoyer@redhat.com> wrote:
>
> ==> Regarding Re: [autofs] problem with autofs; "Syed Khader" <
> syedk@google.com> adds:
>
> syedk> Hi Jeff,
> syedk> Here's the output
>
> >> ldapsearch -x -s subtree '(&(objectclass=automountMap)(ou=auto.master
> ))'
>
> syedk> dn:ou=auto.master,dc=testlab,dc=com
> syedk> objectClass:top
> syedk> objectClass:automountMap
> syedk> ou:auto.master
>
> syedk> I have configured to allow anonymous bind.No ACLS are given
>
> OK, then what do you get with this:
>
> ldapsearch -x -s subtree -b 'ou=auto.master,dc=testlab,dc=com'
> 'objectclass=automount'
>
> -Jeff
>

[-- Attachment #1.2: Type: text/html, Size: 1371 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: problem with autofs
  2006-11-08  3:53                 ` Syed Khader
@ 2006-11-08  4:12                   ` Ian Kent
  0 siblings, 0 replies; 13+ messages in thread
From: Ian Kent @ 2006-11-08  4:12 UTC (permalink / raw)
  To: Syed Khader; +Cc: autofs

On Wed, 2006-11-08 at 09:23 +0530, Syed Khader wrote:
> Jeff,
> It gives me
>  
> dn: cn=/home,dc=testlab,dc=com
> and the automount information which i specified in the auto.home map.
>  
> I think Ldap entries are fine,but the problem is to make autofs read
> from the LDAP rather than files.

No. The problem right now is to understand why the
autofs-ldap-auto-master program is not able to read the LDAP master map.

>  
> Thanks,
> Abdul.
> 
> 
>  
> On 11/8/06, Jeff Moyer <jmoyer@redhat.com> wrote: 
>         ==> Regarding Re: [autofs] problem with autofs; "Syed Khader"
>         <syedk@google.com> adds:
>         
>         syedk> Hi Jeff,
>         syedk> Here's the output
>         
>         >> ldapsearch -x -s subtree
>         '(&(objectclass=automountMap)(ou=auto.master))'
>         
>         syedk> dn:ou=auto.master,dc=testlab,dc=com 
>         syedk> objectClass:top
>         syedk> objectClass:automountMap
>         syedk> ou:auto.master
>         
>         syedk> I have configured to allow anonymous bind.No ACLS are
>         given
>         
>         OK, then what do you get with this:
>         
>         ldapsearch -x -s subtree -b 'ou=auto.master,dc=testlab,dc=com'
>         'objectclass=automount'
>         
>         -Jeff
> 

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-11-08  4:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 16:50 problem with autofs Syed Khader
2006-11-07  8:44 ` Ian Kent
2006-11-07 13:44 ` Jeff Moyer
2006-11-07 14:12   ` Syed Khader
2006-11-07 14:47     ` Jeff Moyer
2006-11-07 15:16       ` Ian Kent
2006-11-07 15:32         ` Syed Khader
2006-11-07 16:07           ` Jeff Moyer
2006-11-07 16:20             ` Syed Khader
2006-11-07 19:01               ` Jeff Moyer
2006-11-08  3:53                 ` Syed Khader
2006-11-08  4:12                   ` Ian Kent
2006-11-07 15:34         ` Syed Khader

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.