> Aug 31 10:09:21 Server smbd[20793]: Unable to open new log file /var/log/ > samba/schulung.log: Permission denied > Aug 31 10:09:28 Server smbd[20793]: [2009/08/31 10:09:28, 0] smbd/service.c: > set_current_service(49) > Aug 31 10:09:28 Server smbd[20793]: chdir (/home/adm) failed > > > --------------------------------- > > a) why can't samba open this one file (but all other files in "/var/log/ > samba", for the clients which are connected directly to the server) > The file exists; root:root, 644
It would seem that if only root can write to the log file, and Samba doesn't have access, then Samba must not be root. Try deleting the file (if it exists) and set the folder to 777. Run Samba, then look for the log file and see who owns it. Probably the user trying to connect. > b) which machine or program asks "chdir /home/adm"? That's a DOS > command, no Linux command. > > "/home/adm" exists, it's a Samba share. Yes, it is a DOS command because you're receiving commands from a fancy version of DOS (i.e. Windows.) It's not a command, it's the name of the SMB/CIFS operation Samba is trying to perform. My guess is that whichever user Samba is running as does not have access to /home/adm. chmod a+x /home/adm should fix the problem ;-) Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
