Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 02-14-2005, 07:44 AM   #1
LQ Newbie
Registered: Feb 2005
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 0
samba conf smb.conf

Dear All,

I am trying to share public file from my Mandrake 10.1 Box to
two Pc on my local net.
I runned "Samba wizard config" and I see now the samba server on my local net
great !

However impossible to access to the shared files.../home/samba/public
I do not have permission...

I guess I have to add some user name according to those on my PCs?
But I do not need this kind of thing...I just need a basic config without
password without user name and to print out via my Mandrake Box whatever the Pc
connected and to access to /home/samba/public whatever the PC

For the moment it is enough for me
Did someone has a example of smb.conf that will allow this ?
(HOWTODO, Lea do not help me I need something open on my local net)

Best regards

Old 02-14-2005, 08:13 AM   #2
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Replace "security = user" with "security = share" in smb.conf
With security=user you have to add users to /etc/samba/smbpasswd with 'smbpasswd -a username'
With security=share the share rights decides which rights users have.

- Peder
Old 02-15-2005, 03:00 AM   #3
LQ Newbie
Registered: Feb 2005
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
Dear Peder,

that does not work...but I installed SWAT so I just start to work on.
That should help I suppose

Thanks again

Old 02-15-2005, 07:40 PM   #4
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
A few things to think about:

Firewall? You will have to add a trusted zone on your windows firewall, example: to or else the samba shares will not get though.

Workgroup name? You need to set the workgroup name of all your network machines to the same share name, examples "homelan" or "zoot".

From your windows machines, can you open a quasi-shell with 'cmd' and type "net view". Can you see your samba server through this? If you can't then you're being blocked somewhere.

From your linux machines, smbclient -L localhost will do the same thing.

Good luck! It really does work
Old 02-15-2005, 10:29 PM   #5
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Adding to the already good advice being offered...

quite often the PC units don't know the Linux box by name.

Try this...

Open "My Computer" (you can also do this from the Internet Explorer) on your Winblows machines.

Then type


Where the above IP address gets replace by that of your Linux box.

This will cause the XP machine to browse the Samba client w/o using a netbios machine name.

If this works you know what needs to be fixed.
Old 02-17-2005, 04:27 AM   #6
LQ Newbie
Registered: Feb 2005
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
Many thank for your help
but still not working I am tryimg with SWAT
All the best


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't load /etc/samba/smb.conf ALInux Linux - Networking 3 10-16-2005 10:05 AM
How to edit /etc/samba/smb.conf dazzyboi Linux - Newbie 3 07-26-2004 04:36 PM
samba smb.conf lukalinuix Linux - Networking 5 06-21-2004 06:32 AM
/etc/samba/smb.conf tsitras Linux - Newbie 2 04-09-2004 08:33 PM
samba server and smb.conf gogo Linux - Software 1 05-04-2001 07:00 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration