I have emerge samba-3.0.7-r1 without error, but i see in /var/log/samba/log.smbd this: gentoonet samba # more log.smbd [2004/10/14 14:39:43, 0] smbd/server.c:main(760) smbd version 3.0.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/10/14 14:39:43, 0] lib/debug.c:reopen_logs(590) Unable to open new log file /var/log/samba3/log.smbd: No such file or director y [2004/10/14 14:39:43, 0] lib/debug.c:reopen_logs(590) Unable to open new log file /var/log/samba3/log.smbd: No such file or director y Where is this directory ? Reproducible: Always Steps to Reproduce: 1. 2. 3.
It's the default logdir instead of /var/log/samba It might be writing to /var/log/samba/log.foo because it's specified in your config files. If you don't want to use /var/log/samba3 you can safely ignore it. You can, as root create it, but it's purely optional : mkdir -m 700 /var/log/samba3
its a configuration issue, as jason already explained, change the value in your smb.conf or ceate this directory, then everything should work.