Bug 6149 - configuration "winbindd: socket dir" doesn't work for pam_winbind
Summary: configuration "winbindd: socket dir" doesn't work for pam_winbind
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 3.2.8
Hardware: All All
: P3 major
Target Milestone: ---
Assignee: Michael Adam
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-03-02 04:08 UTC by Zhou Weikuan
Modified: 2010-04-26 03:13 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Zhou Weikuan 2009-03-02 04:08:47 UTC
Function get_winbind_pipe_dir in winbindd/winbindd_util.c accepts config "winbindd: socket dir" to specify socket directory in smb.conf, while in function winbindd_socket_dir in nsswitch/wb_common.c, the code is not updated. I don't think it is good to keep two functions of the same purpose. The latter should be the same as the first one.
Comment 1 Stefan Metzmacher 2010-04-26 03:13:01 UTC
The client code doesn't read the smb.conf.
This option is really only developers and 'make test'
where the client can be changed via an env var "WINBINDD_SOCKET_DIR"