[Samba] Re: Cross-subnet browsing...AGAIN!!!

2005-08-13 Thread Robin Bowes

David Krider wrote:

On Fri, 2005-08-12 at 09:27 +0100, Robin Bowes wrote:


Doug VanLeuven wrote:


Robin Bowes wrote:
All the XP machines are pointing to 192.168.1.5 for wins?


Yes. It's assigned by DHCP. dhcpd on the 192.168.1.x network:

option netbios-name-servers 192.168.1.5;



What's your netbios-node-type set to in your dhcpd.conf file? My server
is setup on another subnet, and I don't have problems. My value is set
to 4, but you may want to try 8.


David,

I have no value set and didn't know about this parameter. I found it in 
the dhcp-options man page:


   option netbios-node-type uint8;

  The NetBIOS node type option  allows  NetBIOS  over  TCP/IP 
clients
  which  are  configurable  to  be  configured  as  described 
in  RFC
  1001/1002.  The value is specified as a single octet  which 
identi-

  fies the client type.

  Possible node types are:

  1B-node: Broadcast - no WINS

  2P-node: Peer - WINS only

  4M-node: Mixed - broadcast, then WINS

  8H-node: Hybrid - WINS, then broadcast


Do you know what the default value is?

R.
--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Cross-subnet browsing...AGAIN!!!

2005-08-13 Thread Robin Bowes

OK, here's an update.

I decided to take a more methodical approach to diagnosing this problem. 
I started by moving all computers onto the same subnet (192.168.1.x).
I then shutdown all client PCs, restarted samba, and restarted the 
client PCs.


I found that all PCs showed up and browsing worked perfectly, except for 
the PC named dude. This had the Computer Description set to 'Toshiba 
P20-102 17 widescreen laptop'. I changed this to: 'Toshiba1' and 
repeated the restart process and all PCs are now functioning perfectly 
on the HOME workgroup.


(BTW, is this a known problem?)

The next step will be to move tosh2 back onto the 192.168.4.x subnet and 
restart everything to see if it gets picked up. If not, I'll try the 
netbios-node-type option suggested by David.


If I'm still stuck after that, I'll be back!

R.

--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Cross-subnet browsing...AGAIN!!!

2005-08-12 Thread Robin Bowes

Doug VanLeuven wrote:

Robin Bowes wrote:

If I browse to My Network Places\Microsoft Windows Network\Home on 
each of the XP machines, here's what I see under Home on each machine:


Tosh2: Tosh2
   All shares on Dude under My Network Places
Batmobile: Batmobile, Dude
Tosh: Batmobile, Dude
   Some shares on Dude under My Network Places
   Some shares on Batmobile under My Network Places

What I don't understand is:

1. Why can't I see Tosh from Batmobile?
2. Why can't I see Tosh from Tosh ??!!
3. Why can't I see Tosh, Batmobile, or Dude from Tosh2?
4. Why can't I see Tosh2 from Tosh, Batmobile, or Dude?

Name resolution appears to be working (I can ping 
tosh|tosh2|batmobile|dude from tosh|tosh2|batmobile|dude)


Am I missing something?




Doug,



Tosh can't see Tosh because file sharing is turned off on Tosh?


I don't think so - I'll check tonight.


All the XP machines are pointing to 192.168.1.5 for wins?


Yes. It's assigned by DHCP. dhcpd on the 192.168.1.x network:

option netbios-name-servers 192.168.1.5;

And by the linksys router on the 192.168.4.x network.


All the 192.168.1 machines have a route to 192.168.4 ?


Yes. There's a static route in the Cisco.

From dude (192.168.1.5) :

[EMAIL PROTECTED] maildrop]# traceroute 192.168.4.147
traceroute to 192.168.4.147 (192.168.4.147), 30 hops max, 38 byte packets
 1  WRT54GS_external (192.168.1.4)  1.100 ms  0.665 ms  0.636 ms
 2  192.168.4.147 (192.168.4.147)  1.203 ms  1.238 ms  1.193 ms

Any other ideas? This is really p***ing me off!!

R.

BTW, forgot to give version details:

Server: Fedora Core 4
Samba: 3.0.14a-2 (from RPM)

--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Cross-subnet browsing...AGAIN!!!

2005-08-12 Thread Robin Bowes

Louis van Belle wrote:

This is not a question of seeing the other pc.
if the pc's dont have file/printer sharing installed
you wil NEVER see the other pc, bij network browsing.


File/Printer sharing is installed and enabled on all XP PCs.



Are you able to ping to the other pc, first by IP
then try it bij HOSTNAME


Yes. I can ping tosh from batmobile and batmobile from tosh, both by 
hostname.



if hostname does not work, its a wins/dns problem.
i use dhcp3 + ddns (bind9) + samba with Be a wins server, in the smb.conf 
config dns proxy = yes


wins/dns is OK, I think.

R.

--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Cross-subnet browsing...AGAIN!!!

2005-08-12 Thread Robin Bowes

Louis van Belle wrote:
are al the pc's in the same workgroup ? 


Yep. HOME.

R.


--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Cross-subnet browsing...AGAIN!!!

2005-08-11 Thread Robin Bowes

Hi,

I've been struggling with getting subnet browsing to work on my home 
network for some time and have decided to give it another go.


This is my network configuration:

Internet - Cisco SOHO97
   (192.168.1.1)
| |   |
   ++ |   ++
   |  |   ||
   |  (192.168.1.5) (192.168.1.250)  (192.168.1.249)
   |  dudebatmobiletosh
   |  (samba server) (XP client) (XP client)
   |
(192.168.1.4)
Linksys WRT54GS
(192.168.4.1)
   |
   |
(192.168.4.147)
tosh2
  (XP client)

The Linksys router is routing between networks - no NAT is involved.

I'm using the workgroup HOME and all XP clients are members of this 
workgroup.


My smb.conf is as follows:

# Global parameters
[global]
workgroup = HOME
server string = Samba Server
guest account = ftp
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 255
domain master = yes
preferred master = yes
local master = yes
os level = 255
dns proxy = No
wins support = Yes
ldap ssl = no
remote announce = 192.168.4.255/HOME 192.168.3.255/HOME
remote browse sync = 192.168.4.255 192.168.3.255
cups options = raw
name resolve order = wins,lmhosts,host,bcast
hosts allow = 192.168.1. 192.168.2. 192.168.3. 192.168.4.

[homes]
comment = Home Directories
read only = No
browseable = yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No


[music]
comment = Music files used by slimserver
path = /home/slimserver/music
write list = robin
read only = No

[test]
comment = Test share
path = /home/test
write list = robin
read only = No

[cdrom]
comment = DVD/CD Writer on Dude
path = /media/cdrecorder
read only = Yes

[slim]
comment = Slimserver source tree
path = /usr/local/slimserver
read only = Yes

[apache]
comment = Apache home
path = /home/apache
write list = robin
read only = No

I've shutdown all XP machines and restarted samba (smbd and nmbd) then 
restarted all XP machines.


If I browse to My Network Places\Microsoft Windows Network\Home on each 
of the XP machines, here's what I see under Home on each machine:


Tosh2: Tosh2
   All shares on Dude under My Network Places
Batmobile: Batmobile, Dude
Tosh: Batmobile, Dude
   Some shares on Dude under My Network Places
   Some shares on Batmobile under My Network Places

What I don't understand is:

1. Why can't I see Tosh from Batmobile?
2. Why can't I see Tosh from Tosh ??!!
3. Why can't I see Tosh, Batmobile, or Dude from Tosh2?
4. Why can't I see Tosh2 from Tosh, Batmobile, or Dude?

Name resolution appears to be working (I can ping 
tosh|tosh2|batmobile|dude from tosh|tosh2|batmobile|dude)


Am I missing something?

R.
--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba through a NAT router

2005-04-05 Thread Robin Bowes
Thomas M. Skeren III wrote:
Yeah, you need a wins server on 64 node for that.  You can still map by 
IP addy though.

Thomas,
I don't understand what you mean by this. Can you please elaborate?
R.
--
http://robinbowes.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba through a NAT router

2005-04-04 Thread Robin Bowes
Hi,
My network topology is as follows:
 Netgear  Linksys
  DG632WRT54G
DSL Modem --- Switch --- WAP/Router
|  (NAT)|
|   |
   Samba server (dude)  +-- Win2000 PC 192.168.4.101 (Mum)
   192.168.1.5  |
+-- WinXP PC 192.168.4.100 (Tosh)
Dude is configured as follows:
# Global parameters
[global]
workgroup = HOME
server string = Samba Server
guest account = ftp
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 255
domain master = Yes
dns proxy = No
wins support = Yes
ldap ssl = no
remote announce = 192.168.4.255 192.168.3.255
remote browse sync = 192.168.4.255 192.168.3.255
cups options = raw
name resolve order = wins,lmhosts,host,bcast
[homes]
comment = Home Directories
read only = No
browseable = yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[music]
comment = Music files used by slimserver
path = /home/slimserver/music
write list = robin
read only = No
[test]
comment = Test share
path = /home/test
write list = robin
read only = No
If I connect the WinXP machine to the 192.168.1.x network I can connect 
to and use the shares on the samba server.

However, when connected to the 192.168.4.x network I am unable to browse 
or connect to the shares.

If I give the full domain name of the samba server (dude.robinbowes.com) 
I can see the shares, e.g.:

C:\Documents and Settings\robinnet view \\dude.robinbowes.com
Shared resources at \\dude.robinbowes.com
Samba Server
Share name  Type  Used as  Comment
---
homes   Disk   Home Directories
music   Disk   Music files used by slimserver
robin   Disk   Home Directories
testDisk   Test share
The command completed successfully.
Is there some way to enable browsing across the NAT-enable router?
Thanks,
R.
--
http://robinbowes.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba 3.0 and LDAP as a PDC

2003-10-01 Thread Robin Bowes
Sapan.Ganguly [EMAIL PROTECTED] wrote:
 Hello all,
 
 I hope this is an easy one, I've read all the howtos but I'm still
 very hazy on how to do this.  What I want to do is replace my NT4 PDC
 with a Samba 3.0 PDC with an LDAP backend.
 
 I've got my OpenLDAP up and running with the basic People, Computers
 and Groups ou's.
 I've put the builtin NT groups in too.
 I have Samba 3.0 functioning as a BDC
 
 The trouble is that the 'net rpc vampire' command isn't working for
 me, probably because I haven't defined the smbldap scripts right in
 smb.conf. I've put all the relavent bits in smbldap_conf.pm. If
 anyone has done this already please may I see a copy of your smb.conf?
 
 'net rpc samdump' works, I guess the output from that could be used to
 populate the the LDAP, is there a script for that?
 
 I've also tried the smbldap-migrate-accounts.pl script, to import all
 the information from a pwdump of my PDC, this sort of worked but it
 only created posix accounts, is this right?  Also pwdump.exe does not
 seem to dump groups so what are you supposed to use
 smbldap-migrate-groups.pl with? 
 
 I think I might be able to work this out if I can just get a look at
 someone else's smb.conf.

Sapan,

I'm looking to do a similar thing, specifically, I want to create a PDC with all user 
information in LDAP.

I am in a green field situation, ie. I have no exisiting PDC and I am working on a 
new, non-production server.

I too would be interested in a How-To describing what steps are necessary to get this 
working, with any gotchas along the way.

I'll write sometihng up describing how I get on...

R.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba