Bug 4710 - Conf param 'root dir' prevents auth module from loading.
Summary: Conf param 'root dir' prevents auth module from loading.
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.25
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-19 05:41 UTC by jan
Modified: 2007-06-19 05:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jan 2007-06-19 05:41:45 UTC
As far as I can see, the smb.conf parameter 'root dir' prevents an auth module like 'script' from being loaded.

In auth/auth.c the initialize-function of the module is called. This calles itself load_auth_module(), which calls lib_path() which reads the lib path from the setting being set by the make file. These paths are absolute to the file system root dir and differ at runtime from the samba root dir set by the config parameter 'root dir'.

It seems not to help to specify the 'auth method' with the library name absolute according to samba root dir, since the entry in backends is different and auth_init_function_entry() returns false.