← Back to team overview

enterprise-support team mailing list archive

[Bug 1815019] [NEW] offline logon doesnt works in ubuntu 18.04

 

Public bug reported:

I have configured pam_winbind to permit logon to domain samba3 users and
all seems to works as expected. Then I have added the offline logon
adding "winbind offline logon = yes" to smb.conf and adding
"cached_login=yes" to /etc/security/pam_winbind.conf. Unfortunately
logon doesn't seems to works if there is no connection to the domain
controller lan...

When I am online in /etc/log/auth.log I can see a correct authentication:
Feb  7 09:50:24 103note0512 sudo: DOMAIN\user : TTY=pts/2 ; PWD=/home/DOMAIN/user ; USER=root ; COMMAND=/usr/bin/whoami
Feb  7 09:50:24 103note0512 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb  7 09:50:24 103note0512 sudo: pam_unix(sudo:session): session closed for user root

but if I disconnect from the network in auth.log I find the following:
Feb  7 09:51:34 103note0512 sudo: pam_unix(sudo:auth): conversation failed
Feb  7 09:51:34 103note0512 sudo: pam_unix(sudo:auth): auth could not identify password for [DOMAIN\user]
Feb  7 09:51:34 103note0512 sudo: DOMAIN\user : 1 incorrect password attempt ; TTY=pts/2 ; PWD=/home/DOMAIN/USER ; USER=root ; COMMAND=/usr/bin/whoami
Feb  7 09:51:47 103note0512 sudo: pam_unix(sudo:auth): authentication failure; logname= uid=21046 euid=0 tty=/dev/pts/2 ruser=DOMAIN\user rhost=  user=DOMAIN\user

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libpam-winbind 2:4.7.6+dfsg~ubuntu-0ubuntu2.6
ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18
Uname: Linux 4.15.0-45-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Feb  7 09:25:55 2019
InstallationDate: Installed on 2018-08-24 (166 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions:
 nautilus 1:3.26.4-0~ubuntu18.04.3
 gvfs     1.36.1-0ubuntu1.2
SambaClientRegression: Yes
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1815019

Title:
  offline logon doesnt works in ubuntu 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1815019/+subscriptions


Follow ups