Bug 8577 - pam_winbind should export DOMAIN_NAME to pam modules
Summary: pam_winbind should export DOMAIN_NAME to pam modules
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 3.6.0
Hardware: All Linux
: P5 major
Target Milestone: ---
Assignee: Michael Adam
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 20:50 UTC by Luiz Angelo Daros de Luca
Modified: 2016-12-14 00:32 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Angelo Daros de Luca 2011-11-04 20:50:54 UTC
Hello,

I'm using winbind with "winbind use default domain = yes". However, if the default domain is used, pam_mount does not have the information of which domain the user is from. I guess it gets the domain from the user name as there is no PAM_WINBIND_DOMAINNAME in pam data exports. In this case, %(DOMAIN_NAME) expands to a blank string.

Please, add the domain name to the export data in pam_winbind and make sure that it contains a domain name even in the case of default domain.
Comment 1 Björn Jacke 2016-12-14 00:32:28 UTC
"add the domain name to the export data in pam_winbind" doesn't make sense to me. pam_mount looks at the user name and splits it up. Just don't use the evel "winbind use default domain" parameter.