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 |
All times are GMT -5. The time now is 04:52 PM. |