samba Problem

Ryan Duff ryan at duff-duff.net
Thu Mar 11 18:28:30 UTC 2004


On Thu, 11 Mar 2004 12:38:56 -0500, Mario St-Gelais 
<legrimpeur at sympatico.ca> wrote:

> Ryan Duff wrote:
>
>>
>> Could you give me your info one more time with your setup and what you 
>> are trying to accomplish and I'll see if I notice anything that I 
>> changed that may  help you out aswell. Everything works fine on my 
>> network right now, I'm at 100%... right where I want to be.
>>
>> Ryan
>
> Basically, all I am trying to do is acces this particular linux machine 
> using my laptop.  What's weird, is that it used to work but not anymore.
>
> Thanks.
>
> Mario
>
> [global]
> workgroup = localdomain
> server string = samba server
> hosts allow = 192.168.0. 127.
> printcap name = /etc/printcap
> load printers = yes
> log file = /var/log/samba/%m.log
> max log size = 50
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> local master = no
> os level = 20
> preferred master = no
> password server = None
> security = SHARE
> dns proxy = no
> [homes]
> comment = Home Directories
> browseable = no
> writeable = yes
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = no
> printable = yes
> [var]
> hosts allow = 192.168.0.176 192.168.0.177 192.168.0.141 127.
> writeable = yes
> path = /var
> [opt]
> hosts allow = 192.168.0.176 192.168.0.177 192.168.0.141 127.
> writeable = yes
> path = /opt
> [marst]
> hosts allow = 192.168.0.176 192.168.0.177 192.168.0.141 127.
> comment = root directory
> path = /home
> writeable = yes
>
>
>
>


First thing I would do is change security to "user" and make sure you have 
a smb user created that matches the user/pass of your account on your 
laptop. Add anoter variable to the global section "valid users = (your 
username)" and add it again under your share. I had that problem at first 
too, I fixed it by changing security to user and then ran into the browse 
problem which I finally figured out yesterday. Let me know what happens 
after those suggestions. Here is part of my smb.conf file:

Ryan

~~~~~~~~~~~~~

[global]
	printcap name = /etc/printcap
	dns proxy = no
	netbios name = RyanLinux
	encrypt passwords = yes
	writeable = yes
	max log size = 50
	smb passwd file = /etc/samba/smbpasswd
	local master = no
	preferred master = no
	os level = 20
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	password server = None
	log file = /var/log/samba/%m.log
	server string = RyanLinux
	load printers = yes
	security = user
	valid users = ryan,caitlin
	workgroup = Duff

[homes]
	comment = Home Directories
	browseable = no
	writeable = yes

[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = no
	printable = yes

[music]
	valid users = ryan,caitlin
	path = /mnt/music
	create mode = 0777
	directory mode = 777
	browseable = yes
	comment = Music
	writeable = yes







More information about the users mailing list