I can access my samba shares using the server ip address but it will not respond to the network name, nor does it show up on widows computers in windows networking as a share like everything else..
SETTINGS:
Network Interfaces:
Interface eth0
Role LAN
Connection Type STATIC
IP Address 192.168.0.1
Netmask 255.255.248.0
DHCP:
Network Interface eth0
Network 192.168.0.0
Lease Time 24hrs
Gateway 192.168.0.1
IP Range Start 192.168.1.1
IP Range End 192.168.7.254
DNS #1 192.168.0.1
DNS:
IP Address 192.168.0.1
Hostname orion.domain.lan
Alias #1 orion
# cat /etc/samba/smb.conf
[global]
# General
netbios name = orion
workgroup = irkshouse
server string = ClearOS
security = user
# Speed settings
# strict allocate = Yes
read raw = Yes
write raw = Yes
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_REVBUF=131072 SO_SNDBUF=131072
# Logging
syslog = 0
log level = 1
log file = /var/log/samba/%L-%m
max log size = 0
utmp = Yes
# Network
bind interfaces only = yes
interfaces = lo eth0
smb ports = 139
hosts allow = 127.0.0.1 192.168.0.1/21
hosts deny = 0.0.0.0/0
# Printing
printcap name = /etc/printcap
load printers = Yes
# Security settings
guest account = guest
#restrict anonymous = 2
# WINS
wins support = Yes
wins server =
# PDC/BDC
domain logons = Yes
add machine script = /usr/sbin/samba-add-machine "%u"
logon drive = U:
logon script = logon.cmd
logon path =
logon home = \\%L\%U
# Winbind
idmap config * : backend = ldap
idmap config * : range = 20000000-29999999
winbind enum users = Yes
winbind enum groups = Yes
winbind offline logon = false
winbind use default domain = true
winbind separator = +
template homedir = /home/%U
template shell = /sbin/nologin
# Other
preferred master = Yes
domain master = Yes
passwd program = /usr/sbin/userpasswd %u
passwd chat = *password:* %n\n *password:* %n\n *successfully.*
passwd chat timeout = 10
username map = /etc/samba/smbusers
wide links = No
# LDAP settings
include = /etc/samba/smb.ldap.conf
# Winbind LDAP settings
include = /etc/samba/smb.winbind.conf
#============================ Share Definitions ==============================
SETTINGS:
Network Interfaces:
Interface eth0
Role LAN
Connection Type STATIC
IP Address 192.168.0.1
Netmask 255.255.248.0
DHCP:
Network Interface eth0
Network 192.168.0.0
Lease Time 24hrs
Gateway 192.168.0.1
IP Range Start 192.168.1.1
IP Range End 192.168.7.254
DNS #1 192.168.0.1
DNS:
IP Address 192.168.0.1
Hostname orion.domain.lan
Alias #1 orion
# cat /etc/samba/smb.conf
[global]
# General
netbios name = orion
workgroup = irkshouse
server string = ClearOS
security = user
# Speed settings
# strict allocate = Yes
read raw = Yes
write raw = Yes
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_REVBUF=131072 SO_SNDBUF=131072
# Logging
syslog = 0
log level = 1
log file = /var/log/samba/%L-%m
max log size = 0
utmp = Yes
# Network
bind interfaces only = yes
interfaces = lo eth0
smb ports = 139
hosts allow = 127.0.0.1 192.168.0.1/21
hosts deny = 0.0.0.0/0
# Printing
printcap name = /etc/printcap
load printers = Yes
# Security settings
guest account = guest
#restrict anonymous = 2
# WINS
wins support = Yes
wins server =
# PDC/BDC
domain logons = Yes
add machine script = /usr/sbin/samba-add-machine "%u"
logon drive = U:
logon script = logon.cmd
logon path =
logon home = \\%L\%U
# Winbind
idmap config * : backend = ldap
idmap config * : range = 20000000-29999999
winbind enum users = Yes
winbind enum groups = Yes
winbind offline logon = false
winbind use default domain = true
winbind separator = +
template homedir = /home/%U
template shell = /sbin/nologin
# Other
preferred master = Yes
domain master = Yes
passwd program = /usr/sbin/userpasswd %u
passwd chat = *password:* %n\n *password:* %n\n *successfully.*
passwd chat timeout = 10
username map = /etc/samba/smbusers
wide links = No
# LDAP settings
include = /etc/samba/smb.ldap.conf
# Winbind LDAP settings
include = /etc/samba/smb.winbind.conf
#============================ Share Definitions ==============================
Share this post:
Responses (4)
-
Accepted Answer
I don't know the definitive answers on what these parameters should be, but in your case I would have my Default Domain as domain.lan rather than example.com, but there are some horrible bugs associated with changing the domain including clobbering samba. I do have a thread on it somewhere.
For shares to show you must have "browseable = yes" in each of your shares. This can be set through the flexshare webconfig. I would also suggest you define the WINS server (192.168.0.1) in the DHCP settings.
[edit]
Posts crossed
[/edit] -
Accepted Answer
# smbclient -L localhost
Domain=[IRKSHOUSE] OS=[Unix] Server=[Samba 3.6.23-1.v6]
Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
Irk Disk Erics personal folder
Movies Disk Bluray DVD and TV shows
Music Cache Disk audio mps's
Flac Disk lossless audio files
IPC$ IPC IPC Service (ClearOS)
Anonymous login successful
Domain=[IRKSHOUSE] OS=[Unix] Server=[Samba 3.6.23-1.v6]
Server Comment
--------- -------
BA-387B84 Black Armor NAS
GA-Z87X-OC GA-Z87X-OC
LKG0F96E9 NSLU2
NUC-I5
ORION MyServer
Workgroup Master
--------- -------
IRKSHOUSE ORION -
Accepted Answer
what should i put for hostname, internet hostname, and default domain?
i would like the server to be called "orion"
i have a dynamic dns set: ######.poweredbyclear.com
currently i have:
network mode: gateway mode
Hostname: orion.domain.lan
Internet Hostname: orion.domain.lan
Default Domain: example.com
I have no idea what i should have in the above!!!!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »