Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activedirectory autofs direct maps #5368

Open
mpicjohn opened this issue Oct 14, 2020 · 0 comments
Open

activedirectory autofs direct maps #5368

mpicjohn opened this issue Oct 14, 2020 · 0 comments

Comments

@mpicjohn
Copy link

Hello everybody,

I'm trying to migrate automounter maps to AD (samba4). Common stuff works as desired, but the equivalent to a direct map where the mountpoint is not at the root of the filesystem does not work.
The classic approach would look like this:

auto.master:
/- /etc/auto.direct

auto.direct:
/groups/group1 -fstype=nfs,nfsvers=4,lock,proto=tcp,rsize=32768,wsize=32768 server1:/share1
/groups/group2 -fstype=nfs,nfsvers=4,lock,proto=tcp,rsize=32768,wsize=32768 server1:/share2

in AD:
CN=cluster.master,OU=automount,DC=mpi,DC=mpi-bremen,DC=de
CN=/groups2/biogeo/,CN=cluster.master,OU=automount,DC=mpi,DC=mpi-bremen,DC=de
nisMapEntry=cluster.groups

CN=cluster.groups,OU=automount,DC=mpi,DC=mpi-bremen,DC=de
CN=/groups2/biogeo/,CN=cluster.groups,OU=automount,DC=mpi,DC=mpi-bremen,DC=de
nisMapEntry=-fstype=nfs,nfsvers=4,lock,noatime,proto=tcp,rsize=32768,wsize=32768 samfs03.mpi-bremen.de:/global/sam/fs03/samfs/share/share01/

automount -m:
Mount point: /groups2/biogeo/

source(s):
lookup_read_map: lookup(sss): invalid path /groups2/biogeo/

instance type(s): sss
map: cluster.groups

no keys found in map

everything works with an analog setting where the mountpoint is on the top of the filesystem.

I'm wondering if I'm missing something or if I hit a limitation of AD or SSSD or the combination of both...

Any suggestions are really appreciated

Carsten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants