[Samba] Problem with netbios names

Marcin Kryczek mkay at gentoo.org
Wed Feb 8 09:10:32 GMT 2006


hi,
i've got big problem with samba, which acts as a fileserwer in company i
work for. it's configured to be LMB and DMB and according to logs, it
wins all elections. 
the problem is: i offer vpn access for few employees. one of them works
with advanced excell (mainly) macros, which are linked across samba
shares. he decided to recreate our shares structure on his home computer
to test changes before making them on serwer, which is generally good
idea, but he need also to change his computer name to the netbios name
of our samba (links are configured as \\serwer_name\share\something) to
make it work.
now when this computer connects to VPN samba seems to forget own name.
as i wrote - nmbd wins elections, employee's workstations are configured
to use samba's ip as wins, but they all just keep trying to connect to
.202 even if it's not connected anymore. the problem disapears when i
restart nmbd (i think so)

[global]
        dos charset = 852
        unix charset = ISO8859-2
#
        workgroup = PRODRUK
        netbios name = PRODRUK_SERWER
        netbios aliases = SERWER
        server string =
#
        time server = Yes
        load printers = No
#
        os level = 254
        preferred master = Yes
        domain master = Yes
        local master = Yes
        wins support = Yes
        ldap ssl = no
        name resolve order = lmhosts wins hosts bcast
#
        create mask = 0771
        force create mode = 0460
        security mask = 0770
        directory mask = 0770
        force directory mode = 0770
        directory security mask = 0770
        map archive = yes
        map system = no
        map hidden = Yes

#
        security = user
        guest ok = no
        encrypt passwords = yes
        interfaces = 192.168.169.2/255.255.255.0 127.0.0.1/255.0.0.0
        bind interfaces only = yes
        hosts allow = 192.168.169. 127.0.0.1
#
        deadtime = 30
#

        syslog = 1
        max log size = 1000
        log file = /var/log/samba/log.%m
        log level = 2

[ and then individual shares ]


any help appreciated
regards,

-- 
   . . Marcin Kryczek  .  .  .  .  .  .  .  .  .  .  .  .RLU: #316599 . .
  . . Gentoo Linux Developer.  .  .  .  .  .  .mail: mkay at gentoo.org . .  
 . .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .PGP: 0xD6CFCCF1 . .    
. Key Fingerprint: EE8F E832 54E4 2456 C582 5B32 E10F EEDC D6CF CCF1 . 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20060208/037d2516/attachment.bin


More information about the samba mailing list