Skip to contentSkip to conversation

multiuser mount without initial mount credentials

DISCUSSION Orion Poplawski 2 participants 2 messages Nov 13, 2013 – Nov 14, 2013 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Is there any possibility of removing the requirement to have an initial set of credentials when mounting a cifs filesystem as multiuser? I'd like to have an automount driven multiuser configuration without the need to have a separate set of credentials just for mounting. Could we imaging some way for the automount process to access a keyring stored credential for use in mounting?

Signature · 5 lines
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                   http://www.nwra.com
#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · On Wed, 13 Nov 2013 16:14:44 -0700 Orion Poplawski…

Is there any possibility of removing the requirement to have an initial set of credentials when mounting a cifs filesystem as multiuser? I'd like to have an automount driven multiuser configuration without the need to have a separate set of credentials just for mounting. Could we imaging some way for the automount process to access a keyring stored credential for use in mounting?

One possibility would be to teach the kernel how to use an anonymous logon (equivalent to what we do with sec=none) for the initial mount. That would take a bit of reengineering but it's possible.

Also, if you pass credentials to the mount command then those credentials will just be used for root access. e.g. something like this:

sec=ntlmssp,username=foo,password=bar,multiuser

You probably don't want to put that in a mount command, but you could use a credentials file (see mount.cifs(8)).

Signature · 1 line
Jeff Layton <[email protected]>