Questions tagged [autofs]

125 questions
3
votes
1 answer

Password prompt when accessing samba share through autofs

We have a file server on Ubuntu Server 16.04 using Samba which uses an external LDAP server for authentication. Additionally, the LDAP server has an automount definition for the file server's Samba shares (with automountInformation:…
Hsn723
  • 71
  • 7
3
votes
0 answers

Mount CIFS-share with users Kerberos-Ticket

we want to mount shares through autofs. Nothing special we thought. But: this must be done in some complex active directory circumstances. What we have: integrated Ubuntu 14.04 workstations on which users can login with their windows credentials.…
cbuchey
  • 41
  • 1
  • 2
3
votes
0 answers

LDAP authentication, pam_mkhomedir and NFS automounted homes

We currently have a setup (running on Ubuntu 14.04 LTS) with mixed LDAP/NIS authentication and automounted home directories from several servers (with the auto.home map distributed over NIS). Everything runs smoothly as long as the user logging in…
Ale
  • 1,703
  • 17
  • 25
3
votes
1 answer

autofs and NFS failover - can autofs remount?

I have this scenario: 2 NFS servers with /usr/share/man as exports (just as example, it can be anything), let say server A and server B (not replicas, just 2 independent servers on the same subnet sharing the same things) both NFS servers are up…
yusa.viktor
  • 31
  • 1
  • 3
3
votes
1 answer

How to programmatically umount filesystems mounted by autofs?

I have some RHEL systems where I need to disable autofs. What I typically do is run a script on each of these hosts that executes something like this: # /etc/init.d/autofs stop ... # /sbin/chkconfig autofs off ... # reboot But I have a situation…
Red Cricket
  • 470
  • 2
  • 8
  • 21
3
votes
2 answers

How to set permissions for a CIFS mount with autofs?

I've set up a CIFS mount on my CentOS 6.4 server with autofs : File /etc/auto.mnt : Photos -fstype=cifs,perm,rw,uid=505,forceuid,gid=505,forcegid,file_mode=0770,dir_mode=0770,credentials=/root/credentials.txt ://adsrv01/Photos What a ls command…
mimipc
  • 1,947
  • 3
  • 19
  • 27
3
votes
1 answer

Autofs BROWSE Mode in CentOS\RHEL

I have multiple server mounting their $HOME from a file server. On the clients I have set in /etc/sysconfig/autofs BROWSE_MODE="no" The client also mount directories from other files servers to /shared and /cifs I was wondering if there is a way…
oz123
  • 1,258
  • 5
  • 17
  • 34
2
votes
1 answer

Install packages that create home directory on automounted Linux servers

When installing certain packages, for example gitlab-runner, a directory needs to be created in /home/. If the home directories are automounted on NFS, then installation will fail. $ sudo apt install -y [package] Setting up gitlab-runner (12.1.0)…
hanxue
  • 1,377
  • 2
  • 11
  • 12
2
votes
0 answers

nfs mounts over wrong subnet when another mount happens first

I have a weird issue with an NFS server and clients that are connected over two separate private subnets. The private subnets are 10.1.0.0/255.255.0.0 and 10.2.0.0/255.255.0.0 addressed as .local and .qlogic respectively (DNS is served by 10.1.1.1,…
2
votes
1 answer

autofs can't mount a remote dir with sshfs on the host with deprecated key algorithm

Here is my configuration: /etc/auto.master /mnt/10 /etc/auto.10 uid=0,gid=0,--ghost /etc/auto.10 root -fstype=fuse,allow_other,follow_symlinks,ssh_command=/etc/ssh/sshpass.10.sh :sshfs\#root@10.28.0.10\:/root Because the remote device is…
igoryonya
  • 195
  • 1
  • 3
  • 14
2
votes
0 answers

Linux - Active Directory - autofs service

We integrated our Linux environment into our AD 2016. Now an additional request is to add autofs service, via AD, to provide to the admins (Linux-admins, DB-admins, Application-admins) their personal /home . We have to administer roughly 600 VMs and…
Mark
2
votes
2 answers

AutoFS mount multiple CIFS Shares to same directory

As long as I had only one mount everything was fine. file: /etc/auto.master /mnt /etc/auto.srv1_share1 file: /etc/auto.srv1_share1 sh1 -fstype=cifs,rw,user=jdoe,domain=srv1,noexec,password=xxx ://srv1/share1 which resulted in //srv1/share1 mounted…
tiMbeRdroP
  • 21
  • 1
  • 3
2
votes
1 answer

How to mount a smb drive with different credentials (user name and password) on Linux?

Ok, I have here a laptop on which runs Linux (CentOS 7). The laptop will be used from different user's (which have all different login's on the laptop). We have in our network a Samba server. All users which have a login on the laptop have also…
Steffen
  • 989
  • 3
  • 13
  • 31
2
votes
3 answers

Autofs mount problems

I need a suggestion how to configure autofs to mount a windows share automatically to CentOS. I can successfully mount the share, but I can't seem to enter parameters into auto.master corectly. Could someone look at my mount command (which executes…
2
votes
1 answer

nfs autofs automount of exported filesystems is empty on nfs server

I am having issues with empty nfs automounts on the nfs server itself. I'm running RHEL5.7 64bit exporting 4 directories as follows: /export/site/server13 *(fsid=0,rw,sync,crossmnt) /export/site/server13/u *(rw,sync) /export/site/server13/unix…
starfury6
  • 21
  • 4
1
2
3
8 9