Displaying 20 results from an estimated 2000 matches similar to: "pam_systemd(samba:session): Failed to create session: No such file or directory"
2020 Jun 23
0
pam_systemd(samba:session): Failed to create session: No such file or directory
On 23/06/2020 11:32, Alex via samba wrote:
> Hello,
>
> There's a file server running CentOS 7 with packaged Samba:
> # rpm -qi samba
> Name : samba
> Epoch : 0
> Version : 4.10.4
> Release : 11.el7_8
> Architecture: x86_64
> ...
> Source RPM : samba-4.10.4-11.el7_8.src.rpm
> Build Date : Tue 12 May 2020 04:31:13 PM UTC
> ...
>
2020 Jun 23
1
pam_systemd(samba:session): Failed to create session: No such file or directory
Hello Rowland,
No sssd in use:
# ps -ef|grep sssd
root 6909 23270 0 11:03 pts/2 00:00:00 grep --color=auto sssd
> On 23/06/2020 11:32, Alex via samba wrote:
>> Hello,
>>
>> There's a file server running CentOS 7 with packaged Samba:
>> # rpm -qi samba
>> Name : samba
>> Epoch : 0
>> Version : 4.10.4
>> Release :
2014 Jun 03
0
Wrong tty at autologin
Hello,
I am working on system that use systemd.
On host user session (uid=5000) starts automatically but in container I have following error message:
May 12 00:18:15 localhost user-session-launch[110]: pam_systemd(login:session): Asking logind to create session: uid=5000 pid=110 service=login type=tty class=user seat=seat0 vtnr=1 tty=tty1 display= remote=no remote_user= remote_host=
May 12
2016 Mar 09
4
libvirtd vs XDG_RUNTIME_DIR
I ran into an odd problem today. I wanted to share it here in the
hopes of maybe saving someone else some lost time.
When you run libvirtd as an unprivileged user (e.g., if you target
qemu:///session from a non-root account), then libvirt will open a
unix domain socket in one of two places:
- If XDG_RUNTIME_DIR is defined, then inside
$XDG_RUNTIME_DIR/libvirt/libvirt-sock
- If
2020 Jul 15
3
Samba upload from windows restricted to 1KB
Hi Samba users,
Out recently setup samba share from Linux box to a windows machine resulted
in every upload restricted to 1KB in size regardless of the original file
size.
However uploading from other Linux using SMB has no issues.
We have turned on samba log level 3.
Any idea what going on here?
Thanks
Anand
2020 Jul 01
3
Samba-4.10.4 strange behaviour
Hello All,
I'm new to the list and I don't have much of experience with samba.
I have a test setup on CentOS 7.8 with samba-4.10.4 and samba-vfs-glusterfs .
When my client mounts the samba share via vers=1.0 , the user sees the share properly (uid,gid,mode are just like on gluster). When the share is mounted with vers=2.0 or not specified (anything higher) the files are owned by
2020 Sep 01
2
Unable to create subdirectories/files in samba mount when using vfs objects = glusterfs
Hi Team,
I am trying to setup a samba CTDB cluster to export gluster volme as samba share. While CTDB cluster works well, I ran into an issue with creating subdirectories and also creating files/directories within subdictories when accessing the share from both linux and windows servers.
Setup details :
We have a three node cluster with nodes snode1, snode2 and snode3. I have a
2020 Jul 01
3
help for join AD domain failure troubleshooting
Hi team,
I meet problem when join AD domain with Samba failed, want to get
some help from community, please let me put details.
1. Problem
When run "net ads join -U username" on Linux client to join AD domain,
it failed with error message:
"""
Failed to join domain: Failed to set machine spn: Operations error
Do you have sufficient permissions to create machine
2020 Jul 01
3
Samba-4.10.4 strange behaviour
Hi Felix,
thanks for the share.
Sadly it doesn't work and I don't know how to start debugging this one.
I tried your config (had to switch from domain member to standalone) but it's the same:
[global]
??????? netbios name = yourName
??????? workgroup = yourWorkgroup
??????? realm = YourRealm
??????? log file = /var/log/samba/log.%m
??????? max log size = 50
??????? security = ads
2015 Apr 29
2
Cron Issues
I have noanacron installed on a fresh centos 7 install.
I added this too settings.
nano /etc/cron.d/0hourly
*/5 * * * * root run-parts /etc/cron.fiveminutes
*/1 * * * * root run-parts /etc/cron.minute
0,30 * * * * root run-parts /etc/cron.halfhour
and then created the directories for it. Now I keep getting these
errors in secure log.
**** pam_systemd(crond:session): Failed to create session:
2015 Oct 22
2
Centos User Privileges.
Hi list,
I've installed C 7.1.1503 and I've noticed that simple user can run from
bash shutdown -h now/reboot without getting special permission (sudo,
su). The machine is a VM without GUI (tested also on physical machine).
From reddit I've got a suggestion: removing/comment out "-session
optional pam_systemd.so" in /etc/pam.d/system-auth the problem is solved.
This is a
2015 May 08
4
ldap host attribute is ignored
>> But instead i get
>> centos: sshd[7929]: pam_unix(sshd:session): session opened for user
>> <username>
>
> "pam_unix" should be an indication that <username> appears in the local
> unix password files. Make sure that it doesn't.
Nope. None of the usernames i tried is in /etc/passwd or /etc/shadow
>
> What do /etc/pam.d/sshd and
2015 May 11
2
ldap host attribute is ignored
one more thing: firewalld service and selinux are deactivated.
On 05/11/2015 07:06 PM, Ulrich Hiller wrote:
> Hmmm...., i have made now a complete new install but the problem
> persists: ldap authentication works, but the host attribute is ignored.
>
> I have installed CentOS7 64bit with KDE.
> I did not do any 'yum update' or install of extra packages so far.
>
>
2020 Jul 17
2
Shares stopped working for groups
Hi,
I have a ClearOS 7.8 system which is running
samba-4.10.4-11.el7_8.x86_64, and it upgraded to this just over a week
ago (probably not relevant). A couple of days ago all the group shares
failed. I discovered that if I switched them to the built-in group
"allusers" the share worked fine. It fails for any user-defined group
but it used to work. Samba is running as a PDC and the
2020 Jul 06
2
Permission denied for home, even when it's 777
I cannot access home samba share from windows. Windows client displays a
permission denied error. The problem is not Linux permissions for the user
directory, permission is still denied when permissions are to 777. I don't
think the problem is selinux, because no denials appear in any logs. I don't
think it's an extended attributes issue from xfs, because I don't see any
attributes
2010 May 15
3
multi-homed samba PDC and NetApp filers
We are having a problem getting a NetApp filer to re-join a samba
domain after a move to a new network. The filer worked fine with
samba before the move. Apologies in advance for the long missive.
I've tried the following:
- re-running the CIFS setup program on the filer
- removing the problem filer's samba account, replacing it, and
re-running the setup program on the filer
2006 Jul 13
3
Corrupted Indexes - again...
I am still getting these in my maillog:
Jul 13 07:39:38 pop5.cfu.net dovecot: IMAP(breu at cfu.net): Corrupted index
cache file
/var/spool/mail/filer/storage//cfu.net/b/r/breu/dovecot.index.cache:
invalid record size
Jul 13 09:35:03 pop5.cfu.net dovecot: IMAP(breu at cfu.net): Corrupted index
cache file
/var/spool/mail/filer/storage//cfu.net/b/r/breu/dovecot.index.cache:
invalid record size
2008 Apr 28
1
SAMBA with NetApp filer
I'm newbies in SAMBA and NetApp filer , I use Filer with OpenLDAP as an
authentication and authorization server , but look like NetApp doesn't
work properly
( can't authentication ) , NetApp engineer suggest me that NetApp work
properly with pure
ActiveDirectory Environment. not SAMBA + OpenLDAP backend like me have.
so I solve this problem by make Samba as native PDC and use
2018 Jan 16
2
SSH with User in Member Domain
Hi!!
I dont sucess in ssh with user my domain, in my Filserver(Member)
Samba 4.7.3 Compilated
Ubuntu 16.04
# smb.conf
[global]
workgroup = XXXXX
realm = INTERNO.XXX.XXXX.BR
security = ADS
username map = /usr/local/samba/etc/user.map
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
winbind cache time =
2016 Mar 28
2
Unable to join DC to domain
Alright... appreciate the info. Gave it a shot. Domain is still up but
shares are down because they were hosted on FILER which has now been
demoted and is no longer running any samba services.
What I did while following the wiki "Transfer/Seize FSMO Roles":
1) logged on to FILER, ran samba-tool fsmo show, verified all 7 roles were
owned by FILER.
2) logged on to CBADC01, executed