Displaying 3 results from an estimated 3 matches for "user4cifs".
2015 Nov 02
2
Pam_mount not working with "sec=krb5"
Hi all, this is not really a Samba question, but related, and I hope
that some of you are using this and can tell me what I am doing wrong.
On a member server, I can mount my shares by hand specifying "-o
username=xxx,domain=yyy,password=zzz". But as soon as I put "sec=krb5"
in the mount options (and leaving out the password part), I get this error:
# mount error(126):
2015 Nov 02
0
Pam_mount not working with "sec=krb5"
...//yourserver/share /share -osec=krb5,
username=MACHINE$,multiuser
Or create an unprivileged domain user to mount the shares and add that
key to the keytab. Use the mutiuser switch to mount the share on behalf
of anyone who needs it:
mount -t cifs //yourserver/share /share -osec=krb5,
username=user4cifs,multiuser
We recommend the second method as the first way is easy to hack.
HTH
2015 Nov 02
3
Pam_mount not working with "sec=krb5"
...rb5,
> username=MACHINE$,multiuser
>
> Or create an unprivileged domain user to mount the shares and add that
> key to the keytab. Use the mutiuser switch to mount the share on
> behalf of anyone who needs it:
> mount -t cifs //yourserver/share /share -osec=krb5,
> username=user4cifs,multiuser
>
> We recommend the second method as the first way is easy to hack.
> HTH
Thank you, I will try this! However, I am not sure I understand why it
is necessary and whether it works as intended. Why can't the user do it
with his own key file?
Also, if the user is not mounti...