View previous topic :: View next topic |
Author |
Message |
hadoque Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/8139733364173eeb8653c1.gif)
Joined: 09 Sep 2004 Posts: 150 Location: Stockholm, Sweden
|
Posted: Sun Jul 31, 2005 9:35 am Post subject: samba trouble |
|
|
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:
, 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 |
|
![](templates/gentoo/images/spacer.gif) |
59729 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Jun 2004 Posts: 279
|
Posted: Tue Aug 02, 2005 4:37 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
hadoque Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/8139733364173eeb8653c1.gif)
Joined: 09 Sep 2004 Posts: 150 Location: Stockholm, Sweden
|
Posted: Wed Aug 03, 2005 8:44 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|