Bug 6149 - configuration "winbindd: socket dir" doesn't work for pam_winbind
configuration "winbindd: socket dir" doesn't work for pam_winbind
Status: RESOLVED WONTFIX
Product: Samba 3.2
Classification: Unclassified
Component: Winbind
3.2.8
All All
: P3 major
: ---
Assigned To: Michael Adam
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-02 04:08 UTC by Zhou Weikuan
Modified: 2010-04-26 03:13 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 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"