Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems
Stephen Bosch wrote: Anthony Messina wrote: stephen, might you try setting: hosts allow = 10.0.0.0/8 or change the network/mask bit for each lan you'd like to allow and: hosts deny = 0.0.0.0/0 and: interfaces = eth0 bind interfaces only = yes change eth0 to whatever eth* interface your lan is connected to, and also add "lo" if you use printers attached to this samba server. this will tell samba to only bind to the interfaces that you have configured here and may route broswing properly. anyone else here have any suggestions? We did interfaces = 10.10.10.12/24 and remote announce = 10.10.10.255/HEDLIN-LAUDER following the smb.conf man page, but that had no discernable effect. -Stephen- stephen, it seems like you've tried to go through everything in the right manner. and you've done the ethereal to make sure packets are being sent/received between windows computers and your nmbd server. i am not able to spot where the trouble is so i've included my smb.conf, which works as a pdc in the local subnet and as a hub across 2 vpn spoke connections without a problem. perhaps we're both missing something that this config can clarify. -anthony i do not use firewalling on the lan side of my pdc. --- smb.conf--- workgroup = example.com netbios name = home server string = Samba Domain Server hosts allow = 127.0.0.1 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24 hosts deny = 0.0.0.0/0 interfaces = lo eth0 bind interfaces only = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups load printers = yes printing = cups cups options = raw guest account = nobody log file = /var/log/samba/samba.log max log size = 1024 log level = 1 security = user lanman auth = no client ntlmv2 auth = yes null passwords = yes enable privileges = yes ldap passwd sync = no ldap admin dn = "uid=sambaroot,ou=People,dc=example,dc=com" passdb backend = ldapsam:ldap://127.0.0.1 ldap ssl = off ldap delete dn = no ldap suffix = dc=example,dc=com ldap user suffix = ou=People ldap group suffix = ou=Group ldap machine suffix = ou=People ldap filter = (&(objectClass=sambaSamAccount)(uid=%u)) add user script = /usr/sbin/smbldap-useradd -m "%u" delete user script = /usr/sbin/smbldap-userdel "%u" add machine script = /usr/sbin/smbldap-useradd -w "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" encrypt passwords = yes unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* username map = /etc/samba/smbusers local master = yes os level = 33 domain master = yes preferred master = yes domain logons = yes logon script = %U.bat logon drive = H: logon home = \\%L\%U name resolve order = wins lmhosts bcast wins support = yes wins proxy = no dns proxy = no preserve case = yes nt acl support = yes Shares would be here ---end smb.conf--- -anthony -- My Website: http://messinet.com My Online Gallery: http://messinet.com/modules.php?name=Web_Links&l_op=visit&lid=3 -- 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.14 - very puzzling domain browsing problems
I am just going to attach an Ethereal packet capture file in native format without commentary. I welcome feedback, because at this point, I'm truly stumped. -- 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.14 - very puzzling domain browsing problems
Anthony Messina wrote: > stephen, might you try setting: > > hosts allow = 10.0.0.0/8 > > or change the network/mask bit for each lan you'd like to allow > > and: > hosts deny = 0.0.0.0/0 > > and: > interfaces = eth0 > bind interfaces only = yes > > change eth0 to whatever eth* interface your lan is connected to, and > also add "lo" if you use printers attached to this samba server. this > will tell samba to only bind to the interfaces that you have configured > here and may route broswing properly. > > anyone else here have any suggestions? We did interfaces = 10.10.10.12/24 and remote announce = 10.10.10.255/HEDLIN-LAUDER following the smb.conf man page, but that had no discernable effect. -Stephen- -- 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.14 - very puzzling domain browsing problems
Jesse Spangenberger wrote: > Also, try to run Ethereal (www.ethereal.org) with the filter "nbns || smb" > and see if the samba server is broadcasting the right packets. > > Umm, You could try "remote browser = " making sure the PDC > and workstations are in the same subnet and not across a router. We have tried: 1. Specifying the interface in smb.conf 2. Adding the "remote announce" line with the local subnet in it 3. Turning on WINS No hosts appear in My Network Places (these are 2000 machines). Last night I did some packet captures on workstations using Ethereal. I definitely need some help in interpreting them. I'll attach a capture here and briefly describe what was done. The Samba PDC is at 10.10.10.12; the host where the capture was done (in non-promiscuous mode) is 10.10.10.58. During the packet capture, I open My Network Places | Entire Network | Microsoft Windows Network | HEDLIN-LAUDER Nothing appears, so I go up a few levels, then back down. I repeatedly click the "HEDLIN-LAUDER" domain. What I see in the packet capture is interesting. For example, when I click on the HEDLIN-LAUDER domain for the first time: > No. TimeSourceDestination Protocol Info > 3 8.12306210.10.10.58 10.10.10.12 TCP 1061 > > netbios-ssn [SYN] Seq=0 Ack=0 Win=16384 Len=0 MSS=1460 > > Frame 3 (62 bytes on wire, 62 bytes captured) > Ethernet II, Src: Micro-St_e1:98:d0 (00:0c:76:e1:98:d0), Dst: > 00:48:45:44:02:01 (00:48:45:44:02:01) > Internet Protocol, Src: 10.10.10.58 (10.10.10.58), Dst: 10.10.10.12 > (10.10.10.12) > Transmission Control Protocol, Src Port: 1061 (1061), Dst Port: netbios-ssn > (139), Seq: 0, Ack: 0, Len: 0 > > No. TimeSourceDestination Protocol Info > 4 8.12694710.10.10.12 10.10.10.58 TCP > netbios-ssn > 1061 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460 > > Frame 4 (62 bytes on wire, 62 bytes captured) > Ethernet II, Src: 00:48:45:44:02:01 (00:48:45:44:02:01), Dst: > Micro-St_e1:98:d0 (00:0c:76:e1:98:d0) > Internet Protocol, Src: 10.10.10.12 (10.10.10.12), Dst: 10.10.10.58 > (10.10.10.58) > Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port: 1061 > (1061), Seq: 0, Ack: 1, Len: 0 > > No. TimeSourceDestination Protocol Info > 5 8.12697010.10.10.58 10.10.10.12 TCP 1061 > > netbios-ssn [ACK] Seq=1 Ack=1 Win=17520 Len=0 > > Frame 5 (54 bytes on wire, 54 bytes captured) > Ethernet II, Src: Micro-St_e1:98:d0 (00:0c:76:e1:98:d0), Dst: > 00:48:45:44:02:01 (00:48:45:44:02:01) > Internet Protocol, Src: 10.10.10.58 (10.10.10.58), Dst: 10.10.10.12 > (10.10.10.12) > Transmission Control Protocol, Src Port: 1061 (1061), Dst Port: netbios-ssn > (139), Seq: 1, Ack: 1, Len: 0 > > No. TimeSourceDestination Protocol Info > 6 8.12700610.10.10.58 10.10.10.12 NBSS > Session request, to PDC<20> from HL08<00> > > Frame 6 (126 bytes on wire, 126 bytes captured) > Ethernet II, Src: Micro-St_e1:98:d0 (00:0c:76:e1:98:d0), Dst: > 00:48:45:44:02:01 (00:48:45:44:02:01) > Internet Protocol, Src: 10.10.10.58 (10.10.10.58), Dst: 10.10.10.12 > (10.10.10.12) > Transmission Control Protocol, Src Port: 1061 (1061), Dst Port: netbios-ssn > (139), Seq: 1, Ack: 1, Len: 72 > NetBIOS Session Service > Message Type: Session request > Flags: 0x00 > Length: 68 > Called name: PDC<20> (Server service) > Calling name: HL08<00> (Workstation/Redirector) > > No. TimeSourceDestination Protocol Info > 7 8.13115010.10.10.12 10.10.10.58 TCP > netbios-ssn > 1061 [ACK] Seq=1 Ack=73 Win=5840 Len=0 > > Frame 7 (60 bytes on wire, 60 bytes captured) > Ethernet II, Src: 00:48:45:44:02:01 (00:48:45:44:02:01), Dst: > Micro-St_e1:98:d0 (00:0c:76:e1:98:d0) > Internet Protocol, Src: 10.10.10.12 (10.10.10.12), Dst: 10.10.10.58 > (10.10.10.58) > Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port: 1061 > (1061), Seq: 1, Ack: 73, Len: 0 > > No. TimeSourceDestination Protocol Info > 8 8.13958910.10.10.12 10.10.10.58 NBSS > Positive session response > > Frame 8 (60 bytes on wire, 60 bytes captured) > Ethernet II, Src: 00:48:45:44:02:01 (00:48:45:44:02:01), Dst: > Micro-St_e1:98:d0 (00:0c:76:e1:98:d0) > Internet Protocol, Src: 10.10.10.12 (10.10.10.12), Dst: 10.10.10.58 > (10.10.10.58) > Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port: 1061 > (1061), Seq: 1, Ack: 73, Len: 4 > NetBIOS Session Service > Message Type: Positive session response > Flags: 0x00 > Length: 0 > > No. TimeSourceDestination Protocol Info > 9 8.13964310.10.10.58 10.10.10.12 SMB
RE: [Samba] Samba 3.0.14 - very puzzling domain browsing problems
Also, try to run Ethereal (www.ethereal.org) with the filter "nbns || smb" and see if the samba server is broadcasting the right packets. Umm, You could try "remote browser = " making sure the PDC and workstations are in the same subnet and not across a router. -Original Message- From: Anthony Messina [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 7:00 AM To: Stephen Bosch Cc: samba@lists.samba.org Subject: Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems Stephen Bosch wrote: > Anthony Messina wrote: > >>something simple, perhaps too simple... >> >>this once happened to me and i realized it was that the workgroup name >>that i had specified in samba was not the same as the one in windows, >>or that i had not joined the proper domain. >> >>or >> >>is your windows computer set up to use the right wins server? > > > Alas, I wish it were this simple. > > The domain in question is definitely consistent between workstations > and the PDC -- as I noted in a previous post, if the OS level is set > to 0 and the domain, preferred and local master are set to "no", one > of the Windows machines becomes the domain master browser and suddenly > workstations appear in the browse list. > > I'm determined to find the cause of this problem, whatever it takes. > I've followed the Samba how-to and everything should be working, but > obviously I'm missing something somewhere... > > Here's my smb.conf: > > ## > # > # GLOBAL PARAMETERS > ## > # > > [global] > # NOTE: change these parameters to suit your business workgroup = > HEDLIN-LAUDER netbios name = PDC passdb backend = > ldapsam:ldap://ldap.hedlinlauder.com/ > ldap admin dn = cn=samba,ou=dsa,dc=hedlinlauder,dc=com > ldap suffix = dc=hedlinlauder,dc=com > # interface list should be specified for machines with > 1 interface > ;interfaces = ,,... > > ## > # # NOTE: You should not have to change any of the other > GLOBAL PARAMETERS > # beyond this point, as long as you are building a PDC without WINS > # using cups for printing. You may need to change the SHARE > DEFINITIONS > # (see below) however. > ## > # > > server string = Samba Server %v > domain logons = yes > os level = 65 > domain master = yes > preferred master = yes > local master = yes > wins support = yes > time server = yes > name resolve order = wins bcast lmhosts > > logon script = %U.bat > logon drive = H: > logon path = \\%L\Profiles\%U > ;logon home = \\%L\%U\.profile > > # ldap configuration > ldap group suffix = ou=Group > ldap user suffix = ou=People > ldap machine suffix = ou=Hosts > ldap idmap suffix = ou=Idmap > ldap ssl = start_tls > ldap delete dn = yes > add user script = /usr/sbin/smbldap-useradd -a -m "%u" > delete user script = /usr/sbin/smbldap-userdel "%u" > add machine script = /usr/sbin/smbldap-useradd -w "%u" > add group script = /usr/sbin/smbldap-groupadd -p "%g" > delete group script = /usr/sbin/smbldap-groupdel "%g" > add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" > delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" > set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" > > # printers configuration > printer admin = @"Print Operators" > load printers = yes > create mask = 0640 > directory mask = 0750 > printing = cups > printcap name = cups > deadtime = 10 > > # other > guest account = nobody > map to guest = Bad User > show add printer wizard = yes > preserve case = yes > short preserve case = yes > case sensitive = no > enable privileges = yes > username map = /etc/samba/smbusers > security = user > encrypt passwords = yes > obey pam restrictions = no > ldap passwd sync = yes > log level = 2 > syslog = 0 > log file = /var/log/samba/log.%m > max log size = 5000 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Dos charset > = 850 Unix charset = ISO8859-1 > > -Stephen- > > your smb.conf seems correct, and from what i'm understanding, if a windows computer wins the election to be a master broswer, then workstations will appear, if the pdc is the master browser, no workstations appear. is that c
Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems
stephen, might you try setting: hosts allow = 10.0.0.0/8 or change the network/mask bit for each lan you'd like to allow and: hosts deny = 0.0.0.0/0 and: interfaces = eth0 bind interfaces only = yes change eth0 to whatever eth* interface your lan is connected to, and also add "lo" if you use printers attached to this samba server. this will tell samba to only bind to the interfaces that you have configured here and may route broswing properly. anyone else here have any suggestions? -anthony Stephen Bosch wrote: Anthony Messina wrote: your smb.conf seems correct, and from what i'm understanding, if a windows computer wins the election to be a master broswer, then workstations will appear, if the pdc is the master browser, no workstations appear. is that correct? Yes, that's correct. if that is the case, it really sounds like a case of either a misconfigured wins server or a problem with wins itself. It's worth noting that it does this with or without WINS. do your nmbd.logs give you any clue as to what might be wrong? If the Samba server is configured thusly: [global] domain master = yes local master = no preferred master = no os level = 0 I see this in the nmbd logs: [2006/01/19 19:58:53, 0] nmbd/nmbd.c:main(668) Netbios nameserver version 3.0.14a started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2006/01/19 19:58:53, 2] nmbd/nmbd.c:main(692) Becoming a daemon. [2006/01/19 19:58:53, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/01/19 19:58:53, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/01/19 19:58:53, 2] lib/interface.c:add_interface(81) added interface ip=10.10.10.12 bcast=10.10.10.255 nmask=255.255.255.0 [2006/01/19 19:58:53, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:10.10.10.12 Broadcast address:10.10.10.255 Subnet mask:255.255.255.0 [2006/01/19 19:58:53, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/01/19 19:58:53, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/01/19 19:58:53, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:58:53, 2] nmbd/nmbd_logonnames.c:become_logon_server(136) become_logon_server: Atempting to become logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:58:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) become_domain_master_browser_bcast: Attempting to become domain master browser on workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:58:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) become_domain_master_browser_bcast: querying subnet 10.10.10.12 for domain master browser on workgroup HEDLIN-LAUDER [2006/01/19 19:58:57, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124) become_logon_server_success: Samba is now a logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:58:57, 2] nmbd/nmbd_become_dmb.c:become_domain_master_stage1(173) become_domain_master_stage1: Becoming domain master browser for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:59:01, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) * Samba server PDC is now a domain master browser for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 * [2006/01/19 19:59:06, 0] nmbd/nmbd.c:terminate(56) Got SIGTERM: going down... [2006/01/19 19:59:07, 0] nmbd/nmbd.c:main(668) Netbios nameserver version 3.0.14a started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2006/01/19 19:59:07, 2] nmbd/nmbd.c:main(692) Becoming a daemon. [2006/01/19 19:59:07, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/01/19 19:59:07, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/01/19 19:59:07, 2] lib/interface.c:add_interface(81) added interface ip=10.10.10.12 bcast=10.10.10.255 nmask=255.255.255.0 [2006/01/19 19:59:07, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:10.10.10.12 Broadcast address:10.10.10.255 Subnet mask:255.255.255.0 [2006/01/19 19:59:07, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/01/19 19:59:07, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/01/19 19:59:07, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:59:07, 2] nmbd/nmbd_logonnames.c:become_logon_server(136) become_logon_server: Atempting t
Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems
Anthony Messina wrote: > your smb.conf seems correct, and from what i'm understanding, if a > windows computer wins the election to be a master broswer, then > workstations will appear, if the pdc is the master browser, no > workstations appear. is that correct? Yes, that's correct. > if that is the case, it really sounds like a case of either a > misconfigured wins server or a problem with wins itself. It's worth noting that it does this with or without WINS. > do your nmbd.logs give you any clue as to what might be wrong? If the Samba server is configured thusly: [global] domain master = yes local master = no preferred master = no os level = 0 I see this in the nmbd logs: [2006/01/19 19:58:53, 0] nmbd/nmbd.c:main(668) Netbios nameserver version 3.0.14a started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2006/01/19 19:58:53, 2] nmbd/nmbd.c:main(692) Becoming a daemon. [2006/01/19 19:58:53, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/01/19 19:58:53, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/01/19 19:58:53, 2] lib/interface.c:add_interface(81) added interface ip=10.10.10.12 bcast=10.10.10.255 nmask=255.255.255.0 [2006/01/19 19:58:53, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:10.10.10.12 Broadcast address:10.10.10.255 Subnet mask:255.255.255.0 [2006/01/19 19:58:53, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/01/19 19:58:53, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/01/19 19:58:53, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:58:53, 2] nmbd/nmbd_logonnames.c:become_logon_server(136) become_logon_server: Atempting to become logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:58:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) become_domain_master_browser_bcast: Attempting to become domain master browser on workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:58:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) become_domain_master_browser_bcast: querying subnet 10.10.10.12 for domain master browser on workgroup HEDLIN-LAUDER [2006/01/19 19:58:57, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124) become_logon_server_success: Samba is now a logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:58:57, 2] nmbd/nmbd_become_dmb.c:become_domain_master_stage1(173) become_domain_master_stage1: Becoming domain master browser for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:59:01, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) * Samba server PDC is now a domain master browser for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 * [2006/01/19 19:59:06, 0] nmbd/nmbd.c:terminate(56) Got SIGTERM: going down... [2006/01/19 19:59:07, 0] nmbd/nmbd.c:main(668) Netbios nameserver version 3.0.14a started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2006/01/19 19:59:07, 2] nmbd/nmbd.c:main(692) Becoming a daemon. [2006/01/19 19:59:07, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/01/19 19:59:07, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/01/19 19:59:07, 2] lib/interface.c:add_interface(81) added interface ip=10.10.10.12 bcast=10.10.10.255 nmask=255.255.255.0 [2006/01/19 19:59:07, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:10.10.10.12 Broadcast address:10.10.10.255 Subnet mask:255.255.255.0 [2006/01/19 19:59:07, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/01/19 19:59:07, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/01/19 19:59:07, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:59:07, 2] nmbd/nmbd_logonnames.c:become_logon_server(136) become_logon_server: Atempting to become logon server for workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:59:07, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) become_domain_master_browser_bcast: Attempting to become domain master browser on workgroup HEDLIN-LAUDER on subnet 10.10.10.12 [2006/01/19 19:59:07, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) become_domain_master_browser_bcast: querying subnet 10.10.10.12 for domain master browser on workgroup HEDLIN-LAUDER [2006/01/19 19:59:11, 0] nmbd/n
Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems
Stephen Bosch wrote: Anthony Messina wrote: something simple, perhaps too simple... this once happened to me and i realized it was that the workgroup name that i had specified in samba was not the same as the one in windows, or that i had not joined the proper domain. or is your windows computer set up to use the right wins server? Alas, I wish it were this simple. The domain in question is definitely consistent between workstations and the PDC -- as I noted in a previous post, if the OS level is set to 0 and the domain, preferred and local master are set to "no", one of the Windows machines becomes the domain master browser and suddenly workstations appear in the browse list. I'm determined to find the cause of this problem, whatever it takes. I've followed the Samba how-to and everything should be working, but obviously I'm missing something somewhere... Here's my smb.conf: ### # GLOBAL PARAMETERS ### [global] # NOTE: change these parameters to suit your business workgroup = HEDLIN-LAUDER netbios name = PDC passdb backend = ldapsam:ldap://ldap.hedlinlauder.com/ ldap admin dn = cn=samba,ou=dsa,dc=hedlinlauder,dc=com ldap suffix = dc=hedlinlauder,dc=com # interface list should be specified for machines with > 1 interface ;interfaces = ,,... ### # NOTE: You should not have to change any of the other GLOBAL PARAMETERS # beyond this point, as long as you are building a PDC without WINS # using cups for printing. You may need to change the SHARE DEFINITIONS # (see below) however. ### server string = Samba Server %v domain logons = yes os level = 65 domain master = yes preferred master = yes local master = yes wins support = yes time server = yes name resolve order = wins bcast lmhosts logon script = %U.bat logon drive = H: logon path = \\%L\Profiles\%U ;logon home = \\%L\%U\.profile # ldap configuration ldap group suffix = ou=Group ldap user suffix = ou=People ldap machine suffix = ou=Hosts ldap idmap suffix = ou=Idmap ldap ssl = start_tls ldap delete dn = yes add user script = /usr/sbin/smbldap-useradd -a -m "%u" delete user script = /usr/sbin/smbldap-userdel "%u" add machine script = /usr/sbin/smbldap-useradd -w "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" # printers configuration printer admin = @"Print Operators" load printers = yes create mask = 0640 directory mask = 0750 printing = cups printcap name = cups deadtime = 10 # other guest account = nobody map to guest = Bad User show add printer wizard = yes preserve case = yes short preserve case = yes case sensitive = no enable privileges = yes username map = /etc/samba/smbusers security = user encrypt passwords = yes obey pam restrictions = no ldap passwd sync = yes log level = 2 syslog = 0 log file = /var/log/samba/log.%m max log size = 5000 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Dos charset = 850 Unix charset = ISO8859-1 -Stephen- your smb.conf seems correct, and from what i'm understanding, if a windows computer wins the election to be a master broswer, then workstations will appear, if the pdc is the master browser, no workstations appear. is that correct? if that is the case, it really sounds like a case of either a misconfigured wins server or a problem with wins itself. do your nmbd.logs give you any clue as to what might be wrong? another thouhgt... what interfaces do you have on the system? could you try specifying "interfaces = lo eth0" (substitute eth* for whatever your lan interface is). and double check your windows clients wins server address to make sure it matches your pdc lan address. -a -- 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.14 - very puzzling domain browsing problems
Are you sure nmbd is running? Did you query the wins server by using: nmblookup -U IPADDR_OF_WINS_SERVER -R WORKSTATION_NAME_TO_ASK_FOR pgpA1wkOUs8no.pgp Description: PGP signature -- 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.14 - very puzzling domain browsing problems
Anthony Messina wrote: > something simple, perhaps too simple... > > this once happened to me and i realized it was that the workgroup name > that i had specified in samba was not the same as the one in windows, or > that i had not joined the proper domain. > > or > > is your windows computer set up to use the right wins server? Alas, I wish it were this simple. The domain in question is definitely consistent between workstations and the PDC -- as I noted in a previous post, if the OS level is set to 0 and the domain, preferred and local master are set to "no", one of the Windows machines becomes the domain master browser and suddenly workstations appear in the browse list. I'm determined to find the cause of this problem, whatever it takes. I've followed the Samba how-to and everything should be working, but obviously I'm missing something somewhere... Here's my smb.conf: ### # GLOBAL PARAMETERS ### [global] # NOTE: change these parameters to suit your business workgroup = HEDLIN-LAUDER netbios name = PDC passdb backend = ldapsam:ldap://ldap.hedlinlauder.com/ ldap admin dn = cn=samba,ou=dsa,dc=hedlinlauder,dc=com ldap suffix = dc=hedlinlauder,dc=com # interface list should be specified for machines with > 1 interface ;interfaces = ,,... ### # NOTE: You should not have to change any of the other GLOBAL PARAMETERS # beyond this point, as long as you are building a PDC without WINS # using cups for printing. You may need to change the SHARE DEFINITIONS # (see below) however. ### server string = Samba Server %v domain logons = yes os level = 65 domain master = yes preferred master = yes local master = yes wins support = yes time server = yes name resolve order = wins bcast lmhosts logon script = %U.bat logon drive = H: logon path = \\%L\Profiles\%U ;logon home = \\%L\%U\.profile # ldap configuration ldap group suffix = ou=Group ldap user suffix = ou=People ldap machine suffix = ou=Hosts ldap idmap suffix = ou=Idmap ldap ssl = start_tls ldap delete dn = yes add user script = /usr/sbin/smbldap-useradd -a -m "%u" delete user script = /usr/sbin/smbldap-userdel "%u" add machine script = /usr/sbin/smbldap-useradd -w "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" # printers configuration printer admin = @"Print Operators" load printers = yes create mask = 0640 directory mask = 0750 printing = cups printcap name = cups deadtime = 10 # other guest account = nobody map to guest = Bad User show add printer wizard = yes preserve case = yes short preserve case = yes case sensitive = no enable privileges = yes username map = /etc/samba/smbusers security = user encrypt passwords = yes obey pam restrictions = no ldap passwd sync = yes log level = 2 syslog = 0 log file = /var/log/samba/log.%m max log size = 5000 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Dos charset = 850 Unix charset = ISO8859-1 -Stephen- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba