View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-20-2004, 01:13 PM   #1
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Need help configuring samba server

Hi! Need help configuring samba server. Linux is SuSE 9.1, win is winXP. Both connected via crossover cable, no hub.

SuSE can see win shares, browse dirs and upload/download files. Win can't see SuSE, dirs or anything.

smb.conf goes below. I have samba-3.0.4-1.12, and libsmbclient-3.0.4-1.12, webmin-1.130-42

Do you guys see anything wrong in this file?

# Samba config file created using SWAT
# from (
# Date: 2004/07/20 13:50:52

# Global parameters
workgroup = LINUX
server string = frank
interfaces =, eth0
bind interfaces only = Yes
map to guest = Bad User
load printers = No
local master = No
domain master = No
ldap suffix = dc=example,dc=com
printer admin = @ntadmin, root, administrator

comment = Home Directories
valid users = %S
read only = No
browseable = No

comment = All users
path = /home
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/

comment = All groups
path = /home/groups
read only = No
inherit permissions = Yes

comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775

path = /home/bruno/Documents
read only = No
guest ok = Yes
Old 07-20-2004, 02:21 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
i think there are a couple of things to work on

first on the xp box under advanced TCP/IP settings
on the WINS tab
make yourself a file called lmhosts
it's like /etc/hosts in linux
the syntax is like this box1 box2
like that
check enable LMHOST lookup
and feed in your lmhost file with "import LMHOST" button
also sellect "Enable NetBIOS over TCP/IP"
and set the WINS server as the Linux box
now in the global section of smb.conf
wins support = true
encrypt passwords = yes
for me i use the same username on both machines
and run the command
smbpasswd -a username
to set it up

to test the password settup use
(on the samba machine)
smbclient '//servername/homes' -U username
it will ask for password
if the pasword works it goes to
smb: \>
q to quit
and you know the login works
Old 07-20-2004, 03:19 PM   #3
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
the syntax is like this box1 box2
like that

box1 and box2 are the names of the computers?


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
Configuring Mac OS X clients with Samba Server maelstrom209 Linux - Networking 3 07-28-2009 02:01 PM
Configuring Samba alexr186 SUSE / openSUSE 1 10-18-2005 10:19 AM
configuring the samba server ultrasonic_shock Linux - Software 2 08-08-2005 05:43 PM
Configuring Samba sibtay Linux - Networking 3 10-04-2004 01:21 PM
configuring Samba Ice Dragon Linux - Networking 4 08-26-2002 01:07 PM

All times are GMT -5. The time now is 12:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration