PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SAMBA und POSTEXEC-COMMAND



victor
12.12.01, 11:44
Hallo Linuxer,

ich hab ein Problem mit meinem Samba 2.2.2 unter Debian GNU/Linux "unstable":
Ich möchte per postexec command mein Upload nach *.eml absuchen und dann die Dateien im Upload auf meinen Desktop schieben - quasi wie eine Benarichtigung für mich das es dort was neues gab.
Das hat auch bis vor kurzem gefunkt, aber durch das Update auf die neuste Sambaversion funkt es nicht mehr (hab das ganze aber auch auf einen neuen Rechner übernommen). Ich musste auch im [global]-Bereich teilweise meine Einträge auskommentieren, da sonst das Samba gar nicht funktionierte - wenn mir da jemand noch einen Tip geben könnte wäre ich sehr dankbar.

--- smb.conf ---
[global]
workgroup = KIWI
netbios name = vicbrother
server string = http://www.vicbrother.de
encrypt passwords = No
map to guest = Bad Password
unix password sync = No
log level = 1
log file = /var/log/samba/log.smbd
max log size = 8192
# maxopenfiles = 4
# keepalive = 30
max disk size = 700000
message command = /bin/mail -s '%f@%M' victor@kiwi.uni-hamburg.de < %s; rm %s
# hosts allow = 192.168.255.0/255.255.255.0
# socket options = TCP_NODELAY IPTOS_LOWDELAY
# read raw = yes
# write raw = yes
# oplocks = yes
# max xmit = 65535
# dead time = 15
# getwd cache = yes
load printers = no
[UPLOAD]
path = /home/ftp/upload
public = yes
browseable =yes
read only = No
postexec = /bin/rm /home/ftp/upload/*.eml ; /bin/mv -f /home/ftp/upload/* /home/vic/Desktop/
create mask = 0755
force create mode = 0755
directory mask = 0777
guest ok = Yes
--- smb.conf ---

Danke im Vorraus,
Euer Vicbrother