libnss-winbind truncates user names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Problem:
getent passwd lists a /etc/passwd like list of known users. If there are active directory users you may get an output like that:
AUTH\short#
AUTH\longername
At "longername" may should notice the truncation of TLD name .net to .ne
There are more issues arising from that, e.g.
su - longername#
Expected behavior:
getent passwd should display:
AUTH\short#
AUTH\longername
Config:
smb.conf
[global]
workgroup = AUTH
realm = auth.lan
netbios name = AD3
server role = active directory domain controller
dns forwarder = 192.168.117.1
auth methods = sam, winbind
server services = s3fs, winbind, rpc, nbt, wrepl, cldap, ldap, kdc, drepl, ntp_signd, kcc, dnsupdate, dns
dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver, remote, winreg, srvsvc
idmap_ldb:use rfc2307 = yes
idmap config *:backend = tdb
idmap config *:range = 10000-99999
idmap config AUTH : backend = ad
idmap config AUTH : range = 100000-999999
idmap config AUTH : schma_mode = rfc2307
winbind nss info = rfc2307
winbind trusted domains only = no
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind refresh tickets = Yes
[netlogon]
path = /var/lib/
read only = No
[sysvol]
path = /var/lib/
read only = No
involved packages:
ii libnss-
ii libpam-
ii libwbclient0:amd64 2:4.1.6+
ii winbind 2:4.1.6+
ii python-samba 2:4.1.6+
ii samba 2:4.1.6+
ii samba-common 2:4.1.6+
ii samba-common-bin 2:4.1.6+
ii samba-dsdb-modules 2:4.1.6+
ii samba-libs:amd64 2:4.1.6+
ii samba-vfs-modules 2:4.1.6+
ii libpam-
Other information:
Description: Ubuntu 14.04.3 LTS
Release: 14.04
libnss-winbind:
Installiert: 2:4.1.6+
Installations
Versionstabelle:
*** 2:4.1.6+
500 http://
500 http://
100 /var/lib/
2:
500 http://