Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-20-2011, 07:34 AM
|
#1
|
Member
Registered: Oct 2006
Posts: 34
Rep:
|
CentOS Directory Server as File Server
Hi,
I'm trying to use automount object in CentOS DS, but didn't work.
I tried this howto http://directory.fedoraproject.org/wiki/Howto:Automount but didn't work with CentOS os, may be it's only for fedora.
Any suggestion are appreciated
Thanks
|
|
|
04-20-2011, 07:38 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
"it didn't work" is of no use whatsoever to us. What is actually happening??
|
|
|
04-20-2011, 09:11 AM
|
#3
|
Member
Registered: Oct 2006
Posts: 34
Original Poster
Rep:
|
shared folder not mounted when user login, although i can mount it manually.
|
|
|
04-20-2011, 09:37 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
no really, you need to provide more information. You provide a link toa very useful and capable guide, which clearly lists a number of stages. WHat do your relevant config files look like, are all services running etc..?
|
|
|
04-21-2011, 07:28 AM
|
#5
|
Member
Registered: Oct 2006
Posts: 34
Original Poster
Rep:
|
On nfs server:-
/etc/exports
Quote:
/cds/Share/Public *.example.com(rw,sync)
|
On Centos DS:
/etc/dirsrv/schema/60autofs.ldif
Quote:
# 60autofs.ldif - From draft-howard-rfc2307bis
################################################################################
#
dn: cn=schema
#
################################################################################
#
attributeTypes: (
1.3.6.1.1.1.1.33
NAME 'automountInformation'
DESC 'Information used by the autofs automounter'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
X-ORIGIN 'draft-howard-rfc2307bis'
)
#
################################################################################
#
objectClasses: (
1.3.6.1.1.1.2.17
NAME 'automount'
DESC 'An entry in an automounter map'
SUP top
STRUCTURAL
MUST ( cn $ automountInformation )
MAY ( description )
X-ORIGIN 'draft-howard-rfc2307bis'
)
#
################################################################################
#
objectClasses: (
1.3.6.1.1.1.2.16
NAME 'automountMap'
DESC 'An group of related automount objects'
SUP top
STRUCTURAL
MUST ( ou )
X-ORIGIN 'draft-howard-rfc2307bis'
)
#
################################################################################
#
|
Please let me know if you need furture information
|
|
|
All times are GMT -5. The time now is 12:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|