LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-21-2005, 12:37 AM   #1
naveenlinux
LQ Newbie
 
Registered: Nov 2005
Distribution: SuSE
Posts: 10

Rep: Reputation: 0
Automount -LDAP schemas


Hi,

I am trying to user the following script for auto mount:
#First, create objects to define the automount directories. These need only be created once.
dn: nisMapName=auto.master,dc=example,dc=com
objectClass: nisMap
nisMapName: auto.master

dn: cn=/users,nisMapName=auto.master,dc=example,dc=com
objectClass: nisObject
nisMapName: /users
cn: /users
nisMapEntry: ldap 137.65.211.18:nisMapname=auto.users,dc=example,dc=com

dn: nisMapName=auto.users,dc=example,dc=com
objectClass: nisMap
nisMapName: auto.users

#Then, add an entry for each user. As new users are added, new entries are required. For
#subsequent users, remember to change the user name in 4 places.
dn: cn=admin,nisMapName=auto.users,dc=example,dc=com
objectClass: nisObject
nisMapName: admin
cn: admin
nisMapEntry: -fstype=nfs,hard,intr,nodev,nosuid 137.65.211.18:/users/admin

#Above is to automount admin user to admin directory
(it is derived from: novell - coolsolutions/feature/15384.html)
The schemas included in my ldap configuraion are:
core,cosine,interorgperson,rfc2307bis,yast and samba.

Do I need to include nis.schema for the above script to work?

And I have one more question :
If admin logs in he should be able to view only /users/admin as his home and no other directories or files in /users. Is this the way it is going to work with above script?

Please help,
Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP server not starting as user LDAP klnasveschuk Fedora 1 02-15-2007 04:49 AM
Automount NFS from LDAP info not working klnasveschuk Linux - Networking 2 07-26-2005 01:04 PM
OpenLDAP schemas? paul_mat Linux - Networking 1 07-20-2005 12:50 PM
ldap-abook unable to get street name in ldap-entry Jingle Linux - Software 1 06-06-2004 07:13 PM
konsole schemas?? sk8guitar Linux - General 1 07-25-2003 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration