[Samba] Problem in samba configuration with number of logins without network
Alejandro Canelles
alejandrocanelles at gmail.com
Wed Feb 16 17:06:45 UTC 2022
Problem in samba configuration with number of logins without network
I need more than one logins cache per domain by default. Only one is
allowed and I need to enable more
If I can't, I need to delete from the PAM the one that was already stored
to be able to store another
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
my /etc/samba/smb.conf
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[global]
workgroup = DTCF
security = ADS
realm = DTCF.ETECSA.CU
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
lock directory = /var/cache/samba
winbind use default domain = yes
winbind offline logon = yes
winbind refresh tickets = yes
winbind max domain connections = 10
idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config DTCF : backend = rid
idmap config DTCF : range = 100000-200000
idmap cache time = 31536000
template shell = /bin/bash
template homedir = /home/%U
log file = /var/log/samba/%m.log
log level = 1
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
my /etc/security/pam_winbind.conf
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[global]
# request a cached login if possible
# (needs "winbind offline logon = yes" in smb.conf)
cached_login = yes
# password expiry warning period in days
warn_pwd_expire = 30
# create homedirectory on the fly
mkhomedir = yes
More information about the samba
mailing list