1752796 Members
5697 Online
108789 Solutions
New Discussion юеВ

cifs - samba issue

 
SOLVED
Go to solution

cifs - samba issue

Using hpux 11.11, and the machine uses a public external dns service to get on internet.

In the intranet I've some windows boxes, and wanted to set up samba but I'm encountering the following issue :

now samba is started (using swat) but in the intranet the netbios name of the hpux machine is not shown (and ping on such name ends pinging my internet provider).

if I open a share on windows using //192.x.x.x/tmp , it works (asks for user and password, and opens the share).

So, how do I make the other machines in the intranet see the hpux one not just by ip, but also using an alias ?

(I'm keeping trying small variations... but I'm thinking that asking here is better, to save time).

ps
nmsb seems being started by something and startsmb doesn't like it
smsb and winbind have been started manually using swat
6 REPLIES 6
Alzhy
Honored Contributor

Re: cifs - samba issue

You have a WINS server in your WIndows domain? Likely you should. Try adding a WINS Server entry in your smb.conf
Hakuna Matata.

Re: cifs - samba issue

No wins server (there's no windows server installed)

Re: cifs - samba issue

to give more details, wins support is yes

bash-4.1# cat smb.conf
# Samba config file created using SWAT
# from 192.168.1.134 (192.168.1.134)
# Date: 2010/12/14 18:28:28

[global]
netbios name = HP_C8000
server string = Samba Server
syslog = 0
log file = /var/opt/samba/log.%m
max log size = 1000
domain master = Yes
wins support = Yes
panic action = /var/opt/samba/panic-action %d
read only = No
hosts allow = 192.168.1., 192.168.2., 127.
dos filetime resolution = Yes

[homes]
comment = Home Directories
path = /home/%U
create mask = 0700
directory mask = 0700

[tmp]
comment = Temporary file space
path = /tmp
Alzhy
Honored Contributor
Solution

Re: cifs - samba issue

Have you tried dropping your netbios name directive so it defaults to the CIFS Server name?

Also do you have a local DNS server that serves as 2ndary DNS where your local hosts (WIndows/UNIX/Linux) are DHCP'd from or DNS looked up against?

I can't recall exactly how WINS blend into your particular situation where your HP-UX server's CIFS Service (SAMBA) is the domain master as well... I thought NetBIOS over TCP should have all the domain members (your PCs) recognise the Samba Server's NETBIOS name.
Hakuna Matata.

Re: cifs - samba issue

no local dns server, the actual dhcp is handled by the adsl router.

Suppose this could be part of the issue...

I can see the hp box using dyndns (other people can correctly reach apache on the internet side) but not from the internal network (using the local name)

Re: cifs - samba issue

Well, seems it was this

streams/9000 ...

stopped netbios, started nmbd, and issue solved.

Now the question is if I would like to have both at the same time, I guess.