| | |
smb/// no host "null"
![]() |
•
•
Join Date: Feb 2004
Posts: 3
Reputation:
Solved Threads: 0
using redhat 9.0 , using swat to configure samba (localhost:901), it seems to work. I get the error message "Couldn't display smb/// because no host "null" could be found. Check that the spelling is correct and that your proxy settings are correct."
I am using vmware 4.0.5 and windows xp is the host op sys.
In my network places samba sever is viewed but I can't make it through the password screen to open the shares. I ping from either end and have success. What to do?
I am using vmware 4.0.5 and windows xp is the host op sys.
In my network places samba sever is viewed but I can't make it through the password screen to open the shares. I ping from either end and have success. What to do?
Last edited by verninator; Feb 10th, 2004 at 1:20 am.
•
•
Join Date: Feb 2004
Posts: 3
Reputation:
Solved Threads: 0
# Samba config file created using SWAT
# from Linux (127.0.0.1)
# Date: 2004/02/07 19:22:13
# Global parameters
[global]
netbios name = LINUX
server string = samba server
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd
all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
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
dns proxy = No
username = owner
valid users = owner
admin users = owner
guest ok = Yes
printing = cups
[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
[root directory]
comment = root
path = /
read only = No
[home]
comment = home
path = /home
read only = No
[cdrom]
comment = cdrom
path = /mnt/cdrom
# from Linux (127.0.0.1)
# Date: 2004/02/07 19:22:13
# Global parameters
[global]
netbios name = LINUX
server string = samba server
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd
all*authentication*tokens*updated*successfully*username map = /etc/samba/smbusers
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
dns proxy = No
username = owner
valid users = owner
admin users = owner
guest ok = Yes
printing = cups
[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
[root directory]
comment = root
path = /
read only = No
[home]
comment = home
path = /home
read only = No
[cdrom]
comment = cdrom
path = /mnt/cdrom
•
•
•
•
Originally Posted by verninator
username map = /etc/samba/smbusers
....
username = owner
valid users = owner
admin users = owner
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[root directory]
comment = root
path = /
read only = No
[home]
comment = home
path = /home
read only = No
Also, the following three lines are safe to comment out - they might be causing grief:
username = owner valid users = owner admin users = owner
Also, if you don't have a usermap (username map = /etc/samba/smbusers) it's safe to comment that line out.
It also appears you're sharing out the /home directory as well as each user's $HOME directory. If it's just you who'll be accessing the files, I would just keep the [Homes] section and create a [Public] section and use that as a file dump. That way, any files you want to share, you can copy/move from/to the public filedump and leave the rest of the filesystem intact.
Here's one of my smb.conf files to give you an example:
# Samba config file for Mars.geekis-kahn.net # FreeBSD 4.9-RELEASE # Samba 2.2.8 # Global parameters [global] workgroup = GEEKIS-KAHN.NET netbios name = MARS server string = FreeBSD Web/Game Server security = SHARE encrypt passwords = Yes update encrypted = Yes log file = /var/log/samba.log max log size = 150 load printers = No os level = 33 preferred master = No local master = No domain master = No hosts allow = 192.168.0. hide dot files = No [homes] comment = Home Directories read only = No browseable = No [Public] path = /usr/home/public read only = No guest ok = Yes [Geekis-Kahn.net] path = /usr/local/www/geekis-kahn.net read only = No guest ok = Yes [Game Servers] path = /usr/compat/linux/usr/games read only = No guest ok = Yes
Don't forget to create the directories that will be shared, and chmod 777 /path/to/directory (or whatever permissions you want.)
Please let me know if this helps you out at all.
I'm also writing an updated Samba HOWTO that should be completed towards the end of this week, which will include configuring smb.conf both with SWAT and from the command line, and a description of what most of the variables are for (and how/when to use them.)
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
Samba 3.x is designed to replicate Active Directory, as well as work as a PDC with Windows 2000 and XP. Previous versions (2.x) emulated a WINNT 4.0 Server that worked well as a PDC for WINNT 4.0 and Windows 95/98, but didn't cut the mustard with 2000/XP. If you're not going to use Samba as a PDC for your network, staying with 2.x should be fine (I still use 2.2.8 ...)
Regarding VMWare, you probably won't see much of a difference upgrading to 3.x unless you're testing the Active Directory changes, which I'm guessing you won't be doing, at least for now.
Regarding VMWare, you probably won't see much of a difference upgrading to 3.x unless you're testing the Active Directory changes, which I'm guessing you won't be doing, at least for now.
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
![]() |
Similar Threads
- PLEASE HELP ! " GENERIC HOST PROCESS FOR WIN 32 " error =[ ! (Viruses, Spyware and other Nasties)
- google "keyword" question (Search Engine Optimization)
- so-called "simple" host (Web Hosting Deals)
Other Threads in the *nix Software Forum
- Previous Thread: Can't get samba to work!
- Next Thread: Downloading Torrents
Views: 4403 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for *nix Software
2005 apache bashscripting busybox cert codeplex debian dotnetnuke emacs forwarding free fsf gaming gnu government gpl lawsuits license linux ls mail make makefile mandriva microsoft mkisofsiso obama open opensource port postfix ps3 samba security server sflc sharing software source stallman subdirectory ubuntu unix vmware xbox





