Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-24 Thread delpheye
On Wed, Jun 23, 2010 at 9:32 PM, John H Terpstra  wrote:

> On 06/23/2010 07:50 PM, delpheye wrote:
> > On Wed, Jun 23, 2010 at 5:57 PM,  wrote:
> >
> >>
> >>
> >> SNIP
> >>
> >>  NetBIOS Names Resolved By Broadcast
> >> --
> >> DOMAIN.COM  <1C>
> >> DOMAIN-FS
> >> DOMAIN.COM  <1C>
> >> DOMAIN.COM  <1C>
> >> DOMAIN-FS
> >> DOMAIN.COM  <1C>
> >>
> >> DOMAIN.COM is a bad netbios name.  I suggest something with 8 letters
> or
> >> numbers.  Samba 3.x does not use FQDN's.
> >>
> >
> > DOMAIN.COM is what I have specified as the workgroup only.  the netbios
> name
> > in smb.conf is is just the machine's hostname only.  Is there somewhere
> else
> > I should be looking to change the netbios name?
>
> Wrong! Both the machine _AND_ the workgroup name are NetBIOS names.
>
> - John T.
>

I changed the workgroup name from domain.com to domain, but that didn't
alter the results of trying to map the share without restarting samba.

>
> >
> >> nbtstat -RR:
> >>
> >> The NetBIOS names registered by this computer have been refreshed.
> >>
> >> net use y: \\domain-fs\business
> >> Enter the user name for 'domain-fs': username
> >> Enter the password for domain-fs: xx
> >> System error 64 has occurred.
> >>
> >> The specified network name is no longer available.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>>
> >>> Matt
> >>>
> >>>
> >>>
> >>>
> >>> On 06/22/2010 04:24 PM, delpheye wrote:
> >>>
> >>>
> >>>
> >>> On Tue, Jun 22, 2010 at 1:07 PM, Gaiseric Vandal <
> >>> gaiseric.van...@gmail.com > wrote:
> >>>
> >>>
> >>>  On 06/22/2010 01:55 PM, John Drescher wrote:
> >>>
> >>>  "An error occurred while reconnecting Z: to
> >>>  \\domain-fs\business
> >>>  Microsoft Windows Network: The specified network name is
> >>>  no longer available
> >>>  This connection has not been restored."
> >>>
> >>>
> >>>  Looks like a browsing problem to me. Try to reconnect using ip
> >>>  address
> >>>  instead of name.
> >>>
> >>>  John
> >>>
> >>>
> >>>  Are you using WINS? I find that makes a lot of issues go away.
> >>>
> >>>
> >>> I have wins support enabled in Samba and the following lines in
> >>> nsswitch.conf:
> >>>
> >>> debug 1
> >>>
> >>> passwd: files ldap
> >>> shadow: files ldap
> >>> group: files ldap
> >>> hosts: files wins dns
> >>> bootparams: files
> >>> ethers: files
> >>> netmasks: files
> >>> networks: files
> >>> protocols: files
> >>> rpc: files
> >>> services: files
> >>> netgroup: files ldap
> >>> publickey: files
> >>> automount: files ldap
> >>> aliases: files
> >>>
> >>> Is that all there is to enabling WINS?
> >>>
> >>>
> >>>  -- To unsubscribe from this list go to the following URL and read
> >>> the
> >>>  instructions: https://lists.samba.org/mailman/options/samba
> >>>
> >>>
> >>>
> >>> --
> >>>
> >>> To unsubscribe from this list go to the following URL and read the
> >>> instructions: https://lists.samba.org/mailman/options/samba
> >>>
> >>> --
> >>>
> >>> To unsubscribe from this list go to the following URL and read the
> >>> instructions: https://lists.samba.org/mailman/options/samba
> >>>
> >>>
> >>>
> >>
> >>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-23 Thread John H Terpstra
On 06/23/2010 07:50 PM, delpheye wrote:
> On Wed, Jun 23, 2010 at 5:57 PM,  wrote:
> 
>>
>>
>> SNIP
>>
>>  NetBIOS Names Resolved By Broadcast
>> --
>> DOMAIN.COM  <1C>
>> DOMAIN-FS
>> DOMAIN.COM  <1C>
>> DOMAIN.COM  <1C>
>> DOMAIN-FS
>> DOMAIN.COM  <1C>
>>
>> DOMAIN.COM is a bad netbios name.  I suggest something with 8 letters or
>> numbers.  Samba 3.x does not use FQDN's.
>>
> 
> DOMAIN.COM is what I have specified as the workgroup only.  the netbios name
> in smb.conf is is just the machine's hostname only.  Is there somewhere else
> I should be looking to change the netbios name?

Wrong! Both the machine _AND_ the workgroup name are NetBIOS names.

- John T.

> 
>> nbtstat -RR:
>>
>> The NetBIOS names registered by this computer have been refreshed.
>>
>> net use y: \\domain-fs\business
>> Enter the user name for 'domain-fs': username
>> Enter the password for domain-fs: xx
>> System error 64 has occurred.
>>
>> The specified network name is no longer available.
>>
>>
>>
>>
>>
>>
>>
>>
>>>
>>> Matt
>>>
>>>
>>>
>>>
>>> On 06/22/2010 04:24 PM, delpheye wrote:
>>>
>>>
>>>
>>> On Tue, Jun 22, 2010 at 1:07 PM, Gaiseric Vandal <
>>> gaiseric.van...@gmail.com > wrote:
>>>
>>>
>>>  On 06/22/2010 01:55 PM, John Drescher wrote:
>>>
>>>  "An error occurred while reconnecting Z: to
>>>  \\domain-fs\business
>>>  Microsoft Windows Network: The specified network name is
>>>  no longer available
>>>  This connection has not been restored."
>>>
>>>
>>>  Looks like a browsing problem to me. Try to reconnect using ip
>>>  address
>>>  instead of name.
>>>
>>>  John
>>>
>>>
>>>  Are you using WINS? I find that makes a lot of issues go away.
>>>
>>>
>>> I have wins support enabled in Samba and the following lines in
>>> nsswitch.conf:
>>>
>>> debug 1
>>>
>>> passwd: files ldap
>>> shadow: files ldap
>>> group: files ldap
>>> hosts: files wins dns
>>> bootparams: files
>>> ethers: files
>>> netmasks: files
>>> networks: files
>>> protocols: files
>>> rpc: files
>>> services: files
>>> netgroup: files ldap
>>> publickey: files
>>> automount: files ldap
>>> aliases: files
>>>
>>> Is that all there is to enabling WINS?
>>>
>>>
>>>  -- To unsubscribe from this list go to the following URL and read
>>> the
>>>  instructions: https://lists.samba.org/mailman/options/samba
>>>
>>>
>>>
>>> --
>>>
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions: https://lists.samba.org/mailman/options/samba
>>>
>>> --
>>>
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions: https://lists.samba.org/mailman/options/samba
>>>
>>>
>>>
>>
>>

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


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-23 Thread delpheye
On Wed, Jun 23, 2010 at 5:57 PM,  wrote:

>
>
> SNIP
>
>  NetBIOS Names Resolved By Broadcast
> --
> DOMAIN.COM  <1C>
> DOMAIN-FS
> DOMAIN.COM  <1C>
> DOMAIN.COM  <1C>
> DOMAIN-FS
> DOMAIN.COM  <1C>
>
> DOMAIN.COM is a bad netbios name.  I suggest something with 8 letters or
> numbers.  Samba 3.x does not use FQDN's.
>

DOMAIN.COM is what I have specified as the workgroup only.  the netbios name
in smb.conf is is just the machine's hostname only.  Is there somewhere else
I should be looking to change the netbios name?

> nbtstat -RR:
>
> The NetBIOS names registered by this computer have been refreshed.
>
> net use y: \\domain-fs\business
> Enter the user name for 'domain-fs': username
> Enter the password for domain-fs: xx
> System error 64 has occurred.
>
> The specified network name is no longer available.
>
>
>
>
>
>
>
>
>>
>> Matt
>>
>>
>>
>>
>> On 06/22/2010 04:24 PM, delpheye wrote:
>>
>>
>>
>> On Tue, Jun 22, 2010 at 1:07 PM, Gaiseric Vandal <
>> gaiseric.van...@gmail.com > wrote:
>>
>>
>>  On 06/22/2010 01:55 PM, John Drescher wrote:
>>
>>  "An error occurred while reconnecting Z: to
>>  \\domain-fs\business
>>  Microsoft Windows Network: The specified network name is
>>  no longer available
>>  This connection has not been restored."
>>
>>
>>  Looks like a browsing problem to me. Try to reconnect using ip
>>  address
>>  instead of name.
>>
>>  John
>>
>>
>>  Are you using WINS? I find that makes a lot of issues go away.
>>
>>
>> I have wins support enabled in Samba and the following lines in
>> nsswitch.conf:
>>
>> debug 1
>>
>> passwd: files ldap
>> shadow: files ldap
>> group: files ldap
>> hosts: files wins dns
>> bootparams: files
>> ethers: files
>> netmasks: files
>> networks: files
>> protocols: files
>> rpc: files
>> services: files
>> netgroup: files ldap
>> publickey: files
>> automount: files ldap
>> aliases: files
>>
>> Is that all there is to enabling WINS?
>>
>>
>>  -- To unsubscribe from this list go to the following URL and read
>> the
>>  instructions: https://lists.samba.org/mailman/options/samba
>>
>>
>>
>> --
>>
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>> --
>>
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>>
>>
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-23 Thread tms3



SNIP




NetBIOS Names Resolved By Broadcast
--
   DOMAIN.COM  <1C>
   DOMAIN-FS
   DOMAIN.COM  <1C>
   DOMAIN.COM  <1C>
   DOMAIN-FS
   DOMAIN.COM  <1C>



DOMAIN.COM is a bad netbios name.  I suggest something with 8 letters 
or numbers.  Samba 3.x does not use FQDN's.




nbtstat -RR:

The NetBIOS names registered by this computer have been refreshed.

net use y: \\domain-fs\business
Enter the user name for 'domain-fs': username
Enter the password for domain-fs: xx
System error 64 has occurred.

The specified network name is no longer available.



















Matt






On 06/22/2010 04:24 PM, delpheye wrote:





On Tue, Jun 22, 2010 at 1:07 PM, Gaiseric Vandal <
gaiseric.van...@gmail.com > wrote:

   On 06/22/2010 01:55 PM, John Drescher wrote:

   "An error occurred while reconnecting Z: to
   \\domain-fs\business
   Microsoft Windows Network: The specified 
network name is

   no longer available
   This connection has not been restored."


   Looks like a browsing problem to me. Try to reconnect 
using ip

   address
   instead of name.

   John


   Are you using WINS?  I find that makes a lot of issues go away.


I have wins support enabled in Samba and the following lines in
nsswitch.conf:

debug 1

passwd: files ldap
shadow: files ldap
group:  files ldap
hosts:  files wins dns
bootparams: files
ethers: files
netmasks:   files
networks:   files
protocols:  files
rpc:files
services:   files
netgroup:   files ldap
publickey:  files
automount:  files ldap
aliases:files

Is that all there is to enabling WINS?

   -- To unsubscribe from this list go to the following URL 
and read

the
   instructions: https://lists.samba.org/mailman/options/samba




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

--


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






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


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-23 Thread delpheye
On Wed, Jun 23, 2010 at 1:04 PM,  wrote:

>
>
>
> --- Original message ---
> *Subject:* Re: [Samba] xp clients can't auth after reboot without smb
> restart
> *From:* delpheye 
> *To:* Samba 
> *Date:* Wednesday, 23/06/2010 10:37 AM
>
> On Tue, Jun 22, 2010 at 3:38 PM, Gaiseric Vandal
> wrote:
>
> in smb.conf
>
>  wins support = Yes
>
> Don't set
>  wins server = 
>
>
> I don't think the nsswitch.conf is an issue- it seems like the client has
> trouble finding the server. Are you using dhcp? If so, the DHCP server
> (even a unix one) should be able to assign WINS. If you are not using
> dhcp, or if your dhcp server can not assign wins, you can statically set it
> on the XP client.
>
> wins server is not specified in smb.conf. I'm using DHCP but have never
>
> specified a wins server in the config. I added it explicitly to one client
> and retesting resulting in no change to the issue.
>
> However, I noticed that wbinfo -u|g doesn't return anything, and that seems
> symptomatic of the problem at the very least. I have not determined why
> winbind doesn't work correctly, there isn't anything in my config that
> suggests it's broken, yes?
>
> Winbindd isn't the issue for this.  Run some nbtstats on the XP boxes:
>
> command prompt:
>
> nbstat -n
> nbstat -r
> nbstat -c
>
> After a reboot, and connect failure, do so.  Then try nbstat -RR and try
> net drive connections.
>
> Very peculiar problem you're having.
>


nbtstat -n:

Local Area Connection:
Node IPAddress: [10.0.2.15] Scope Id: []

NetBIOS Local Name Table

NameType  Status
---
JUPITER-VM  <00>UNIQUERegistered
JUPITER-VM  <20>UNIQUERegistered
DOMAIN.COM   <00>GROUP Registered

nbtstat -r:

nbtstat -r

 NetBIOS Names Resolution and Registration Statistics
 

 Resolved By Broadcast = 66
 Resolved By Name Server   = 0

 Registered By Broadcast   = 3
 Registered By Name Server = 0

 NetBIOS Names Resolved By Broadcast
--
DOMAIN.COM  <1C>
DOMAIN-FS
DOMAIN.COM  <1C>
DOMAIN.COM  <1C>
DOMAIN-FS
DOMAIN.COM  <1C>

nbtstat -RR:

The NetBIOS names registered by this computer have been refreshed.

net use y: \\domain-fs\business
Enter the user name for 'domain-fs': username
Enter the password for domain-fs: xx
System error 64 has occurred.

The specified network name is no longer available.


>
> Matt
>
>
>
>
> On 06/22/2010 04:24 PM, delpheye wrote:
>
>
>
> On Tue, Jun 22, 2010 at 1:07 PM, Gaiseric Vandal <
> gaiseric.van...@gmail.com <mailto:gaiseric.van...@gmail.com>> wrote:
>
>
>  On 06/22/2010 01:55 PM, John Drescher wrote:
>
>  "An error occurred while reconnecting Z: to
>  \\domain-fs\business
>  Microsoft Windows Network: The specified network name is
>  no longer available
>  This connection has not been restored."
>
>
>  Looks like a browsing problem to me. Try to reconnect using ip
>  address
>  instead of name.
>
>  John
>
>
>  Are you using WINS? I find that makes a lot of issues go away.
>
>
> I have wins support enabled in Samba and the following lines in
> nsswitch.conf:
>
> debug 1
>
> passwd: files ldap
> shadow: files ldap
> group: files ldap
> hosts: files wins dns
> bootparams: files
> ethers: files
> netmasks: files
> networks: files
> protocols: files
> rpc: files
> services: files
> netgroup: files ldap
> publickey: files
> automount: files ldap
> aliases: files
>
> Is that all there is to enabling WINS?
>
>
>  -- To unsubscribe from this list go to the following URL and read
> the
>  instructions: https://lists.samba.org/mailman/options/samba
>
>
>
> --
>
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
> --
>
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-23 Thread tms3







--- Original message ---
Subject: Re: [Samba] xp clients can't auth after reboot without smb 
restart

From: delpheye 
To: Samba 
Date: Wednesday, 23/06/2010 10:37 AM

On Tue, Jun 22, 2010 at 3:38 PM, Gaiseric Vandal
wrote:



in smb.conf

   wins support = Yes

Don't set
   wins server = 


I don't think the nsswitch.conf is an issue-  it seems like the client 
has
trouble finding the server.  Are you using dhcp?  If so, the DHCP 
server
(even a unix one) should be able to assign WINS.   If you are not 
using
dhcp, or if your dhcp server can not assign wins, you can statically 
set it

on the XP client.

wins server is not specified in smb.conf.  I'm using DHCP but have 
never
specified a wins server in the config.  I added it explicitly to one 
client

and retesting resulting in no change to the issue.

However, I noticed that wbinfo -u|g doesn't return anything, and that 
seems
symptomatic of the problem at the very least.  I have not determined 
why

winbind doesn't work correctly, there isn't anything in my config that
suggests it's broken, yes?


Winbindd isn't the issue for this.  Run some nbtstats on the XP boxes:

command prompt:

nbstat -n
nbstat -r
nbstat -c

After a reboot, and connect failure, do so.  Then try nbstat -RR and 
try net drive connections.


Very peculiar problem you're having.




Matt






On 06/22/2010 04:24 PM, delpheye wrote:





On Tue, Jun 22, 2010 at 1:07 PM, Gaiseric Vandal <
gaiseric.van...@gmail.com <mailto:gaiseric.van...@gmail.com>> wrote:

   On 06/22/2010 01:55 PM, John Drescher wrote:

   "An error occurred while reconnecting Z: to
   \\domain-fs\business
   Microsoft Windows Network: The specified 
network name is

   no longer available
   This connection has not been restored."


   Looks like a browsing problem to me. Try to reconnect 
using ip

   address
   instead of name.

   John


   Are you using WINS?  I find that makes a lot of issues go away.


I have wins support enabled in Samba and the following lines in
nsswitch.conf:

debug 1

passwd: files ldap
shadow: files ldap
group:  files ldap
hosts:  files wins dns
bootparams: files
ethers: files
netmasks:   files
networks:   files
protocols:  files
rpc:files
services:   files
netgroup:   files ldap
publickey:  files
automount:  files ldap
aliases:files

Is that all there is to enabling WINS?

   -- To unsubscribe from this list go to the following URL 
and read

the
   instructions: https://lists.samba.org/mailman/options/samba




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

--

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


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


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-23 Thread delpheye
On Tue, Jun 22, 2010 at 3:38 PM, Gaiseric Vandal
wrote:

> in smb.conf
>
>wins support = Yes
>
> Don't set
>wins server = 
>
>
> I don't think the nsswitch.conf is an issue-  it seems like the client has
> trouble finding the server.  Are you using dhcp?  If so, the DHCP server
> (even a unix one) should be able to assign WINS.   If you are not using
> dhcp, or if your dhcp server can not assign wins, you can statically set it
> on the XP client.
>
> wins server is not specified in smb.conf.  I'm using DHCP but have never
specified a wins server in the config.  I added it explicitly to one client
and retesting resulting in no change to the issue.

However, I noticed that wbinfo -u|g doesn't return anything, and that seems
symptomatic of the problem at the very least.  I have not determined why
winbind doesn't work correctly, there isn't anything in my config that
suggests it's broken, yes?

Matt

>
>
>
> On 06/22/2010 04:24 PM, delpheye wrote:
>
>
>>
>> On Tue, Jun 22, 2010 at 1:07 PM, Gaiseric Vandal <
>> gaiseric.van...@gmail.com > wrote:
>>
>>On 06/22/2010 01:55 PM, John Drescher wrote:
>>
>>"An error occurred while reconnecting Z: to
>>\\domain-fs\business
>>Microsoft Windows Network: The specified network name is
>>no longer available
>>This connection has not been restored."
>>
>>
>>Looks like a browsing problem to me. Try to reconnect using ip
>>address
>>instead of name.
>>
>>John
>>
>>
>>Are you using WINS?  I find that makes a lot of issues go away.
>>
>>
>> I have wins support enabled in Samba and the following lines in
>> nsswitch.conf:
>>
>> debug 1
>>
>> passwd: files ldap
>> shadow: files ldap
>> group:  files ldap
>> hosts:  files wins dns
>> bootparams: files
>> ethers: files
>> netmasks:   files
>> networks:   files
>> protocols:  files
>> rpc:files
>> services:   files
>> netgroup:   files ldap
>> publickey:  files
>> automount:  files ldap
>> aliases:files
>>
>> Is that all there is to enabling WINS?
>>
>>-- To unsubscribe from this list go to the following URL and read
>> the
>>instructions: https://lists.samba.org/mailman/options/samba
>>
>>
>>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread John Drescher
On Tue, Jun 22, 2010 at 4:38 PM, Gaiseric Vandal
 wrote:
> in smb.conf
>
>        wins support = Yes
>
> Don't set
>            wins server = 
>
>
> I don't think the nsswitch.conf is an issue-  it seems like the client has
> trouble finding the server.  Are you using dhcp?  If so, the DHCP server
> (even a unix one) should be able to assign WINS.   If you are not using
> dhcp, or if your dhcp server can not assign wins, you can statically set it
> on the XP client.
>

Is the WINS server setup in the XP client?

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


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread Gaiseric Vandal

in smb.conf

wins support = Yes

Don't set
wins server = 


I don't think the nsswitch.conf is an issue-  it seems like the client 
has trouble finding the server.  Are you using dhcp?  If so, the DHCP 
server (even a unix one) should be able to assign WINS.   If you are not 
using dhcp, or if your dhcp server can not assign wins, you can 
statically set it on the XP client.





On 06/22/2010 04:24 PM, delpheye wrote:



On Tue, Jun 22, 2010 at 1:07 PM, Gaiseric Vandal 
mailto:gaiseric.van...@gmail.com>> wrote:


On 06/22/2010 01:55 PM, John Drescher wrote:

"An error occurred while reconnecting Z: to
\\domain-fs\business
Microsoft Windows Network: The specified network name is
no longer available
This connection has not been restored."


Looks like a browsing problem to me. Try to reconnect using ip
address
instead of name.

John


Are you using WINS?  I find that makes a lot of issues go away.


I have wins support enabled in Samba and the following lines in 
nsswitch.conf:


debug 1

passwd: files ldap
shadow: files ldap
group:  files ldap
hosts:  files wins dns
bootparams: files
ethers: files
netmasks:   files
networks:   files
protocols:  files
rpc:files
services:   files
netgroup:   files ldap
publickey:  files
automount:  files ldap
aliases:files

Is that all there is to enabling WINS?

-- 
To unsubscribe from this list go to the following URL and read the

instructions: https://lists.samba.org/mailman/options/samba




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


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread Gaiseric Vandal
The "the semaphore timeout has expired" seems pretty significant.  I bet 
it is related to the problem you have with your non-domain machines.



I would google it.In fact I did-  one post mentioned wins.  Another 
post mentioned digital signing -  which should NOT be an issue with XP 
and current Samba versions.




On 06/22/2010 04:21 PM, delpheye wrote:
My apologies for not including this information previously.  I'm 
running CentOS 5.5 on Samba 3.3.8-0.52 and the machines are all XP 
Pro.  Joining the machine to the domain is successful sporadically, 
but once the machine is joined, upon reboot and profile loading, it 
returns "the semaphore timeout has expired" and loads a temporary 
local profile.


I'm mapping the drives from My Computer and when it's working, 
credentials don't have to be specified because they're the same as the 
user's desktop login.  However, when it fails and I'm prompted for 
login info, specifying domain\username or just username produces the 
same results.  According to samba and ldap logs, these credentials are 
never passed to the server at that time.


On Tue, Jun 22, 2010 at 12:44 PM, Gaiseric Vandal 
mailto:gaiseric.van...@gmail.com>> wrote:


Which samba version?

Are these XP Pro or XP Home machines.  If XP Pro, have you tried
joining the machine to the domain?

When you map a drive letter to a samba share from XP, are you
using "LocalPC\yourname"  or "Domain\Yourname" when specifying
credentials?

Are you mapping the drive with Windows explorer or the "net" command?





On 06/22/2010 07:45 AM, delpheye wrote:

