Re: [Samba] SMB slow by design?

2007-02-01 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Thu, 1 Feb 2007 09:56:25 -0800

 On Thu, Feb 01, 2007 at 11:47:59AM -0600, James A. Dinkel wrote:
  
  I don't know why, but I just tried this, removind the SNDBUF AND RCVBUF,
  and the file share does seem snappier.  I had never messed with these
  options, I just found several places that said setting these to 8192
  gave a performance increase, so I had always used them.  Not any more.
 
 The trouble with the Internet is that really old advice never dies :-).

I just looked in my own config files and found:

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 
IPTOS_LOWDELAY SO_KEEPALIVE

I removed SO_RCVBUF and SO_SNDBUF.

Of course, I have no idea why any of these were defined in the first place.

Should any of the others be removed as well?

Chris

-- 
Chris Garrigues Trinsic Solutions
President   710-B West 14th Street
Austin, TX  78701-1755

512-322-0180http://www.trinsics.com

 Would you rather proactively pay for
uptime or reactively pay for downtime?

  Trinsic Solutions
 Your Proactive IT Management Partner



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

Re: [Samba] Re: [opensuse] Open-source leader leaving Novell for Google

2006-12-26 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Sun, 24 Dec 2006 22:02:32 -0800

 It's true I'm leaving Novell, but why do you think this means
 I'm not going to be on any Samba lists ? I'm joining Google on
 2nd Jan, and believe me when I tell you they're *very* interested
 in me spending all my time on Samba :-) :-).

I must admit to being intrigued as to why they're *very* interested in your 
working on Samba fulltime.  Is it just to poke at the folks in Redmond or is 
there more to it than that?

Chris

-- 
Chris Garrigues Trinsic Solutions
President   710-B West 14th Street
Austin, TX  78701-1755

512-322-0180http://www.trinsics.com

 Would you rather proactively pay for
uptime or reactively pay for downtime?

  Trinsic Solutions
 Your Proactive IT Management Partner



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

Re: [Samba] Re: [opensuse] Open-source leader leaving Novell for Google

2006-12-26 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Tue, 26 Dec 2006 12:42:03 -0800

 On Tue, Dec 26, 2006 at 12:54:52PM -0600, Chris Garrigues wrote:
  
  I must admit to being intrigued as to why they're *very* interested in your 
  working on Samba fulltime.  Is it just to poke at the folks in Redmond or 
  is 
  there more to it than that?
 
 Not everything is about Microsoft :-). No, as far as I can tell
 they (and I) have no interest in poking Redmond, they're just very
 interested in Samba.

What I really meant is Why are they very interested in Samba?  I'm having a 
hard time imagining the Samba-based offering that Google might have in mind, 
but the idea is intriguing enough that I can't stop thinking about it.

Chris

-- 
Chris Garrigues Trinsic Solutions
President   710-B West 14th Street
Austin, TX  78701-1755

512-322-0180http://www.trinsics.com

 Would you rather proactively pay for
uptime or reactively pay for downtime?

  Trinsic Solutions
 Your Proactive IT Management Partner



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

[Samba] Migrating an existing NT domain to samba

2006-04-04 Thread Chris Garrigues
What is the best path to follow to migrate an existing NT domain to a Samba 
server.

I've got several other Samba domains elsewhere, but none of them started as NT 
domains so I didn't have to do a migration.

The existing network has several servers, all of which I intend to retire
from fileservice once this migration is finished.  At the moment I have my 
samba 
server on the network in a bogus domain and of course there's no useful
communication.

The samba server is set up to use LDAP and is running 3.0.13 under Mandriva.

Chris

-- 
Chris Garrigues Trinsic Solutions
President   1611-B West 6th Street
Austin, TX  78703-5074

512-322-0180http://www.trinsics.com

 Would you rather proactively pay for
uptime or reactively pay for downtime?

  Trinsic Solutions
 Your Proactive IT Management Partner



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

[Samba] badly mangled names from certain old apps

2005-11-01 Thread Chris Garrigues
I just took on a new client who is having a curious problem with mangled 
names.  Here's the history as I understand it:

Originally they were on an NT server and there was no issue.

My predecessor moved them to a samba server running on gentwo.  I do not know 
what version of samba or how he moved the data, but when he did so, any files 
and folders with more than 8 characters started appearing mangled from two and 
only two apps.  Those two apps are qbtimer (Quickbooks) and RAM Structural
System.

I have moved them to a new server running 3.0.13 under Mandriva.  The file 
names still appear mangled.

Examples of how they are mangled:

Engineering - EHTEC6~Q
MSWord Templates- MLLW2U~K

The apps are running under XP and my user swears they didn't have a problem 
under the old NT server.  My assumption is that these two apps are using an 
old broken API, but if it really worked fine to an NT server, then there must 
be something better we can do...if we just get more standard looking 8.3 
mangling, that would help.

Any ideas?

Chris

-- 
Chris Garrigues Trinsic Solutions
President   1611-B West 6th Street
Austin, TX  78703-5074

512-322-0180http://www.trinsics.com

 Would you rather proactively pay for
uptime or reactively pay for downtime?

  Trinsic Solutions
 Your Proactive IT Management Partner



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

[Samba] badly mangled names from certain old apps

2005-11-01 Thread Chris Garrigues
I just took on a new client who is having a curious problem with mangled 
names.  Here's the history as I understand it:

Originally they were on an NT server and there was no issue.

My predecessor moved them to a samba server running on gentwo.  I do not know 
what version of samba or how he moved the data, but when he did so, any files 
and folders with more than 8 characters started appearing mangled from two and 
only two apps.  Those two apps are qbtimer (Quickbooks) and RAM Structural
System.

I have moved them to a new server running 3.0.13 under Mandriva.  The file 
names still appear mangled.

Examples of how they are mangled:

Engineering - EHTEC6~Q
MSWord Templates- MLLW2U~K

The apps are running under XP and my user swears they didn't have a problem 
under the old NT server.  My assumption is that these two apps are using an 
old broken API, but if it really worked fine to an NT server, then there must 
be something better we can do...if we just get more standard looking 8.3 
mangling, that would help.

Any ideas?

Chris

-- 
Chris Garrigues Trinsic Solutions
President   1611-B West 6th Street
Austin, TX  78703-5074

512-322-0180http://www.trinsics.com

 Would you rather proactively pay for
uptime or reactively pay for downtime?

  Trinsic Solutions
 Your Proactive IT Management Partner



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

Re: [Samba] Samba domain an many sites

2005-06-06 Thread Chris Garrigues
 From:  spiv007 [EMAIL PROTECTED]
 Date:  Mon, 6 Jun 2005 17:34:28 -0400

 Im going to install a samba domain at 4 of my sites but I trying to
 take of the best way to do this.
 
 going to have siteA, siteBm, siteC, and siteD.  There will be an ipsec
 between all sites.  In the past if i had to do a setup like that would
 to a box at each site and from there I would make rsync the samba
 passwd file to all the sites to keep logins in sync.
 
 Is there a better ways to to this?  Keep in mind if make a central db
 lets say at siteA, I dont want to down if siteA loses its internet
 connection.  I would want to be able it function fine if I move
 internet at any of those locations.

Set up a master LDAP server at one site and slave LDAP servers at the others 
and use slurpd to distribute the data, then just point the samba server to the 
local ldap server.

The only tricky part I can think of is that you'll have to make sure all four 
sites use the same SID.

Chris

-- 
Chris Garrigues Trinsic Solutions
President   1611-B West 6th Street
Austin, TX  78703-5074

512-322-0180http://www.trinsics.com

 Would you rather proactively pay for
uptime or reactively pay for downtime?

  Trinsic Solutions
 Your Proactive IT Management Partner



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

[Samba] multiple users from the same machine?

2004-09-09 Thread Chris Garrigues
I'm concerned about the machine known as accountingii in the below smbstatus:

Samba version 3.0.5pre2-SVN-build-1326
PID Username  Group Machine
---
 2727   bbeerman  users bbeerman1(10.2.240.172)
30957   llawrence users df2x1121 (10.2.240.190)
28942   btalbot   users dc2x1121 (10.2.240.174)
 7750   btalbot   users accountingii (10.2.240.147)
30607   mmerriam  users marklaptop2  (10.2.240.185)
10434   btalbot   users accounting3  (10.2.240.131)
 7750   kpottsusers accountingii (10.2.240.147)
31273   bjamesusers product1 (10.2.240.173)
 7750   btalbot   users accountingii (10.2.240.147)
31394   mlugo users border01 (10.2.240.188)
 1566   btalbot   users accountingiii (10.2.240.134)

Service  pid machine   Connected at
---
pfw-import2727   bbeerman1 Thu Sep  9 09:52:03 2004
accounting1566   accountingiii  Thu Sep  9 09:00:41 2004
accounting2727   bbeerman1 Thu Sep  9 09:52:03 2004
IPC$ 10434   accounting3   Tue Sep  7 08:04:04 2004
IPC$  7750   accountingii  Fri Sep  3 16:41:57 2004
local-soft2727   bbeerman1 Thu Sep  9 09:52:03 2004
accounting   30957   df2x1121  Thu Sep  9 06:35:26 2004
IPC$ 30607   marklaptop2   Thu Sep  9 06:12:19 2004
kpotts7750   accountingii  Thu Sep  9 09:45:41 2004
accounting7750   accountingii  Thu Sep  9 09:45:54 2004
software  2727   bbeerman1 Thu Sep  9 09:52:03 2004
IPC$ 28942   dc2x1121  Tue Aug 17 10:43:43 2004
bbeerman  2727   bbeerman1 Thu Sep  9 09:51:17 2004
mmerriam 30607   marklaptop2   Thu Sep  9 06:11:44 2004
groups2727   bbeerman1 Thu Sep  9 09:52:03 2004
software  1566   accountingiii  Thu Sep  9 09:00:41 2004
mlugo31394   border01  Thu Sep  9 07:02:53 2004
btalbot   1566   accountingiii  Thu Sep  9 09:00:32 2004
IPC$  7750   accountingii  Thu Sep  9 08:40:18 2004
HumanResou7750   accountingii  Thu Sep  9 09:45:40 2004
IPC$  1566   accountingiii  Thu Sep  9 09:01:03 2004
accounting   31394   border01  Thu Sep  9 07:03:04 2004
bjames   31273   product1  Thu Sep  9 06:52:07 2004
llawrence30957   df2x1121  Thu Sep  9 06:35:07 2004
Locked files:
PidDenyMode   Access  R/WOplock   Name
--
1566   DENY_WRITE 0x2019f RDWR   NONE 
/export/accounting/GLedger/Border/BETBINV.XLS   Thu Sep  9 10:20:48 2004
31273  DENY_NONE  0x2019f RDWR   EXCLUSIVE+BATCH  /home/bjames/My 
Documents/Product/Price Protection/VPD price protection (master list) 04.xls   Thu Sep 
 9 10:16:59 2004
1566   DENY_NONE  0x2019f RDWR   NONE 
/export/accounting/GLedger/Alaska/COGS/COGS0804.xls   Thu Sep  9 10:20:29 2004
31273  DENY_NONE  0x2019f RDWR   EXCLUSIVE+BATCH  /home/bjames/My 
Documents/Product/Game Buys/September/gamebuySEP.2004.xls   Thu Sep  9 07:07:41 2004

You'll note that it claims that btalbot is logged on twice and kpotts once 
from the same machine.  ps shows that PID 7750 is owned by kpotts:

USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
kpotts7750  0.0  3.0 10564 3788 ?SSep03   1:33 /usr/sbin/smbd3 -

What triggered us to notice this was that btalbot was having errors on one of 
the other machines in accessing an excel file (she wasn't specific on what 
happened; she thought the same problem we had before was a good enough 
description ~sigh~).

An investigation into the event log on accountingii showed that this morning 
at 9:30 there was an error with the printer that claimed the user was btalbot 
although kpotts was logged in at the time!

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.




pgpB9qyrXdVfC.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-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 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-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 Chris Garrigues
 inherit = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /home/samba/print
map acl inherit = Yes

[software]
comment = Master Software Share
path = /export/software/ms
read only = No
create mask = 0644
force create mode = 0640
force directory mode = 0750
map acl inherit = Yes
veto files = /.?*/.AppleDouble/.bin/.AppleDesktop/Network Trash 
Folder/.Parent/Icon?/Desktop/DesktopFolderDB/
oplocks = Yes

[lp1]
comment = HP 1300 Printer
path = /var/spool/samba
guest ok = Yes
printable = Yes


The test case that I'm running is in the [homes] share.

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.




pgpASax71B6su.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.

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 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-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

[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 09:19:45

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 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

[Samba] slow setup time

2004-06-04 Thread Chris Garrigues
I'm seeing some very slow setup times.

Here's what I did.  I started ethereal while things were running fine and then 
I waited until my windows box didn't show up in findsmb (I have keepalive
set to yes, so I don't see why it times out at all).  I then went 
into My computer which was very slow.  When I look in ethereal, I see some 
interesting nubmers in the SMB Service Resonse Time statistics:

43  Echo1   1206.4981206.4981206.498
115 Session Setup AndX  10  0.0 1265.183127.83241

I'm running 3.0.5pre1 with LDAP.  Any ideas what might be taking so long? Here's
 the global section of my smb.conf:

 
[global]
workgroup = TRINSICS
encrypt passwords = Yes
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba3/%m.log
log level = 1
max log size = 2500
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELA
Y SO_KEEPALIVE
keepalive = yes
min protocol = NT1
interfaces = eth0 127.0.0.1
bind interfaces only = yes
domain logons = Yes
local master = Yes
security = user
encrypt passwords = Yes
logon script = login.bat
logon path = \\%L\profiles\%U
logon drive = U:
logon home = \\%L\%U
add user script = /usr/sbin/useradd -d /dev/null -g users -s /bin/false 
-M %u
os level = 127
preferred master = Yes
domain master = Yes
wins support = Yes
printing = cups
printcap name = cups
kernel oplocks = Yes
oplocks = No
level2 oplocks = No
map to guest = Bad User
load printers = No
min print space = 32768
delete veto files = Yes
# define the DN to use when binding to the directory servers
# The password for this DN is not stored in smb.conf. Rather it
# must be set by using 'smbpasswd -w secretpw' to store the
# passphrase in the secrets.tdb file. If the ldap admin dn values
# change, this password will need to be reset.
ldap admin dn = cn=wheel,o=trinsics,c=us
# Define the SSL option when connecting to the directory
# ('off', 'start tls', or 'on' (default))
ldap ssl = on
# syntax: passdb backend = ldapsam:ldap://server-name[:port]
passdb backend = ldapsam:ldap://127.0.0.1
# smbpasswd -x delete the entire dn-entry
ldap delete dn = no
# Trust UNIX account information in LDAP
# (see the smb.conf manpage for details)
# specify the base DN to use when searching the directory
ldap suffix = dc=trinsics,dc=com
# the machine and user suffix added to the base suffix
# wrote WITHOUT quotes. NULL suffixes by default
ldap user suffix = ou=people
ldap group suffix = ou=group
ldap machine suffix = ou=people
# generally the default ldap search filter is ok
# ldap filter = ((uid=%u)(objectclass=sambaSamAccount))
# When the user changes his password, update ntPassword,
# lmPassword  and the password fields.
ldap passwd sync = Yes

-- 
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.




pgpZbu4tMudY1.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] File already in use?

2004-05-27 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Thu, 27 May 2004 10:47:25 -0700

 Ok, this behaviour is familiar. I think this may be the 1 second
 deferred open behaviour. I know how to fix this, just haven't
 coded this up yet as it's tricky. If I do code up a fix would you be willing
 to try a test version of Samba 3.0.x ?

I would.  I get calls about this from users several times per day!

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.




pgpTtgxFU0Jba.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

[Samba] File already in use?

2004-05-26 Thread Chris Garrigues
Hi,

I'm running 3.0.4 and have had several reports from users both using Office 
and Lotus where the application tells them that the file is already in use 
when we know it isn't.

(BTW, there's a typo on the man page under lock spin count.  acquired, not 
aquired.)

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.




pgp0Yu4J1SVT3.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] File already in use?

2004-05-26 Thread Chris Garrigues
 From:  Andreas Haumer [EMAIL PROTECTED]
 Date:  Wed, 26 May 2004 16:12:19 +0200

 Hi!
 
 Chris Garrigues wrote:
  Hi,
 
  I'm running 3.0.4 and have had several reports from users both using Office
  and Lotus where the application tells them that the file is already in use
  when we know it isn't.
 
 We seem to have similar problems!
 (see my mail with subject Share violation on file error
 from yesterday)
 
 So far I've got no reply from the list.
 I tried to play a little bit with oplock configurations
 (disable oplocks for some file pattern, completely disable
 oplocks for the shares) but it doesn't seem to help... :-(
 
 I don't know what's going on.
 Currently I suspect the virus scanners doing some
 strange things, but I have no prove for this theory.

I don't have the virus scanning enabled.

My understanding is that oplocks doesn't actually have anything to do with 
locking and has much more to do with caching.

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.




pgpHXhjUZQlIG.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] File already in use?

2004-05-26 Thread Chris Garrigues
 From:  Rashkae [EMAIL PROTECTED]
 Date:  Wed, 26 May 2004 11:02:35 -0400

 I would start with smbstatus to see what workstation/user has the file
 open.

None.

-- 
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.




pgp4mfaNSVzUC.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] File already in use?

2004-05-26 Thread Chris Garrigues
 From:  Andreas Haumer [EMAIL PROTECTED]
 Date:  Wed, 26 May 2004 17:16:26 +0200

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi!
 
 Rashkae wrote:
  I would start with smbstatus to see what workstation/user has the file
  open.
 
 So far I was not able to see a file locked by someone else
 than the workstation/user who was reporting the problem (if any).
 
 When I get the problem report, it's usually too late: the
 user is already able to open the file again.
 Most of the time when I check the system then, smbstatus
 does not report this file as locked, and I find these
 Share violation on file error in the logs.
 
 I once had smbstatus reporting the same file a user was
 reporting as not beeing able to open, and smbstatus told
 me the _same_ user on the _same_ workstation had the file
 locked. The user told me he had _not_ opened the file the
 whole day! Go figure...

I just had almost this happen.  This time it was a quickbooks user.  She got 
an error message that her connection to the server had been lost (I didn't see 
this myself).  When I looked at smbstatus I saw that she still had locks:

Locked files:
PidDenyMode   Access  R/WOplock   Name
--
4191   DENY_NONE  0x2019f RDWR   NONE 
/export/pointmeridian/Accounting/Quickbooks/Point Meridian.QBI   Wed May 26 10:10:03 
2004
4191   DENY_NONE  0x2019f RDWR   NONE 
/export/pointmeridian/Accounting/Quickbooks/Point Meridian.QBW   Wed May 26 10:10:02 
2004

When she re-entered quickbooks it gave the usual error that the file was 
already in use.

I restarted samba and it let her in.

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.




pgp6bLhgfbiL3.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] Sluggish server response

2004-05-26 Thread Chris Garrigues
st and 
vendors.txt#Œ€êeõfÄ€é^Á§Ä€êeõfÄ€êeõfÄÊ1€,T83265~B.EPStrinsic_bctemplate.epsŒ®/÷fÄ€k©†Ý1Ä®/÷fÄ®/÷fį€,TAFTC7~0.GIFtrinsiclogo_106x60.gifŒ’ùfÄ€k©†Ý1Ä’ùfÄ’ùfÄõ

€.TFOLSE~Z.GIFtrinsiclogo_216x122.gifp§D{Ä€ÊûpÌħD{Ä§D{Ä}€Card.pdfŒ§D{Ä€k©†Ý1ħD{Ä§D{Ä€,T83265~B.PDFtrinsic_bctemplate.pdfx§D{Ä€ÊûpÌħD{Ä§D{Äñ2€envelope.pdf|§D{Ä€ÊûpÌħD{Ä§D{Ä¬=€LIFRDA~J.PDFletterhead.pdfx)úþ1Ä€¿ßÍÎ7Ä)úþ1Ä)[EMAIL
 PROTECTED]ÀŸ3nß]Ï0ðE([EMAIL PROTECTED]
º
½L2ãÀn¾©~PDp¸  [EMAIL PROTECTED]@[EMAIL PROTECTED]

º½n¾©~L2ãÀPÐ_ր™õŠhÄ’˜€p0JYZZ3~O.PDF040409_Garrigues,_Services_Agreement,_work_statement.pdf¤€:-ª¥
 Äò0€%Ä€:-ª¥ Ä€:-ª¥ ÄB 
€FCM2ZXT~A.DOCCore_NAP_credit_card_autho_form.doc´€æT]!ÄŸ9
  
Í!Ä€æT]!Ä€æT]!Ä$]€T0TRUOY~S.PDF040911_Garrigues,[EMAIL
 PROTECTED]|!ÄŸ9 [EMAIL PROTECTED]|[EMAIL 
PROTECTED]|!ÄHc€f01PZFV~Y.PDF040413_Garrigues,_Consulting_Agreement,_draft_2.pdft€
   åQÄ€ð¤„Ä€ åQÄ€ 
åQÄÂX€details.ziph‘Ý{þ#Ä€x…Ý1Ä‘Ý{þ#Ä‘Ý{þ#Ä´€ypad|€×J·Ñ'Ä€˜Ú‡Ý1Ä€×J·Ñ'Ä€×J·Ñ'Ä6€RRX8QJ~T.XLSrodgerBill.xlsxbaÝ1Ä€|ˆM2ÄbaÝ1ÄbaÝ1ÄT€A2P9WF~3.DOCACIPhase2.doc|€‚Ðg8Ä€ÿÜ[@Ä€‚Ðg8Ä€‚Ðg8Ä8€AH4IHT~8.XLSaustinhours.xls|M¾ü^7Ä€¿ßÍÎ7ÄM¾ü^7ÄM¾ü^7Äô€TY0GN5~P.DOCtriniscs.PO.doc̀½_#ð8Ä€ŸB):[EMAIL
 PROTECTED]@[EMAIL PROTECTED]

º½n¾¯2L2ãÀPÐ/_#ð8Ä4€nRIZW3I~H.XLSRemote_Managed_Services-Revenue_Projections_branded.xls¤-*ã9Ä€œF–@ÄÚõä9ÄÚõä9ľ€DC89CZC~T.DOCCANELCO_U.S._LEASE_APPLICATION.doc¤€¥á9Ä€ŸB):Ä€¥á9Ä€¥á9Ä¢
 
D~USQKG~Z.DOC~$NELCO_U.S._LEASE_APPLICATION.docx€þ±Ðà9Ä€ŸB):Ä€þ±Ðà9Ä€þ±Ðà9Äš€~WRL0005.tmp¤õÓä*CÄæ*CÄùnÆ,CÄùnÆ,CÄ €FC2MEBB~S.DOCCANELCO_U.S._Personal_Financial.doc¤Ré@Äb¸„ÄRé@ÄRé@Ä¢
 
F~KFNFH~6.DOC~$NELCO_U.S._Personal_Financial.docx€¿‘@Ä€ùîM=Ä€¿‘@Ä€¿‘@Ħ€~WRL2698.tmpԕÒp=Äc†íM=Ä•Òp=Ä•Òp=ĆӀt0CTVHA~2.PDF040518_Garrigues,_Allocation_of_legal_expenses_2004_Q1.pdf¨€ðå7
=Äc†íM=Ä€ðå7
=Ä€ðå7
[EMAIL PROTECTED]@[EMAIL PROTECTED]

º½n¾´æL2ãÀPÐf/
=Äc†íM=Ä€ðå7
=Ä€ðå7
=Ä
€$G0B80V~H.PDFGarrigues_note.pdf ‡~8
=Ä€ßí•Ać~8
=ć~8
[EMAIL PROTECTED],_$130,[EMAIL PROTECTED]ÀŸ3nß]Ï0ðE([EMAIL 
PROTECTED]
º
½L2ãÀn¾¶¢PDpö“  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.


pgpwx8l8WyS6P.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

[Samba] Windows client doesn't show up in findsmb

2004-05-25 Thread Chris Garrigues
What does it mean if a windows XP consistently doesn't show up in findsmb 
even when it does show up in smbstatus?

Also, I don't know if this is related or not, but the same machine sometimes 
shows up in smbstatus with two different PIDs.  We've seen this with two 
different machines, both running XP.

Here's smbstatus output (the machine in question is accountingiii):

Samba version 3.0.4
PID Username  Group Machine
---
 3177   btalbot   users accountingiii (10.2.240.134)
30059   bbeerman  users beermanlaptop (10.2.240.141)
30020   mlugo users border01 (10.2.240.188)
15173   pfwup users acctmax  (10.2.240.2)
20338   btalbot   users accounting3  (10.2.240.131)
16158   llawrence users df2x1121 (10.2.240.190)
 2872   kpottsusers accountingii (10.2.240.147)
11898   apayneusers paynelaptop  (10.2.240.143)
26290   btalbot   users accountingiii (10.2.240.134)

run again a few minutes later:

Samba version 3.0.4
PID Username  Group Machine
---
30059   bbeerman  users beermanlaptop (10.2.240.141)
30020   mlugo users border01 (10.2.240.188)
15173   pfwup users acctmax  (10.2.240.2)
20338   btalbot   users accounting3  (10.2.240.131)
16158   llawrence users df2x1121 (10.2.240.190)
 2872   kpottsusers accountingii (10.2.240.147)
11898   apayneusers paynelaptop  (10.2.240.143)
26290   btalbot   users accountingiii (10.2.240.134)

(Don't let accountingiii and accounting3 confuse you.)

-- 
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.




pgpDacS9qIE8R.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

[Samba] Sluggish server response

2004-05-18 Thread Chris Garrigues
]
[2004/05/18 10:28:52, 3] smbd/trans2.c:call_trans2qfilepathinfo(1934)   
  call_trans2qfilepathinfo: SMB_VFS_STAT of È°Tê\200\205 failed (No such file or 
directory)
   
Here's part of log.nmbd.  The client machine at issue here is at 10.1.1.30:

[2004/05/18 10:26:21, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(421)
  write_browse_list: Wrote browse list into file /var/cache/samba3/browse.dat
[2004/05/18 10:26:48, 3] nmbd/nmbd_processlogon.c:process_logon_packet(278)
  process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2004/05/18 10:26:48, 3] nmbd/nmbd_processlogon.c:process_logon_packet(278)
  process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2004/05/18 10:27:01, 3] nmbd/nmbd_incomingdgrams.c:process_host_announce(118)
  process_host_announce: from GANYMEDE00 IP 10.1.1.30 to TRINSICS1d for server 
GANYMEDE.
[2004/05/18 10:27:01, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(421)
  write_browse_list: Wrote browse list into file /var/cache/samba3/browse.dat
[2004/05/18 10:28:08, 3] nmbd/nmbd_incomingrequests.c:process_name_query_request(451)
  process_name_query_request: Name query from 10.1.1.187 on subnet 10.1.1.1 for name 
SHREDDER00
  
-- 
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.




pgpmTqCz4IvOq.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] Machine account found and not found in 3.0.2

2004-04-19 Thread Chris Garrigues
For the record, the clue was in the Account flags.  The account needs to be a 
machine account, not a user account.  Oops.

Chris


 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Sat, 10 Apr 2004 13:46:56 -0500

 Brad,
 
 I found your posting of 2/20/2004 with the subject line of 
 upgraded to 3.0.2 - funkyness in machine accounts while investigating a 
 similar problem.
 
 I upgraded to 3.0.2 last week from 3.0.0.
 
 I have a system which I just added to the domain successfully.  However, when I 
 attempt to log a domain user onto that machine, I get this error:
 
   The system cannot log you on to this domain because the system's computer 
   account in its primary domain is missing or the password on that account is 
   incorrect.
 
 and on the server, i get the same log entries you did:
 
 [2004/04/10 13:24:22, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
   init_sam_from_ldap: Entry found for user: carme$
 [2004/04/10 13:24:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
   pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
 [2004/04/10 13:24:22, 0] rpc_server/srv_netlog_nt.c:get_md4pw(218)
   get_md4pw: Workstation CARME$: no account in domain
 
 Have you resolved the problem and if so, how?
 
 As with you, the machine account is in ldap:
 
 [EMAIL PROTECTED] samba3]# pdbedit3 -v carme$
 Searching for:[((objectClass=sambaDomain)(sambaDomainName=TRINSICS))]
 smbldap_open_connection: connection opened
 Searching for:[((objectClass=sambaDomain)(sambaDomainName=TRINSICS))]
 smbldap_open_connection: connection opened
 init_sam_from_ldap: Entry found for user: carme$
 Unix username:carme$
 NT username:  carme$
 Account Flags:[U  ]
 User SID: S-1-5-21-904170827-898255731-2295272421-2040
 Primary Group SID:S-1-5-21-904170827-898255731-2295272421-513
 Full Name:Nancy computer
 Home Directory:   \\jupiter\carme_
 HomeDir Drive:U:
 Logon Script: login.bat
 Profile Path: \\jupiter\profiles\carme_
 Domain:   TRINSICS
 Account desc: 
 Workstations: 
 Munged dial:  
 Logon time:   0
 Logoff time:  Mon, 18 Jan 2038 21:14:07 GMT
 Kickoff time: Mon, 18 Jan 2038 21:14:07 GMT
 Password last set:0
 Password can change:  0
 Password must change: Mon, 18 Jan 2038 21:14:07 GMT
 
 If Brad didn't solve this, I hope someone else has a clue for me.


-- 
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.




pgp0.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

[Samba] Machine account found and not found in 3.0.2

2004-04-10 Thread Chris Garrigues
Brad,

I found your posting of 2/20/2004 with the subject line of 
upgraded to 3.0.2 - funkyness in machine accounts while investigating a 
similar problem.

I upgraded to 3.0.2 last week from 3.0.0.

I have a system which I just added to the domain successfully.  However, when I 
attempt to log a domain user onto that machine, I get this error:

The system cannot log you on to this domain because the system's computer 
account in its primary domain is missing or the password on that account is 
incorrect.

and on the server, i get the same log entries you did:

[2004/04/10 13:24:22, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
  init_sam_from_ldap: Entry found for user: carme$
[2004/04/10 13:24:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2004/04/10 13:24:22, 0] rpc_server/srv_netlog_nt.c:get_md4pw(218)
  get_md4pw: Workstation CARME$: no account in domain

Have you resolved the problem and if so, how?

As with you, the machine account is in ldap:

[EMAIL PROTECTED] samba3]# pdbedit3 -v carme$
Searching for:[((objectClass=sambaDomain)(sambaDomainName=TRINSICS))]
smbldap_open_connection: connection opened
Searching for:[((objectClass=sambaDomain)(sambaDomainName=TRINSICS))]
smbldap_open_connection: connection opened
init_sam_from_ldap: Entry found for user: carme$
Unix username:carme$
NT username:  carme$
Account Flags:[U  ]
User SID: S-1-5-21-904170827-898255731-2295272421-2040
Primary Group SID:S-1-5-21-904170827-898255731-2295272421-513
Full Name:Nancy computer
Home Directory:   \\jupiter\carme_
HomeDir Drive:U:
Logon Script: login.bat
Profile Path: \\jupiter\profiles\carme_
Domain:   TRINSICS
Account desc: 
Workstations: 
Munged dial:  
Logon time:   0
Logoff time:  Mon, 18 Jan 2038 21:14:07 GMT
Kickoff time: Mon, 18 Jan 2038 21:14:07 GMT
Password last set:0
Password can change:  0
Password must change: Mon, 18 Jan 2038 21:14:07 GMT

If Brad didn't solve this, I hope someone else has a clue for me.

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.




pgp0.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] nmbd dying

2004-04-07 Thread Chris Garrigues
I have upgraded to 3.0.2a-2mdk in order to solve another issue, but this still 
happens about once a day (but not always the same time).  Can anybody suggest 
a useful debugging strategy?

 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Fri, 26 Mar 2004 12:47:02 -0600

 nmbd has been dying on me occasionally.  I'm running mandrake 9.2 with 
 samba3-server-3.0.0-2mdk.  We've got our users in ldap but I'd seen this 
 symptom previously when I was using an earlier version of samba that didn't 
 support ldap.  There is nothing useful in the logs and a PS shows a nmb 
 process still running.
 
 
 This last time around, I had a ptrace running on both nmbd processes and found 
 that the parent process was the one still running, but the child process 
 had died.  Here's the end of the ptrace of the child:
 
 poll([{fd=9, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
 ioctl(9, FIONREAD, [81])= 0
 recvfrom(9, \t\1\201\200\0\1\0\2\0\0\0\0\vBORDER-ACCT\tbordere..., 1024, 
 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.0.0.1)}
 , [16]) = 81
 close(9)= 0
 write(5, BORDER-ACCT\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 88) = 
 88
 read(6, ACCTMAX\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 88) =
  88
 open(/etc/hosts, O_RDONLY)= 9
 fcntl64(9, F_GETFD) = 0
 fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
 fstat64(9, {st_mode=S_IFREG|0644, st_size=154, ...}) = 0
 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
  0x40018000
 read(9, # Generated automatically from h..., 4096) = 154
 read(9, , 4096)   = 0
 close(9)= 0
 munmap(0x40018000, 4096)= 0
 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
 connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.
 0.0.1)}, 28) = 0
 send(9, \t\2\1\0\0\1\0\0\0\0\0\0\7ACCTMAX\tborderent\3c..., 39, 0) = 39
 gettimeofday({1080304120, 623860}, NULL) = 0
 poll([{fd=9, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
 ioctl(9, FIONREAD, [55])= 0
 recvfrom(9, \t\2\201\200\0\1\0\1\0\0\0\0\7ACCTMAX\tborderent\3c..., 1024,
  0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.0.0.1)
 }, [16]) = 55
 close(9)= 0
 write(5, ACCTMAX\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 88) 
 = 88
 read(6, BARBARA3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 88) = 
 88
 open(/etc/hosts, O_RDONLY)= 9
 fcntl64(9, F_GETFD) = 0
 fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
 fstat64(9, {st_mode=S_IFREG|0644, st_size=154, ...}) = 0
 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
  0x40018000
 read(9, # Generated automatically from h..., 4096) = 154
 read(9, , 4096)   = 0
 close(9)= 0
 munmap(0x40018000, 4096)= 0
 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
 connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.
 0.0.1)}, 28) = 0
 send(9, \t\3\1\0\0\1\0\0\0\0\0\0\10BARBARA3\tborderent\3..., 40, 0) = 40
 gettimeofday({1080325192, 628139}, NULL) = 0
 poll([{fd=9, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
 ioctl(9, FIONREAD, [40])= 0
 recvfrom(9, \t\3\205\203\0\1\0\0\0\0\0\0\10BARBARA3\tborderent\3..., 1024
 , 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.0.0.1
 )}, [16]) = 40
 close(9)= 0
 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
 connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.
 0.0.1)}, 28) = 0
 send(9, \t\4\1\0\0\1\0\0\0\0\0\0\10BARBARA3\10trinsics\3c..., 39, 0) = 39
 gettimeofday({1080325192, 680132}, NULL) = 0
 poll([{fd=9, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
 ioctl(9, FIONREAD, [39])= 0
 recvfrom(9, \t\4\205\203\0\1\0\0\0\0\0\0\10BARBARA3\10trinsics\3c..., 102
 4, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.0.0.1
 )}, [16]) = 39
 close(9)= 0
 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
 connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.
 0.0.1)}, 28) = 0
 send(9, \t\5\1\0\0\1\0\0\0\0\0\0\10BARBARA3\0\0\1\0\1, 26, 0) = 26
 gettimeofday({1080325192, 698896}, NULL) = 0
 poll([{fd=9, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
 ioctl(9, FIONREAD, [26])= 0
 recvfrom(9, \t\5\205\203\0\1\0\0\0\0\0\0\10BARBARA3\0\0\1\0\1, 1024, 0, {
 sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(127.0.0.1)}, [1
 6]) = 26
 close(9)= 0
 rt_sigprocmask(SIG_BLOCK, [PIPE], [FPE USR2], 8) = 0
 getpid()= 15056
 geteuid32() = 0
 getpid()= 15056
 geteuid32() = 0
 time(NULL)  = 1080325192
 write(8, 0o\2\1\4cj\4

Re: [Samba] nmbd dying

2004-04-07 Thread Chris Garrigues
 From:  Jeremy Allison [EMAIL PROTECTED]
 Date:  Wed, 7 Apr 2004 13:33:06 -0700

 On Wed, Apr 07, 2004 at 11:07:29AM -0500, Chris Garrigues wrote:
  I have upgraded to 3.0.2a-2mdk in order to solve another issue, but this still 
  happens about once a day (but not always the same time).  Can anybody suggest 
  a useful debugging strategy?
  
   read(8, \1 \4\23dc=borderent,dc=com\4\0, 25) = 25
   time(NULL)  = 1080325192
   rt_sigprocmask(SIG_SETMASK, [FPE USR2], NULL, 8) = 0
   --- SIGPIPE (Broken pipe) @ 0 (0) ---
   +++ killed by SIGPIPE +++
   
   I'm in over my head on this one.  Any idea where I should look next?
 
 Looks like you have a bug in your libc somewhere. nmbd
 always sets SIGPIPE to be ignored (as does smbd). Something
 is resetting this.

glibc-2.3.2-14mdk.

Should I switch to the glibc from cooker (glibc-2.3.3-10mdk)?

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.




pgp0.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] Can't re-add NT box to domain

2004-03-30 Thread Chris Garrigues
 From:  Chris Tepaske [EMAIL PROTECTED]
 Date:  Tue, 30 Mar 2004 15:58:24 +1000

 Can you join other computers to the domain?

Yes, all the 2000 and XP boxes are fine.  It's just this one box.

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.




pgp0.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] Can't re-add NT box to domain

2004-03-30 Thread Chris Garrigues
 From:  Chris Tepaske [EMAIL PROTECTED]
 Date:  Wed, 31 Mar 2004 07:58:43 +1000

 Maybe then your problem isn't samba but your NT box. To confirm this see if
 you cam remove an existing domain member from the domain and then re-join
 it. If that works then you have a problem with that NT 4 box and you will
 probably need to re-build or if it fails then you have a problem with your
 Samba PDC. Just a way of narrowing down the problem.

I suspect it won't surprise you if I say that we've already taken other 
machines out of the domain and put them back in again.  I've never thought it 
was a samba problem and from the beginning thought that something bogus was 
cached in the NT box.

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.




pgp0.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] Can't re-add NT box to domain

2004-03-29 Thread Chris Garrigues
 From:  Chris Tepaske [EMAIL PROTECTED]
 Date:  Mon, 29 Mar 2004 16:11:23 +1000

 NT4 box are not known as DC only Win 2K and Win 2003 box are DC's in NT 4
 you have a PDC or a BDC and yes you can not have a NT 4 PDC or BDC in a
 Samba domain. In order for your NT 4 box to be either a PDC or BDC you would
 have specified it during the install. In order to tell now I would look in
 the Admin tools on the NT box and see if you can find server manager, open
 it up and see what it says, it should tell you if you have a PDC or BDC. If
 your server is a PDC then if you want to join the Samba domain you will need
 to rebuild it as a member server.

Based on the tests that both you and Craig suggested, it appears that the 
system is *not* a DC.  Server manager doesn't say that it's either a PDC or a 
BDC.  Also, my cohort, Jeff, is fairly certain that it wasn't a DC before.

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.




pgp0.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] Can't re-add NT box to domain

2004-03-29 Thread Chris Garrigues
 From:  Craig White [EMAIL PROTECTED]
 Date:  Mon, 29 Mar 2004 09:08:15 -0700

 If the option to join a domain is in the network properties, then it is
 not a domain controller. If there is no option to join the domain, then
 it was set up as a domain controller. It's not at all ambiguous.

Right.  The machine is not a domain controller.  But the problem is that 
when we try to add the machine to the domain through that very option,
we get the error message that I mentioned in my first email:

This computer name is already configured as a domain 
controller on the domain.

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.




pgp0.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] Can't re-add NT box to domain

2004-03-29 Thread Chris Garrigues
 From:  Craig White [EMAIL PROTECTED]
 Date:  Mon, 29 Mar 2004 09:45:34 -0700

 well from your description then, it would seem as though the message is
 coming from the PDC which I am assuming to be samba. Check
 /var/log/samba/log.ip_address_of_machine and
 /var/log/samba/log.NETBIOS_NAME_OF_MACHINE to see if there are any
 clues.

We actually renamed the machine in case something was cached on the server.  
the IP log file is empty and the NETBIOS name log file only shows traffic from 
when we've connected while in a workgroup instead of the domain.

 On your PDC (is it v3 or 2.2.x?)

As mentioned before, we upgraded to 3.x and I inadvertently changed the SID of 
the network in the process.

 domain logons = yes
 domain master = yes
 preferred master = yes
 security = share
 os level = ? #not sure if this will cause a problem if less than 32 or so

