SCIENTIFIC-LINUX-USERS Archives

August 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Akemi Yagi <[log in to unmask]>
Reply To:
Akemi Yagi <[log in to unmask]>
Date:
Thu, 27 Aug 2015 11:10:51 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
On Thu, Aug 27, 2015 at 5:04 AM, Christoph Parthier
<[log in to unmask]> wrote:
> Hi,
>
> I'm running SL6 and after a recent manual update of packages (via 'yum
> update') I get an issue of accessing auto-mounted SAMBA shares (CIFS) using
> a (user-specific) password credentials file.
>
> For explanation this his is the respective automounter map (e.g.
> /etc/auto.userdata) that is called from the auto.master and  worked flawless
> before the update:
>
> userfiles
> -fstype=cifs,credentials=$HOME/.userdata_credentials,uid=$UID,gid=$GID
> ://my_smb_server/userdata
>
> Before the update this resulted in an auto-monted SAMBA share
> (//my_smb_server/userdata) to the local mountpoint '/userdata/userfiles'
> using the credentials file from each users home directory on the local
> machine, i.e. the map variables $HOME, $UID and $GID are substituted with
> the users home diretory, user ID and group ID, respectively, of the user
> trying to access the share.
>
> Now, after the update I get the following error from autofs:
>
> automount[14504]: attempting to mount entry /userdata/userfiles
> automount[14504]: >> error -1 (Unknown error 18446744073709551615) opening
> credential file /root/.userdata_credentials
> automount[14504]: mount(generic): failed to mount //my_smb_server/userdata
> (type cifs) on /userdata/userfiles
> automount[14504]: failed to mount /userdata/userfiles
>
> i.e. the map variables $HOME, $UID and $GID are not substituted with the
> user's values but with the values from 'root' (and therefore the existing
> user credentials file cannot be found).
>
> Does anyone have advice on this?

Looks like you were hit by a known issue. Please see:

https://access.redhat.com/solutions/1553753
"Why does CIFS mount through "automount getting failed" message after
upgrading to RHEL 6.7 ?"

In short, they are "working on it".

Akemi

ATOM RSS1 RSS2