LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 10-12-2004, 04:07 AM   #1
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Rep: Reputation: 15
Angry Samba and XP:Several issues...


It seems that samba conf is completely irrelevant. There is someting wrong with the way XP connects it... Id like to know has ANYONE EVER managed to get this working between a samba server and XP machine....

Okay---
Looking from the direction of the XP machine
The nbtstat output:
nbtstat -a wtf

Lan:
Node IpAddress: [192.168.0.10] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
WTF <00> UNIQUE Registered
WTF <03> UNIQUE Registered
WTF <20> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
KODU <00> GROUP Registered
KODU <1D> UNIQUE Registered
KODU <1E> GROUP Registered

MAC Address = 00-00-00-00-00-00

So the name is resolved but there is something wrong with the mac addres....

netwiev results in
net view 192.168.0.1
System error 64 has occurred.

The specified network name is no longer available.

From samba to XP evrything seems to work...


Oh, WTF is my linuxboxes netbios name....

And I really wonder what the f*** is going on and witch is flawed, XP or samba...

Last edited by AlexiaDeath; 10-12-2004 at 09:06 AM.
 
Old 10-12-2004, 04:31 AM   #2
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
i live in a house with 6 people... all of them run xp win2k or OSX -- ALL of them can contact my fileshare adress...
take a look at my smb.conf... that may help a bit.. as to your other issues i think your NIC may need a nice relaxing bath :S

Quote:
bash-2.05b# cat /etc/samba/smb.conf
#rollright samba 2

#globel paramaters

workgroup = Springbanksamba
netbios name = rollright
server string = rollright.coreline.local
encrypt passwords = yes
load printers = no
wins support = yes
local master = yes
security = user
interfaces = your ip addy

#share specs
[homes]
read only = yes
browsable = no

#[share name]
#path = /mnt/samba
#browsable = yes
#write list = karl simon dan charles dave

[rollright]
path = /mnt/rollright
browsable = yes
write list = crm, charles, karl, dan, dave, simon, rob
read only = no
interfaces = your ip
 
Old 10-12-2004, 07:54 AM   #3
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
You have a wins server on your system? Thats all I can see in the way of differences... this and the interface declaration in share definition... Ill try that... and then im clueless as to what to do...
 
Old 10-12-2004, 07:58 AM   #4
0.o
Member
 
Registered: May 2004
Location: Raleigh, NC
Distribution: Debian, Solaris, HP-UX, AIX
Posts: 208

Rep: Reputation: 35
Could you paste your log file as well as your config file? That would help lots.
 
Old 10-12-2004, 08:18 AM   #5
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
And you actually solved my problem As I cleaned the conf file for pasteing of unnesecary stuff I found a uncommented out hosts allow directive that was as it was in the example... Meaning not suitable for my subnet---- So sorry for making a mess..

Final note:

GOD DAMN OBSCURE WINDOWS ERROR MESSAGES!!!

Most final note:
THANX FOR THE HELP EVERYONE
 
Old 10-12-2004, 08:58 AM   #6
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
And now Ive run into next one... Network access denied on a really public share...
[global]

workgroup = KODU
interfaces = 192.168.0.1/24
encrypt passwords = yes
server string = Arcaine
# local master = yes
netbios name = Wtf
smb passwd file = /etc/samba/private/smbpasswd
hosts allow = 192.168.0. 127.
security = share
log file = /var/log/samba.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.0.1/24
wins support = yes
dns proxy = no

#============================ Share Definitions ==============================
[public]
path = /quantum
comment = Public Folder
writeable = yes
public = yes
browseable = yes



Last edited by AlexiaDeath; 10-12-2004 at 09:00 AM.
 
Old 10-12-2004, 12:20 PM   #7
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
Make sure the folder has proper access permissions.

Type:
# getfacl /quantum

It should tell you the access persmissions on the folder. That folder maybe only accessible by the root user.

To change the folder permissions you need to use the chmod command.
 
Old 10-12-2004, 12:23 PM   #8
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
Tanx... Thats the key to my problem.... It turned out that the mounted disk at /quantum was a fat32 disc and no chmod could get it right...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help getting samba to work dvdljns Linux - Networking 12 05-21-2005 09:13 PM
Win->Samba works, Samba->Win does'nt work outburst Linux - Networking 2 10-30-2003 08:31 AM
cannot get samba to work. rvn Linux - Newbie 2 10-26-2003 10:06 PM
still can't get samba to work... Tyir Linux - Networking 3 10-17-2003 02:48 PM
(SAMBA) Just doesn't want to work... :( cparker15 Linux - Networking 18 03-21-2003 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration