Bug 4657 - pam_smbpass does not work
pam_smbpass does not work
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
x64 All
: P3 regression
: none
Assigned To: Guenther Deschner
Samba QA Contact
: 4661 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-05-24 09:31 UTC by Bartlomiej Solarz-Niesluchowski
Modified: 2007-05-29 04:55 UTC (History)
1 user (show)

See Also:

build fixes (1.38 KB, patch)
2007-05-24 10:04 UTC, Guenther Deschner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartlomiej Solarz-Niesluchowski 2007-05-24 09:31:18 UTC
pam_smbpass does not work reasons are two:
1. in makefile there is a typo in one place it is used PAM_SMBPASS_OBJ_0 for defining objects BUT in linking tehre is used different one PAM_SMBPASS_OBJ
2. i think that pam_smbpass needs for working to be linked with libsmbclient because without this pam reports [error: /lib64/security/pam_smbpass.so: undefined symbol: map_nt_error_from_unix]
Comment 1 Guenther Deschner 2007-05-24 10:04:27 UTC
Created attachment 2727 [details]
build fixes

Can you please try this patch?
Comment 2 Bartlomiej Solarz-Niesluchowski 2007-05-24 11:33:44 UTC
This patch works BUT

on my samba source

line must look like:

Comment 3 Guenther Deschner 2007-05-24 15:39:37 UTC
Yeah, I diffed against 3_0 and forgot.

All should work with revision 23121.

Thanks for the report.
Comment 4 Guenther Deschner 2007-05-29 04:55:53 UTC
*** Bug 4661 has been marked as a duplicate of this bug. ***