similar to: Samba, Kerberos, Autofs: Shares get disconnected

Displaying 20 results from an estimated 20000 matches similar to: "Samba, Kerberos, Autofs: Shares get disconnected"

2024 Feb 12
2
Samba, Kerberos, Autofs: Shares get disconnected
On Mon, 12 Feb 2024 09:38:01 +0100 "Pluess, Tobias via samba" <samba at lists.samba.org> wrote: > Good day > > please excuse my delayed response. > Thanks for the hint with the machine account. I will try this. > I realised I can also manually refresh Kerberos tickets. > > I have the following: > > $ klist > Valid starting Expires
2024 Feb 28
3
Samba, Kerberos, Autofs: Shares get disconnected
Hallo again, I would like to ask if there exists any possibility to have a Samba mount point with multiuser and with a credentials file or something similar. After a couple weeks testing I just find that my shares get disconnected after one week, which is not acceptable: I have stored some large project files on the Samba share which is opened in some calculation software, and simulations take up
2024 Feb 12
1
Samba, Kerberos, Autofs: Shares get disconnected
Good day please excuse my delayed response. Thanks for the hint with the machine account. I will try this. I realised I can also manually refresh Kerberos tickets. I have the following: $ klist Valid starting Expires Service principal 02/12/2024 08:39:44 02/12/2024 18:39:44 krbtgt/CAMPUS renew until 02/13/2024 08:39:40 so this ticket is valid until 12. February 18:39.
2024 Feb 07
1
Samba, Kerberos, Autofs: Shares get disconnected
Op 07-02-2024 om 12:27 schreef Rowland Penny via samba: > On Wed, 7 Feb 2024 11:57:28 +0100 > Kees van Vloten via samba <samba at lists.samba.org> wrote: > >> Op 07-02-2024 om 11:34 schreef Rowland Penny via samba: >>> On Wed, 7 Feb 2024 10:34:15 +0100 >>> Kees van Vloten via samba <samba at lists.samba.org> wrote: >>> >>>> Op
2024 Feb 28
1
Samba, Kerberos, Autofs: Shares get disconnected
On Wed, 28 Feb 2024 09:02:20 +0100 "Pluess, Tobias" <tpluess at ieee.org> wrote: > Hallo again, > > I would like to ask if there exists any possibility to have a Samba > mount point with multiuser and with a credentials file or something > similar. Yes, mount them from fstab with the machine ticket. After your last post, I set up a share on one of my DCs, then
2024 Feb 12
1
Samba, Kerberos, Autofs: Shares get disconnected
Dear Rowland of course, if the network is unreachable, this is also a problem for autofs. However, when a CIFS share is in the fstab and the network is unreachable, you cannot boot, as it waits forever to mount all your fstab entries, whereas with autofs, you can still boot, as there is nothing really mounted yet. I show you below my configurations of the server and client machines. On the
2024 Feb 28
1
Samba, Kerberos, Autofs: Shares get disconnected
On Wed, 28 Feb 2024 11:56:13 +0100 "Pluess, Tobias via samba" <samba at lists.samba.org> wrote: > Hi Rowland, > > I tried that. As follows: > > > > [root at machinename mnt]# kinit -k MACHINENAME$ Fairly sure I have said this already, but if I haven't, I will say it now: Do not use kinit to get the machines kerberos ticket, winbind has already
2024 Feb 28
1
Samba, Kerberos, Autofs: Shares get disconnected
Hi Rowland, I tried that. As follows: [root at machinename mnt]# kinit -k MACHINENAME$ [root at machinename mnt]# klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: MACHINENAME$@CAMPUS Valid starting Expires Service principal 02/28/2024 11:50:55 02/28/2024 21:50:55 krbtgt/CAMPUS at CAMPUS renew until 02/29/2024 11:50:55 [root at machinename mnt]# mount -t cifs
2024 Feb 28
1
Samba, Kerberos, Autofs: Shares get disconnected
Hi Rowland yes sure I know who user '0' is ;-) so where should the ticket be then? I just rebooted the PC and logged in via SSH as root. There is no ticket for the machine :-( even though, the Active Directory join seems to be OK, as "net ads testjoin" says so. I am still a bit lost on how I should proceed. To have this all working more or less, I just mounted the shares with
2024 Feb 29
1
Samba, Kerberos, Autofs: Shares get disconnected
On Thu, 29 Feb 2024 08:30:14 +0100 "Pluess, Tobias via samba" <samba at lists.samba.org> wrote: > Hi Rowland, > > thanks! > also, I would be highly interested in your manual how to set up a > computer for testing this, as you announced yesterday, when you have > some time! > > thanks > best > Tobias > > On Wed, Feb 28, 2024 at 4:48?PM Rowland
2024 Feb 28
1
Samba, Kerberos, Autofs: Shares get disconnected
On Wed, 28 Feb 2024 14:22:49 +0100 "Pluess, Tobias via samba" <samba at lists.samba.org> wrote: > Hi Rowland > > yes sure I know who user '0' is ;-) > so where should the ticket be then? > I just rebooted the PC and logged in via SSH as root. There is no > ticket for the machine :-( There is, you just cannot see it, mainly because it is in memory. >
2014 Sep 05
1
autofs + cifs + kerberos
I'm having an issue with autofs mounting cifs using kerberos, on machines joined to an S4 domain controller. Both hosts and S4 server are CentOS 6, and the DC is running samba-4.1.11 from sernet. Autofs is getting it's maps from LDAP from the DC. This part works fine, automount -m shows: Mount point: /share source(s): instance type(s): sss map: auto.share public |
2024 Feb 28
1
Samba, Kerberos, Autofs: Shares get disconnected
Hi Rowland, unfortunately, the DCs in use are Windows Servers, and furthermore, I don't have access rights. I just have the right to join computers. So therefore, I cannot run code on them, unfortunately! :-( Maybe this is the reason why it does not work properly for me? because the Windows AD DC is not working as expected? Thanks, best Tobias On Wed, Feb 28, 2024 at 4:02?PM Rowland Penny
2016 Oct 04
2
autofs and samba
Was trying to use autofs on ubuntu and mounting a samba shared failed. Then, i came across a note that 'unless you need to authenticate to cifs' -- wish I could find the exact quote now. The point is autofs fails to mount a windows server share. I can mount the share using mount.cifs but it fails with autofs. So I just thought I would check to see if anyone has pointers on using autofs on
2013 Aug 09
1
Autofs - can you mount only certain home dirs?
Does autofs take completed control of directories mentioned in auto.master? The examples with /home show that you can specify individual users instead of * and &, but even then it seems to take over the whole /home level so you can't see or add local subdirs. I have a small group of users/hosts where I would like to at least temporarily mix/match who is automounted or not. -- Les
2020 May 18
4
how does autofs deal with stuck NFS mounts and suspending to RAM?
Hi, after trying sshfs to mount a remote file system on a server with the result that sshfs will sooner or later get stuck and require a reboot of the client, I'm fed up with it and am looking for alternatives. So next I would like to use NFS over a VPN connection instead. To minimize the instances of the NFS mount getting stuck, it might be helpful to use autofs. What happens when the
2009 Sep 18
4
Autofs and Fedora 11
Hi! I'm having trouble accessing Samba shares via autofs. Let me begin by saying that I can access the samba shares directly using smbclient without any trouble. For example: smbclient //Matsa/Pisi works fine. I first started out by copying a config line from an older system (redhat 7) that has in its auto.misc: (all on one line, of course) pisi
2018 Jan 11
1
CentOS 7 autofs flakyness
I have a user who couldn't get in via WinSCP to a server. Got him to log in via putty, and that was fine. But he still couldn't get in the other way. At my manager's suggestion, I restarted autofs... and everything worked. Note that his home director5y was already automounted via NFS, after he logged in via putty. We've seen other, similar oddities with NFS. Is anyone else seeing
2015 Jun 17
5
AutoFS mystery ...
I need a second pair of eyes here, please. I have a CentOS 6.6 server (let's call it 'S1") that has a Samba share on it that is currently working. We can mount that drive on our Windows work stations and transfer/delete from it just fine. It's setup as a "guest" config so no user specific passwords or any other restrictions like that. I'm trying to setup another
2009 Mar 13
1
User home directories on a windows server question.
Okay I've run out of cool ideas and am hoping that someone can offer a brilliant solution to this problem. I'm attempting to deploy a RHEL 5.3 server as a shared ssh servers, user home directories are coming off a Windows 2008 fileserver. I though autofs would be the winning solution but it doesn't/can't mount the users home directory using kerberos, RedHat doesn't