Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
slitght samba problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thebassist
n00b
n00b


Joined: 31 May 2003
Posts: 12

PostPosted: Thu Jul 31, 2003 6:26 am    Post subject: slitght samba problems Reply with quote

Hey all, I've got a little problem running samba, in that it doesn't work.
I've got one machine setup with gentoo, and it's acting as a file server I can connect to it from my powerbook (OSX) and the desktop (WinXP). I've just installed gentoo on the desktop (duel boot with XP). Problem is that I can't see the samba shares, won't even connect to samba server.
Here's the smb.conf from the server THOR
Code:
[global]
        security = user
        workgroup = SHAQ
        netbios name = THOR
        wins support = yes
        server string = %h server (Samba %v)
        encrypt passwords = Yes
        syslog = 0
        max log size = 1000
        log file = /var/log/samba/samba.log.%m
        log level = 2
        invalid users = root
        hosts allow = 192.168.1.
        interfaces = eth0
        guest account = guest
 
[music]
        comment = Music
        path = /mnt/files/music
        read only = no
        writable = yes
        printable = no
        create mask = 0777
 
[muvids]
        comment = Music videos
        path = /mnt/files/muvids
        read only = no
        writable = yes
        printable = no
        create mask = 0777
 
[download]
        comment = downloaded files
        path = /mnt/files/downloads
        read only = no
        writable = yes
        printable = no
        create mask = 0777
 
[school]
        comment = school work
        path = /mnt/files/school
        read only = no
        writable = yes
        printable = no
        create mask = 0777
 
[backup]
        comment = backups
        path = /mnt/files/backup
        read only = no
        writable = yes
        printable = no
        create mode = 0777
 
[documents]
        comment = documents
        path = /mnt/files/documents
        read only = no
        writable = yes
        printable = no
        create mode = 0777
 
[pictures]
        comment = documents/pictures
        path = /mnt/files/documents/pictures
        read only = no
        writable = yes
        printable = no
        create mode = 0777
 
[media]
        comment = documents/media
        path = /mnt/files/documents/media
        read only = no
        writable = yes
        printable = no


Here's the smb.conf from the desktop DESKTOP
Code:
[global]
        security = user
        workgroup = SHAQ
        netbios name = DESKTOP
        wins support = yes
        server string = %n desktop (Samba %v)
        encrypt passwords = Yes
        syslog = 0
        max log size = 1000
        log file = /var/log/samba/samba.log.%n
        log level = 2
        invalid users = root
        hosts allow = 192.168.1.
        interfaces = eth0
        guest account = guest


when I try and connect to the server THOR
I do the following, from the gnome main menu chooose "Network Servers" from there I choose "New Server" I then enter the ip address of the server 192.168.1.100 I'll work on the hostnames later. and this is the message that I get

Code:
Couldn't connect to URI smb://192.168.1.100
Please make sure that the address is correct and alternatively, type in this address in the file manager directly


I tried entering it within the address bar, but then it gives a much less informative message

Code:
"smb://192.168.1.100" is not a valid location. Please check the spelling and try again.


Any obvious things that I might be doing wrong.
Thanks in advance
L8er
Back to top
View user's profile Send private message
rwallace
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2003
Posts: 107
Location: Phoenix, AZ US

PostPosted: Thu Jul 31, 2003 4:33 pm    Post subject: Reply with quote

One thing you should do, but probably won't help, is disable wins support on the desktop. You probably don't need/want that acting as a wins server.

Instead of using the gnome "Network Server" interface, try using smbclient. On the server look at what is being server using "smbclient -L localhost". On the desktop do "smbclient -L 192.168.1.100". When smbclient prompts you for a password just hit enter. that should give a list of shares.

From the client try and connect using "smbclient \\\\DESKTOP\\share -U username". That should provide you with an ftp like interface. If that doesn't work, you might also try specifying the ip address instead of the netbios name.

For the record, I've never had much luck getting the "Network servers" stuff to work from the gnome desktop.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum