Re: [Samba] file permissions on home directories and admin user copying files to it

2003-11-14 Thread Rcz Attila
2003. november 13. 19.40 dtummal Christian Nabski ezt rta:
 We want to copy files with the group in the admin list of the [homes]
 share. The problem is that the copied files then are owned by root.
 I know this is normal unix behavior. However we want the copied files to
 be owned by the user of the homeshare.

 I read the samba howto section Users Cannot Write to a Public Share.
 Although I want to set the owner on the home shares and not on a public
 share.
 The mentioned section however does not seem to work on Redhat 7.3 nor RH
 AS 3 ?
 The group gets set correctly (gets changed to the group who owned the
 directory) but the user stays the same.
 I am wondering if this is a particular issue with the Redhat distribution
 or something else ?

 For now I tried this solution :

 in [homes] :
 root preexec = chown -R %S %P

 This works but I wonder if this is good solution ?


 Christian

I use force user = %S setting in [homes].
This way anyone copies into this share (who has write access of course :-) )
the owner of files will be the same user.

-- 

attiko

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


Re: [Samba] Backup from Linux onto Win2K-share

2003-11-14 Thread Rcz Attila
2003. november 14. 12.35 dtummal Stefan G. Weichinger ezt rta:
 Guten Tag [EMAIL PROTECTED],

 am Freitag, 14. November 2003 um 11:08 schrieben Sie:

 CLcd Hi.

 CLcd I'm running Kernel 2.4.19 and Samba 2.2.5.

 CLcd I'm in need to do a backup out of big SAPDB database (60 GB)
 CLcd onto a share on a Win2K-box (all my databases have to backup
 CLcd onto this w2K-box where they get saved on tape).

 CLcd This works fine as long as it comes to 2 GB. Than it stops with
 CLcd the message file size exceeded. Obviously there is a file size
 limit CLcd somewhere in Samba.

 CLcd How can I get rid of it? I've tried to use a different kernel
 (2.4.22) CLcd and I compiled as well as new Samba 3.0.1 from source (on a
 CLcd different machine). But I still have the problem. Whats wrong?

 CLcd (PS: NFS has a limit as well; 4 GB. But I need unlimited sizes)

 Seems like you hit the limit of the filesystem on the w2k-box.
 Not that of Samba.

 regards,
 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]

I also think that Stefan.
May you use FAT32 on w2k?

-- 

attiko

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


Re: [Samba] smclient-excludes

2003-11-14 Thread Rcz Attila
2003. november 14. 12.48 dtummal Stefan G. Weichinger ezt rta:
 Hello, samba-users,

 I am using Amanda to backup WinNT-shares.

 Amanda uses smbclient to generate smbtar-archives which it then writes
 to tape.

 As you all know there are various files on Windows-system-partitions
 that dont need to be on backup.

 For example stuff like

 pagefile.sys
 System Volume Information
 hiberfil.sys

 and the registry files.

 So there is a need to exclude files from getting into the
 archives/tapes. One reason is to keep stuff small, another is to
 eliminate annoying errors coming from open files.

 ---

 smbclient can exclude stuff via the -X option.

 Jon LaBadie and I have tried various approaches to exclude multiple
 items which may be contained in some kind of exclude-list (similar to
 the exclude file amanda uses for gnutar-backups). Jon has written a
 small smbclient-wrapper to feed the multiple options to smbclient, but
 it doesnt work out so far.

 We found that multiple includes are supported by the -I option, but
 it seems that there is only supported ONE exclude by the -X option.

 It is always the first item given that is excluded.

 Also we could not exactly figure out how all this relates to using -r.

 So the questions are:

 - Can we exclude multiple items from being processed by smbclient via
 -X? Or somehow else?

 - If yes, could someone point us to the right syntax?

You can list all the files excludable in the form:
-X file_1 file_2 file_n
Filenames need to be exactly the same that smbtar echos without -X.
It seems no wildcards allowed.


 - How to understand the -r option? Does HAVE_REGEX_H to be
 compiled into client.c/clitar.c to support regexes? The behavior of
 -r does not change the way we expected from reading the manuals.


Sorry, I haven't used -r so far.

 Thank you all,
 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]

-- 

attiko

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


[Samba] Samba3 password backend

2003-11-13 Thread Rcz Attila
Hi!

I tried to upgrade to Samba3 (RedHat Linux) but I couldn't find any doc about 
setting plain password backend.
This is a small local fileserver and it doesn't need strong security.
Can anyone help me?

Another problem: now I use 2.2.8a with software-raid on IDE disks.
I can read normally, but write is too small, and Samba sometimes says disk is 
full. May it incompatible between Samba and software-raid?

-- 

attiko

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