Samba on RedHat 9.0

Sharky Forums


Results 1 to 6 of 6

Thread: Samba on RedHat 9.0

  1. #1
    Tiger Shark GrayCalx's Avatar
    Join Date
    Nov 2000
    Location
    Northern VA
    Posts
    569

    Samba on RedHat 9.0

    I'm pretty much a Linux newbie, and I was hoping someone could help me out. I got the OS installed, running GNOME. I loaded the samba package, shared out a directory, AND changed to my windows WORKGROUP. I can actually see the machine from my windows machine as "samba server (localhost)". When i try to connect I get an error "\\localhost is not accessible... You were not connected because a duplicate name exists on the network."

    Now... I figure its because on my Linux machine under network its name is LOCALHOST.LOCALDOMAIN, which is what it defaulted too. I can't change this without an error from Gnome when i log in to that machine.

    Any suggestions would be great. Like I said I'm a newbie so I'm basically just changing things hoping it works.

    Thanks all.
    XP 1600+
    MSI KT333
    512 PC2700
    AOpen Geforce4 4200

  2. #2
    Lurking all the time cranch's Avatar
    Join Date
    Oct 2000
    Location
    Minnesota
    Posts
    2,017
    do you have any lines besides the following in your /etc/hosts file?

    127.0.0.1 localhost

    If thats it, try putting your IP and a fully-qualified domain name in there such as:

    10.1.1.200 mymachine.mynetwork.com

    Does the GNOME error go away?

  3. #3
    Tiger Shark linoleum's Avatar
    Join Date
    Feb 2003
    Posts
    899

    Lightbulb

    Your host name and your netbios name don't have to be the same. You can set it in /etc/samba/smb.conf under the [global] section.
    Code:
    [global]
      workgroup = yourworkgroup
      netbios name = namegoeshere
      ...

  4. #4
    Tiger Shark GrayCalx's Avatar
    Join Date
    Nov 2000
    Location
    Northern VA
    Posts
    569
    I messed around a lot and got it working. I think it was a combination of my linux machine being named LOCALHOST which i changed. I also think it might have been issues with associating the correct windows user in samba.

    BTW : RH 9.0, did away with SWAT (samba web access) and it has a client app to change settings... very handy.

    Thanks for the advice.
    XP 1600+
    MSI KT333
    512 PC2700
    AOpen Geforce4 4200

  5. #5
    Anime Lovin' Girl Mod sourdaisy's Avatar
    Join Date
    Oct 2000
    Location
    Albuquerque, NM (aka /dev/null)
    Posts
    1,940
    Originally posted by GrayCalx
    I messed around a lot and got it working. I think it was a combination of my linux machine being named LOCALHOST which i changed. I also think it might have been issues with associating the correct windows user in samba.

    BTW : RH 9.0, did away with SWAT (samba web access) and it has a client app to change settings... very handy.

    Thanks for the advice.
    SWAT is still there, it just doesn't install it by default.
    "Programming graphics in X is like finding the square root of PI using Roman numerals."
    -Henry Spencer

  6. #6
    Great White Shark
    Join Date
    Jun 2002
    Posts
    7,136
    I've got some really good info/how-to stuff for Samba if you want it. PM me with an email address so that I can send it as an attachment if you are interested.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •