LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-08-2005, 11:05 AM   #1
knirke
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Question Help on setup of Samba on Suse 9.2 for access through Windows XP


Hi

* I have installed Suse 9.2 and using it as a webserver.
* I have give it IP 192.168.1.3 and subnet 255.255.255.0.
* I have 2 Windows XP professional SP2 PCs that i want to access files on the webserver. The WIn XP PCs has IP 192.168.1.4 and 192.168.1.19.
* I have set up Samba from YaST, but can't access it from any of the Win XP PCs. And i cant access files on the 2 PCs from the webserver.

What do i do?

My smb.conf file look like this:

# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-10-05
[global]
workgroup = TUCE NETWORK
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
restrict anonymous = no
domain master = yes
preferred master = yes
max protocol = NT
ldap ssl = No
server signing = Auto
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
ldap suffix = dc=example,dc=com
server string = Linux server
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = yes
os level = 65
guest account = peter
security = share

[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = no
inherit acls = yes

[profiles]
comment = Network Profiles Service
path = %H
read only = no
store dos attributes = yes
create mask = 0600
directory mask = 0700

[users]
comment = All users
path = /home/
inherit acls = yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups/
inherit acls = yes

[pdf]
comment = PDF creator
path = /var/tmp
printable = yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600

[printers]
comment = All Printers
path = /var/tmp/
printable = yes
create mask = 0600
browseable = no

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

[webserver]
comment = Webserver mapper
path = /srv/www/htdocs/
read only = no
guest ok = yes

Please help me!

Thanks
Peter
 
Old 01-08-2005, 06:17 PM   #2
jdblick
Member
 
Registered: Sep 2004
Distribution: SUSE 10.0 OSS
Posts: 261

Rep: Reputation: 30
This thread should be moved to SuSE.

Set up Samba from Yast.

Make sure you have port 138 open on your firewall.

If it doesn't work try without the firewall.

If that does work then also add 136:139 (I have heard both 136:138 and 137:139, mine uses the former) and 445. If that doesn't work I don't know. I don't know what port 445 is for either.

If it doesn't work without the firewall I don't know.
 
Old 01-27-2005, 10:24 AM   #3
tronstorm
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
try to do this to conect to the Xp computers:

Open konqueror, in the adress bar put "smb://(the netbios name of the xp pc)" or "smb://(the ip of the xp pc)", if your xp pc has the netbios name "computer" you have to put "smb://computer".
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba access by Windows users locking out directory access with Konqueror harry_fine Suse/Novell 1 12-18-2004 05:33 AM
windows cant access samba jerryfreak Linux - Networking 13 10-15-2004 05:03 AM
Cant access windows shares from SuSe 9.1pro Samba dazzyboi Linux - Newbie 2 07-26-2004 03:17 PM
Question about Samba 2.2.8a Setup to Share with Windows XP eternalcrow Linux - Software 2 12-15-2003 01:37 PM
setup samba as Windows Domain Member ateh Linux - Networking 4 06-06-2002 03:53 PM


All times are GMT -5. The time now is 05:31 AM.

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