Author Topic: [SOLVED] samba not seen by anything  (Read 500 times)

Offline QQ_ghost

  • Full Member
  • ***
  • Posts: 118
    • WBMC
[SOLVED] samba not seen by anything
« on: October 29, 2010, 11:30:26 PM »
"iptables -L" reports ACCEPT on all, webmin can be accessed, ssh can be used, XDMCP has no issues, httpd is running fine.  SMB cannot be accessed by any client OS...

Samba works perfectly using DHCP, but fails miserably using static IP.  Only the server can see it's own shares using smb4k or otherwise using a static address.  The problem is that the other server services are address based.  Also, the system will not even attempt browser election while static.

Here is the .conf:
Code: [Select]
[global]
    printcap cache time = 60
    log file = /var/log/samba/%m.log
    dns proxy = no
    load printers = no
    smb passwd file = /etc/samba/smbpasswd
    netbios name = tigerserver
    server string = %h
    printing = cups
    socket options = TCP_NODELAY
    workgroup = WORKGROUP
    map to guest = bad user
    printcap name = cups
    encrypt passwords = yes
    security = share
    max log size = 50

[www]
    force create mode = 755
    force user = apache
    writeable = yes
    path = /var/www
    force directory mode = 755
    force group = apache
[160P]
    path = /mnt/160P
    comment = 160GB
    browseable = yes
    public = no
    writable = yes
    force create mode = 755
[1T]
    path = /mnt/1T
    comment = 1TB
    browseable = yes
    public = yes
    writable = yes
    force create mode = 755

EDIT: MARKED SOLVED
« Last Edit: October 31, 2010, 04:01:47 PM by QQ_ghost »
"I don't care how meaty he is, I'm not getting my weather from a urologist!"
- - - - - - - - - - - - - - - - - - - - - - - - -
--Linux counter--
user:406047
310918   TIGERSERVER
411624   termserv
429752   lappy1
411625   jdxbox (Xebian 1.1.4)  www.xbox-linux.org/

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: samba not seen by anything
« Reply #1 on: October 30, 2010, 01:10:54 AM »

i dont see how and why samba server will care about how the computer it is running on got its ip address. Are you sure the static ip address you want to use is not in use by another computer on the network? The dhcp server will take steps to make sure it doesnt give the address to more than one computer, use static addresses and this responsibility is on you.

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline QQ_ghost

  • Full Member
  • ***
  • Posts: 118
    • WBMC
Re: samba not seen by anything
« Reply #2 on: October 31, 2010, 04:00:13 PM »
Grrr, rookie net config mistake.  I'm not the only admin on the server.  I changer the netmask to default (255.255.255.0) and it worked just fine!
"I don't care how meaty he is, I'm not getting my weather from a urologist!"
- - - - - - - - - - - - - - - - - - - - - - - - -
--Linux counter--
user:406047
310918   TIGERSERVER
411624   termserv
429752   lappy1
411625   jdxbox (Xebian 1.1.4)  www.xbox-linux.org/