diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-03-23 11:22:15 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-03-23 12:19:29 +1100 |
commit | 7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4 (patch) | |
tree | f59ffd7ecfce970f50bc01a52d101f17649a2aa3 | |
parent | 6e8b6358ecc7dbebe9681d8e906f82993d0465df (diff) | |
download | samba-7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4.tar.gz samba-7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4.tar.bz2 samba-7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4.zip |
s3-config: say which config file we failed to open
saves having to strace it to work that out
-rw-r--r-- | source3/nmbd/nmbd.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 2 | ||||
-rw-r--r-- | source3/winbindd/winbindd.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 2aa896476f..9796815b27 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -851,7 +851,7 @@ static bool open_sockets(bool isdaemon, int port) DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE)); if (!lp_load_initial_only(get_dyn_CONFIGFILE())) { - DEBUG(0, ("error opening config file\n")); + DEBUG(0, ("error opening config file '%s'\n", get_dyn_CONFIGFILE())); exit(1); } diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 37c97049b8..17762e34c8 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1034,7 +1034,7 @@ extern void build_options(bool screen); } if (!lp_load_initial_only(get_dyn_CONFIGFILE())) { - DEBUG(0, ("error opening config file\n")); + DEBUG(0, ("error opening config file '%s'\n", get_dyn_CONFIGFILE())); exit(1); } diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 47d8be6178..86c328593a 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -1318,7 +1318,7 @@ int main(int argc, char **argv, char **envp) DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE)); if (!lp_load_initial_only(get_dyn_CONFIGFILE())) { - DEBUG(0, ("error opening config file\n")); + DEBUG(0, ("error opening config file '%s'\n", get_dyn_CONFIGFILE())); exit(1); } |