similar to: Mounting Samba shares with Kerberos

Displaying 20 results from an estimated 10000 matches similar to: "Mounting Samba shares with Kerberos"

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 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
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 06
3
Samba, Kerberos, Autofs: Shares get disconnected
Hi, I am still trying to figure out the best settings for Samba and Kerberos with autofs. My setup so far works good, users can log in on their computers using AD credentials, and they can access network shares with AD credentials as well. This works perfect. Also I notice that some Kerberos ticket is created upon user login, which allows the users to access a Samba share without entering the
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
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 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 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 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
2020 Mar 10
2
mount share using kerberos ticket fails
> That is what I did. But it fails even when mounting manually: > 1. Connect on the desktop using domain user "yvan.masson" (either > graphically / TTY / SSH). Kerberos ticket is properly created. > 2. Running "sudo mount -t cifs //ad.FOO.BAR.LOCAL/Echange /mnt -o > user=yvan.masson,cruid=yvan.masson,sec=krb5" fails with "Required key > not
2006 Feb 03
4
Unable to mount SMB drive
I have a Windows Server 2003 system I'm trying to back up to a Linux host. when I access the share with smbclient, I can "see" the files (`ls` returns a list of files, etc) smbclient -U shareuser //server/sharename password But, when I try to actually mount the drive, I get "permission denied" errors trying to access the drive. (EG: using `df`) Running the following
2003 Nov 18
1
Need mount -t smbfs to be world/group writable & not only root
Hi, Need some pointers. Currently using mount -t smbfs -o username=xxx,pasword=xxx //servername/sharename /mnt/share Since I can only mount as root, (not in /etc/fstab) sudo mount -t smbfs -o username=xxx,pasword=xxx //servername/sharename /mnt/share Problem here is.. I can't get group or world writeable permission on the share. It's a NTFS share but that is not a problem. I can
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
2020 Mar 10
3
mount share using kerberos ticket fails
Le 10/03/2020 ? 10:37, Rowland penny via samba a ?crit?: > On 10/03/2020 09:18, Yvan Masson via samba wrote: >> If think I did not properly explain my setup, sorry for that: Samba >> here is not sharing anything. It is just used for joining a Windows >> domain, so that users can sit on a chair in front of this Debian >> computer, use their domain credentials in
2020 Mar 10
2
mount share using kerberos ticket fails
Le 10/03/2020 ? 11:21, Rowland penny via samba a ?crit?: > On 10/03/2020 10:10, Yvan Masson via samba wrote: >> Le 10/03/2020 ? 10:37, Rowland penny via samba a ?crit?: >>> On 10/03/2020 09:18, Yvan Masson via samba wrote: >>>> If think I did not properly explain my setup, sorry for that: Samba >>>> here is not sharing anything. It is just used for
2005 Jul 20
1
Can mount shares but not "net use" them
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, I've made progress on my problems from earlier today, but have one final sticking point that's gumming up the works. On a WindowsXP box, I can access shares via \\server\sharename just fine. But if I do "net use L: \\server\sharename", I get "System error 67 has occurred. The network name cannot be found."
2001 Oct 18
2
share name doesn't appear
hi all I have compiled and running the latest samba (2.2.2) cause i need ldap authentication from samba. Things are working fine but when I browse the server from a windows client I just get the icons with no name of the shares displayed. Although I do get the share names if I try "smbclient -L srever". Also I do not get the share name when I use " net view \\server ". Since
2013 Mar 29
2
SaMBa 4 - Join domain DC
I can join the samba 4 (4.0.4) in a domain with active directory windows server 2012? Thanks -- Celso Vianna BSD User: 51318 http://www.bsdcounter.org Palmas/TO
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
2005 Apr 05
1
Can't mount samba share, Access denied
Hello, I have samba configured with the following smb.conf file: [global] workgroup = mydomain netbios name = servername security = domain printcap name = cups disable spoolss = yes show add printer wizard = no idmap uid = 15000-20000 idmap gid = 15000-20000 winbind use default domain = yes use sendfile = yes printing = cups [myshare] comment = My new share path = /export/myshare valid users =