Regression in Winbind: Cannot map SID->UID when using read-only idmap-backend "ad", rfc2307 uids
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Fix Released
|
Medium
|
|||
samba (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: winbind
works: 2:3.2.3-1ubuntu3.4
broken: 2:3.3.2-1ubuntu3
Probably upstream issue.
Winbind specific parts of smb.conf:
> workgroup = DOMAIN
> security = ADS
> realm = DOMAIN.FQDN
> password server = *
> winbind separator = \\
> winbind enum users = yes
> winbind enum groups = yes
> idmap backend = ad
> idmap config DOMAIN : schema_mode = rfc2307
> winbind nss info = template
> winbind use default domain = yes
> winbind offline logon = yes
> idmap uid = 1100-49999
> idmap gid = 1100-49999
> template shell = /bin/bash
> template homedir = /home/%u
Details:
The following mappings work:
User-Name->SID, Group-Name->SID, SID->GID
What doesn't work:
SID->UID
The Samba-Docs suggest adding a writable idmap-backend. That doesn't help, since Samba ends up allocating mappings for all UIDs in the writable backend instead of using the ones in AD.
tags: | added: regression-potential |
tags: |
added: jaunty regression-release removed: regression-potential |
Changed in samba: | |
status: | Unknown → Confirmed |
Changed in samba: | |
status: | Confirmed → In Progress |
Changed in samba (Ubuntu): | |
importance: | Undecided → Low |
Changed in samba: | |
importance: | Unknown → Medium |
Changed in samba: | |
status: | In Progress → Fix Released |
I am not sure I understand the issue fully, so please bear with me if I am missing something.
Since the ad idmap backend *is* read-only, isn't it to be expected that you cannot change the "mapping" ? Was it even possible in an earlier version of Samba?
I am also curious about what you are trying to achieve. Are you trying to override the uid handed out from the AD for a specific user on a specific machine?