[Samba] Why smbd (version 4.1.0) uses source3/smbd/server.c not source4/smbd/server.c

hceuterpe at gmail.com hceuterpe at gmail.com
Fri Sep 28 20:38:22 MDT 2012


At first glance, and it doesn't look like you are firing up the smbd daemon
as root. It has to be started as root, or else you definitely will see lots
of access denied errors against log files.
On Sep 28, 2012 7:45 PM, "Jun Yi" <yi.jun.mail at gmail.com> wrote:

> Dear everybody,
>
> Could anybody told me the reason? Does the code of samba 3 and samba 4 mix
> together in the master branch.
> How can I let smbd be compiled from source4/smbd/server.c?
>
> Thanks and Have a good weekend
>
> Jun
>
> The following is what I got from the command line:
>
> junyij-2.desktop$ ./smbd
> [2012/09/28 17:36:18,  0] ../lib/util/debug.c:592(reopen_logs_internal)
>   Unable to open new log file '/usr/local/samba/var/log.smbd': Permission
> denied
> [2012/09/28 17:36:18,  0] ../source3/lib/dumpcore.c:249(dump_core_setup)
>   Unable to setup corepath for smbd: Operation not permitted
> [2012/09/28 17:36:18,  0] ../lib/util/debug.c:592(reopen_logs_internal)
>   Unable to open new log file '/usr/local/samba/var/log.smbd': Permission
> denied
> [2012/09/28 17:36:18,  0] ../source3/smbd/server.c:1182(main)
>   smbd version 4.1.0pre1-DEVELOPERBUILD started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2012
> [2012/09/28 17:36:18,  0] ../source3/smbd/server.c:1197(main)
>   error opening config file '/usr/local/samba/etc/smb.conf'
>
>
> junyij-2.desktop$ ./smbd -V
> Version 4.1.0pre1-DEVELOPERBUILD
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba-technical mailing list