Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

samba custom log failure

$
0
0
Hello all,
I have a question regarding samba custom log, specifically writing a log for a remote machine.
I'm using samba client/server 4.1.6-3.18.1 x86_64

In my [Global] config, I have the following line:
"logfile = /var/log/samba/%m.log"

However, when I connect to the share, I get the following in the log.smbd file:

"[2014/06/13 11:55:25.902027, 0] ../lib/util/debug.c:595(reopen_logs_internal)
Unable to open new log file '/var/log/samba/acer.log': Permission denied

[2014/06/13 12:05:12.347411, 0] ../lib/util/debug.c:595(reopen_logs_internal)
Unable to open new log file '/var/log/samba/192.168.10.2.log': Permission denied"

I've even created the files, with the same result. I've tried changing directory and file permissions to 777, 'group' to users, 'owner' to sambausr (my only samba user) but, no joy. Am I missing something? Other than that, Samba works fine, well, sort of, but thats for another thread.

Thanks

Viewing all articles
Browse latest Browse all 40713

Trending Articles