- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: automount with LDAP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 04:22 AM
04-14-2005 04:22 AM
automount with LDAP
/etc/auto_master:
/home /etc/auto_home -nosuid
/etc/auto_home:
* hostname:/export/home/&
The problem is that with this configuration, even if a non-ldap user (such as oracle or root) logs on, it tries to mount up using this map. I don't really want to maintain a list of users in this auto_home file, unless there is no other alternative. Is it possible to configure only my ldap accounts to query for the auto_home information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 05:19 AM
04-14-2005 05:19 AM
Re: automount with LDAP
It should be file [NOTFOUND = continue] ldap
So that root/oracle will get resolved form passwd file and will have valid local home dir.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 06:04 AM
04-14-2005 06:04 AM
Re: automount with LDAP
passwd: files [NOTFOUND=continue] ldap
automount: files
My oracle and root account do log in OK, with the correct home directory, but I can see from a snoop that they are trying to automount (and fail). I would expect that only home directories under /home would try and nfs mount (the oracle home is /opt/oracle) - but this doesn't seem to be the case. My snoop shows messages like :
NFS "No such file or directory"
which it then seems to keep retrying. The only solution I can find is to put explicit entries in /etc/auto_home, but from a manageability point of view I would like to avoid that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 06:22 AM
04-14-2005 06:22 AM
Re: automount with LDAP
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 08:06 AM
04-14-2005 08:06 AM
Re: automount with LDAP
Also, is it possible to have local accounts mount up a local directory (eg /home/user) if they aren't an LDAP user. I have tried to achieve this, but it seems that once I have the /home entry in auto_home, I can't have local /home entries (even if I put named users in the auto_home file instead of *)....Any thoughts??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 08:26 AM
04-14-2005 08:26 AM
Re: automount with LDAP
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 08:49 AM
04-14-2005 08:49 AM
Re: automount with LDAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 08:51 AM
04-14-2005 08:51 AM
Re: automount with LDAP
I am sure that your error (that local users also go to automount.map) is out of this entry.
/etc/auto_home:
* hostname:/export/home/&
Coming out of "*" I think your /etc/auto_home needs to be as follows.
user1 hostsname:/export/home/&
user2 hostname:/export/home/&
Where user1 and user2 are ldap users. Define such entries for all ldap users. Now local user should not be going to automounter.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 09:01 AM
04-14-2005 09:01 AM
Re: automount with LDAP
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 09:01 AM
04-14-2005 09:01 AM
Re: automount with LDAP
I will try this when i get in tomorrow and I'll let you know how I get on. I have a feeling that I have already tried it with users named in the auto_home file, but I'll give it another go....it gives me a bit more hope now I know it can be done with nis
Alec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 08:33 PM
04-14-2005 08:33 PM
Re: automount with LDAP
I have tested this but unfortunately it didn't work. If I have the following entries:
/etc/auto_home
pringlea ostram01:/export/home/$
/etc/automaster
/home auto_home -nobrowse
(I restart the nfs.client)... and then
-pringlea can log on with mounted home directory
- when a local user (tuser) logs on the home directory /home/tuser is unavailable.
If I stop the nfsclient daemon, then tuser is able to login.
Is there a way around this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 09:23 PM
04-14-2005 09:23 PM
Re: automount with LDAP
/etc/auto_master
/home2 auto_home -nobrowse
/etc/auto_home
* ostram01:/export/home/pringlea/&
...but I've had to use the later version of automount (autofs), it doesn't seem to work with the old automounter.
Thanks for all your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 09:24 PM
04-14-2005 09:24 PM
Re: automount with LDAP
issue resolved by using the latest version of autofs