Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-07-09 Thread Chris Garrigues
 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Fri, 02 Jul 2004 13:25:23 -0500

 Looks good so far.  I've been running it for several hours and both Jeff and I 
 are trying to break it.  Assuming I don't crash and burn, I'll push it out to 
 my customer site tonight and if they don't see any issues when the get back to 
 work on Tuesday, I'll declare this fixed by Wednesday.

It took me a few extra days to declare it fixed, but one of our unhappiest 
users just reported that he hasn't had any problems all week long!

Thanks again, Jeremy!

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-07-02 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Thu, 1 Jul 2004 15:54:58 -0700

 Ok, I've fixed up the smbldap_search code and added a max sleep replication
 time of 5 seconds. I've committed to 3.0 svn if you want to try it. This
 should fix the issue you've reported here. Let me know if not

Looks good so far.  I've been running it for several hours and both Jeff and I 
are trying to break it.  Assuming I don't crash and burn, I'll push it out to 
my customer site tonight and if they don't see any issues when the get back to 
work on Tuesday, I'll declare this fixed by Wednesday.

Whenever you find yourself in Austin, you'll have to stop by and collect the 
beer that I owe you.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-07-02 Thread Jeremy Allison
On Fri, Jul 02, 2004 at 01:25:23PM -0500, Chris Garrigues wrote:
  From:  Jeremy Allison [EMAIL PROTECTED]
  Date:  Thu, 1 Jul 2004 15:54:58 -0700
 
  Ok, I've fixed up the smbldap_search code and added a max sleep replication
  time of 5 seconds. I've committed to 3.0 svn if you want to try it. This
  should fix the issue you've reported here. Let me know if not
 
 Looks good so far.  I've been running it for several hours and both Jeff and I 
 are trying to break it.  Assuming I don't crash and burn, I'll push it out to 
 my customer site tonight and if they don't see any issues when the get back to 
 work on Tuesday, I'll declare this fixed by Wednesday.

Cool ! Thanks a *lot*. I was really hoping it wasn't the new deferred open code :-).

 Whenever you find yourself in Austin, you'll have to stop by and collect the 
 beer that I owe you.

I might just take you up on that. :-).

Cheers,

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-07-02 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Fri, 2 Jul 2004 11:34:17 -0700

  Whenever you find yourself in Austin, you'll have to stop by and collect the 
  beer that I owe you.
 
 I might just take you up on that. :-).

That's one of the beauties of open source software.  If I found a bug in 
commercial software, I don't think I could pay for the fix by promising to buy 
someone a beer at an uncertain date in the future.  Besides, who wants to 
drink a beer with Bill Gates?

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-07-01 Thread Jeremy Allison
On Thu, Jul 01, 2004 at 11:05:18AM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Wed, 30 Jun 2004 07:54:53 -0500
 
  (I'm still trying to get a new debug log for you.)
 
 Sorry this took a while, but unfortunately I have other responsibilities.
 
 New log at
 
   http://www.trinsics.com/~cwg/smblog
 
 The delay was from 10:09:52 to 10:11:17.

At last ! Thanks !

The problem is here :

249646 [2004/07/01 10:09:52, 5] lib/smbldap.c:smbldap_search(932)  249647   
smbldap_search: base = [dc=trinsics,dc=com], filter = 
[((sambaSID=S-1-5-21-904170827-898255731-2295272421-1407)(
objectclass=sambaSamAccount))], scope = [2]
 249648 [2004/07/01 10:09:52, 5] lib/smbldap.c:smbldap_search(950)
 249649   smbldap_search: waiting 1117501 milliseconds for LDAP replication.
 249650 [2004/07/01 10:11:17, 6] param/loadparm.c:lp_file_list_changed(2687)
 249651   lp_file_list_changed()
 249652   file /etc/samba3/smb.conf - /etc/samba3/smb.conf  last mod_time: Wed Jun 30 
16:11:03 2004
 249653
 249654 [2004/07/01 10:11:17, 5] smbd/connection.c:claim_connection(170)
 249655   claiming  0
 249656 [2004/07/01 10:11:17, 0] lib/util_sock.c:get_peer_addr(1000)
 249657   getpeername failed. Error was Transport endpoint is not connected


Nothing to do with the new open code. There is a bug (not sure
what yet) with calculating the sleep time in smbldap_search()
(in fact I have *NO* idea what this code is for) that causes
it to sleep for much more than 30 second - client times out, fun
ensues

Jerry, you might want to look at this.

I'll fix this asap !

THANKS !

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-07-01 Thread Jeremy Allison
On Thu, Jul 01, 2004 at 10:53:03AM -0700, Jeremy Allison wrote:
 On Thu, Jul 01, 2004 at 11:05:18AM -0500, Chris Garrigues wrote:
   From:  Chris Garrigues [EMAIL PROTECTED]
   Date:  Wed, 30 Jun 2004 07:54:53 -0500
  
   (I'm still trying to get a new debug log for you.)
  
  Sorry this took a while, but unfortunately I have other responsibilities.
  
  New log at
  
  http://www.trinsics.com/~cwg/smblog
  
  The delay was from 10:09:52 to 10:11:17.
 
 At last ! Thanks !
 
 The problem is here :
 
 249646 [2004/07/01 10:09:52, 5] lib/smbldap.c:smbldap_search(932)  249647   
 smbldap_search: base = [dc=trinsics,dc=com], filter = 
 [((sambaSID=S-1-5-21-904170827-898255731-2295272421-1407)(
 objectclass=sambaSamAccount))], scope = [2]
  249648 [2004/07/01 10:09:52, 5] lib/smbldap.c:smbldap_search(950)
  249649   smbldap_search: waiting 1117501 milliseconds for LDAP replication.
  249650 [2004/07/01 10:11:17, 6] param/loadparm.c:lp_file_list_changed(2687)
  249651   lp_file_list_changed()
  249652   file /etc/samba3/smb.conf - /etc/samba3/smb.conf  last mod_time: Wed Jun 
 30 16:11:03 2004
  249653
  249654 [2004/07/01 10:11:17, 5] smbd/connection.c:claim_connection(170)
  249655   claiming  0
  249656 [2004/07/01 10:11:17, 0] lib/util_sock.c:get_peer_addr(1000)
  249657   getpeername failed. Error was Transport endpoint is not connected
 
 
 Nothing to do with the new open code. There is a bug (not sure
 what yet) with calculating the sleep time in smbldap_search()
 (in fact I have *NO* idea what this code is for) that causes
 it to sleep for much more than 30 second - client times out, fun
 ensues

Ok, I've fixed up the smbldap_search code and added a max sleep replication
time of 5 seconds. I've committed to 3.0 svn if you want to try it. This
should fix the issue you've reported here. Let me know if not

Thanks,

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-30 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Tue, 29 Jun 2004 16:27:31 -0700

 On Tue, Jun 29, 2004 at 03:43:48PM -0500, Chris Garrigues wrote:
   From:  Jeremy Allison [EMAIL PROTECTED]
   Date:  Mon, 28 Jun 2004 13:43:54 -0700
  
   Can you try with : defer sharing violations = Yes but
   
   kernel oplocks = no
   oplocks = yes
   level2 oplocks = yes
   
   Also. I'm starting to think it may be an interaction between
   Linux kernel oplocks and deferred opens.
  
  I just had a lockup with these values.  This one hung and then gave me th
 e 
  error that the file couldn't be saved and was instead saved to a temporar
 y 
  file.  I'm still running 3.0.5pre2-SVN-build-1287.  smbstatus is showing 
  two locks on the temporary file:
 
 Ok, while I'm looking at the code, here's something that
 Andreas Haumer sent me about a related problem.
 
 But we did another test and we now know it has something to do
 with the version of MS Office: the error only occurs with (old)
 Excel from Office97, it does not occur with Excel from Office2003!
 I can't explain what is going on here, but maybe that's a hint for
 others having the same problem
 
 I was wondering what Excel version you're using ?

I'm using Excel 2000, but we've also seen it with Excel 2003.

Sorry.

(I'm still trying to get a new debug log for you.)

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-29 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Mon, 28 Jun 2004 13:43:54 -0700

 Can you try with : defer sharing violations = Yes but
 
 kernel oplocks = no
 oplocks = yes
 level2 oplocks = yes
 
 Also. I'm starting to think it may be an interaction between
 Linux kernel oplocks and deferred opens.

I just had a lockup with these values.  This one hung and then gave me the 
error that the file couldn't be saved and was instead saved to a temporary 
file.  I'm still running 3.0.5pre2-SVN-build-1287.  smbstatus is showing 
two locks on the temporary file:

Locked files:
PidDenyMode   Access  R/WOplock   Name
--
24074  DENY_NONE  0x30089 RDONLY NONE 
/net/jupiter.trinsics.com/export/home/cwg/bbu projection.xls   Tue Jun 29 14:56:36 2004
24074  DENY_NONE  0x60080 RDONLY NONE 
/net/jupiter.trinsics.com/export/home/cwg/DAD28750   Tue Jun 29 14:56:36 2004
24074  DENY_ALL   0x7019f RDWR   NONE 
/net/jupiter.trinsics.com/export/home/cwg/DAD28750   Tue Jun 29 14:56:36 2004

Logging was not at level 10, so this is what I got (the hang was between 
14:56:36 and 14:57:54), so I think there's nothing useful in here.

[2004/06/29 14:56:36, 1] smbd/service.c:make_connection_snum(648)
  callisto (10.1.1.186) connect to service cwg initially as user cwg (uid=200, 
gid=203) (pid 24074)
[2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)
[2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)
[2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)
[2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)
[2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)
[2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)
[2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)
[2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)
[2004/06/29 14:57:54, 1] smbd/service.c:make_connection_snum(648)
  callisto (10.1.1.186) connect to service cwg initially as user cwg (uid=200, 
gid=203) (pid 23708)
[2004/06/29 15:00:46, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such 
object)

Do you want another debug level 10 report?

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-29 Thread Jeremy Allison
On Tue, Jun 29, 2004 at 03:43:48PM -0500, Chris Garrigues wrote:
  From:  Jeremy Allison [EMAIL PROTECTED]
  Date:  Mon, 28 Jun 2004 13:43:54 -0700
 
  Can you try with : defer sharing violations = Yes but
  
  kernel oplocks = no
  oplocks = yes
  level2 oplocks = yes
  
  Also. I'm starting to think it may be an interaction between
  Linux kernel oplocks and deferred opens.
 
 I just had a lockup with these values.  This one hung and then gave me the 
 error that the file couldn't be saved and was instead saved to a temporary 
 file.  I'm still running 3.0.5pre2-SVN-build-1287.  smbstatus is showing 
 two locks on the temporary file:
 
 Locked files:
 PidDenyMode   Access  R/WOplock   Name
 --
 24074  DENY_NONE  0x30089 RDONLY NONE 
 /net/jupiter.trinsics.com/export/home/cwg/bbu projection.xls   Tue Jun 29 14:56:36 
 2004
 24074  DENY_NONE  0x60080 RDONLY NONE 
 /net/jupiter.trinsics.com/export/home/cwg/DAD28750   Tue Jun 29 14:56:36 2004
 24074  DENY_ALL   0x7019f RDWR   NONE 
 /net/jupiter.trinsics.com/export/home/cwg/DAD28750   Tue Jun 29 14:56:36 2004
 
 Logging was not at level 10, so this is what I got (the hang was between 
 14:56:36 and 14:57:54), so I think there's nothing useful in here.

Nope, nothing there...

Arh ! This is driving me nuts ! I can't reproduce it :-).
A debug level 10 would be very helpful, as it's the same pid that
is listed in all the (conflicting) deny modes.

Which should be impossible, I just thought I'd mention that :-).

I'm going to look at that code again.

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-29 Thread Jeremy Allison
On Tue, Jun 29, 2004 at 03:43:48PM -0500, Chris Garrigues wrote:
  From:  Jeremy Allison [EMAIL PROTECTED]
  Date:  Mon, 28 Jun 2004 13:43:54 -0700
 
  Can you try with : defer sharing violations = Yes but
  
  kernel oplocks = no
  oplocks = yes
  level2 oplocks = yes
  
  Also. I'm starting to think it may be an interaction between
  Linux kernel oplocks and deferred opens.
 
 I just had a lockup with these values.  This one hung and then gave me the 
 error that the file couldn't be saved and was instead saved to a temporary 
 file.  I'm still running 3.0.5pre2-SVN-build-1287.  smbstatus is showing 
 two locks on the temporary file:
 
 Locked files:
 PidDenyMode   Access  R/WOplock   Name
 --
 24074  DENY_NONE  0x30089 RDONLY NONE 
 /net/jupiter.trinsics.com/export/home/cwg/bbu projection.xls   Tue Jun 29 14:56:36 
 2004
 24074  DENY_NONE  0x60080 RDONLY NONE 
 /net/jupiter.trinsics.com/export/home/cwg/DAD28750   Tue Jun 29 14:56:36 2004
 24074  DENY_ALL   0x7019f RDWR   NONE 
 /net/jupiter.trinsics.com/export/home/cwg/DAD28750   Tue Jun 29 14:56:36 2004

The strange thing is the Oplock value of none here

Are you sure you have kernel oplocks set to no ? Use testparm to
be sure and ensure you've restarted smbd or it won't take effect.

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-29 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Tue, 29 Jun 2004 14:47:34 -0700

 The strange thing is the Oplock value of none here
 
 Are you sure you have kernel oplocks set to no ? Use testparm to
 be sure and ensure you've restarted smbd or it won't take effect.

hmmm. what does this mean:

Load smb config files from /etc/samba3/smb.conf
Processing section [homes]
Processing section [netlogon]
Processing section [profiles]
Processing section [groups]
Processing section [InterChk]
Processing section [local-soft]
Processing section [pointmeridian]
Processing section [print$]
Processing section [software]
Processing section [lp1]
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Invalid combination of parameters for service netlogon.Level II 
oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service profiles.Level II 
oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service groups.  Level II 
oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service InterChk.Level II 
oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service local-soft.  Level II 
oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service pointmeridian.   Level II 
oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service print$.  Level II 
oplocks can only be set if oplocks are also set.
Invalid combination of parameters for service lp1. Level II 
oplocks can only be set if oplocks are also set.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

# Global parameters
[global]
workgroup = TRINSICS
interfaces = eth0, 127.0.0.1
bind interfaces only = Yes
map to guest = Bad User
smb passwd file = /etc/samba/smbpasswd
passdb backend = ldapsam:ldap://127.0.0.1
log level = 10
log file = /var/log/samba3/%m.log
max log size = 2500
min protocol = NT1
deadtime = 1440
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY 
SO_KEEPALIVE
load printers = No
add user script = /usr/sbin/useradd -d /dev/null -g users -s /bin/false -M %u
logon script = login.bat
logon path = \\%L\profiles\%U
logon drive = U:
logon home = \\%L\%U
domain logons = Yes
os level = 127
preferred master = Yes
domain master = Yes
wins support = Yes
kernel oplocks = No
ldap suffix = dc=trinsics,dc=com
ldap machine suffix = ou=people,dc=trinsics,dc=com
ldap user suffix = ou=people,dc=trinsics,dc=com
ldap group suffix = ou=group,dc=trinsics,dc=com
ldap admin dn = cn=wheel,o=trinsics,c=us
ldap passwd sync = Yes
min print space = 32768
delete veto files = Yes
oplocks = No

[homes]
comment = Home Directories
read only = No
veto files = /.?*/.AppleDouble/.bin/.AppleDesktop/Network Trash 
Folder/.Parent/Icon?/Desktop/DesktopFolderDB/Maildir/
browseable = No
oplocks = Yes

[netlogon]
path = /home/samba/netlogon
guest ok = Yes

[profiles]
path = /home/samba/ntprofile
read only = No
create mask = 0600
force create mode = 0600
directory mask = 0700
force directory mode = 0700
profile acls = Yes
csc policy = disable

[groups]
comment = Group Shares
path = /export/groups
write list = @users
force group = +users
read only = No
create mask = 0664
force create mode = 0660
directory mask = 0775
force directory mode = 0770
map acl inherit = Yes
veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash 
Folder/.Parent/Icon?/Desktop/DesktopFolderDB/

[InterChk]
comment = Sophos InterCheck Share
path = /export/intercheck
read only = No
map acl inherit = Yes

[local-soft]
comment = Local Software (not backed up)
path = /export/local-soft
write list = @users
force group = +users
read only = No
create mask = 0664
force create mode = 0660
directory mask = 0775
force directory mode = 0770
map acl inherit = Yes
veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash 
Folder/.Parent/Icon?/Desktop/DesktopFolderDB/

[pointmeridian]
comment = Point Meridian
path = /export/pointmeridian
read only = No
map acl 

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-29 Thread Jeremy Allison
On Tue, Jun 29, 2004 at 05:16:24PM -0500, Chris Garrigues wrote:
  From:  Jeremy Allison [EMAIL PROTECTED]
  Date:  Tue, 29 Jun 2004 14:47:34 -0700
 
  The strange thing is the Oplock value of none here
  
  Are you sure you have kernel oplocks set to no ? Use testparm to
  be sure and ensure you've restarted smbd or it won't take effect.
 
 hmmm. what does this mean:
 
 Load smb config files from /etc/samba3/smb.conf
 Processing section [homes]
 Processing section [netlogon]
 Processing section [profiles]
 Processing section [groups]
 Processing section [InterChk]
 Processing section [local-soft]
 Processing section [pointmeridian]
 Processing section [print$]
 Processing section [software]
 Processing section [lp1]
 Loaded services file OK.
 WARNING: You have some share names that are longer than 12 characters.
 These may not be accessible to some older clients.
 (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
 Invalid combination of parameters for service netlogon.Level II 
 oplocks can only be set if oplocks are also set.
 Invalid combination of parameters for service profiles.Level II 
 oplocks can only be set if oplocks are also set.
 Invalid combination of parameters for service groups.  Level II 
 oplocks can only be set if oplocks are also set.
 Invalid combination of parameters for service InterChk.Level II 
 oplocks can only be set if oplocks are also set.
 Invalid combination of parameters for service local-soft.  Level II 
 oplocks can only be set if oplocks are also set.
 Invalid combination of parameters for service pointmeridian.   Level II 
 oplocks can only be set if oplocks are also set.
 Invalid combination of parameters for service print$.  Level II 
 oplocks can only be set if oplocks are also set.
 Invalid combination of parameters for service lp1. Level II 
 oplocks can only be set if oplocks are also set.
 Server role: ROLE_DOMAIN_PDC
 Press enter to see a dump of your service definitions

It just means whenever you turn oplocks off and don't turn off level 2 
oplocks you've got an invalid combo. Doesn't hurt.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-29 Thread Jeremy Allison
On Tue, Jun 29, 2004 at 03:43:48PM -0500, Chris Garrigues wrote:
  From:  Jeremy Allison [EMAIL PROTECTED]
  Date:  Mon, 28 Jun 2004 13:43:54 -0700
 
  Can you try with : defer sharing violations = Yes but
  
  kernel oplocks = no
  oplocks = yes
  level2 oplocks = yes
  
  Also. I'm starting to think it may be an interaction between
  Linux kernel oplocks and deferred opens.
 
 I just had a lockup with these values.  This one hung and then gave me the 
 error that the file couldn't be saved and was instead saved to a temporary 
 file.  I'm still running 3.0.5pre2-SVN-build-1287.  smbstatus is showing 
 two locks on the temporary file:

Ok, while I'm looking at the code, here's something that
Andreas Haumer sent me about a related problem.

But we did another test and we now know it has something to do
with the version of MS Office: the error only occurs with (old)
Excel from Office97, it does not occur with Excel from Office2003!
I can't explain what is going on here, but maybe that's a hint for
others having the same problem

I was wondering what Excel version you're using ?

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-28 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Fri, 25 Jun 2004 17:55:03 -0700

 Ok, Chris - if you svn update you'll find I've added a new global parameter to
 control the action of the defer open code. It's called
 
 defer sharing violations and it's set to yes by default (to emulate Windows
 correctly). Can you svn update and try and reproduce your problem with
 this parameter set to yes. If you can, try setting it to no and seeing
 if the problem goes away.

Thanks!

I hope I can get to this in the next few days.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-28 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Fri, 25 Jun 2004 17:55:03 -0700

 Ok, Chris - if you svn update you'll find I've added a new global parameter to
 control the action of the defer open code. It's called
 
 defer sharing violations and it's set to yes by default (to emulate Windows
 correctly). Can you svn update and try and reproduce your problem with
 this parameter set to yes. If you can, try setting it to no and seeing
 if the problem goes away.

I'm halfway there.  It just failed with defer sharing violations = Yes.

I've changed the flag to No.  Since it doesn't always fail, I'll try all day 
to get it to fail.  If it fails, I'll let you know.  If it doesn't, I'll put 
it on my client's network this evening and let you know how well it works 
there.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-28 Thread Chris Garrigues
 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Mon, 28 Jun 2004 10:01:55 -0500

 I'm halfway there.  It just failed with defer sharing violations = Yes.
 I've changed the flag to No.  Since it doesn't always fail, I'll try all day 
 to get it to fail.  If it fails, I'll let you know.  If it doesn't, I'll put 
 it on my client's network this evening and let you know how well it works 
 there.

It just failed differently.  Now after I tell it to go ahead and overwrite, it 
hangs before trying to write the file and when it finally comes back it says:

'U:\bbu projection.xls' cannot be accessed.  The 
file may be read-only, or you may be trying to 
access a read-only location.  Or, the server the 
file is stored on may not be responding.

What a terribly written error message...not to mention that I can't believe 
they can't tell the difference between a read-only file and the 
server not responding.

I had logging back down to 1 and this appeared in the log:

[2004/06/28 11:02:37, 1] smbd/service.c:make_connection_snum(648)
  callisto (10.1.1.186) connect to service groups initially as user cwg (uid=200
, gid=100) (pid 731)
[2004/06/28 11:02:37, 1] smbd/service.c:make_connection_snum(648)
  callisto (10.1.1.186) connect to service groups initially as user cwg (uid=200
, gid=100) (pid 731)
[2004/06/28 11:02:37, 1] smbd/service.c:close_cnum(833)
  callisto (10.1.1.186) closed connection to service groups
[2004/06/28 11:02:37, 1] smbd/service.c:close_cnum(833)
  callisto (10.1.1.186) closed connection to service groups
[2004/06/28 11:04:38, 0] smbd/oplock.c:oplock_break(830)
  oplock_break: end of file from client
  oplock_break failed for file bbu projection.xls (dev = 809, inode = 1570136, file_id 
= 23).
[2004/06/28 11:04:38, 0] smbd/oplock.c:oplock_break(923)
  oplock_break: client failure in break - shutting down this smbd.
[2004/06/28 11:04:38, 1] smbd/service.c:close_cnum(833)
  callisto (10.1.1.186) closed connection to service groups
[2004/06/28 11:04:38, 1] smbd/service.c:close_cnum(833)
  callisto (10.1.1.186) closed connection to service cwg

Chris

P.S.  I've turned oplocks off on the customer's server.  Am I correct in 
thinking that will mask the problem so they won't see it?

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-28 Thread Jeremy Allison
On Mon, Jun 28, 2004 at 10:01:55AM -0500, Chris Garrigues wrote:
  From:  Jeremy Allison [EMAIL PROTECTED]
  Date:  Fri, 25 Jun 2004 17:55:03 -0700
 
  Ok, Chris - if you svn update you'll find I've added a new global parameter to
  control the action of the defer open code. It's called
  
  defer sharing violations and it's set to yes by default (to emulate Windows
  correctly). Can you svn update and try and reproduce your problem with
  this parameter set to yes. If you can, try setting it to no and seeing
  if the problem goes away.
 
 I'm halfway there.  It just failed with defer sharing violations = Yes.
 
 I've changed the flag to No.  Since it doesn't always fail, I'll try all day 
 to get it to fail.  If it fails, I'll let you know.  If it doesn't, I'll put 
 it on my client's network this evening and let you know how well it works 
 there.

Can you try with : defer sharing violations = Yes but

kernel oplocks = no
oplocks = yes
level2 oplocks = yes

Also. I'm starting to think it may be an interaction between
Linux kernel oplocks and deferred opens.

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-28 Thread Jeremy Allison
On Mon, Jun 28, 2004 at 11:11:55AM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Mon, 28 Jun 2004 10:01:55 -0500
 
  I'm halfway there.  It just failed with defer sharing violations = Yes.
  I've changed the flag to No.  Since it doesn't always fail, I'll try all day 
  to get it to fail.  If it fails, I'll let you know.  If it doesn't, I'll put 
  it on my client's network this evening and let you know how well it works 
  there.
 
 It just failed differently.  Now after I tell it to go ahead and overwrite, it 
 hangs before trying to write the file and when it finally comes back it says:
 
   'U:\bbu projection.xls' cannot be accessed.  The 
   file may be read-only, or you may be trying to 
   access a read-only location.  Or, the server the 
   file is stored on may not be responding.
 
 What a terribly written error message...not to mention that I can't believe 
 they can't tell the difference between a read-only file and the 
 server not responding.
 
 I had logging back down to 1 and this appeared in the log:
 
 [2004/06/28 11:02:37, 1] smbd/service.c:make_connection_snum(648)
   callisto (10.1.1.186) connect to service groups initially as user cwg (uid=200
 , gid=100) (pid 731)
 [2004/06/28 11:02:37, 1] smbd/service.c:make_connection_snum(648)
   callisto (10.1.1.186) connect to service groups initially as user cwg (uid=200
 , gid=100) (pid 731)
 [2004/06/28 11:02:37, 1] smbd/service.c:close_cnum(833)
   callisto (10.1.1.186) closed connection to service groups
 [2004/06/28 11:02:37, 1] smbd/service.c:close_cnum(833)
   callisto (10.1.1.186) closed connection to service groups
 [2004/06/28 11:04:38, 0] smbd/oplock.c:oplock_break(830)
   oplock_break: end of file from client
   oplock_break failed for file bbu projection.xls (dev = 809, inode = 1570136, 
 file_id = 23).
 [2004/06/28 11:04:38, 0] smbd/oplock.c:oplock_break(923)
   oplock_break: client failure in break - shutting down this smbd.
 [2004/06/28 11:04:38, 1] smbd/service.c:close_cnum(833)
   callisto (10.1.1.186) closed connection to service groups
 [2004/06/28 11:04:38, 1] smbd/service.c:close_cnum(833)
   callisto (10.1.1.186) closed connection to service cwg
 
 Chris
 
 P.S.  I've turned oplocks off on the customer's server.  Am I correct in 
 thinking that will mask the problem so they won't see it?

Yes, it will. Are you sure you're running the SVN code. I did fix a bug
recently (friday I think) that would cause a client to get a double return
from a rename which might have caused that. Unless it's that, it doesn't
look like a deferred open problem.

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-28 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Mon, 28 Jun 2004 13:54:23 -0700

  P.S.  I've turned oplocks off on the customer's server.  Am I correct in 
  thinking that will mask the problem so they won't see it?
 
 Yes, it will. Are you sure you're running the SVN code. I did fix a bug
 recently (friday I think) that would cause a client to get a double return
 from a rename which might have caused that. Unless it's that, it doesn't
 look like a deferred open problem.

My customer is running a week-old SVN, I'm running one from this morning.  
Sounds like I should put this morning's SVN on their machine and leave oplocks 
off.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-28 Thread Jeremy Allison
On Mon, Jun 28, 2004 at 04:18:39PM -0500, Chris Garrigues wrote:
  From:  Jeremy Allison [EMAIL PROTECTED]
  Date:  Mon, 28 Jun 2004 13:54:23 -0700
 
   P.S.  I've turned oplocks off on the customer's server.  Am I correct in 
   thinking that will mask the problem so they won't see it?
  
  Yes, it will. Are you sure you're running the SVN code. I did fix a bug
  recently (friday I think) that would cause a client to get a double return
  from a rename which might have caused that. Unless it's that, it doesn't
  look like a deferred open problem.
 
 My customer is running a week-old SVN, I'm running one from this morning.  
 Sounds like I should put this morning's SVN on their machine and leave oplocks 
 off.

Yes, todays svn is significantly better than 1 week old. I'll be
doing lots of Q/A on it this week in preparation for 3.0.5pre2.

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-25 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Thu, 24 Jun 2004 16:20:40 -0700

 I can't reproduce this :-(.

I sent you a large log yesterday but it was blocked by some mail server due 
to the size.  I've just dropped the email messag on my web server at:

http://www.trinsics.com/~cwg/smblogmail

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-25 Thread Chris Garrigues
 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Fri, 25 Jun 2004 07:59:10 -0500

 I sent you a large log yesterday but it was blocked by some mail server due 
 to the size.  I've just dropped the email messag on my web server at:
 
   http://www.trinsics.com/~cwg/smblogmail

I just had exactly the same thing happen again.  Since it was identical, I'm 
not going to post the log.  However, this time I ran smbstatus while it was 
hung and noticed two locks on the temporary file:

Locked files:
PidDenyMode   Access  R/WOplock   Name
--
2106   DENY_NONE  0x60080 RDONLY NONE 
/net/jupiter.trinsics.com/export/home/cwg/EC94B140   Fri Jun 25 09:19:33 2004
2106   DENY_ALL   0x7019f RDWR   NONE 
/net/jupiter.trinsics.com/export/home/cwg/EC94B140   Fri Jun 25 09:19:33 2004
2106   DENY_NONE  0x30089 RDONLY NONE 
/net/jupiter.trinsics.com/export/home/cwg/bbu projection.xls   Fri Jun 25 09:19:33 2004

In fact, I see that there are still two locks even after excel let me work 
again.

I hope this is all useful,

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-25 Thread Jeremy Allison
On Fri, Jun 25, 2004 at 09:25:29AM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Fri, 25 Jun 2004 07:59:10 -0500
 
  I sent you a large log yesterday but it was blocked by some mail server due 
  to the size.  I've just dropped the email messag on my web server at:
  
  http://www.trinsics.com/~cwg/smblogmail
 
 I just had exactly the same thing happen again.  Since it was identical, I'm 
 not going to post the log.  However, this time I ran smbstatus while it was 
 hung and noticed two locks on the temporary file:

Ok, I've found a logic error in the deferred open code w.r.t. renames.
I'll email when I've fixed it in SVN.

Thanks,

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-25 Thread Jeremy Allison
On Fri, Jun 25, 2004 at 09:25:29AM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Fri, 25 Jun 2004 07:59:10 -0500
 
  I sent you a large log yesterday but it was blocked by some mail server due 
  to the size.  I've just dropped the email messag on my web server at:
  
  http://www.trinsics.com/~cwg/smblogmail
 
 I just had exactly the same thing happen again.  Since it was identical, I'm 
 not going to post the log.  However, this time I ran smbstatus while it was 
 hung and noticed two locks on the temporary file:

Ok, can you check out the current SVN and tell me if you can still reproduce it ?
I just fixed a missing deferred open bug which would allow two copies of the same
open to be reprocessed simultaneously (and send 2 replies !) in the NTrename
case.

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-25 Thread Jeremy Allison
On Fri, Jun 25, 2004 at 09:25:29AM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Fri, 25 Jun 2004 07:59:10 -0500
 
  I sent you a large log yesterday but it was blocked by some mail server due 
  to the size.  I've just dropped the email messag on my web server at:
  
  http://www.trinsics.com/~cwg/smblogmail
 
 I just had exactly the same thing happen again.  Since it was identical, I'm 
 not going to post the log.  However, this time I ran smbstatus while it was 
 hung and noticed two locks on the temporary file:
 
 Locked files:
 PidDenyMode   Access  R/WOplock   Name
 --
 2106   DENY_NONE  0x60080 RDONLY NONE 
 /net/jupiter.trinsics.com/export/home/cwg/EC94B140   Fri Jun 25 09:19:33 2004
 2106   DENY_ALL   0x7019f RDWR   NONE 
 /net/jupiter.trinsics.com/export/home/cwg/EC94B140   Fri Jun 25 09:19:33 2004
 2106   DENY_NONE  0x30089 RDONLY NONE 
 /net/jupiter.trinsics.com/export/home/cwg/bbu projection.xls   Fri Jun 25 09:19:33 
 2004
 
 In fact, I see that there are still two locks even after excel let me work 
 again.

Ok, Chris - if you svn update you'll find I've added a new global parameter to
control the action of the defer open code. It's called

defer sharing violations and it's set to yes by default (to emulate Windows
correctly). Can you svn update and try and reproduce your problem with
this parameter set to yes. If you can, try setting it to no and seeing
if the problem goes away.

Thanks,

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


[Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Chris Garrigues
 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Thu, 24 Jun 2004 09:45:16 -0500

 [2004/06/24 07:38:05, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
   ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (N
 o such object)

These lines appear to all be searching for 

base=ou=group,dc=borderent,dc=com,dc=borderent,dc=com 
scope=2 
filter=((objectClass=sambaGroupMapping)(gidNumber=99))

where group 99 is the nobody group.  I'm assuming as a result that this error 
is a red herring.

I really need some guidance here.  I've got some pretty frustrated users who 
don't even want to tell me when they're having problems any more.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Chris Garrigues
 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Thu, 24 Jun 2004 10:04:37 -0500

  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Thu, 24 Jun 2004 09:45:16 -0500
 
  [2004/06/24 07:38:05, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  
 (N
  o such object)
 
 These lines appear to all be searching for 
 
   base=ou=group,dc=borderent,dc=com,dc=borderent,dc=com 
   scope=2 
   filter=((objectClass=sambaGroupMapping)(gidNumber=99))
 
 where group 99 is the nobody group.  I'm assuming as a result that this error 
 is a red herring.
 
 I really need some guidance here.  I've got some pretty frustrated users who 
 don't even want to tell me when they're having problems any more.

~sigh~  It looks like my second message got posted to the list, but not my 
first (probably because I included the original user complaint as an 
attachment), so I'm going to restate it differently.

I'm now running 3.0.5pre2-SVN-build-1202 which I built this weekend.

It solved some of the issues we've been seeing, but we're still getting 
reports of delays while trying to open files of over a minute.  The message I 
originally forwarded mentioned twice this morning.  Here's the server log for 
that user with the above mentioned LDAP search failures removed since they 
appear to be unrelated (they happen much more often than the problem and 
nobody complains when they do happen):

[2004/06/24 07:37:57, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/06/24 07:37:57, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/06/24 07:37:57, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2004/06/24 07:37:57, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/06/24 07:38:03, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/06/24 07:38:03, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/06/24 07:38:03, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2004/06/24 07:38:03, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/06/24 07:38:05, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1400)
  failed to decode PDU
[2004/06/24 07:38:05, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
  process_request_pdu: failed to do schannel processing.
[2004/06/24 07:38:14, 1] smbd/service.c:make_connection_snum(648)
  product1 (10.2.240.173) connect to service profiles initially as user bjames 
(uid=514, gid=100) (pid 30493)
[2004/06/24 07:38:31, 1] smbd/service.c:close_cnum(833)
  product1 (10.2.240.173) closed connection to service profiles
[2004/06/24 07:38:32, 1] smbd/service.c:make_connection_snum(648)
  product1 (10.2.240.173) connect to service netlogon initially as user bjames 
(uid=514, gid=100) (pid 30493)
[2004/06/24 07:38:34, 1] smbd/service.c:make_connection_snum(648)
  product1 (10.2.240.173) connect to service bjames initially as user bjames (uid=514, 
gid=100) (pid 30493)
[2004/06/24 07:40:00, 1] smbd/service.c:close_cnum(833)
  product1 (10.2.240.173) closed connection to service netlogon
[2004/06/24 08:24:41, 1] smbd/service.c:make_connection_snum(648)
  product1 (10.2.240.173) connect to service bjames initially as user bjames (uid=514, 
gid=100) (pid 20578)
[2004/06/24 08:50:08, 1] smbd/service.c:close_cnum(833)
  product1 (10.2.240.173) closed connection to service bjames
[2004/06/24 09:10:46, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/06/24 09:10:46, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/06/24 09:10:46, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2004/06/24 09:10:46, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/06/24 09:10:48, 1] smbd/service.c:make_connection_snum(648)
  product1 (10.2.240.173) connect to service bjames initially as user bjames (uid=514, 
gid=100) (pid 10715)
[2004/06/24 09:19:45, 0] smbd/oplock.c:request_oplock_break(1055)
  request_oplock_break: no response received to oplock break request to pid 20578 on 
port 4027 for dev = 811, inode = 541045, file_id = 23
[2004/06/24 09:19:45, 0] smbd/open.c:open_mode_check(731)
  open_mode_check: exlusive oplock left by process 20578 after break ! For file My 
Documents/Product/Game Buys/July/gamebuyJULY.2004.xls, dev = 811, inode = 541045. 
Deleting it to continue...
[2004/06/24 

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Jeremy Allison
On Thu, Jun 24, 2004 at 10:30:09AM -0500, Chris Garrigues wrote:
 
 It solved some of the issues we've been seeing, but we're still getting 
 reports of delays while trying to open files of over a minute.  The message I 
 originally forwarded mentioned twice this morning.  Here's the server log for 
 that user with the above mentioned LDAP search failures removed since they 
 appear to be unrelated (they happen much more often than the problem and 
 nobody complains when they do happen):
 
 [2004/06/24 09:19:45, 0] smbd/oplock.c:request_oplock_break(1055)
   request_oplock_break: no response received to oplock break request to pid 20578 on 
 port 4027 for dev = 811, inode = 541045, file_id = 23

Check network hardware (negotiation etc). This is usually called by a flakey
network.

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Paul Gienger
Chris Garrigues wrote:
From:  Jeremy Allison [EMAIL PROTECTED]
Date:  Thu, 24 Jun 2004 08:29:32 -0700
Check network hardware (negotiation etc). This is usually called by a flakey
network.
   

~sigh~ Thanks, but neither the server nor the switch are showing any network 
problems.
Hell, we aren't even seeing any collisions on the server:
eth0  Link encap:Ethernet  HWaddr 00:D0:B7:3E:A0:4D  
 inet addr:10.2.240.1  Bcast:10.2.240.255  Mask:255.255.255.0
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:52198838 errors:0 dropped:0 overruns:0 frame:0
 TX packets:47574112 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 
 RX bytes:591919497 (564.4 Mb)  TX bytes:2269551243 (2164.4 Mb)

Any firewalling hardware/software involved?  Particularly the windows xp 
firewall?

--
Paul Gienger Office:701-281-1884
Applied Engineering Inc. Cell:  701-306-6254
Information Systems Consultant   Fax:   701-281-1322
URL: www.ae-solutions.commailto:[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Jeremy Allison
On Thu, Jun 24, 2004 at 11:00:48AM -0500, Chris Garrigues wrote:
 
 ~sigh~ Thanks, but neither the server nor the switch are showing any network 
 problems.
 
 Hell, we aren't even seeing any collisions on the server:

Ok, so can you reproduce this ? Are you using latest svn code ?
If you can reproduce this at will please tell me how and I'll
look at it immediately.

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



Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Thu, 24 Jun 2004 09:02:07 -0700

 On Thu, Jun 24, 2004 at 11:00:48AM -0500, Chris Garrigues wrote:
  
  ~sigh~ Thanks, but neither the server nor the switch are showing any netw
 ork problems.
  
  Hell, we aren't even seeing any collisions on the server:
 
 Ok, so can you reproduce this ? Are you using latest svn code ?
 If you can reproduce this at will please tell me how and I'll
 look at it immediately.

I haven't been able to reproduce it yet.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Chris Garrigues
 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Thu, 24 Jun 2004 11:22:11 -0500

 I haven't been able to reproduce it yet.

Got it!

Open an Excel file.  Save it.  Go to lunch.

When you return, go to FileSave As... and click on Save to save it over 
itself.  Say that you want to save the file over itself.  Things go to hell.

I just did this on a W2K box and my co-worker did it on an XP box.

I don't know how long lunch has to be.  We had Thai.  (Stir fried red herring!)

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Jeremy Allison
On Thu, Jun 24, 2004 at 12:45:03PM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Thu, 24 Jun 2004 11:22:11 -0500
 
  I haven't been able to reproduce it yet.
 
 Got it!
 
 Open an Excel file.  Save it.  Go to lunch.
 
 When you return, go to FileSave As... and click on Save to save it over 
 itself.  Say that you want to save the file over itself.  Things go to hell.
 
 I just did this on a W2K box and my co-worker did it on an XP box.
 
 I don't know how long lunch has to be.  We had Thai.  (Stir fried red herring!)

Ok, thanks. A couple of questions. What MS-Office version ? What Samba
code version (is this current svn code) ? What is your platform ? What
oplock settings do you have in your smb.conf ? 

Jeremy.

(What is your favourite color, what is the flight speed of a fully laden
sparrow... :-) ?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Thu, 24 Jun 2004 10:48:43 -0700

 Ok, thanks. A couple of questions. What MS-Office version ? What Samba
 code version (is this current svn code) ? What is your platform ? What
 oplock settings do you have in your smb.conf ? 

I'm running Excel 2K on Win2k.  Samba was built this base weekend from SVN 
(3.0.5pre2-SVN-build-1202).  The server is mandrake Linux kernel 2.4.22-30mdk.

kernel oplocks = Yes
oplocks = No
level2 oplocks = No

Oplocks settings have been changed repeatedly as we've tried to figure things out.  I 
intend to turn them back on again.

 (What is your favourite color, what is the flight speed of a fully laden
 sparrow... :-) ?

Blueno red.

African or European?

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




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

Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Jeremy Allison
On Thu, Jun 24, 2004 at 12:45:03PM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Thu, 24 Jun 2004 11:22:11 -0500
 
  I haven't been able to reproduce it yet.
 
 Got it!
 
 Open an Excel file.  Save it.  Go to lunch.
 
 When you return, go to FileSave As... and click on Save to save it over 
 itself.  Say that you want to save the file over itself.  Things go to hell.
 
 I just did this on a W2K box and my co-worker did it on an XP box.
 
 I don't know how long lunch has to be.  We had Thai.  (Stir fried red herring!)

Ok, I'm using these oplock settings with the current svn code :

kernel oplocks = Yes
oplocks = No
level2 oplocks = No

from a XP client using Excel 2000 9.0.3821 SR-1, I've saved it and
am now going to lunch :-).

I'll let you know if it happens for me.

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Jeremy Allison
On Thu, Jun 24, 2004 at 12:45:03PM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Thu, 24 Jun 2004 11:22:11 -0500
 
  I haven't been able to reproduce it yet.
 
 Got it!
 
 Open an Excel file.  Save it.  Go to lunch.
 
 When you return, go to FileSave As... and click on Save to save it over 
 itself.  Say that you want to save the file over itself.  Things go to hell.
 
 I just did this on a W2K box and my co-worker did it on an XP box.
 
 I don't know how long lunch has to be.  We had Thai.  (Stir fried red herring!)

I'm still trying to reproduce this. Can you send me a debug level 10 of
you reproducing it please ?

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


Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]

2004-06-24 Thread Jeremy Allison
On Thu, Jun 24, 2004 at 12:45:03PM -0500, Chris Garrigues wrote:
  From:  Chris Garrigues [EMAIL PROTECTED]
  Date:  Thu, 24 Jun 2004 11:22:11 -0500
 
  I haven't been able to reproduce it yet.
 
 Got it!
 
 Open an Excel file.  Save it.  Go to lunch.
 
 When you return, go to FileSave As... and click on Save to save it over 
 itself.  Say that you want to save the file over itself.  Things go to hell.
 
 I just did this on a W2K box and my co-worker did it on an XP box.
 
 I don't know how long lunch has to be.  We had Thai.  (Stir fried red herring!)

I can't reproduce this :-(.

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