porting samba to new platform questions.

Ron Alexander rcalex at home.com
Tue May 2 13:13:08 GMT 2000


I am porting Samba 2.0.6 to a new platform.

The platform is Stratus, the OS is VOS.
VOS is not only not Unix, but it is being modified at the same time to be
POSIX.1 compliant as well as implementing STCP from Spider.
I do not have a shell. I can not use configure etc. I don't even have a
makefile at this time.
As you can see, I am having lots of fun.
Amongst my many problems, here is one I need help with now:

My dev/test environment consists of 1 NT4 workstation connected to the @home
network using a security pkg (like VPN) to a Stratus box.
The Stratus box has several ethernet cards.

I have limited samba to just the one interface via smb.conf variables
interfaces, bind interfaces only, and hosts allow.

What I do NOT know, is what to set up for things like local/master domain
master etc. Given my dev/test setup, what is the correct combination of
variables to make things like name resolution and network neighborhood work?

The symptom is that nmbd is in a loop putting out a continuous stream of log
msgs that repeat as follows.

[2000/05/01 19:46:15, 10] nmbd_sendannounce.c:(404)
  announce_myself_to_domain_master_browser: t (957224775) - last(957224760)
< 900
[2000/05/01 19:46:15, 4] nmbd_workgroupdb.c:(163)
  find_workgroup_on_subnet: workgroup search for VOSAMBA2 on subnet
UNICAST_SUBNET: found.
[2000/05/01 19:46:15, 4] nmbd_workgroupdb.c:(163)
  find_workgroup_on_subnet: workgroup search for VOSAMBA2 on subnet
UNICAST_SUBNET: found.
[2000/05/01 19:46:15, 4] nmbd_workgroupdb.c:(163)
  find_workgroup_on_subnet: workgroup search for VOSAMBA2 on subnet
134.111.220.160: found.
[2000/05/01 19:46:15, 10] nmbd_sendannounce.c:(404)
  announce_myself_to_domain_master_browser: t (957224775) - last(957224760)
< 900

etc


Here is my smb.conf file (ip's mangled due to security and contractual
reasons)
[global]
    comment = The VOS Samba 2 Server
    server string = Vos Samba 2.0.6
    workgroup = VOSAMBA2
    netbios name = dkcufnjtr
    interfaces = 111.222.333.444/255.255.255.0
    bind interfaces only = Yes
    hosts allow = 111.222.333. 127. 24.88.99.
    local master = yes
    dns proxy = No
    domain master = No
    preferred master = No
    wins support = Yes
    name resolve order = lmhosts bcast wins hosts
    security = user
    browsable = yes
    socket options =
    passwd program = set_registration_info
    encrypt passwords = Yes
    log file = logs/%m.log
    max log size = 50000
    smb passwd file = /system/samba/private/smbpasswd
    preload = tmp temp
    username level = 3

[homes]
     guest ok = no
     browseable = no

[temp]
     path = /system/samba/temp
     public = yes
     read only = yes

[tmp]
     path = /system/samba/tmp
     public = yes

Thanks,
Ron Alexander




More information about the samba-technical mailing list