Re: [Samba] Microsoft OneNote 2007 painfully slow

2010-06-16 Thread Andrew Masterson

We have a user trying to share a OneNote 2007 notebook and it takes
minutes
to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from
the
same share and it took seconds. Has anyone else run into this problem?
We
are running Samba 3.4.8 on Debian Squeeze.

Thanks,

Robert LeBlanc
Life Sciences  Undergraduate Education Computer Support
Brigham Young University



---

When I have run into stuff like this it is because an application is
trying to modify security permissions on the files that it doesn't have
the right to (like with creater\owner, etc.).  Given that M$ is fond of
creating temporary lock files, etc. you may want to start looking there
first.

-=Andrew

 

I don't recall seeing any temp files like Word/Excel/etc 2007 (we ran
into that problem, in fact I still have a script running every 15
minutes to scan the file system and 'fix' the permissions). I'll watch
the directory as I open up the NoteBook and see if I can see any funny
business.

 

Thanks,

Robert LeBlanc
Life Sciences  Undergraduate Education Computer Support
Brigham Young University

 

 

-0-0-0-0-0-0-0-0-0-0-0-0-

 

Maybe also watch the perms on the file itself.  We ran into an issue
with Blackberry backups a while back where the Blackberry Desktop
Manager somehow managed to convince the windows server that was hosting
them to change the permissions on the backup file to the user _only_
having access.

 

What's really odd about this is that the users don't have permission to
change permissions, and System/Administrators should have full rights by
inheritance.  Yet somehow a remote workstation managed to convince
windoze to bypass inheritance and the non-ability to change security
permissions.

 

At least on a linux box root can still access/modify the files but I had
a hell of a time getting them off the windoze box.

 

-=Andrew

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


Re: [Samba] Microsoft OneNote 2007 painfully slow

2010-06-15 Thread Andrew Masterson

-Original Message-
From: samba-boun...@lists.samba.org
[mailto:samba-boun...@lists.samba.org] On Behalf Of Robert LeBlanc
Sent: Monday, June 07, 2010 2:45 PM
To: samba@lists.samba.org
Subject: [Samba] Microsoft OneNote 2007 painfully slow

We have a user trying to share a OneNote 2007 notebook and it takes
minutes
to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from
the
same share and it took seconds. Has anyone else run into this problem?
We
are running Samba 3.4.8 on Debian Squeeze.

Thanks,

Robert LeBlanc
Life Sciences  Undergraduate Education Computer Support
Brigham Young University


---

When I have run into stuff like this it is because an application is
trying to modify security permissions on the files that it doesn't have
the right to (like with creater\owner, etc.).  Given that M$ is fond of
creating temporary lock files, etc. you may want to start looking there
first.

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


Re: [Samba] Microsoft OneNote 2007 painfully slow

2010-06-15 Thread Robert LeBlanc
On Tue, Jun 15, 2010 at 4:07 PM, Andrew Masterson 
andrew.master...@nuvistaenergy.com wrote:


 -Original Message-
 From: samba-boun...@lists.samba.org
 [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert LeBlanc
 Sent: Monday, June 07, 2010 2:45 PM
 To: samba@lists.samba.org
 Subject: [Samba] Microsoft OneNote 2007 painfully slow

 We have a user trying to share a OneNote 2007 notebook and it takes
 minutes
 to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from
 the
 same share and it took seconds. Has anyone else run into this problem?
 We
 are running Samba 3.4.8 on Debian Squeeze.

 Thanks,

 Robert LeBlanc
 Life Sciences  Undergraduate Education Computer Support
 Brigham Young University


 ---

 When I have run into stuff like this it is because an application is
 trying to modify security permissions on the files that it doesn't have
 the right to (like with creater\owner, etc.).  Given that M$ is fond of
 creating temporary lock files, etc. you may want to start looking there
 first.

 -=Andrew


I don't recall seeing any temp files like Word/Excel/etc 2007 (we ran into
that problem, in fact I still have a script running every 15 minutes to scan
the file system and 'fix' the permissions). I'll watch the directory as I
open up the NoteBook and see if I can see any funny business.

Thanks,

Robert LeBlanc
Life Sciences  Undergraduate Education Computer Support
Brigham Young University
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Microsoft OneNote 2007 painfully slow

2010-06-08 Thread Robert LeBlanc
On Mon, Jun 7, 2010 at 6:06 PM, Jeremy Allison j...@samba.org wrote:

 On Mon, Jun 07, 2010 at 02:44:50PM -0600, Robert LeBlanc wrote:
  We have a user trying to share a OneNote 2007 notebook and it takes
 minutes
  to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from the
  same share and it took seconds. Has anyone else run into this problem? We
  are running Samba 3.4.8 on Debian Squeeze.

 Minutes is very strange. Can you set the user's smbd
 to debug level 10 and look into the timestamped log
 and see where there are gaps in the timestamp record ?

 That should give you a clue as to what might be going
 on.

 Jeremy.


How can I set a single user's smbd process to debug 10? We have hundreds of
users on this system so I don't want to fill up the disks with logs from
everyone.

Thanks,

Robert LeBlanc
Life Sciences  Undergraduate Education Computer Support
Brigham Young University
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Microsoft OneNote 2007 painfully slow

2010-06-08 Thread Jeremy Allison
On Tue, Jun 08, 2010 at 08:42:15AM -0600, Robert LeBlanc wrote:
 On Mon, Jun 7, 2010 at 6:06 PM, Jeremy Allison j...@samba.org wrote:
 
  On Mon, Jun 07, 2010 at 02:44:50PM -0600, Robert LeBlanc wrote:
   We have a user trying to share a OneNote 2007 notebook and it takes
  minutes
   to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from the
   same share and it took seconds. Has anyone else run into this problem? We
   are running Samba 3.4.8 on Debian Squeeze.
 
  Minutes is very strange. Can you set the user's smbd
  to debug level 10 and look into the timestamped log
  and see where there are gaps in the timestamp record ?
 
  That should give you a clue as to what might be going
  on.
 
  Jeremy.
 
 
 How can I set a single user's smbd process to debug 10? We have hundreds of
 users on this system so I don't want to fill up the disks with logs from
 everyone.

Use smbstatus to find out the process id, then use smbcontrol
to set a specific process to a different debuglevel on the fly.

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


Re: [Samba] Microsoft OneNote 2007 painfully slow

2010-06-08 Thread Robert LeBlanc
On Tue, Jun 8, 2010 at 9:16 AM, Jeremy Allison j...@samba.org wrote:

 Use smbstatus to find out the process id, then use smbcontrol
 to set a specific process to a different debuglevel on the fly.


That is really cool, thanks for sharing! I could not get the debuging to
work with just smb:10, I had to set all the logs to level 10 to get
anything, and then the log kept disappearing. I changed the 10M limit in
smb.conf to 100M and reloaded smbd, but for some reason, the log would still
get wiped and started over again. I can't get a good log, if I watch the
size of the log, it's all over the place, I don't know how to get a good log
file.

I moved the OneNote Notebook to a Windows server and when I launch it, it
would take about 6 seconds to load (OneNote does not have the notebook, I
browse to the share and open it. When I'm done, I right-click the notebook
and close it, otherwise OneNote would open really fast and then sync the
notebook in the background). On the Samba share, it consistently takes 2
minutes and 10 seconds. From some of the logs, it looks like the whole smbd
process is restarted as it gets all the information about my user (SIDs,
groups, etc). I'm still at a loss as to what to do.

Thanks,

Robert LeBlanc
Life Sciences  Undergraduate Education Computer Support
Brigham Young University
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Microsoft OneNote 2007 painfully slow

2010-06-07 Thread Jeremy Allison
On Mon, Jun 07, 2010 at 02:44:50PM -0600, Robert LeBlanc wrote:
 We have a user trying to share a OneNote 2007 notebook and it takes minutes
 to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from the
 same share and it took seconds. Has anyone else run into this problem? We
 are running Samba 3.4.8 on Debian Squeeze.

Minutes is very strange. Can you set the user's smbd
to debug level 10 and look into the timestamped log
and see where there are gaps in the timestamp record ?

That should give you a clue as to what might be going
on.

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