Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba trouble
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
hadoque
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 150
Location: Stockholm, Sweden

PostPosted: Sun Jul 31, 2005 9:35 am    Post subject: samba trouble Reply with quote

I'm having some trouble getting samba working. I've followed a quick guide and this is my setup:

Code:

ellen hadoque # testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[smb]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = HEMMA
        security = SHARE
        restrict anonymous = 2
        log file = /var/log/samba.log

[smb]
        path = /home/hadoque/
        read only = No
        create mask = 0760
        case sensitive = No

I've created a samba user and restarted samba. The network is working fine, I'm browsing NFS shares without hassle.
I've tried both to type the network adress to the shares manually in the explorer field:
Code:
\\ellen\smb\
, but am getting an error saying that it's not to be foud.
Nor does the share turn up with the nfs shares in my network neighbourhood.
What am I doing wrong? With security = SHARE there shouldn't be any user/password problem , right?
Back to top
View user's profile Send private message
59729
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 279

PostPosted: Tue Aug 02, 2005 4:37 pm    Post subject: Reply with quote

I'm using user security instead and i'm able to show public shares without validation though I can't validate and show my other shares... But anyways perhaps this below can help you.

Code:

[global]
        guest account = guest
        map to guest = bad user
        security = user
        encrypt passwords = yes
        smb passwd file = /etc/samba/private/smbpasswd
        username map = /etc/samba/smbusers

[public]
        public = yes
        guest ok = yes
        browseable = yes
        comment = Public Files
        create mode = 1766
        writable = no
        write list = lappen
        path = /home/samba/public


https://forums.gentoo.org/viewtopic.php?p=2618250#2618250
Back to top
View user's profile Send private message
hadoque
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 150
Location: Stockholm, Sweden

PostPosted: Wed Aug 03, 2005 8:44 pm    Post subject: Reply with quote

thanks. but i found out what was the trouble myself. Samba worked fine, i had disabled the service workstation in my windows box...
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