Re: [newbie] question MCC, samba and /etc/init.d

2002-11-18 Thread Stephen Kuhn
On Mon, 2002-11-18 at 21:38, Stormjumper wrote:
 i'm wondering where samba is usually started in Mdk 8.2.
 
 the reason i'm asking is that everytime i wanna access my
 mdk 8.2 box from any windoze machine, i've to ssh in,
 and manually kill (as root) the most recent smbd process
 before i can successfully access it, else windoze will pop
 up a dialog box saying the \\Mandrake is not accessible
 
 fwiw, smbd and nmbd will show up in a 'ps -u root' as processes
 that started at boot time, then another smbd process will show
 up the moment the mdk8.2 box is accessed by a win machine.
 
 therefore, i'm suspecting that somehow, something is starting
 smbd for an extra and unnecessary time, causing the problem.
 
 any ideas, anyone?
 
 regards

Have you configured SAMBA through SWAT? If Samba is configured properly,
you should have no problems in accessing anything that you've setup to
share via SMB...so it would have me wondering if there's something hosed
up in your /etc/samba/smb.conf that is denying you access to the MDK
box..

-- 
Tue Nov 19 06:35:00 EST 2002


|____  |
|   /  \ /| |'-.   |
|  .\__/ || |   |  |
|   _ /  `._ \|_|_.-'  |
|  | /  \__.`=._) (_   |kuhn media australia
|  |/ ._/  || |http://kma.0catch.com
|  |'.  `\ | | |stephen kuhn
|  ;/ / | | |email: [EMAIL PROTECTED]
|  smk  ) /_/| |.---.| |mobile: 0410-728-389
|  '  `-`'   |linux user:267497


I've got a very bad feeling about this.
-- Han Solo


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] question MCC, samba and /etc/init.d

2002-11-18 Thread Stormjumper
thank you stephen.

the issue is not so much my smb.conf,
since killing the 2nd smbd process solves the problems.

rather, i'm stumped as to which script/tool is starting
smbd the 2nd time.

if i can turn that off, my problem will be solved.

thanks

On 19 Nov 2002 06:39:44 +1100
Stephen Kuhn [EMAIL PROTECTED] wrote:

 On Mon, 2002-11-18 at 21:38, Stormjumper wrote:
  i'm wondering where samba is usually started in Mdk 8.2.
  
  the reason i'm asking is that everytime i wanna access my
  mdk 8.2 box from any windoze machine, i've to ssh in,
  and manually kill (as root) the most recent smbd process
  before i can successfully access it, else windoze will pop
  up a dialog box saying the \\Mandrake is not accessible
  
  fwiw, smbd and nmbd will show up in a 'ps -u root' as processes
  that started at boot time, then another smbd process will show
  up the moment the mdk8.2 box is accessed by a win machine.
  
  therefore, i'm suspecting that somehow, something is starting
  smbd for an extra and unnecessary time, causing the problem.
  
  any ideas, anyone?
  
  regards
 
 Have you configured SAMBA through SWAT? If Samba is configured
 properly, you should have no problems in accessing anything that
 you've setup to share via SMB...so it would have me wondering if
 there's something hosed up in your /etc/samba/smb.conf that is denying
 you access to the MDK box..
 
 -- 
 Tue Nov 19 06:35:00 EST 2002
 
 
 |____  |
 |   /  \ /| |'-.   |
 |  .\__/ || |   |  |
 |   _ /  `._ \|_|_.-'  |
 |  | /  \__.`=._) (_   |kuhn media australia
 |  |/ ._/  || |http://kma.0catch.com
 |  |'.  `\ | | |stephen kuhn
 |  ;/ / | | |email: [EMAIL PROTECTED]
 |  smk  ) /_/| |.---.| |mobile: 0410-728-389
 |  '  `-`'   |linux user:267497
 
 
 I've got a very bad feeling about this.
   -- Han Solo
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] question MCC, samba and /etc/init.d

2002-11-18 Thread Stephen Kuhn
On Tue, 2002-11-19 at 07:46, Stormjumper wrote:
 thank you stephen.
 
 the issue is not so much my smb.conf,
 since killing the 2nd smbd process solves the problems.
 
 rather, i'm stumped as to which script/tool is starting
 smbd the 2nd time.
 
 if i can turn that off, my problem will be solved.
 
 thanks
 

Have you checked through all of your init scripts? It is nice to be able
to start them manually - or at least after you've booted up (if you
reboot or turn off your machine). I used to run my SMB that way, but got
lazy with age and let it start automatically...

Were there any discrepancies in the SWAT or SMB configuration? And keep
in mind that smb and nbmd run hand-in-hand...it is rather strange, tho
that other instances of smb start up after a login attempt...hmmm...

-- 
Tue Nov 19 08:10:00 EST 2002


|____  |
|   /  \ /| |'-.   |
|  .\__/ || |   |  |
|   _ /  `._ \|_|_.-'  |
|  | /  \__.`=._) (_   |kuhn media australia
|  |/ ._/  || |http://kma.0catch.com
|  |'.  `\ | | |stephen kuhn
|  ;/ / | | |email: [EMAIL PROTECTED]
|  smk  ) /_/| |.---.| |mobile: 0410-728-389
|  '  `-`'   |linux user:267497


An elephant is a mouse with an operating system.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] question MCC, samba and /etc/init.d

2002-11-18 Thread Stormjumper
On 19 Nov 2002 08:15:31 +1100
Stephen Kuhn [EMAIL PROTECTED] wrote:

 On Tue, 2002-11-19 at 07:46, Stormjumper wrote:
  thank you stephen.
  
  the issue is not so much my smb.conf,
  since killing the 2nd smbd process solves the problems.
  
  rather, i'm stumped as to which script/tool is starting
  smbd the 2nd time.
  
  if i can turn that off, my problem will be solved.
  
  thanks
  
 
 Have you checked through all of your init scripts? It is nice to be
 able to start them manually - or at least after you've booted up (if
 you reboot or turn off your machine). I used to run my SMB that way,
 but got lazy with age and let it start automatically...
 
 Were there any discrepancies in the SWAT or SMB configuration? And
 keep in mind that smb and nbmd run hand-in-hand...it is rather
 strange, tho that other instances of smb start up after a login
 attempt...hmmm...

to be honest, i'm not really sure how to go thru my init scripts.
i tried as root in /etc 'grep -r smbd *' and it gave me a whole
list of stuff in init.d that i didn't have the confident to change.

i also figured that if my problems were with the 2nd instance,
fault shouldn't lie with init.d.

in fact, i would think that nmbd and smbd were correctly started
at boot, but an entry in inetd was spawning it again.
the problem with this line of thot is that mdk8.2 uses xinetd,
and i didn't find any references to smbd, (which may be 'cos
i'm not that familiar with xinetd and doesn't know where to look)

does any of this make sense?
does anyone know where smbd could possibly have been called from?

thanks.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com