Visit Our UNIX and Linux User Community


A simple Samba problem, please help


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users A simple Samba problem, please help
# 1  
Old 01-18-2003
A simple Samba problem, please help

Hi,

I have successfully setup my Samba server on my Sun Solaris 8 Sparc machine. My Win2000 workstation is able to see the unix worstation and its shared directory from Network Neighborhood.

However, the Unix workstation appears as Ip address instead of Hostname on my network neighborhood explorer. How should I make it such that I see the Unix workstation's hostname in my Network Neighborhood? I did search through the availabe parameters in my smb.conf already.

Please help.
Thank you.Smilie
# 2  
Old 01-18-2003
you want to enable samba to act as a WINS server, and also in your smb.conf make sure you specified the netbios name , set it as such in the [global] section:
netbios name = whatever you want.

on second though, thats all you ahve to do , you dont have to enable act as WINS server.
# 3  
Old 01-18-2003
Ok. Thank You.
# 4  
Old 01-19-2003
How'd it go champion? Did it work?
# 5  
Old 01-19-2003
No, it doesn't work.

The unix workstation still shows itself as IP address instead of Hostname. Why?

Below is the full content of my smb.conf. Please help. Thanks

[global]
netbios name = champiom
comment = Champion Unix Workstation
server string = champion with samba 2.2.2
security = user
hosts allow = localhost, 10.20.50.65
hosts deny = all
encrypt passwords = yes
smb passwd file = /usr/local/samba/private/smbpasswd
os level = 64
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
large readwrite = yes

[tmp]
path = /tmp
writeable = true
create mask = 0770
directory mask = 0770
# 6  
Old 01-19-2003
i might be missing something else, but sometimes windows dosnt update the netbios names of other hosts on the network for a while. at one time i had my mailserver aliased as pop.farragutmarine and smtp.farragutmarine to make it simpler for my family to set up their email with their email client, they would always go, "wait, why the same name in BOTH fields?" so i just added that, but, i took it away and kept it as just farragutmarine, however, when i went into network neighborhood the smtp. and pop. stayed for a week after. try refreshing networkN when your looking at it, also right click on its icon and view the properties. this might be the cause of your problem, but i might also be missing something. as far as i know, to change the name that windows sees is the netbios name in smb.conf, so please post back, also check out the samba website, maybe they have more info about this. anyway, hope i helped!

Previous Thread | Next Thread
Test Your Knowledge in Computers #459
Difficulty: Medium
NTP uses an epoch of January 1, 1970.
True or False?

10 More Discussions You Might Find Interesting

1. Ubuntu

Samba Sharing Problem

I have 1 Server which was installed With centos 6.2 and there was a Samba Share the Directory /public was shared in the centos Server, its IP address is 192.168.1.15 , And I Have accessed the Share in Ubuntu 12.04 client machines by connect to server just giving IP address and share folder name ,... (1 Reply)
Discussion started by: babinlonston
1 Replies

2. Solaris

Two simple questions about Solaris DCHP and Samba

I have two simple questions First is :can dhcp server NATIVE of solaris perform dhcp updates of bind via dnssec like dchpd on linux? Second: Is possible to build a pdc with samba and iplanet ldap server?Or is better with openldap? I never found howto or discussions about iplanet server. Thanks (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

3. UNIX for Dummies Questions & Answers

strange problem with samba

windowsxp:192.168.0.11 fedora14:192.168.0.12, running smb server I have disabled selinux. user list of fedora14: jone (wihch is created when install fedora14, with password 'jone') jone2 (which is added by hand, with password 'jone2') I added jone and jone2 as samba users using 'smbpasswd... (1 Reply)
Discussion started by: vistastar
1 Replies

4. UNIX for Dummies Questions & Answers

Problem with man of samba

People i installed samba on a x86 solaris 9 when a do man samba i see this lavirtuosa:/ # man samba Reformatting page. Please Wait... done Miscellanea SAMBA(7) Samba 3.4 Last change: 09/30/2009 1 lavirtuosa:/ # ... (1 Reply)
Discussion started by: enkei17
1 Replies

5. Solaris

Strange problem with samba

Hi everyone I have a strange problem. Here is my setup: 1. I have a Fedora FTP server (where a 3rd party is uploading files). 2. I then open an ftp session (from a Solaris 10 server) to the FTP server and "get" all the files (place files in directory X). 3. I have a samba share set up... (0 Replies)
Discussion started by: soliberus
0 Replies

6. UNIX for Dummies Questions & Answers

Samba 3.0.24 Configuration Problem

Dear all, I have set the security level to user. My samba is running on Unixware 7.1.4. I get the following screen error when trying to login from windows clients.... (0 Replies)
Discussion started by: ndege
0 Replies

7. UNIX for Advanced & Expert Users

samba problem...

Hi all... I have a wired problem of a "swat" processes creating "lpstat -v" processes that are making my samba get stuck until i kill the "lpstat -v" procceses... why the "swat" is making these procceses? is there any way of fixing it? Thanx! (1 Reply)
Discussion started by: eliraza6
1 Replies

8. UNIX for Dummies Questions & Answers

samba problem

Hi, I am using FC7 and i got a problem with access linux shared directory in windows. when i access linux system via IP, i can see folder but i cannot access them. it say "you donot have permission to access this folder please contact to administrator" and say same thing for all shared... (2 Replies)
Discussion started by: sonirajesh
2 Replies

9. UNIX for Dummies Questions & Answers

Samba problem

Hello everybody, i've some problem with my linux pc to configure samba service, i've a net with win2000 and DHCP server, my linux on the net had take automatically the ip, but when i open a smb.conf, i haven't find some info, pls help me... Tks BlueRose :) (2 Replies)
Discussion started by: BlueRose
2 Replies

10. UNIX for Advanced & Expert Users

Problem with samba

All, I am on Linux, Redhat 7.3 and I am mounting a samba filesystem from windows2k advance server via "mount -t smbfs //win2kserver/sharedir /mnt/fromwin2k". The mount was successfull, however when another user besides root tries to write to the a directory under the mounted filesystem, user get... (1 Reply)
Discussion started by: tekion
1 Replies

Featured Tech Videos