Welcome, Guest. Please login or register.

Author Topic: Problems with samba nmbd run from inetd  (Read 2743 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline DesvergerTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2004
  • Posts: 67
    • Show all replies
Problems with samba nmbd run from inetd
« on: September 29, 2004, 01:42:13 PM »
I have installed samba 2.0.7 and am having a problem.  The amiga can see the pc so I know I mostly have everything done right.

My problem is that nmbd is not running.  I have genesis configured to spawn nmbd with inetd.  I have not tryed a startup script yet that will run as a genesis event.  Also I have tried running nmbd as a daemon from the cli.  

All this produces the same result.  Whenever the pc tries to resolve the amiga's name nmbd tries to load and abnormally exits with a return code of 0x1 according to the genesis log.

Any ideas?
#################################################
Amiga A1200:
Blizzard 1260 w/ SCSI
20GB Hitachi 2.5\\" IDE
ACT MV1200 Scandoubler
3com 589 pcmcia ethernet

SCSI tower:
TEAC CDROM
External floppy
#################################################
 

Offline DesvergerTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2004
  • Posts: 67
    • Show all replies
Re: Problems with samba nmbd run from inetd
« Reply #1 on: September 29, 2004, 03:21:03 PM »
Quote

KennyR wrote:
Do you have a Samba:lib/lmhosts file made up? This is necessary for nmbd to find clients. Amiga samba doesn't handle dynamic IPs very well, and you'll probably have to map them yourself.


So I am now guessing that this would be different than the hosts config from genesis.  Sorry I'm not in front of the machine to check for sure.

Quote

Uhm, just one more piece of info, remember that to run nmbd as a daemon you must specify the -D perameter, and disable it in inetd.


I am currently running it from inetd. You're saying I should disable it in inetd and run it from a script? Also another question since you have a good grip on this.  How do you stop it once you've run it as a daemon?

Thanks.
#################################################
Amiga A1200:
Blizzard 1260 w/ SCSI
20GB Hitachi 2.5\\" IDE
ACT MV1200 Scandoubler
3com 589 pcmcia ethernet

SCSI tower:
TEAC CDROM
External floppy
#################################################
 

Offline DesvergerTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2004
  • Posts: 67
    • Show all replies
Re: Problems with samba nmbd run from inetd
« Reply #2 on: September 30, 2004, 03:14:56 AM »
Ok I added the lmhosts file and tried starting from inetd and from the command line as a daemon.  This thing just refuses to run.  I redownloaded and reinstalled 2.0.7 from aminet.  Same problem.  Is there anything else that could be causing this?
#################################################
Amiga A1200:
Blizzard 1260 w/ SCSI
20GB Hitachi 2.5\\" IDE
ACT MV1200 Scandoubler
3com 589 pcmcia ethernet

SCSI tower:
TEAC CDROM
External floppy
#################################################
 

Offline DesvergerTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2004
  • Posts: 67
    • Show all replies
Re: Problems with samba nmbd run from inetd
« Reply #3 on: September 30, 2004, 11:06:09 AM »
I tried to telnet to any every port that samba uses and it wouldn't connect.  Weird since I can access swat from my pc.

I tried logging in as root and it did the same thing.

I'm going crazy.  Help!
#################################################
Amiga A1200:
Blizzard 1260 w/ SCSI
20GB Hitachi 2.5\\" IDE
ACT MV1200 Scandoubler
3com 589 pcmcia ethernet

SCSI tower:
TEAC CDROM
External floppy
#################################################