domain logons = Yes
local master = Yes
security = user
os level = 127
preferred master = Yes

Note again that all our 2000 and xp boxes are fine.

 At what point does this error message come - before or after it searches
 the domain for a duplicate machine account? If it occurs after it
 searches the domain for another machine with the same name, you may want
 to delete the machine account from /etc/passwd and /etc/samba/smbpasswd
 (or whatever backend you are using... smbpasswd -m -x MACHINE_NAME)

we're using the LDAP backend and we did that.

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.




pgp0.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] Can't re-add NT box to domain

2004-03-27 Thread Chris Garrigues
 From:  Craig White [EMAIL PROTECTED]
 Date:  Fri, 26 Mar 2004 19:30:43 -0700

 samba can't operate as a DC in conjunction with Windows based DC's -
 With samba 3.0 - 3.0.3pre1 - you can have multiple samba BDC's with a
 samba PDC but in no other fashion.

So how do I tell the NT4 box that it is *not* a DC?  I don't understand why it 
thinks it is one.

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.




pgp0.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

[Samba] nmbd dying

2004-03-26 Thread Chris Garrigues
])  = 1080325192
getpid()= 15056
rt_sigaction(SIGPIPE, {0x402192e0, [], SA_RESTORER, 0x4016aca8}, {SIG_DFL}, 8) = 0
socket(PF_UNIX, SOCK_DGRAM, 0)  = 8
fcntl64(8, F_SETFD, FD_CLOEXEC) = 0
connect(8, {sa_family=AF_UNIX, path=/dev/log}, 16) = -1 ECONNREFUSED (Connection 
refused)
close(8)= 0
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
getpid()= 15056
geteuid32() = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 8
setsockopt(8, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl64(8, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(8, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(8, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr(127.0.0.1)}, 
16) = -1 EINPROGRESS (Operation now in progress)
select(1024, NULL, [8], NULL, {30, 0})  = 1 (out [8], left {30, 0})
getpeername(8, {sa_family=AF_INET, sin_port=htons(389), 
sin_addr=inet_addr(127.0.0.1)}, [16]) = 0
fcntl64(8, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(8, F_SETFL, O_RDWR) = 0
getpeername(8, {sa_family=AF_INET, sin_port=htons(389), 
sin_addr=inet_addr(127.0.0.1)}, [16]) = 0
uname({sys=Linux, node=Border.BorderEnt.Com, ...}) = 0
time(NULL)  = 1080325192
write(8, 0\f\2\1\1`\7\2\1\3\4\0\200\0, 14) = 14
time(NULL)  = 1080325192
select(1024, [8], [], NULL, {30, 0})= 1 (in [8], left {30, 0})
read(8, 0\f\2\1\1a\7\n, 8)= 8
read(8, \1\0\4\0\4\0, 6)  = 6
time(NULL)  = 1080325192
setsockopt(8, SOL_SOCKET, SO_KEEPALIVE, [0], 4) = 0
fcntl64(8, F_SETFD, FD_CLOEXEC) = 0
getsockname(8, {sa_family=AF_INET, sin_port=htons(4256), 
sin_addr=inet_addr(127.0.0.1)}, [16]) = 0
getpeername(8, {sa_family=AF_INET, sin_port=htons(389), 
sin_addr=inet_addr(127.0.0.1)}, [16]) = 0
time([1080325192])  = 1080325192
time(NULL)  = 1080325192
write(8, 0o\2\1\2cj\4\34ou=Hosts,dc=borderent,d..., 113) = 113
select(1024, [8], [], NULL, NULL)   = 1 (in [8])
read(8, 0\37\2\1\2e\32\n, 8)  = 8
read(8, \1 \4\23dc=borderent,dc=com\4\0, 25) = 25
time(NULL)  = 1080325192
rt_sigprocmask(SIG_SETMASK, [FPE USR2], NULL, 8) = 0
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++

I'm in over my head on this one.  Any idea where I should look next?

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.




pgp0.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

[Samba] Can't re-add NT box to domain

2004-03-26 Thread Chris Garrigues
While I wait for an answer to my last question, allow me to ask another.

When we upgraded a samba server from 2.x to 3.0.0-2mdk using LDAP, we managed 
to change the domain SID.  Instead of fixing the SIDs on the sever, I re-added 
the hosts to the domain.  Although it was a lot of work, it was successful on 
most of the systems on the network.  However, we have one old NT4 box on the 
network which will not rejoin the domain.  Instead it reports: This computer
name is already configured as a domain controller on the domain.

We've deleted and re-added the user object for the machine several times.  
This is what it currently looks like:

[EMAIL PROTECTED] samba3]# pdbedit3 -u ntbox$ -v
Unix username:ntbox$
NT username:  ntbox$
Account Flags:[   ]
User SID: S-1-5-21-3970570929-2603547963-1902127304-2152
Primary Group SID:S-1-5-21-3970570929-2603547963-1902127304-513
Full Name:nt computer
Home Directory:   \\border\ntbox_
HomeDir Drive:U:
Logon Script: login.bat
Profile Path: \\border\profiles\ntbox_
Domain:   BORDERENT
Account desc: 
Workstations: 
Munged dial:  
Logon time:   0
Logoff time:  Mon, 18 Jan 2038 21:14:07 GMT
Kickoff time: Mon, 18 Jan 2038 21:14:07 GMT
Password last set:0
Password can change:  0
Password must change: Mon, 18 Jan 2038 21:14:07 GMT

I'm suspecting that the old SID is cached on the NT box somewhere, probably in 
the registry, but I have no idea where to look.  Any ideas?

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.




pgp0.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