I currently have several fresh installs of XP that will
connect to shares,
but will not reconnect after a workstation reboot.  These are
workstations
that are not joined to the domain.  Only accessing shares from
a local
profile, but using the same user/pass to login as to connect
to Samba.  I
get various errors at that point.

Upon reboot, attempting to access the share generates:

"An error occurred while reconnecting Z: to \\domain-fs\business
Microsoft Windows Network: The specified network name is no
longer available
This connection has not been restored."

At which point, attempting to re-map the drive results in an
authentication
window, but no correct user/pass is accepted.  If I restart
Samba, then the
share is mapped using the workstations login credentials.

Logging is set to 3 now, but I'm not even sure where to look.
 For some
reason, restarting the daemon allows authentication to pass
from clientA to
Samba, but clientB is able to access the share at the same
time(and vice
versa after clientB has been rebooted.)


My smb.conf is here: http://pastebin.ca/1888385

What could be causing this behavior?

Thanks,
M


-- 
To unsubscribe from this list go to the following URL and read the

instructions: https://lists.samba.org/mailman/options/samba




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


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread Gaiseric Vandal

On 06/22/2010 01:55 PM, John Drescher wrote:

"An error occurred while reconnecting Z: to \\domain-fs\business
Microsoft Windows Network: The specified network name is no longer available
This connection has not been restored."

 

Looks like a browsing problem to me. Try to reconnect using ip address
instead of name.

John
   


Are you using WINS?  I find that makes a lot of issues go away.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread John Drescher
> "An error occurred while reconnecting Z: to \\domain-fs\business
> Microsoft Windows Network: The specified network name is no longer available
> This connection has not been restored."
>
Looks like a browsing problem to me. Try to reconnect using ip address
instead of name.

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


Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread Gaiseric Vandal

Which samba version?

Are these XP Pro or XP Home machines.  If XP Pro, have you tried joining 
the machine to the domain?


When you map a drive letter to a samba share from XP, are you using 
"LocalPC\yourname"  or "Domain\Yourname" when specifying credentials?


Are you mapping the drive with Windows explorer or the "net" command?




On 06/22/2010 07:45 AM, delpheye wrote:

I currently have several fresh installs of XP that will connect to shares,
but will not reconnect after a workstation reboot.  These are workstations
that are not joined to the domain.  Only accessing shares from a local
profile, but using the same user/pass to login as to connect to Samba.  I
get various errors at that point.

Upon reboot, attempting to access the share generates:

"An error occurred while reconnecting Z: to \\domain-fs\business
Microsoft Windows Network: The specified network name is no longer available
This connection has not been restored."

At which point, attempting to re-map the drive results in an authentication
window, but no correct user/pass is accepted.  If I restart Samba, then the
share is mapped using the workstations login credentials.

Logging is set to 3 now, but I'm not even sure where to look.  For some
reason, restarting the daemon allows authentication to pass from clientA to
Samba, but clientB is able to access the share at the same time(and vice
versa after clientB has been rebooted.)


My smb.conf is here: http://pastebin.ca/1888385

What could be causing this behavior?

Thanks,
M
   


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


[Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread delpheye
I currently have several fresh installs of XP that will connect to shares,
but will not reconnect after a workstation reboot.  These are workstations
that are not joined to the domain.  Only accessing shares from a local
profile, but using the same user/pass to login as to connect to Samba.  I
get various errors at that point.

Upon reboot, attempting to access the share generates:

"An error occurred while reconnecting Z: to \\domain-fs\business
Microsoft Windows Network: The specified network name is no longer available
This connection has not been restored."

At which point, attempting to re-map the drive results in an authentication
window, but no correct user/pass is accepted.  If I restart Samba, then the
share is mapped using the workstations login credentials.

Logging is set to 3 now, but I'm not even sure where to look.  For some
reason, restarting the daemon allows authentication to pass from clientA to
Samba, but clientB is able to access the share at the same time(and vice
versa after clientB has been rebooted.)


My smb.conf is here: http://pastebin.ca/1888385

What could be causing this behavior?

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