[Samba] Samba wants "chdir"

Helmut Hullen Hullen at t-online.de
Mon Aug 31 08:52:00 MDT 2009


Hallo,

one of my colleagues has problems with Samba (V 3.0.32).

Samba runs on a Linux server (Slackware 2.6.29.6), some clients are  
attached via a Windows Terminalserver.

Wiederum war auf dem Windows-TS 1(!) User in die Arktur3.6 -Domäne für ca 20
Minuten angemeldet und hat dabei ca 4400 Meldungen in die /var/log/messages
geschrieben.
Diese beginnen mit:

(my bad translation: 1 client was attached, it produced about 4400  
messages within 20 minutes)

Aug 31 10:09:21 Server smbd[20793]: [2009/08/31 10:09:21, 0] lib/debug.c:
reopen_logs(597)
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

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.

Viele Gruesse!
Helmut


More information about the samba mailing list