LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-28-2004, 08:31 AM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
Netbios help Samba


Here is my samba configuration file


Quote:

[global]
workgroup = MyGroup
netbios name = cpu
encrypt passwords = yes
hosts allow = 192.168.0.
map to guest = Bad User
printing = CUPS
printcap name = CUPS
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = No
security = user
server string = Samba Server
add user script =
domain master = false
domain logons = no
local master = no
[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = No
create mask = 0640
directory mask = 0750
guest ok = no
printable = no
[storage]
comment = Guest
path = /tmp/
browseable = yes
read only = No
guest ok = yes
printable = no

I am having a problem with the netbios name of samba.
when I want to access a share on samba from windows server using netbios name (e.g; \\cpu\storage ) it say " You are not authorized to access..." and when I ping to the server (e.g; ping cpu ) it shows me the correct ip address.
Now when I acces the share using IP (e.g; \\192.168.0.185\storage ) It opens the share.
I want to ask what is the problem with my samba file why it is not giving me the access using the netbios name. If there is some problem with the smb.conf file then what changes should be made in this file so that it allow me to access the share using netbios name.
Please Help

I have Red Hat Linux 7.0
 
Old 07-28-2004, 08:41 AM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
"cpu" could be a reserved word try cpu_1
 
Old 07-28-2004, 08:48 AM   #3
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
NO the "cpu" is unique I don't have any other system with this netbios name on my network. when I ping this system (e.g; ping cpu) it gives me the correct IP.
 
Old 07-28-2004, 02:57 PM   #4
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
A "reserved word" means that this word has a special meaning. there for it may not be used in eg the name of a computer.
That you can ping it is not a garantee that you can use it, in some cases it could work in other it would not work.
 
Old 07-28-2004, 03:10 PM   #5
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
arno I have changed the CPU name and the problem was fixed that now I am able to access the shares using netbios name but I came to know another problem which is
when I give the netbios name of length greater than or equal to seven characters it shows me the shares but when the netbios name is less than 8 characters it shows me the same message i.e; "you are not allowed to access from this station" can u tell me why this is happening

my samba version is 2.0...
 
Old 07-29-2004, 07:57 AM   #6
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Sorry cannot help you there, dont know enough of samba to help you, maybe someone else could help you ?

I know that in windows the used to be a limit, the share name was limited to 8 characters and a label of 3 characters and your maximum is 7 ?
 
Old 05-02-2010, 11:50 PM   #7
djmills
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
My netbios name not visible to MS computers

Hi, I've been using Samba for some time. My netbios name used to be visible to other computers on the network. Now it is not. It may have stopped being visible when I upgraded from openSUSE 11.1 to 11.2. The Samba version I am using is 3.4.3.

Anyone any ideas why?

Clients cann connect using the IP address but not the netbios name.
 
Old 05-03-2010, 12:08 AM   #8
djmills
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
Please ignore the last post of mine. I found that NetBios server wasn't enabled in the Firewall. Now it works fine.
 
  


Reply



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
I can access samba through IP but not through Netbios name EmptyMind Linux - Networking 13 12-05-2010 03:12 AM
SAMBA - NetBIOS/TCP-IP w/out calabash Linux - Networking 18 08-22-2005 12:37 AM
netbios name length samba ilnli Linux - Networking 2 07-28-2004 03:55 PM
Samba Netbios Subnet RHrulz Linux - Networking 1 08-20-2003 12:41 AM
netbios without samba? hotrodowner Linux - Networking 11 03-21-2003 09:10 PM

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

All times are GMT -5. The time now is 06:25 PM.

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