Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 17:07 -0700, John R Pierce wrote:
> On 07/08/10 1:31 PM, Les Mikesell wrote:
> > I'm getting at your assertion that a Wins server on every subnet is
> > "right"  being impractical in most networks.  And like the OPs problem
> > it has to do with a windows client being able to resolve a windows name
> > on a different subnet.
> >
> 
> I've never HEARD of using multiple wins servers, one per network 
> segment.   each SMB client can find the WINS server if you put it in the 
> right DHCP option, or if you manually configure the client to know where 
> the WINS server is.   I've never used more than 2 of them 
> enterprise-wide, and nowdays, you don't need WINS at all, Windows uses 
> DNS as its primary locator service with Active Directory, and WINS is 
> heavily deprecated.
> 
> but, this whole discussion really has nothing to do with CentOS 
> specifically, it would better be addressed on a Samba list, I'm sure.

Actually, Microsoft always recommended multiple WINS servers and using
WINS replication.

I quoted the Samba documentation regarding using a separate Samba based
WINS server on each subnet.

It's not that WINS is deprecated in favor of DNS but where active
directory is used, it must use DNS and not WINS but a Samba 3.x server
is still in a NT type Domain and WINS is the methodology.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread John R Pierce
On 07/08/10 1:31 PM, Les Mikesell wrote:
> I'm getting at your assertion that a Wins server on every subnet is
> "right"  being impractical in most networks.  And like the OPs problem
> it has to do with a windows client being able to resolve a windows name
> on a different subnet.
>

I've never HEARD of using multiple wins servers, one per network 
segment.   each SMB client can find the WINS server if you put it in the 
right DHCP option, or if you manually configure the client to know where 
the WINS server is.   I've never used more than 2 of them 
enterprise-wide, and nowdays, you don't need WINS at all, Windows uses 
DNS as its primary locator service with Active Directory, and WINS is 
heavily deprecated.

but, this whole discussion really has nothing to do with CentOS 
specifically, it would better be addressed on a Samba list, I'm sure.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 18:10 -0500, Doug Coats wrote:
> 
> After a little bit of research I feel a little vindicated.  It seems
> that Samba3x seporated out nmb.  On Samba 3.0 the nmb service does not
> show up in the chkconfig.  It simply starts and stops with smb.
>  
> On Samba3x it seporates out nmb and it does not start by itself.  So
> based on my experience I never needed to start nmb seporately so just
> like all of you it didn't enter my mind as the culperate.

yeah - Fedora packaging separated the 2 several releases ago and I
gather that all of the new packages are now doing that but RHEL releases
aren't likely to change.

I thought the name calling was rather rude/harsh and uncalled for and
think you did a pretty good job of tracking down the problem.

Generally though, in your setup I would probably discourage cross subnet
browse lists because they can get large and slow and generate excessive
traffic. I would probably segregate student computers and teacher
computers and not display teacher computers to students, etc.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
After a little bit of research I feel a little vindicated.  It seems that
Samba3x seporated out nmb.  On Samba 3.0 the nmb service does not show up in
the chkconfig.  It simply starts and stops with smb.

On Samba3x it seporates out nmb and it does not start by itself.  So based
on my experience I never needed to start nmb seporately so just like all of
you it didn't enter my mind as the culperate.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Les Mikesell
On 7/8/2010 4:00 PM, JohnS wrote:
>
>> Windows name resolution has next to nothing to do with ip routing.  If
>> your routing works you can make windows name resolution work over it,
>> but it isn't automatic.
>
>   If it does not work then it want happen as in getting routed to the
> wins server.  You agree on that right?  If routing don't work then there
> is no wins resolution in effect.  In other words we have to know where
> to go.

Yes, if your routing is broken or you firewall needed services between 
subnets, lots of things will break.

>> Agreed, but putting a wins server on every subnet would be complicated -
>> and unnecessary.
>
> Yea could be a PITA.  You know umm Winblows Serve, WINS Services can umm do 
> multi SNs I do think.
> Now I may not me totally correct on that.

That's the whole point of using a WINS server.  If you only have or care 
about one subnet you can let broadcasts and the ad-hoc master browser 
election do their thing.  Current windows versions will also use DNS for 
most name lookups but I don't know if you can use it to find a PDC. 
Active Directory sort of hides the difference between netbios and DNS 
names by combining them - and things get weird if don't put them on the 
same server.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread JohnS

On Thu, 2010-07-08 at 15:31 -0500, Les Mikesell wrote:

> > And your getting at what?  How does this relate to the OPs problem?
> 
> I'm getting at your assertion that a Wins server on every subnet is 
> "right"  being impractical in most networks.  And like the OPs problem 
> it has to do with a windows client being able to resolve a windows name 
> on a different subnet.

Ahh yea I know that.  But times you have to suffice one or the other but
not both.

> > You seen to have a little knowledge of ip.  So why not pass the proper
> > routing info to the vpn client.  If perhaps it was configured right the
> > first time there would not be no what do I do now.
> 
> Windows name resolution has next to nothing to do with ip routing.  If 
> your routing works you can make windows name resolution work over it, 
> but it isn't automatic.

 If it does not work then it want happen as in getting routed to the
wins server.  You agree on that right?  If routing don't work then there
is no wins resolution in effect.  In other words we have to know where
to go.

> > Windows related servvce problem?  Slap a dhcp helper to pass the
> > connections to the main dhcp server then to the wins server.  It can be
> > any Unix variant dhcp helper and server.  There's two words for this:
> > 'Network Aware".  That's all it takes.
> 
> DHCP service also doesn't have much to do with name resolution other 
> than being able to hand out the address of the resolver.

lol no not much but come in needy in some situations. Pass off the wins
addy indeed though.

> > Don't make so complicated you can't control.
> 
> Agreed, but putting a wins server on every subnet would be complicated - 
> and unnecessary.

Yea could be a PITA.  You know umm Winblows Serve, WINS Services can umm do 
multi SNs I do think.  
Now I may not me totally correct on that.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Les Mikesell
On 7/8/2010 3:11 PM, JohnS wrote:
>
> On Thu, 2010-07-08 at 14:55 -0500, Les Mikesell wrote:
>
>>> Correct and Not Correct... How about that?  There really is no right or
>>> wrong in either of you twos answer.  The right way is Wins on every SN
>>> to pass to the MB.  That's my opinion.
>>
>> So what do you do on a VPN connection that is configured to not be on
>> the same subnet as any server?  Or subnets where there is no
>> windows-related service at all but you might plug in a client?
> ---
> And your getting at what?  How does this relate to the OPs problem?

I'm getting at your assertion that a Wins server on every subnet is 
"right"  being impractical in most networks.  And like the OPs problem 
it has to do with a windows client being able to resolve a windows name 
on a different subnet.

> You seen to have a little knowledge of ip.  So why not pass the proper
> routing info to the vpn client.  If perhaps it was configured right the
> first time there would not be no what do I do now.

Windows name resolution has next to nothing to do with ip routing.  If 
your routing works you can make windows name resolution work over it, 
but it isn't automatic.

> Windows related servvce problem?  Slap a dhcp helper to pass the
> connections to the main dhcp server then to the wins server.  It can be
> any Unix variant dhcp helper and server.  There's two words for this:
> 'Network Aware".  That's all it takes.

DHCP service also doesn't have much to do with name resolution other 
than being able to hand out the address of the resolver.

> Don't make so complicated you can't control.

Agreed, but putting a wins server on every subnet would be complicated - 
and unnecessary.

-- 
   Les Mikesell
 lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread JohnS

On Thu, 2010-07-08 at 14:55 -0500, Les Mikesell wrote:

> > Correct and Not Correct... How about that?  There really is no right or
> > wrong in either of you twos answer.  The right way is Wins on every SN
> > to pass to the MB.  That's my opinion.
> 
> So what do you do on a VPN connection that is configured to not be on 
> the same subnet as any server?  Or subnets where there is no 
> windows-related service at all but you might plug in a client?
---
And your getting at what?  How does this relate to the OPs problem?

You seen to have a little knowledge of ip.  So why not pass the proper
routing info to the vpn client.  If perhaps it was configured right the
first time there would not be no what do I do now.

Windows related servvce problem?  Slap a dhcp helper to pass the
connections to the main dhcp server then to the wins server.  It can be
any Unix variant dhcp helper and server.  There's two words for this:
'Network Aware".  That's all it takes.

Don't make so complicated you can't control.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
>
>  Netbios can use multiple network transports, some of which only have
> broadcasts to support name resolution.  Each subnet will elect a master
> browser to collect the names and respond to queries.  As an extension
> for the IP protocol which is routeable, the WINS service accepts the
> lists from multiple master browsers at a pre-configured IP address. For
> it to work, the master browser that happens to be elected on any subnet
> must be configured to use the same WINS address and must have IP
> protocol working - and the clients need the address to query as part of
> their configuration, either from DHCP or manually entered if they have a
> static IP.
>
> --
>   Les Mikesell
> lesmikes...@gmail.com
>
Thank you Les for not killing me off like some of the other people who have
been trying to help.

As a response to others, YES, I should have read the man but I might have
posed the question all the same.  Sometimes my eyes glaze over after about
he 3rd sentence when trying to make sense of them.

I turned on nmb and that solved my problem.

Sometimes my life serves as a warning to others and now all they have to do
is read my posts and learn from my mistakes.

Thanks for your patience
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Les Mikesell
On 7/8/2010 2:43 PM, JohnS wrote:
>
>>> WINS is a broadcast based protocol and thus it only works on the local
>>> network and each subnet/network MUST necessarily have master browser
>>> elections. The WINS server on each subnet would serve as a clearing
>>> house for name resolution for each subnet/network. That is clearly not
>>> working for him just from that error message.
>>
>> Errr, no.  WINS is a server at a specified and routable IP address where
>> the subnet master browsers send their lists periodically.  Normally
>> you'd have your DHCP server hand out the wins server address and
>> manually configure it on machines with static IPs.  The point of using
>> WINS is to have one server that knows all of your windows name/address
>> mappings.
> ---
> Correct and Not Correct... How about that?  There really is no right or
> wrong in either of you twos answer.  The right way is Wins on every SN
> to pass to the MB.  That's my opinion.

So what do you do on a VPN connection that is configured to not be on 
the same subnet as any server?  Or subnets where there is no 
windows-related service at all but you might plug in a client?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 14:29 -0500, Les Mikesell wrote:
> On 7/8/2010 2:12 PM, Craig White wrote:
> >
> >> I thought the point of WINS was to have a single address that would
> >> collate the names/addresses from all your networks.
> >>
> >>> The important thing is to get the WINS working on EACH network. It's
> >>> also easiest to have your PDC be the WINS server - period.
> >>
> >> But PDC's aren't limited to one subnet either.
> > 
> > WINS is a broadcast based protocol and thus it only works on the local
> > network and each subnet/network MUST necessarily have master browser
> > elections. The WINS server on each subnet would serve as a clearing
> > house for name resolution for each subnet/network. That is clearly not
> > working for him just from that error message.
> 
> Errr, no.  WINS is a server at a specified and routable IP address where 
> the subnet master browsers send their lists periodically.  Normally 
> you'd have your DHCP server hand out the wins server address and 
> manually configure it on machines with static IPs.  The point of using 
> WINS is to have one server that knows all of your windows name/address 
> mappings.
> 
> > Samba machines are not limited to one subnet either by multiple network
> > addresses or via routers but their ability to identify their presence on
> > other subnets/networks is limited at best (remote announce).
> >
> > The concept was that computers just find each other on a subnet via
> > network browsing. When you have a server involved, you want to 'rig' the
> > browser elections so you have entirely predictable location for
> > retrieving the current workgroup members instead of the haphazard method
> > employed by default. This means you put a WINS server on each subnet and
> > specifically instruct each client (whether a Windows workstation or a
> > samba server) to specifically interrogate that WINS server for the
> > latest browse list.
> 
> You are partly right there, but you really want to end up with one 
> server that knows all the names, not a separate incomplete set on every 
> subnet.  How do you manage VPN connections that might be point-to-point 
> with nothing else on the same subnet at all?

I'm not going to argue with you but I will point out the Samba
documentation that covers this...

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html

from which I quote...

"Right now Samba WINS does not support MS-WINS replication. This means
that when setting up Samba as a WINS server, there must only be one nmbd
configured as a WINS server on the network. Some sites have used
multiple Samba WINS servers for redundancy (one server per subnet) and
then used remote browse sync and remote announce to effect browse list
collation across all segments."

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
>
> How 'bout with the server that's supposed to be the master, above the two
> other PDCs?
>
>mark
>
It is set up to NTP to the same external servers so they should all be in
sync.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Les Mikesell
On 7/8/2010 2:36 PM, Doug Coats wrote:
> I just did a checkconfig on the PDC in question 192.168.6.1.  And I
> noticed something that might be nothing but it puzzles me.  The nmb
> service is set to "off" at all run levels.  If I check the nmb status it
> says that it is stopped.  Doesn't Samba need that for net-bios support?
> I am probably showing my ignorace here but what is the connection
> between net-bios names and WINS?

Netbios can use multiple network transports, some of which only have 
broadcasts to support name resolution.  Each subnet will elect a master 
browser to collect the names and respond to queries.  As an extension 
for the IP protocol which is routeable, the WINS service accepts the 
lists from multiple master browsers at a pre-configured IP address. For 
it to work, the master browser that happens to be elected on any subnet 
must be configured to use the same WINS address and must have IP 
protocol working - and the clients need the address to query as part of 
their configuration, either from DHCP or manually entered if they have a 
static IP.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread m . roth
Doug Coats wrote:
> mark wrote:
>> Um, does a timing issue come into play here? If the local clock is not
>> within a few seconds, we can't connect to AD (we are going through
>> kerborous). Is there time data in the cache?
>
> Both the XP box and the Windows 7 use the PDC server as their time server
> so they are set to the same time.

How 'bout with the server that's supposed to be the master, above the two
other PDCs?

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread JohnS

On Thu, 2010-07-08 at 14:36 -0500, Doug Coats wrote:
> I just did a checkconfig on the PDC in question 192.168.6.1.  And I
> noticed something that might be nothing but it puzzles me.  The nmb
> service is set to "off" at all run levels.  If I check the nmb status
> it says that it is stopped.  Doesn't Samba need that for net-bios
> support?  I am probably showing my ignorace here but what is the
> connection between net-bios names and WINS?
---
i need to come and PULL YOUR HAIR OUT I not being an asshole but we have
what is call "man" to find info on various applications including samba.

man nmbd


John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 14:36 -0500, Doug Coats wrote:
> I just did a checkconfig on the PDC in question 192.168.6.1.  And I
> noticed something that might be nothing but it puzzles me.  The nmb
> service is set to "off" at all run levels.  If I check the nmb status
> it says that it is stopped.  Doesn't Samba need that for net-bios
> support?  I am probably showing my ignorace here but what is the
> connection between net-bios names and WINS?

man nmbd

it has EVERYTHING to do with netbios

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread JohnS

On Thu, 2010-07-08 at 14:29 -0500, Les Mikesell wrote:

> > WINS is a broadcast based protocol and thus it only works on the local
> > network and each subnet/network MUST necessarily have master browser
> > elections. The WINS server on each subnet would serve as a clearing
> > house for name resolution for each subnet/network. That is clearly not
> > working for him just from that error message.
> 
> Errr, no.  WINS is a server at a specified and routable IP address where 
> the subnet master browsers send their lists periodically.  Normally 
> you'd have your DHCP server hand out the wins server address and 
> manually configure it on machines with static IPs.  The point of using 
> WINS is to have one server that knows all of your windows name/address 
> mappings.
---
Correct and Not Correct... How about that?  There really is no right or
wrong in either of you twos answer.  The right way is Wins on every SN
to pass to the MB.  That's my opinion.

DHCP is the HACKING Way to pass off wins clients.  My Opinion.   But his
topology will require prolly a DHCP helper client because of the
subnets.  In essence it is a bad designed network that is the problem.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread JohnS

On Thu, 2010-07-08 at 14:12 -0500, Doug Coats wrote:

> 
> As I said in another post I changed the machine name to an entirely
> different format and I didn't copy any domain information from the
> prior machine(meaning I didn't try to migrate the information placed
> in the smbpasswd). Since all the machines were being switched to
> Windows 7 I wanted a clean start.
---
I see now.  I went back and read your whole thread.  Just like Craig has
said to you in the last mail it will not work as you expect.  There has
to be a helper or Wins server on each of the SNs to contact the Master
Browser.  That's is the only I am aware of doing it the right way also.

You could pass them off of a DHCP Helper server but I suspect that's
beyond what you want.  The thing is the network is a Ad-Hoc Network and
there hard to deal with with out proper prior planing.

John


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
I just did a checkconfig on the PDC in question 192.168.6.1.  And I noticed
something that might be nothing but it puzzles me.  The nmb service is set
to "off" at all run levels.  If I check the nmb status it says that it is
stopped.  Doesn't Samba need that for net-bios support?  I am probably
showing my ignorace here but what is the connection between net-bios names
and WINS?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Les Mikesell
On 7/8/2010 2:12 PM, Craig White wrote:
>
>> I thought the point of WINS was to have a single address that would
>> collate the names/addresses from all your networks.
>>
>>> The important thing is to get the WINS working on EACH network. It's
>>> also easiest to have your PDC be the WINS server - period.
>>
>> But PDC's aren't limited to one subnet either.
> 
> WINS is a broadcast based protocol and thus it only works on the local
> network and each subnet/network MUST necessarily have master browser
> elections. The WINS server on each subnet would serve as a clearing
> house for name resolution for each subnet/network. That is clearly not
> working for him just from that error message.

Errr, no.  WINS is a server at a specified and routable IP address where 
the subnet master browsers send their lists periodically.  Normally 
you'd have your DHCP server hand out the wins server address and 
manually configure it on machines with static IPs.  The point of using 
WINS is to have one server that knows all of your windows name/address 
mappings.

> Samba machines are not limited to one subnet either by multiple network
> addresses or via routers but their ability to identify their presence on
> other subnets/networks is limited at best (remote announce).
>
> The concept was that computers just find each other on a subnet via
> network browsing. When you have a server involved, you want to 'rig' the
> browser elections so you have entirely predictable location for
> retrieving the current workgroup members instead of the haphazard method
> employed by default. This means you put a WINS server on each subnet and
> specifically instruct each client (whether a Windows workstation or a
> samba server) to specifically interrogate that WINS server for the
> latest browse list.

You are partly right there, but you really want to end up with one 
server that knows all the names, not a separate incomplete set on every 
subnet.  How do you manage VPN connections that might be point-to-point 
with nothing else on the same subnet at all?

-- 
   Les Mikesell
lesmikes...@gmail.com


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 13:52 -0500, Doug Coats wrote:
> With the WINS data cleared. for the past 20 min.  (I did it before I
> wrote about it) Neither PDC has reported to WINS.  So no wonder my
> PC's can't find their domain.
>  
> So how do I make sure that 192.168.6.1 is added to wins.dat.  I could
> do it manually but I would rather it communicate the way that it was
> intended to just so I know that the network is configured and working
> correctly.

the truth is you can't if the PDC's do not have an interface on
192.168.6 network - you can create static entries in WINS files on each
hosts but that defeats the purpose. You can however, distribute NETBIOS
server information via DHCP.

What you really want is a WINS server on each subnet. If it's
workstation professional, you might be able to install WINS on one of
them if you don't have any samba server on that particular subnet.

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Les Mikesell
On 7/8/2010 1:52 PM, Doug Coats wrote:
> With the WINS data cleared. for the past 20 min.  (I did it before I
> wrote about it) Neither PDC has reported to WINS.  So no wonder my PC's
> can't find their domain.
> So how do I make sure that 192.168.6.1 is added to wins.dat.  I could do
> it manually but I would rather it communicate the way that it was
> intended to just so I know that the network is configured and working
> correctly.

Is the wins server address configured in the PDCs?  I thought the way 
this was supposed to work was that the master browsers on each subnet 
would update their addresses to the wins server - and that a pdc would 
always be the master browser on its subnet.  If the wins address is 
configured, are there firewalls between them?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 13:43 -0500, Les Mikesell wrote:
> On 7/8/2010 1:15 PM, Craig White wrote:
> >
> > a 'network' is 192.168.x assuming that you are using class C subnet
> > masks (255.255.255.0) and so you should have a WINS server on EACH
> > network (192.168.4, 192.168.5, 192.168.6, etc.)
> 
> I thought the point of WINS was to have a single address that would 
> collate the names/addresses from all your networks.
> 
> > The important thing is to get the WINS working on EACH network. It's
> > also easiest to have your PDC be the WINS server - period.
> 
> But PDC's aren't limited to one subnet either.

WINS is a broadcast based protocol and thus it only works on the local
network and each subnet/network MUST necessarily have master browser
elections. The WINS server on each subnet would serve as a clearing
house for name resolution for each subnet/network. That is clearly not
working for him just from that error message.

Samba machines are not limited to one subnet either by multiple network
addresses or via routers but their ability to identify their presence on
other subnets/networks is limited at best (remote announce).

The concept was that computers just find each other on a subnet via
network browsing. When you have a server involved, you want to 'rig' the
browser elections so you have entirely predictable location for
retrieving the current workgroup members instead of the haphazard method
employed by default. This means you put a WINS server on each subnet and
specifically instruct each client (whether a Windows workstation or a
samba server) to specifically interrogate that WINS server for the
latest browse list.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
> ---
> Ok since you say the interdomain networking is functioning (triangle
> routing) have a read at this:
>
> http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#id2573732
>
>
> John
>
> all else that fails put that machine on another known working Subnet and
> have a go at that.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

As I said in another post I changed the machine name to an entirely
different format and I didn't copy any domain information from the prior
machine(meaning I didn't try to migrate the information placed in the
smbpasswd). Since all the machines were being switched to Windows 7 I wanted
a clean start.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
>
>
> Um, does a timing issue come into play here? If the local clock is not
> within a few seconds, we can't connect to AD (we are going through
> kerborous). Is there time data in the cache?
>
>mark


Both the XP box and the Windows 7 use the PDC server as their time server so
they are set to the same time.

Doug
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread JohnS

On Thu, 2010-07-08 at 13:41 -0500, Doug Coats wrote:


> I agree that preferred master should have been set to yes.  I made
> that change with but still no joy.
>  
> I don't mean to be contrary but our cross subnet browsing has been
> working since 2003 when we set up this network.  It has been very
> reliable and I depend on it to work.  And I believe it is because of
> have our WINS servers the way that they are.

Contrary? Well I had to ask.  Because it has to work like that for your
SNMs. NP

> I do think that I have hit upon an issue.  The WINS data for samba is kept in 
> /var/cache/samba.dat but it is updated dynamically with nmdb.  It has dated 
> data.  When I moved the server I changed the server name slightly and so the 
> WINS data points to the old name at the current IP.  In fact with this 
> network rebuild I changed most of my computer names and they are all 
> incorrect.  I think I need to shut down all three instances of samba clear 
> the wins data and then start them all again so that they populate from 
> scratch.
>  
> Doug
---
Ok since you say the interdomain networking is functioning (triangle
routing) have a read at this:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#id2573732


John

all else that fails put that machine on another known working Subnet and
have a go at that.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
With the WINS data cleared. for the past 20 min.  (I did it before I wrote
about it) Neither PDC has reported to WINS.  So no wonder my PC's can't find
their domain.

So how do I make sure that 192.168.6.1 is added to wins.dat.  I could do it
manually but I would rather it communicate the way that it was intended to
just so I know that the network is configured and working correctly.

Doug
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread m . roth
Doug Coats wrote:
>>
>>
>> I do think that I have hit upon an issue.  The WINS data for samba is
>> kept in /var/cache/samba.dat but it is updated dynamically with nmdb. 
It has
>> dated data.  When I moved the server I changed the server name slightly
>> and so the WINS data points to the old name at the current IP.  In fact
with
>> this network rebuild I changed most of my computer names and they are
>> all incorrect.  I think I need to shut down all three instances of samba
>> clear the wins data and then start them all again so that they populate
from
>> scratch.
>
> Correction to that.  Only the WINS server has data in this location.

Um, does a timing issue come into play here? If the local clock is not
within a few seconds, we can't connect to AD (we are going through
kerborous). Is there time data in the cache?

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
>
>
> I do think that I have hit upon an issue.  The WINS data for samba is kept
> in /var/cache/samba.dat but it is updated dynamically with nmdb.  It has
> dated data.  When I moved the server I changed the server name slightly and
> so the WINS data points to the old name at the current IP.  In fact with
> this network rebuild I changed most of my computer names and they are all
> incorrect.  I think I need to shut down all three instances of samba clear
> the wins data and then start them all again so that they populate from
> scratch.
>
>

Correction to that.  Only the WINS server has data in this location.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Les Mikesell
On 7/8/2010 1:15 PM, Craig White wrote:
>
> a 'network' is 192.168.x assuming that you are using class C subnet
> masks (255.255.255.0) and so you should have a WINS server on EACH
> network (192.168.4, 192.168.5, 192.168.6, etc.)

I thought the point of WINS was to have a single address that would 
collate the names/addresses from all your networks.

> The important thing is to get the WINS working on EACH network. It's
> also easiest to have your PDC be the WINS server - period.

But PDC's aren't limited to one subnet either.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
 a 'network' is 192.168.x assuming that you are using class C subnet
> masks (255.255.255.0) and so you should have a WINS server on EACH
> network (192.168.4, 192.168.5, 192.168.6, etc.)
>
> Cross network browsing is somewhat of a hit or miss and not reliable...
> for a number of reasons such as the default firewall settings for
> Windows systems will only allow network traffic to the immediate network
> that it is on (i.e. 192.168.6)
>
> The important thing is to get the WINS working on EACH network. It's
> also easiest to have your PDC be the WINS server - period.
>
> Also, a PDC must necessarily have...
>
> domain master = yes
> preferred master = yes
> domain logins = yes
> security = user
>
> Craig
>

I agree that preferred master should have been set to yes.  I made that
change with but still no joy.

I don't mean to be contrary but our cross subnet browsing has been working
since 2003 when we set up this network.  It has been very reliable and I
depend on it to work.  And I believe it is because of have our WINS servers
the way that they are.

I do think that I have hit upon an issue.  The WINS data for samba is kept
in /var/cache/samba.dat but it is updated dynamically with nmdb.  It has
dated data.  When I moved the server I changed the server name slightly and
so the WINS data points to the old name at the current IP.  In fact with
this network rebuild I changed most of my computer names and they are all
incorrect.  I think I need to shut down all three instances of samba clear
the wins data and then start them all again so that they populate from
scratch.

Doug
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 12:58 -0500, Doug Coats wrote:
> 
> His problem is WINS resolution doesn't tell the workstations
> which
> computer is the domain controller and that is what he needs to
> fix
> (first by designating a domain controller and then by making
> sure that
> WINS is functioning well).
> 
> Craig
> 
> Thanks for all the help.  I agree that WINS seems to be the issue, or
> atleast it is a place that we can start with to help track down the
> issue.
>  
> Currently 192.168.4.1 is the WINS server.  This is necessary because I
> need cross subnet brownsing between 192.168.6. and 192.168.5.
> According to the man page for smb.conf only one computer on your
> network can be a WINS server and this is the computer that all other
> computers have access to.
>  
> That being said 192.168.6. and 192.168.5. are both PDC's for their
> subnet.  All I have done is moved the 192.168.6.1 configuration to a
> new machine.  Replaced that machine.  Removed Samba 3.0 and Installed
> Samba3x.
>  
> How do I make sure that 192.168.4.1 recognizes 192.168.6.1 as the
> ADMIN PDC so that WINS traffic is directed correctly?

a 'network' is 192.168.x assuming that you are using class C subnet
masks (255.255.255.0) and so you should have a WINS server on EACH
network (192.168.4, 192.168.5, 192.168.6, etc.)

Cross network browsing is somewhat of a hit or miss and not reliable...
for a number of reasons such as the default firewall settings for
Windows systems will only allow network traffic to the immediate network
that it is on (i.e. 192.168.6)

The important thing is to get the WINS working on EACH network. It's
also easiest to have your PDC be the WINS server - period.

Also, a PDC must necessarily have...

domain master = yes
preferred master = yes
domain logins = yes
security = user

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread JohnS

On Thu, 2010-07-08 at 10:50 -0700, Craig White wrote:
> On Thu, 2010-07-08 at 13:44 -0400, JohnS wrote:
> > On Thu, 2010-07-08 at 12:03 -0500, Doug Coats wrote:
> > 
> > 
> > > Here is the testparm -sv you requested.
> > >  
> > > For a short explaination of the IP's listed.  We have two domains.
> > > One served by 192.168.6.1 and one by 192.168.5.1.  I am currantly
> > > upgrading the 192.168.6. network to Windows 7. Or atleast trying.
> > > 192.168.4.1 is our gatway and the two servers listed above act as file
> > > servers and routers for their domains.  I hope that makes sence.
> > >  
> > > Load smb config files from /etc/samba/smb.conf
> > ---
> > To be truth full I think you have an out right mess going on here.  One
> > thing your smb config is 10 miles long.
> > 
> > Start over on a fresh install test machine and try joining the W7
> > machine to it.  Then take your changes and merg into your current
> > working machine config.  Life will be a lot easier.  One change at a
> > time.
> 

> His problem is WINS resolution doesn't tell the workstations which
> computer is the domain controller and that is what he needs to fix
> (first by designating a domain controller and then by making sure that
> WINS is functioning well).
> 
> Craig
---
Exactly why I said start at the bottom and work your way up.  And
another problem is I think he said he has multi netowked smbd domains?
How is he routing network calls.  Triangle Topology?  It's best to lab
learn first no matter what your experience is.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
>
>
> His problem is WINS resolution doesn't tell the workstations which
> computer is the domain controller and that is what he needs to fix
> (first by designating a domain controller and then by making sure that
> WINS is functioning well).
>
> Craig
>
Thanks for all the help.  I agree that WINS seems to be the issue, or
atleast it is a place that we can start with to help track down the issue.

Currently 192.168.4.1 is the WINS server.  This is necessary because I need
cross subnet brownsing between 192.168.6. and 192.168.5.  According to the
man page for smb.conf only one computer on your network can be a WINS server
and this is the computer that all other computers have access to.

That being said 192.168.6. and 192.168.5. are both PDC's for their subnet.
All I have done is moved the 192.168.6.1 configuration to a new machine.
Replaced that machine.  Removed Samba 3.0 and Installed Samba3x.

How do I make sure that 192.168.4.1 recognizes 192.168.6.1 as the ADMIN PDC
so that WINS traffic is directed correctly?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 13:44 -0400, JohnS wrote:
> On Thu, 2010-07-08 at 12:03 -0500, Doug Coats wrote:
> 
> 
> > Here is the testparm -sv you requested.
> >  
> > For a short explaination of the IP's listed.  We have two domains.
> > One served by 192.168.6.1 and one by 192.168.5.1.  I am currantly
> > upgrading the 192.168.6. network to Windows 7. Or atleast trying.
> > 192.168.4.1 is our gatway and the two servers listed above act as file
> > servers and routers for their domains.  I hope that makes sence.
> >  
> > Load smb config files from /etc/samba/smb.conf
> ---
> To be truth full I think you have an out right mess going on here.  One
> thing your smb config is 10 miles long.
> 
> Start over on a fresh install test machine and try joining the W7
> machine to it.  Then take your changes and merg into your current
> working machine config.  Life will be a lot easier.  One change at a
> time.

the reason the smb.conf is 10 miles long is that I told him to output
'testparm -sv' which includes all specific settings and all assumed
defaults.

His problem is WINS resolution doesn't tell the workstations which
computer is the domain controller and that is what he needs to fix
(first by designating a domain controller and then by making sure that
WINS is functioning well).

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread JohnS

On Thu, 2010-07-08 at 12:03 -0500, Doug Coats wrote:


> Here is the testparm -sv you requested.
>  
> For a short explaination of the IP's listed.  We have two domains.
> One served by 192.168.6.1 and one by 192.168.5.1.  I am currantly
> upgrading the 192.168.6. network to Windows 7. Or atleast trying.
> 192.168.4.1 is our gatway and the two servers listed above act as file
> servers and routers for their domains.  I hope that makes sence.
>  
> Load smb config files from /etc/samba/smb.conf
---
To be truth full I think you have an out right mess going on here.  One
thing your smb config is 10 miles long.

Start over on a fresh install test machine and try joining the W7
machine to it.  Then take your changes and merg into your current
working machine config.  Life will be a lot easier.  One change at a
time.

John


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Mogens Kjaer
On 07/08/2010 05:34 PM, Doug Coats wrote:
...
> Has anyone been able to get Samba3x.3.3.8 to work as a PDC?

It worked for me in a test setup I had a month ago:

Made a copy of our main CentOS 5 server, replace samba with samba3x,
and I was able to join XP and W7 (with registry patch) to the domain.

The samba server was set up as a WINS server.

I think there was a problem that the default location of some
of the samba files have been moved going from samba to samba3x
(smbpasswd maybe?).

Mogens

-- 
Mogens Kjaer, m...@lemo.dk
http://www.lemo.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 12:03 -0500, Doug Coats wrote:
> I think you are being vague (similar error).
> 
> What is the exact error?
> 
> What is the output of 'testparm -sv' ?
> 
> 
> Craig
> 
> Sorry for being to vague.
>  
> Here is the XP Pro error I get when I try to join the domain.
>  
> A domian controller for the domain admin could not be contacted.
>  
> Esure that the domain name is typed correctly.
>  
> If the name is correct, click on the Details for troubleshooting
> information.
>  
> Details:
>  
> Note: This information is intended for a network administrator.  If
> you are not your network's administrator, notify the administrator
> that you received this information, which has been recorded in the
> file C:\WINDOWS\debug\dcdiag.txt.
> The domain name admin might be a NetBIOS domain name.  If this is the
> case, verify that the domain name is properly registered with WINS.
> If you are certain that the name is not a NetBIOS domain name, then
> the following information can help you troubleshoot your DNS
> configuration.
> An error occurred when DNS was queried for the service location (SRV)
> resource record used to locate a domain controller for domain admin.
> The error was: "No records found for given DNS query."
> (error code 0x251D DNS_INFO_NO_RECORDS)
> The query was for the SRV record for _ldap._tcp.dc._msdcs.admin
> For more information, click Help.
>  
> Here is the testparm -sv you requested.
>  
> For a short explaination of the IP's listed.  We have two domains.
> One served by 192.168.6.1 and one by 192.168.5.1.  I am currantly
> upgrading the 192.168.6. network to Windows 7. Or atleast trying.
> 192.168.4.1 is our gatway and the two servers listed above act as file
> servers and routers for their domains.  I hope that makes sence.
>  
> Load smb config files from /etc/samba/smb.conf
> Processing section "[homes]"
> Processing section "[netlogon]"
> WARNING: The "share modes" option is deprecated
> Processing section "[admin]"
> Processing section "[staff]"
> Processing section "[ElemTeachers]"
> Processing section "[SecTeachers]"
> Processing section "[it]"
> Processing section "[office]"
> Processing section "[finance]"
> Processing section "[backup]"
> Processing section "[www]"
> Processing section "[scribeshare]"
> Processing section "[sosub]"
> Loaded services file OK.
> Server role: ROLE_DOMAIN_PDC
> [global]
> dos charset = CP850
> unix charset = UTF-8
> display charset = LOCALE
> workgroup = ADMIN
> realm =
> netbios name = HERITAGE3
> netbios aliases =
> netbios scope =
> server string = Administration Samba Server
> interfaces = 192.168.4.3, 192.168.6.1, 127.0.0.1
> bind interfaces only = No
> config backend = file
> security = USER
> auth methods =
> encrypt passwords = Yes
> update encrypted = No
> client schannel = Auto
> server schannel = Auto
> allow trusted domains = Yes
> map to guest = Never
> null passwords = No
> obey pam restrictions = No
> password server = *
> smb passwd file = /etc/samba/smbpasswd
> private dir = /var/lib/samba/private
> passdb backend = smbpasswd
> algorithmic rid base = 1000
> root directory =
> guest account = nobody
> enable privileges = Yes
> pam password change = No
> passwd program =
> passwd chat = *new*password* %n\n *new*password* %n\n
> *changed*
> passwd chat debug = No
> passwd chat timeout = 2
> check password script =
> username map =
> password level = 0
> username level = 0
> unix password sync = No
> restrict anonymous = 0
> lanman auth = No
> ntlm auth = Yes
> client NTLMv2 auth = No
> client lanman auth = No
> client plaintext auth = No
> preload modules =
> use kerberos keytab = No
> log level = 1
> syslog = 1
> syslog only = No
> log file = /var/log/samba/%m.log
> max log size = 50
> debug timestamp = Yes
> debug prefix timestamp = No
> debug hires timestamp = No
> debug pid = No
> debug uid = No
> debug class = No
> enable core files = Yes
> smb ports = 445 139
> large readwrite = Yes
> max protocol = NT1
> min protocol = CORE
> min receivefile size = 0
> read raw = Yes
> write raw = Yes
> disable netbios = No
> reset on zero vc = No
> acl compatibility = auto
> defer sharing violations = Yes
> nt pipe support = Yes
> nt status support = Yes
> announce version = 4.9
> announce as = NT
> max mux = 50
> max xmit = 16644
> name re

Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Alexander Georgiev
> Sorry for being to vague.
>
> Here is the XP Pro error I get when I try to join the domain.
> A domian controller for the domain admin could not be contacted.
> Esure that the domain name is typed correctly.
> If the name is correct, click on the Details for troubleshooting
> information.
>
> Details:
>
> Note: This information is intended for a network administrator.  If you are
> not your network's administrator, notify the administrator that you received
> this information, which has been recorded in the file
> C:\WINDOWS\debug\dcdiag.txt.
> The domain name admin might be a NetBIOS domain name.  If this is the case,
> verify that the domain name is properly registered with WINS.
> If you are certain that the name is not a NetBIOS domain name, then the
> following information can help you troubleshoot your DNS configuration.
> An error occurred when DNS was queried for the service location (SRV)
> resource record used to locate a domain controller for domain admin.
> The error was: "No records found for given DNS query."
> (error code 0x251D DNS_INFO_NO_RECORDS)
> The query was for the SRV record for _ldap._tcp.dc._msdcs.admin
> For more information, click Help.
>
> Here is the testparm -sv you requested.
>
> For a short explaination of the IP's listed.  We have two domains.
> One served by 192.168.6.1 and one by 192.168.5.1.  I am currantly upgrading
> the 192.168.6. network to Windows 7. Or atleast trying.  192.168.4.1 is our
> gatway and the two servers listed above act as file servers and routers for
> their domains.  I hope that makes sence.
>

It seems, that the samba domain controller 192.168.6.1 fails to
register with the WINS server - 192.168.4.1, and the XP station cannot
locate it. You'd better post your smb.conf file and verify if the
domain controller registers with WINS server.

Best regards,
Alexander.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
>
> I think you are being vague (similar error).
>
> What is the exact error?
>
> What is the output of 'testparm -sv' ?
>
> Craig
>
Sorry for being to vague.

Here is the XP Pro error I get when I try to join the domain.

A domian controller for the domain admin could not be contacted.

Esure that the domain name is typed correctly.

If the name is correct, click on the Details for troubleshooting
information.

Details:

Note: This information is intended for a network administrator.  If you are
not your network's administrator, notify the administrator that you received
this information, which has been recorded in the file
C:\WINDOWS\debug\dcdiag.txt.
The domain name admin might be a NetBIOS domain name.  If this is the case,
verify that the domain name is properly registered with WINS.
If you are certain that the name is not a NetBIOS domain name, then the
following information can help you troubleshoot your DNS configuration.
An error occurred when DNS was queried for the service location (SRV)
resource record used to locate a domain controller for domain admin.
The error was: "No records found for given DNS query."
(error code 0x251D DNS_INFO_NO_RECORDS)
The query was for the SRV record for _ldap._tcp.dc._msdcs.admin
For more information, click Help.

Here is the testparm -sv you requested.

For a short explaination of the IP's listed.  We have two domains.
One served by 192.168.6.1 and one by 192.168.5.1.  I am currantly upgrading
the 192.168.6. network to Windows 7. Or atleast trying.  192.168.4.1 is our
gatway and the two servers listed above act as file servers and routers for
their domains.  I hope that makes sence.

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
WARNING: The "share modes" option is deprecated
Processing section "[admin]"
Processing section "[staff]"
Processing section "[ElemTeachers]"
Processing section "[SecTeachers]"
Processing section "[it]"
Processing section "[office]"
Processing section "[finance]"
Processing section "[backup]"
Processing section "[www]"
Processing section "[scribeshare]"
Processing section "[sosub]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
[global]
dos charset = CP850
unix charset = UTF-8
display charset = LOCALE
workgroup = ADMIN
realm =
netbios name = HERITAGE3
netbios aliases =
netbios scope =
server string = Administration Samba Server
interfaces = 192.168.4.3, 192.168.6.1, 127.0.0.1
bind interfaces only = No
config backend = file
security = USER
auth methods =
encrypt passwords = Yes
update encrypted = No
client schannel = Auto
server schannel = Auto
allow trusted domains = Yes
map to guest = Never
null passwords = No
obey pam restrictions = No
password server = *
smb passwd file = /etc/samba/smbpasswd
private dir = /var/lib/samba/private
passdb backend = smbpasswd
algorithmic rid base = 1000
root directory =
guest account = nobody
enable privileges = Yes
pam password change = No
passwd program =
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
passwd chat timeout = 2
check password script =
username map =
password level = 0
username level = 0
unix password sync = No
restrict anonymous = 0
lanman auth = No
ntlm auth = Yes
client NTLMv2 auth = No
client lanman auth = No
client plaintext auth = No
preload modules =
use kerberos keytab = No
log level = 1
syslog = 1
syslog only = No
log file = /var/log/samba/%m.log
max log size = 50
debug timestamp = Yes
debug prefix timestamp = No
debug hires timestamp = No
debug pid = No
debug uid = No
debug class = No
enable core files = Yes
smb ports = 445 139
large readwrite = Yes
max protocol = NT1
min protocol = CORE
min receivefile size = 0
read raw = Yes
write raw = Yes
disable netbios = No
reset on zero vc = No
acl compatibility = auto
defer sharing violations = Yes
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = hosts wins lmhosts bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = Yes
unix extensions = Yes
use spnego = Yes
client signing = auto
server signing = No
client use spnego = Yes
client ldap sasl wrapping = plain
enable asu support = No
svcctl list =
deadtime

Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 10:34 -0500, Doug Coats wrote:
> 
> I think as long as persist in chasing pointless ends, you will
> continue
> to fail.
> 
> DNS & AD are not at issue here. Samba 3 cannot provide AD
> services.
> 
> If resolution is a problem, it may be that you don't have nmb
> running on
> your Samba server and you probably want it to be a wins server
> if it is
> a Domain Controller.
> 
> 
> Craig
> 
>  
> Craig,
>  
> Thanks for you interest in my problem.  I don't think I am  trying to
> get Samba to do something that it was not intended to do.  All I am
> saying is that using the same config on Samba 3.0 as a PDC with
> windows XP machines behaves different than Samba3x with Windows 7 and
> windows XP machines.  
>  
> I just now tried to join an XP machine to the network and got a
> similar error.  Maybe this is a Samba3x.3.3.8 issue?
>  
> I don't expect Samba to provide AD services.  I simply want single
> sign-on on my network.
>  
> Has anyone been able to get Samba3x.3.3.8 to work as a PDC?

I think you are being vague (similar error).

What is the exact error?

What is the output of 'testparm -sv' ?

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
>
>
> I think as long as persist in chasing pointless ends, you will continue
> to fail.
>
> DNS & AD are not at issue here. Samba 3 cannot provide AD services.
>
> If resolution is a problem, it may be that you don't have nmb running on
> your Samba server and you probably want it to be a wins server if it is
> a Domain Controller.
>
> Craig
>

Craig,

Thanks for you interest in my problem.  I don't think I am  trying to get
Samba to do something that it was not intended to do.  All I am saying is
that using the same config on Samba 3.0 as a PDC with windows XP machines
behaves different than Samba3x with Windows 7 and windows XP machines.

I just now tried to join an XP machine to the network and got a similar
error.  Maybe this is a Samba3x.3.3.8 issue?

I don't expect Samba to provide AD services.  I simply want single
sign-on on my network.

Has anyone been able to get Samba3x.3.3.8 to work as a PDC?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Craig White
On Thu, 2010-07-08 at 08:13 -0500, Doug Coats wrote:
> I am not using Samba 3.x. I am using Samba3x-3.3.8.  As I understand
> it, RHEL provided this branch so that Windows 7 could join a Samba
> domain.
>  
> That aside,  It does not seems to me that the error message indicates
> that it cannot resolve where the PDC is.  What method is Windows 7
> trying to use that is differnent for Windows XP to find the PDC?

I think as long as persist in chasing pointless ends, you will continue
to fail.

DNS & AD are not at issue here. Samba 3 cannot provide AD services.

If resolution is a problem, it may be that you don't have nmb running on
your Samba server and you probably want it to be a wins server if it is
a Domain Controller.

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-08 Thread Doug Coats
I am not using Samba 3.x. I am using Samba3x-3.3.8.  As I understand it,
RHEL provided this branch so that Windows 7 could join a Samba domain.

That aside,  It does not seems to me that the error message indicates that
it cannot resolve where the PDC is.  What method is Windows 7 trying to use
that is differnent for Windows XP to find the PDC?


> Samba 3.x cannot provide AD and thus the error about AD & DNS name does
> not exist is not meaningful
>
> You probably want to use Sernet Samba packages at this point if you want
> to use Windows 7 clients but see this page...
>
> http://wiki.samba.org/index.php/Windows7
>
> Craig
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc

2010-07-07 Thread Craig White
On Wed, 2010-07-07 at 20:40 -0500, Doug Coats wrote:
> I am running centos 5.5 using samba3x as a pdc.  I migrated to samba3x
> so that I could join Windows 7 machines to the domain.  It is a new
> setup using a tried and true configuration from a different box.  I
> have used this configuration in the past to joing Windows XP Pro
> machines.  And I havn't found anyting helpful on the error with
> google.  I can ping the server name and the server can ping the
> windows 7 box.  I can access smaba shares on the server but I cannot
> join the domain.
>  
> I have applied the reg settings  to win7 and when I try to join I get
> this error.
>  
> An Active Directory Domain Controller (AD DC) for domain admin could
> not be contacted.
>  
> Ensure that the domain name is typed correctly.
>  
> If the name is correct, click Details for troubleshooting information.
>  
> The details read:
>  
> Note: This information is intended for a network administrator.  If
> you are not your network's administrator, notify the administrator
> that you received this information, which has been recorded in the
> file C:\Windows\debug\dcdiag.txt.
> The domain name "admin" might be a NetBIOS domain name.  If this is
> the case, verify that the domain name is properly registered with
> WINS.
> If you are certain that the name is not a NetBIOS domain name, then
> the following information can help you troubleshoot your DNS
> configuration.
> The following error occurred when DNS was queried for the service
> location (SRV) resource record used to locate an Active Directory
> Domain Controller (AD DC) for domain "admin":
> The error was: "DNS name does not exist."
> (error code 0x232B RCODE_NAME_ERROR)
> The query was for the SRV record for _ldap._tcp.dc._msdcs.admin
> Common causes of this error include the following:
> - The DNS SRV records required to locate a AD DC for the domain are
> not registered in DNS. These records are registered with a DNS server
> automatically when a AD DC is added to a domain. They are updated by
> the AD DC at set intervals. This computer is configured to use DNS
> servers with the following IP addresses:
> 192.168.4.1
> - One or more of the following zones do not include delegation to its
> child zone:
> admin
> . (the root zone)
>  
> I seem to have a DNS problem but I don't even know what it should be
> doing so that I know where to start to troubleshoot.
>  
> Thanks for any help!

Samba 3.x cannot provide AD and thus the error about AD & DNS name does
not exist is not meaningful

You probably want to use Sernet Samba packages at this point if you want
to use Windows 7 clients but see this page...

http://wiki.samba.org/index.php/Windows7

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos