[Samba] client VPN disconnects samba shares

2003-03-15 Thread Pat Schlehuber
I am running Samba 2.2.7a in domain mode .. all is great.


I have a XP user on my local network that connects to samba as a domain user - so far 
so good.

This users also has a Cisco VPN client for connecting over the internet to another 
application at a service bureau. When the VPN client is activated, all traffic from 
this machine is only forwarding network traffic over the VPN pipe. Obviously, this 
causes a problem with my Samba shares as they are no longer available. When the VPN 
client is shutdown all is well again.

The VPN configuration is provided by the service bureau so I have no control over its 
configuration. 

My local network is DHCP controlled using 192.168.0.*/24 and the VPN pipe is connected 
to a public address over the internet connection. I am using WINS on the Samba server, 
put I still cannot ping anything on my local network.

I may be answering my own question, but do I need to get the service bureau to supply 
me with a VPN configuration that places everything over the VPN Pipe except for 
192.168.0.* addresses?


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


[Samba] NTconfig.pol not used

2003-03-03 Thread Pat Schlehuber
> 2003-03-02 18:18:01, "Pat Schlehuber"  napisa?:
>
> >I am running Samba 2.2.7a on SuSE 8.0 and all Windows/XP clients in a PDC
> configuration.
> >
> >
> >All runs great except for one problem.
> >
> >I cannot get NTconfig.pol to be used. I have placed it in the netlogon
share and
> read/execute permissions are wide open.
> >
> >I turn on samba loglevel=3 and I never see samba even try to look for
NTconfig.pol, or
> any *.pol file. This occurs for all of my clients.
> >
> >
> >Any ideas?
>
> If I remember, it's stored in profile, not netlogon.

NTconfig.POL shold be in the root of the NETLOGON share.

The only tool that can create a usable NTConfig.POL file is the NT Group
Policy Editor. I know that exists under NT4 Server. Not sure how to do
this under Win2K but I will have the answer within a two weeks. Someone is
working on a tool that allows this to be done from Linux/Unix.

Additionally, your MS Windows NT/2K/XP clients must be full domain
members, otherwise the client will not look for the NTConfig.POL file at
all. That is, when you right click on the 'My Computer' icon and select
'Properties, then 'Network ID' it should show that the machine is a member
of your domain, not of a workgroup.

- John T.
--
John H Terpstra
Email: jht at samba.org



==


I am a full Domain member, using roaming profiles and the such. I have
placed NTconfig.POL in the netlogon share. Samba never even shows it being
searched for in the logs.

I have the XP version of the policy editor, there is one for NT, 2000 and
XP. This policy has been used in other Samba configurations and works as
expected, this particular samba implementation never uses it for some
reason.


Pat


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


[Samba] NTconfig.pol not used

2003-03-02 Thread Pat Schlehuber
I am running Samba 2.2.7a on SuSE 8.0 and all Windows/XP clients in a PDC 
configuration.


All runs great except for one problem.

I cannot get NTconfig.pol to be used. I have placed it in the netlogon share and 
read/execute permissions are wide open.

I turn on samba loglevel=3 and I never see samba even try to look for NTconfig.pol, or 
any *.pol file. This occurs for all of my clients.


Any ideas?

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


[Samba] Slow performance

2002-12-29 Thread Pat Schlehuber
I have been fighting this problem for months now. My performance under Samba
and XP has ben umbearable. The scenario is running Samba 2.2.7a under SuSE
8.0 as a PDC. The XP machine logs onto Samba and the roaming profiles are
downloaded then stops for 15 minutes or so. The network is verified 100Meg
full-duplex, FTP transfers between the machines are robust and so no
problems in connectivity. Any idea would be greatly appreciated. I have
tried different versions of Samba to no avail and have this problem on 2
different XP machines.


I have turned loglevel 3 and see the following during this time:



The samba log for the NMBD shows (Shows a 5-minute lag with no activty):

[2002/12/28 14:11:03, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_processlogon.c:process_logon_packet(253)
  process_logon_packet: SAMLOGON request from MOE(192.168.0.3) for ,
returning logon svr \\LINUXNB domain HEYWORTH code 13 token=
[2002/12/28 14:11:23, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_sendannounce.c:send_local_master_announcement(175)
  send_local_master_announcement: type c9b0b for name LINUXNB on subnet
192.168.0.2 for workgroup HEYWORTH
[2002/12/28 14:11:23, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_sendannounce.c:send_workgroup_announcement(194)
  send_workgroup_announcement: on subnet 192.168.0.2 for workgroup HEYWORTH
[2002/12/28 14:16:23, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_sendannounce.c:send_local_master_announcement(175)
  send_local_master_announcement: type c9b0b for name LINUXNB on subnet
192.168.0.2 for workgroup HEYWORTH
[2002/12/28 14:16:23, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_sendannounce.c:send_workgroup_announcement(194)
  send_workgroup_announcement: on subnet 192.168.0.2 for workgroup HEYWORTH
[2002/12/28 14:16:54, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_winsserver.c:wins_process_name_query_request(1354)
  wins_process_name_query: name query for name *<1b> from IP 192.168.0.2
[2002/12/28 14:17:19, 2, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browse
r(118)
  announce_local_master_browser_to_domain_master_browser:
  We are both a domain and a local master browser for workgroup HEYWORTH.
Do not announce to ourselves.
[2002/12/28 14:17:19, 2, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_browsesync.c:sync_with_dmb(157)
  sync_with_dmb:
  Initiating sync with domain master browser LINUXNB<20> at IP 192.168.0.2
for workgroup HEYWORTH
[2002/12/28 14:18:18, 1, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_processlogon.c:process_logon_packet(69)
  process_logon_packet: Logon from 192.168.0.3: code = 0x12
[2002/12/28 14:18:18, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_processlogon.c:process_logon_packet(210)
  process_logon_packet: SAMLOGON sidsize 0, len = 53
[2002/12/28 14:18:18, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_processlogon.c:process_logon_packet(217)
  process_logon_packet: len = 53 PTR_DIFF(q, buf) = 45
[2002/12/28 14:18:18, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_processlogon.c:process_logon_packet(237)
  process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2002/12/28 14:18:18, 3, pid=1570, effective(0, 0), real(0, 0)]
nmbd/nmbd_processlogon.c:process_logon_packet(246)
  process_logon_packet: SAMLOGON user






The samba log for the XP machine  shows:


[2002/12/28 14:08:29, 1, pid=1584, effective(0, 0), real(0, 0)]
smbd/service.c:close_cnum(677)
  moe (192.168.0.3) closed connection to service netlogon
[2002/12/28 14:08:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/connection.c:yield_connection(48)
  Yielding connection to netlogon
[2002/12/28 14:08:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/12/28 14:09:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/12/28 14:10:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/12/28 14:11:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/12/28 14:12:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/12/28 14:14:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/12/28 14:15:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/12/28 14:16:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/12/28 14:17:29, 3, pid=1584, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002

[Samba] Sleeping Clients

2002-12-15 Thread Pat Schlehuber



I have tried posting this problem before and had 
some jelpful suggestions, but to no avail. Let me reword the problem and 
possibly jog someone head.
 
My hardware/software config:
 
Samba 2.2.7a
Suse 8.0 distro
Athlon 2000+ XP machine mucho memory.
One ethernet interface verified running 100 Full-duplex.
 
The problem:
 
The Windows XP clients logon to the Samba server 
and download the roaming profiles extremely fast, but after this point just 
stops. The clients never come back, just keep showing "logging on". The 
SignOrSeal entry has been done on the XP clients.
 
I have turned Samba trace level=3 and it shows the 
sighon and download of the profiles and then shows nothing happening - no 
errors, just nothing.
 
 
The machines(server and clients) appear 
configured correctly as non samba traffic is very robust (FTP, ping, mail etc). 
When I disable roaming profiles I have the same problem after the logon the 
Client is "stuck". This problem happens from 2 totally different XP clients 
(Hardware is very different between the 2). The Router/switch looks heathy. I 
have applied all patches to XP and microcode to the router/switch. I have tried 
Samba 2.2.3a and 2.2.6, 2.2.7, 2.2.7a all with the same result.
 
I am using DHCP from my provided by my router. 

 
I do see in my wins.dat that I have no entrty 1d 
showing a Local Master Browser, but on is displayed when I do a nmblookup - just 
fishing on this.
 
I have run my smb.conf in another network and it 
works great.
 
 
Any ideas from anyone that could help?
 
Pat


[Samba] Very poor performance

2002-11-26 Thread Pat Schlehuber
Hardware/software setup:

SuSE 8.0 (Athlon XP 2000)
Samba 2.2.7 as PDC
(3) Win/XP client machines (Athlon XP 2000) (SignOrSeal installed)


I am having a terrible performance situation connecting my XP machine to
Samba. I receive the enter password prompt immediately, but it may take
10-15 minutes for the machine to start and many time never comes back. I
show no errors on the link via 'ipconfig eth0' command. FTP transfers
between these machines scream so I think it must be some type of netbios
issue. I replaced the NIC on the Samaba machine wth no change.
I see nothing unusual in the samba logs.


I physically moved the Samba server to a test network with 1 XP client. This
worked great, client logged on and started up in seconds.

I saw the same problem under Samba 2.2.3a, 2.2.6

The production network has Windows workgroup computers running Windows XP/98
on it using NetBeui. These machines are treated separate and should not be
involved. When I shut down all these NetBeui machines I see not change.

What I am trying to do is move my Windows workgroup environment to a
PDC/Samba environment. I need them to coexist during the migration.

findsmb shows the Samba as the Domain Master Browser and shows no Local
Domain Browsers.

I even tried setting


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters\Main
tainServerList=No

 in the Client registry to keep them from trying to become the Local Master
Browser. -- no difference.


I have rambled a bit, but I am at my wits end. Can anyone think what I am
doing wrong?


Thanks much,
Pat


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