Samba and server name help

From: Tom Davis (tdavis75_at_yahoo.com)
Date: 06/19/04


Date: Sat, 19 Jun 2004 06:51:12 GMT

Hello!

I'm having trouble getting my Samba to work properly. I feel that it has to
do with the server name to be able to access it over the network. I've
tried adding the parameter within the smb.conf file to change my NetBIOS
name. But it never changes and I can't access my shares on the network.

Here is what I have in my smb.conf file:

[global]
        change notify timeout = 300
        domain master = yes
        hide unreadable = yes
        hosts allow = 192.168.0. 127.
        invalid users = root
        lanman auth = no
        lm announce = no
        min protocol = NT1
        netbios name = Server
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
        wins support = yes
        security = user
        workgroup = home

[test]
        comment = For testing only, please
        path = /export/samba/test
        read only = no
        guest ok = yes

When I run the 'testparm' here is the result I get from it, which tells me
everything is ok:

[root@web etc]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[test]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = HOME
        netbios name = SERVER
        lanman auth = No
        min protocol = NT1
        change notify timeout = 300
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
        lm announce = No
        domain master = Yes
        wins support = Yes
        invalid users = root
        hosts allow = 192.168.0., 127.
        hide unreadable = Yes

[test]
        comment = For testing only, please
        path = /export/samba/test
        read only = No
        guest ok = Yes

Now when I run 'smbclient -U% -L localhost' this is the server information
that I receive:

[root@web etc]# smbclient -U% -L localhost
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.2-7.FC1]

        Sharename Type Comment
        --------- ---- -------
        test Disk For testing only, please
        IPC$ IPC IPC Service (Samba 3.0.2-7.FC1)
        ADMIN$ IPC IPC Service (Samba 3.0.2-7.FC1)
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.2-7.FC1]

        Server Comment
        --------- -------

        Workgroup Master
        --------- -------
        HOME TDAVIS
        MYGROUP WEB

I'm not sure where the TDAVIS part is really coming from and I noticed that
the Server field is blank, which by the examples in the O'Reilly book, it
has information where it's labeled Server. Any help on this would be great
if someone has a clue as to what I did.

Thanks in advance,
Tom



Relevant Pages

  • Re: samba on solaris 9
    ... comment = Root File system on mnisdb1 ... Then logged in the server thru webwin and clicked on servers> Samba ...
    (comp.unix.solaris)
  • Windows 98 cant print to Samba printer
    ... I have recently set up a basic file and print server at my office ... using Fedora Core 3 and Samba 3.0.8pre1-0.pre1.3. ... the server via USB) from all clients except the Windows 98 system. ...
    (comp.os.linux.networking)
  • Re: Windows 98 cant print to Samba printer
    ... > I have recently set up a basic file and print server at my office ... > the server via USB) from all clients except the Windows 98 system. ... If that command chokes, ...
    (comp.os.linux.networking)
  • Re: Samba and server name help
    ... >do with the server name to be able to access it over the network. ... But it never changes and I can't access my shares on the network. ... you need to stop and restart the samba service anytime you ...
    (alt.os.linux.redhat)
  • Re: Samba - How to debug
    ... testparm output: ... Load smb config files from /etc/samba/smb.conf ... Loaded services file OK. ...
    (Fedora)