Re: [Samba] excel files

2004-01-07 Thread Greg Whynott
Lyndon,
I had a similar problem in a large m$ environment I worked within. 
This was a few years ago,  but I seem to recall the fix was upgrading to
the 2.2.7 or higher.  I too at the time was using 7.3.  The other
application I found which will burn you when using earlier versions of
samba is Frame Maker.  It may be a locking issue too. The contents of
your config would help determined what the issue is.

for what it is worth I have to date upgraded several in production samba
servers from 2.2.x to 3.0.1 without any show stoppers,  these are
servers serving out several gigabytes of data a day,  others handling
thousands of requests a day (excel sheets, db, static images etc..)

take care.

g



Davies, Lyndon wrote:
 
 I've set up a red hat linux 7.3 server running samba 2.2.3a.  Windows
 clients often freeze when opening excel files stores on the server.  Any
 ideas?
 Thanks
 
 Lyndon Davies
 Information Systems Manager
 [EMAIL PROTECTED]
 020 8871 6569
 
 =
 IMPORTANT:
 Confidentiality:  This e-mail and its attachments are intended for
 the above named only and may be confidential.  If they have come to
 you in error you must take no action based on them, nor must you copy
 or show them to anyone; please reply to this e-mail and highlight the
 error.
 =
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
UNIX is user friendly, it's just selective about who its friends are.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Very Large Offsite Backup

2004-01-07 Thread Greg Whynott
Have you taken a look at rsync?  rsync.samba.org

it can do lots of nifty things,  such as bandwidth limits,  diff 
backups,  etc.. 

take care,
g
Joe Wojnas wrote:

I put a Samba server in small office (6 users) that has 1.5 Terabytes of storage space.  They are unique in that they need the space because they do a lot with video, but with the limited amount users I went with an IDE solution.  I am a little worried about physical damage to the equipment and trying to come up with some way of doing an offsite backup.  Their office is in a very industrial area.  I was thinking about clustering, but I was wondering how effective that would be over the Internet.

Thanks for you help!

Joe Wojnas

 


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


Re: [Samba] Traffic going to wrong interface?

2004-01-06 Thread Greg Whynott
assuming you are using linux:

Have you tried the below GLOBAL setting? 

interfaces = 172.16.92.245

This asks samba to listen on that interface only,  I don't know if it
will also force samba to use this interface as the source for any
outbound connections. 

   Making the gigabit interface your primary interface may also work. 
You might be able to kludge this from within the /etc/modules.conf file
if you are using modules to drive the cards.  

alias eth0 tg3
alias eth1 e100

  Then there is the route method.  you can add static routes to the
client.  Host routes are honored over network routes.  I'd use this as a
last resort,  it seems wrong.

route add -host 172.16.92.245  eth0


I have a few more but I think one of these might work.  good luck with
it.

peace.




Andrew Athan wrote: 
 If I connect via \\gige.ethernet.address\foo , and copying a large file,
 windows reports outbound traffic on the gige port and return traffic on the
 100Meg port.
 
 Thus, it seems the samba server sees the client-server traffic via gige but
 is responding via the slower interface.  Not what I want.




-- 
UNIX is user friendly, it's just selective about who its friends are.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] can not overwrite files but can delete.

2003-12-11 Thread Greg Whynott
What I should have mentioned but failed to,  was this is an intermitting
problem (a developers favorite kind I'm sure).  What's worse,  and this
just sounds so so wrong;  doing a 'copy  paste' will produce the error
more often than doing a 'drag and drop'.  Perhaps it is just
coincidence,  but i get the feeling it is not.  We discovered this when
I had asked the user to demonstrate the problem to me as I had not been
able to recreate it.  He came over and did a copy/paste whereas I was
dragging and dropping the same files from one window to another without
issue prior to having the user demonstrate the procedure he uses.  

3-6 times out of 10 copy/pasting will throw the error.  (Cannont copy
file3.bat: Cannot find the specified file.  Make sure you specify the
correct path and filename.)

1-2 times out of 10 drag/drop will throw the error.

For the above error here is the getfacl info is as such (note in this
case the user is the same owner of both the target and source):

source:
# file: 381 backup scripts/file3.bat
# owner: matc
# group: users
user::rwx
group::rwx
other::r-x

destination:
# file: ./file3.bat
# owner: matc
# group: users
user::rwx
group::rwx
other::r-x


[EMAIL PROTECTED] wrote:
 If users cannot overwrite their OWN files, it is probably a default acl
 gone wrong or an overly-restrictive creation mask.  If users cannot
 overwrite files other users write, then it's probably the opposite (you
 need a loose default acl, or a generous force create mask).

These particular users all have the same GID on UNIX and are part of the
same group on the windows end of things as well.  There has been no
modifications of the extended ACLs intentionally. 

 
 Showing any lines in smb.conf that affect file/directory mask or acl's
 would be useful, along with the output of getfacl [filename] for one
 of the files in question.

[global]
workgroup = SANNET
netbios aliases = ENTROPY 
server string = ENTROPY
security = DOMAIN
obey pam restrictions = Yes
password server = loki
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /opt/samba/log/%m.log
max log size = 1000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 23
preferred master = No
local master = No
domain master = No
dns proxy = No

[array]
path = /export/array
browseable = yes
guest ok = yes
writable = yes
force create mode = 0775
force directory mode = 0775
oplocks = yes




We never had a user complain about this while using versions of samba
prior to 3 (for the last 4 or 5 years).

Thanks!

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


[Samba] can not overwrite files but can delete.

2003-12-10 Thread Greg Whynott
XFS file system,  SAMBA 3.0.0 with acl enabled,  kernel 2.4.21.

Users can create files,  can delete them but can not overwrite them. 
what should I check to see whats happening here?

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


[Samba] veritas / samba

2003-12-04 Thread Greg Whynott
Hi-

Does samba 3.0 and Veritas's VFS work well together in terms of ACL
support?  We currently use XFS but will be bringing a large Veritas file
system online shortly,  I'd like to know if I'm getting into a
potentially painful situation or if I can expect an easy ACL migration.

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


[Samba] can delete files but not overwrite

2003-12-03 Thread Greg Whynott
Hello-

I have users complaining since we deployed samba 3.0.0 that they can not
overwrite existing files.  I'm not sure if it was the change to 3.0
which is the problem as other chages also happened during this migration
(security=DOMAIN from security=SHARE,  XFS file system,  new kernel).

The clients can delete, rename, and move the file,  but they can not
update it.  All users are in a common primary unix group and the file
has its group bits set to this group.  

Any idea what I might want to look at to resolve this?


linux system running rh9, samba3, kernel 2.4.21-xfs.  Here is the
smb.conf contents.


thanks again folks!

greg



[global]
workgroup = SPINCYCLE
netbios aliases = AXIS
server string = AXIS FS
security = DOMAIN
obey pam restrictions = Yes
password server = ZEN
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /opt/samba/log/%m.log
max log size = 1000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 23
preferred master = No
local master = No
domain master = No
dns proxy = No

[array]
path = /export/array
browseable = yes
guest ok = yes
writable = yes
force create mode = 0775
force directory mode = 0775
oplocks = yes
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] tracking user actions

2003-11-21 Thread Greg Whynott
Eric, et al.

We have been able to identify the user moving folders around, thanks to
the help provided from the list.

Thanks for the help folks,

greg


-- 
UNIX is user friendly, it's just selective about who its friends are.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] tracking user actions

2003-11-18 Thread Greg Whynott
Hello,
We have either a disgruntle user or one who is inadvertently
moving/deleting files.  This has been going on for some time now and I'd
like to learn who it is so we may go speak with her/him.

How might we go about logging file/folder moves/deletes?  Increasing the
log level in smb.conf does not seem to provide the information we are
after.

Changing file perms/ownership/groups is not an option in this case at
this time.

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


Re: [Samba] tracking user actions

2003-11-18 Thread Greg Whynott
Adam Williams wrote:


Thanks Adam,

The module actually does not work as I had expected.


Nov 18 16:20:00 mercury smbd_audit[15738]: opendir .  
Nov 18 16:20:00 mercury smbd_audit[15738]: rename ./New Folder - ./two  
Nov 18 16:20:00 mercury smbd_audit[15738]: opendir ./  


Perhaps I need a flag to turn on host name logging?  I don't see this
covered in the PDF.

I could tail the log and grep the PID from the output of smbstatus upon
seeing a rename, but this seems a bit clunky.  

thanks again,
greg




 Perhaps the Audit VFS modules as documented in the Samba HOWTO
 Collection PDF.

-- 
UNIX is user friendly, it's just selective about who its friends are.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba