AstroDroid
12-12-2002, 11:52 PM
I have setup a samba server, but cannot access it from a winbox. from my localhost I can smbclient -L hostname then I receive a password box enter my pwd and I see the shares.
The winboxes see the samba server, but cannot access it. When I run an nmblookup <hostname> I am unable to find the name of my host. I can browse through nautilus on the local machine to the samba server and I receive a pwd box, enter my pwd and I am on my way.
FYI I have added the guest user using smbpasswd -a <guestuser>
The share I am running is on a vfat partition that I mount at boot time and all users have rwx access to it.
Here is my smb.conf file, in case you need it.
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/12/12 20:12:28
# Global parameters
[global]
workgroup = WORKGROUP
netbios name = SAMBASERVER
server string = SambaServer
security = SHARE
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
domain master = No
guest account = nobody
printing = lprng
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Installs]
comment = General folder
path = /data
read only = No
create mask = 0664
directory mask = 0775
guest ok = Yes
public = yes
writable = yes
browseable = yes
Ideas?
The winboxes see the samba server, but cannot access it. When I run an nmblookup <hostname> I am unable to find the name of my host. I can browse through nautilus on the local machine to the samba server and I receive a pwd box, enter my pwd and I am on my way.
FYI I have added the guest user using smbpasswd -a <guestuser>
The share I am running is on a vfat partition that I mount at boot time and all users have rwx access to it.
Here is my smb.conf file, in case you need it.
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/12/12 20:12:28
# Global parameters
[global]
workgroup = WORKGROUP
netbios name = SAMBASERVER
server string = SambaServer
security = SHARE
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
domain master = No
guest account = nobody
printing = lprng
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Installs]
comment = General folder
path = /data
read only = No
create mask = 0664
directory mask = 0775
guest ok = Yes
public = yes
writable = yes
browseable = yes
Ideas?