P. 1
Samba

Samba

|Views: 167|Likes:
Publicado porNurul Istiqomah

More info:

Published by: Nurul Istiqomah on Dec 14, 2010
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

02/21/2014

pdf

text

original

Why all this fuss? To get to the point,if you’re running an application from an SMB/CIFS
share and you restart Samba,the Windows application will crash every time.Consider this
carefully. This means that if you plan to have your users running Windows applications
from a Samba share and you restart Samba,all the applications running from the network
will crash,possibly bringing down the entire OS with it if the client machine is running
Windows 95/98. This creates a difficult-to-administrate environment,and a potentially
unstable one. If you do choose to run Windows applications over the network,you should
stay away from SWAT’s restart smbdbutton,which actually kills and restarts smbd.
Instead,tell smbdto reread its configuration file by sending it aSIGHUPcommand from
the UNIX side,typically by typing this:

kill -SIGHUP 321

In this example,321is the process ID of the main smbdprocess. Using a SIGHUPcommand
will cause Samba to reread its configuration file after a short period of time,typically
at least two minutes. Although your changes to the smb.conffile will not take effect instan-
taneously,using SIGHUPwill allow any applications running from an SMB/CIFS share to
continue proper operation as you add shares,change permissions,and so on.

Using Samba to Install,Configure,and Host Windows Software

CHAPTER28

793

28

U

S
I
N
G

S

A
M
B
A

W
I
T
H

W

I
N
D
O
W
S

S

O
F
T
W
A
R
E

32 8628 CH28 3/17/00 2:11 PM Page 793

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->