All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Gao <gao@schrodinger.com>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: basedn in /etc/sysconfig/autofs
Date: Wed, 05 Sep 2007 10:43:32 -0700	[thread overview]
Message-ID: <46DEEAC4.80100@schrodinger.com> (raw)
In-Reply-To: <1188994602.3119.5.camel@raven.themaw.net>

Ian Kent wrote:
> On Wed, 2007-09-05 at 10:15 +0800, wengang wang wrote:
>   
>> Hi,
>> A custom complained that:
>> //<==
>> In RHEL4 it was possible to set a "basedn" variable in the
>> /etc/sysconfig/autofs file which served as a basedn for LDAP lookups
>> performed by the automounter.
>>
>> However, this has been removed in RHEL5.
>> //<==
>> It is true that setting it in /etc/openldap/ldap.conf is an alternative, 
>>     
>
> No.
>
>   
>> the custom doesn't want do as that because /etc/openldap/ldap.conf is 
>> automatically edited by the redhat config tools authconfig and 
>> system-config-authentication.
>> So I want to know for what the basedn is removed from 
>> /etc/sysconfig/autofs.  I checked all the change logs and readmes in 
>> autofs-5.0.1, but didn't find basedn metioned.
>>     
>
> In version 5 the base dn is calculated, depending on how you specify the
> map.
>
> Describe the problem and I'll try and give a sensible answer.
>
> Ian
>   
I also have a related question about basedn in /etc/sysconfig/autofs.

You can put in root level basedn like "dc=example,dc=com", or more lower
level like "ou=autofs,ou=services,dc=example,dc=com". Would later case
help the search by being more specific and therefore getting autofs map
lot quicker? Or it makes not significant difference?

Simon

  reply	other threads:[~2007-09-05 17:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05  2:15 basedn in /etc/sysconfig/autofs wengang wang
2007-09-05 12:16 ` Ian Kent
2007-09-05 17:43   ` Simon Gao [this message]
2007-09-05 17:57     ` Wolfe, Allan
2007-09-06  3:11       ` Ian Kent
2007-09-06  3:09     ` Ian Kent
2007-09-06 14:43       ` Jeff Moyer
2007-09-06 22:44         ` Simon Gao
2007-09-07  1:14           ` Ian Kent
2007-09-06  2:01   ` wengang wang
2007-09-06  3:41     ` Ian Kent
2007-09-10  1:44       ` wengang wang
2007-09-10  3:01         ` Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46DEEAC4.80100@schrodinger.com \
    --to=gao@schrodinger.com \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.