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

steve steve at steve-ss.com
Sat Sep 29 02:32:40 MDT 2012


On 29/09/12 02:45, Jun Yi 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
>

Hi
Try running it as root instead.
HTH
Steve



More information about the samba mailing list