Alejandro Canelles
2022-Feb-16 17:06 UTC
[Samba] Problem in samba configuration with number of logins without network
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
Rowland Penny
2022-Feb-16 17:23 UTC
[Samba] Problem in samba configuration with number of logins without network
On Wed, 2022-02-16 at 12:06 -0500, Alejandro Canelles via samba wrote:> Problem in samba configuration with number of logins without networkWhat do you mean by 'logins without network' ?> > I need more than one logins cache per domain by default. Only one is > allowed and I need to enable moreVery sure that you cannot do this ?> > > If I can't, I need to delete from the PAM the one that was already > stored > to be able to store anotherNothing to do with PAM, it is a winbind cache and you can clear that with 'net cache flush' as root, but this will clear all users. Why do you need to do this ? Rowland