[Samba] OpenBSD 3.3 and samba-2.2.8

Van Sickler, Jim vansickj-eodc at kaman.com
Mon Sep 22 16:06:38 GMT 2003


A couple of suggestions:

1. Add your Samba server to the hosts and lmhosts files on your PCs.
Copy hosts & lmhosts to the netlogon share directory.
In your logon.bat put these lines (change "SERVER" to your server name):

-------------
if exist %systemroot%\system32\drivers\etc\hosts.old del
%systemroot%\system32\drivers\etc\hosts.old
ren %systemroot%\system32\drivers\etc\hosts hosts.old
copy \\SERVER\NETLOGON\hosts %systemroot%\system32\drivers\etc
if exist %systemroot%\system32\drivers\etc\lmhosts.old del
%systemroot%\system32\drivers\etc\lmhosts.old
ren %systemroot%\system32\drivers\etc\lmhosts lmhosts.old
copy \\SERVER\NETLOGON\lmhosts %systemroot%\system32\drivers\etc
nbtstat -R
-------------

Then at the PCs, run the logon.bat, using the server's IP address:
Start, Run, \\SERVERIP\NETLOGON\logon.bat, Ok

See if you can see the server in the Network Neighborhood.
When you have to make changes to the hosts/lmhosts, the changes are
loaded during the users logins.  The "nbtstat -R" purges & reloads the
remote cache name table.

2. Use WINS
"WINS Support = yes"   If the Samba server will provide it.
"WINS server = 192.168.1.xxx" to point to the WINS server
	on your network.

3. Be sure the server/PCs are in the same Workgroup/Domain.

4.  Rem out the "hosts allow" to see if that's a cause.
	If not, add it back in.

Don't forget to restart the daemons after steps 2 & 4.

Hope this helps.
  Jim


> -----Original Message-----
> From: Mikael lilleman Göransson [mailto:lilleman at jpcs.se]
> Sent: Sunday, September 21, 2003 6:22 AM
> To: samba at lists.samba.org
> Subject: [Samba] OpenBSD 3.3 and samba-2.2.8
> 
> 
> Hi and hello. 
> 
> Does anyone have installed Samba using the ports-collection 
> in OpenBSD 
> recently? 
> 
> My WindowsXP-computers can't find the computer on the network 
> at all. I use 
> the standard smb.conf wich comes with the port-installation, 
> exept these 
> changes: 
> 
> [global]
>   workgroup = NETDISASTERS
>   encrypted passwords = yes
>   hosts allow = 192.168.1. 192.168.2.0./24 192.168.3.0/255.255.255.0 
> 127.0.0.1
>   preferred master = yes
> 
> [ftp]
>   comment = The Place
>   path = /home/ftp
>   read only = no
>   public = yes
>   writable = yes
>   write list = @ftp, @users 
> 
> What am I doing wrong? 
> 
> Anyone running OpenBSD 3.3 who can give me a hint? 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 



More information about the samba mailing list