Displaying 20 results from an estimated 3000 matches similar to: "reliability of mounting shares while login"
2019 Jan 07
2
mount cifs with sec=krb5
Hi,
I am trying to mount fileserver (samba, 10.20.30.16) shares on a linux
domain member server, where I logged on via ssh using AD my credentials.
I am unable to get past the "mount error(126): Required key not
available" error message. I have read and googled a lot, and could use
some help.
See this:
> domainuser at memberserver-45:~$ sudo tail -f /var/log/debug &
>
2019 Jan 08
0
mount cifs with sec=krb5
Hai Mourik-Jan,
Beste wensen he ;-)
Lets start here..
A and PTR record exists for both servers?
Does CIFS/spn and root/spn exist in the AD?
In krb5.conf, set these :
; not used for nfs4 but cifs might need it.
; for Windows 2003
; default_tgs_enctypes = rc4-hmac des-cbc-crc des-cbc-md5
; default_tkt_enctypes = rc4-hmac des-cbc-crc des-cbc-md5
; permitted_enctypes = rc4-hmac
2024 Jan 26
1
permission denied with windows acls
On 1/26/24 02:35, Rowland Penny via samba wrote:
> On Thu, 25 Jan 2024 18:45:52 -0800 Peter Carlson via samba
> <samba at lists.samba.org> wrote:
>> The share mounts and I am a member of the correct groups
>> CARLSON\peter at u2gui:~$ cat /etc/fstab //fs.carlson.lab/test /mnt/test
>> cifs credentials=/root/smbcreds,multiuser,sec=ntlmssp,_netdev 0 0
> I think
2020 Mar 09
2
mount share using kerberos ticket fails
Thanks for your help!
Le 09/03/2020 ? 15:39, L.P.H. van Belle via samba a ?crit?:
> Did you "deleated the computer object" to allow kerberos services.
> And did you add the CIFS/spn to the computer and keytab ?
>
I am sorry, I don't really understand the above: mount requires a keytab
AND a user ticket?
> https://wiki.samba.org/index.php/Generating_Keytabs
>
>
2018 Jun 21
0
Ubuntu 18:04 not getting 'home' directory from DC
Thank You Louis and Rowland for your help,
Seems samba version in Ubuntu 18.04 was the key, (Samba version 4.7.6-Ubuntu).
I was using an old smb.conf that has always worked on my Ubuntu 16.04 workstations:
[global]
realm = XX.DOMAIN.COM
workgroup = XX
security = ADS
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
idmap config *:backend = tdb
idmap
2020 Mar 09
0
mount share using kerberos ticket fails
Did you "deleated the computer object" to allow kerberos services.
And did you add the CIFS/spn to the computer and keytab ?
https://wiki.samba.org/index.php/Generating_Keytabs
If its a member, which i assume.
kinit Administrator
net ads keytab add cifs/$(hostname -f) -k
net ads keytab add_update_ads -k
Add these and it should work.
You might need to restart or reboot., sometimes
2020 Mar 09
3
mount share using kerberos ticket fails
Hi list,
I joined a workstation (Debian 10, Samba from distribution) to our AD
domain (Windows 2012 Server). The domain ends by ".local" (yes I know,
not my fault).
However, after a domain user logged to the machine, I can't mount a
share that exists on the AD server using user's kerberos ticket: it
fails with error "Required key not available".
Mounting using
2020 Mar 09
1
mount share using kerberos ticket fails
After re-join
kinit Administrator
net ads keytab add cifs/$(hostname -f) -k
net ads keytab add_update_ads -k
samba-tool delegation for-any-service COMPUTERNAME$ on
( or use : delegation add-service accountname principal [options] )
Reboot
Should work now. ;-)
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Yvan
2012 May 19
1
Fwd: pam_mount configuration for users home directories from server to client
Hi,
I have a debian server with ldap, samba, smbldap-tools installed and
ubuntu clients. I set pam_mount to mount the user's home directories
from the ldap-samba server (amahoro) on the clients at login time and
this runs.
On the server the user's home directories are stored in
"/users" like "/users/username".
Logging by gdm appears the message: "Could not
2018 Jun 26
1
Fwd: Re: Ubuntu 18:04 not getting 'home' directory from DC
Sorry for the delayed response,
Louis,
I'm not sure how to tell about having "cifs/UPN" - Please advise.
I was able to mount with sec=krb5 after the user is logged in but that does not help getting "home" mounted during the login.
But here is where I am now:
I have been able to pam_mount "home" during the login but could not get the ACLs during the mount
2017 Feb 08
2
cifs-utils: regression in (mulituser?) mounting 'CIFS VFS: Send error in SessSetup = -126'
Hello,
On Debian 9 (stretch prerelease) I am able to mount with the following
command with root using the following command:
mount -t cifs //smb.physics.wisc.edu/smb /smb
-osec=krb5,multiuser,username=smbadmin at PHYSICS.WISC.EDU --verbose
root can also access files as expected
However, when cifs-utils 6.6-5 is installed, a different user cannot
access as expected:
ls /smb
ls: cannot
2013 Apr 11
1
Samba4 Does cifs need a keytab for the multiuser option?
Hi
samba --version
Version 4.0.6-GIT-4bebda4
smb.conf:
[users]
path = /home/users
read only = No
Working on the DC which is also the fileserver
user steve2 can write to his folder at /home/users/steve2
But if we now mount the share:
sudo mount -t cifs //doloresdc/users /mnt -osec=krb5,multiuser
he can't write to the mounted share at /mnt/users/steve2 He gets
'Permission denied'.
2012 May 06
0
Cannot mount users home directories from a samba server
Hi,
as subject, i cannot mount users?s home directory after login on a
client. i configured pam_mount:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
See pam_mount.conf(5) for a description.
-->
<pam_mount>
<!-- debug should come before everything else,
2010 Jul 30
0
ANNOUNCE: cifs-utils release 4.6 available for download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It has been a while since I've cut a new release for cifs-utils. This
one has more visible changes than were in the last few releases. Major
highlights:
- - documentation additions for the fsc option
- - mount.cifs deals with _netdev, mand and nomand options correctly now
- - a change in how mount.cifs handles the MS_MANDLOCK flag. It used to
2017 Feb 10
0
cifs-utils: regression in (mulituser?) mounting 'CIFS VFS: Send error in SessSetup = -126'
On Fri, 2017-02-10 at 15:14 -0500, Simo Sorce wrote:
> On Fri, 2017-02-10 at 14:29 -0500, Jeff Layton wrote:
> > On Fri, 2017-02-10 at 14:14 -0500, Simo Sorce wrote:
> > > On Fri, 2017-02-10 at 13:30 -0500, Jeff Layton wrote:
> > > > On Fri, 2017-02-10 at 12:39 -0500, Jeff Layton wrote:
> > > > > On Fri, 2017-02-10 at 11:15 -0600, Chad William Seys
2019 Oct 25
1
net ads join -- strange message
hello,
Le 23/10/2019 ? 12:45, Rowland penny via samba a ?crit?:
> On 23/10/2019 10:51, nathalie ramat via samba wrote:
>> Hello,
>>
>> I have an server ad? - everything seems ok
>> I have a windows client and a linux client . The users must to
>> connect on windows or on linux with the same home.
>>
>> when I join my client linux with the command net
2017 Feb 11
2
[RFC][cifs-utils PATCH] cifs.upcall: allow scraping of KRB5CCNAME out of initiating task's /proc/<pid>/environ file
Chad reported that he was seeing a regression in cifs-utils-6.6. Prior
to that, cifs.upcall was able to find credcaches in non-default FILE:
locations, but with the rework of that code, that ability was lost.
Unfortunately, the krb5 library design doesn't really take into account
the fact that we might need to find a credcache in a process that isn't
descended from the session.
When the
2013 May 26
1
samba3 file-server crash for Samba4 DC
Hi
I have a s3 fileserver joined to a s4 DC
Here is smb.conf on the fileserver:
[global]
workgroup = HH3
realm = HH3.SITE
security = ADS
kerberos method = system keytab
winbind enum users = Yes
winbind enum groups = Yes
idmap config *:backend = tdb
idmap config *:range = 3000-4000
idmap config HH3:backend = ad
idmap config HH3:range = 20000-40000000
idmap config HH3:schema_mode = rfc2307
winbind
2017 Feb 13
0
[cifs-utils PATCH] cifs.upcall: switch group IDs when handling an upcall
Currently, we leave the group ID alone, but now that we're looking at
KRB5CCNAME, we need to be a little more careful with credentials. After
we get the uid, do a getpwuid and grab the default gid for the user.
Then use setgid to set it before calling setuid.
Signed-off-by: Jeff Layton <jlayton at samba.org>
---
cifs.upcall.c | 37 +++++++++++++++++++++++++++++++++++++
1 file changed,
2017 Feb 09
0
cifs-utils: regression in (mulituser?) mounting 'CIFS VFS: Send error in SessSetup = -126'
Chad William Seys via samba <samba at lists.samba.org> writes:
> But when cifs-utils 6.4-1 is installed (from jessie) the different
> user can access as expect. AFAIK there are no other differences besides
> the cifs-utils version.
Not counting any distro-specific patches it seems cifs.upcall only had 5
commits affecting it between these 2 releases:
$ git log