Re: [Samba] Restrict file types to be saved in a samba server

2011-03-12 Thread Christ Schlacta
I don't know if there's a samba facility for this, but I know that you 
can accomplish an effective facsimile of this using a cronjob that 
deletes any of the specified types.


On 3/11/2011 19:33, Bayardo Rivas - Open Soluciones wrote:

Hi,

I have a Samba server, it's main goal is to store documents of all 
users of the network. Certain users abuses and save mp3, mov, jpg, gif 
and other files that must be saved in other file server, so I need to 
restrict the those type files and allow my users save only office 
files like .doc, .docx, .xls, .ppt, .pdf


thanks for your help.

Bayardo.


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


Re: [Samba] Restrict file types to be saved in a samba server

2011-03-12 Thread Volker Lendecke
On Fri, Mar 11, 2011 at 09:33:32PM -0600, Bayardo Rivas - Open Soluciones wrote:
 I have a Samba server, it's main goal is to store documents of all users 
 of the network. Certain users abuses and save mp3, mov, jpg, gif and 
 other files that must be saved in other file server, so I need to 
 restrict the those type files and allow my users save only office files 
 like .doc, .docx, .xls, .ppt, .pdf

We have the veto files option which can block certain file
types.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Restrict file types to be saved in a samba server

2011-03-12 Thread Bayardo Rivas - Open Soluciones

El 12/03/2011 02:24 a.m., Christ Schlacta escribió:
I don't know if there's a samba facility for this, but I know that you 
can accomplish an effective facsimile of this using a cronjob that 
deletes any of the specified types.


On 3/11/2011 19:33, Bayardo Rivas - Open Soluciones wrote:

Hi,

I have a Samba server, it's main goal is to store documents of all 
users of the network. Certain users abuses and save mp3, mov, jpg, 
gif and other files that must be saved in other file server, so I 
need to restrict the those type files and allow my users save only 
office files like .doc, .docx, .xls, .ppt, .pdf


thanks for your help.

Bayardo.


The problem with cron jobs is that it allow users to save and the shared 
will be cleaned until the cron run so, my special users sometimes 
save large videos or mp3 files that take a lot of space on the file 
server disk. I mean, its ok to clean, but I am looking for a way to 
denied saving media files (mp3, mov, avi, etc) in the server.


Bayardo.

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


Re: [Samba] Restrict file types to be saved in a samba server

2011-03-12 Thread Bayardo Rivas - Open Soluciones

El 12/03/2011 02:27 a.m., Volker Lendecke escribió:

On Fri, Mar 11, 2011 at 09:33:32PM -0600, Bayardo Rivas - Open Soluciones wrote:

I have a Samba server, it's main goal is to store documents of all users
of the network. Certain users abuses and save mp3, mov, jpg, gif and
other files that must be saved in other file server, so I need to
restrict the those type files and allow my users save only office files
like .doc, .docx, .xls, .ppt, .pdf

We have the veto files option which can block certain file
types.

Volker

Thank you Volker,  I've just read about veto files and it surely works 
for me. I can not do it right now but at night.


thanks,

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


Re: [Samba] WINS Server TIme out registering IP

2011-03-12 Thread Chris Smith
On Fri, Mar 11, 2011 at 2:00 PM, Mike Brady mike.br...@devnull.net.nz wrote:
 netbios aliases = filesshares
 name resolve order = wins bcast hosts

Sorry Mike, I don't have much of a clue.
There is a typo in your name resolve order - hosts should be
host but I doubt that has anything to do with the log entries.
Maybe a possibility is the use of netbios aliases, as any aliases
will not be advertised as browse or logon servers the log entries may
just be informational, although I cannot reproduce the scenario here
with 3.5.8.

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


Re: [Samba] WINS Server TIme out registering IP

2011-03-12 Thread Mike Brady

Quoting Chris Smith smb...@chrissmith.org:

On Fri, Mar 11, 2011 at 2:00 PM, Mike Brady  
mike.br...@devnull.net.nz wrote:

netbios aliases = filesshares
name resolve order = wins bcast hosts


Sorry Mike, I don't have much of a clue.
There is a typo in your name resolve order - hosts should be
host but I doubt that has anything to do with the log entries.
Maybe a possibility is the use of netbios aliases, as any aliases
will not be advertised as browse or logon servers the log entries may
just be informational, although I cannot reproduce the scenario here
with 3.5.8.

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



Chris

Thanks for looking any way.  I have fixed hosts, which isn't picked  
up by testparm, and removed the alias and still get the messages.


Everything seems to working properly, or at least there are no  
complaints from the users, so I guess I will ignore it for now.


Thanks

Mike



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


Re: [Samba] WINS Server TIme out registering IP

2011-03-12 Thread Chris Smith
On Sat, Mar 12, 2011 at 1:43 PM, Mike Brady mike.br...@devnull.net.nz wrote:
 Thanks for looking any way.  I have fixed hosts, which isn't picked up by
 testparm

Testparm mostly tests the parameters (the left side of =) and not the arguments.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] PDC and BDC... what about de shared folders??

2011-03-12 Thread Bayardo Rivas - Open Soluciones

Hi,

i am new in the mailing list. I am trying to figure out my 
configuration. I have a Samba server authenticating with /etc/passwd. We 
are planing to move to LDAP and install a BDC server. The information I 
found googleing is always related to BDC as a backup for authentication 
but, I am not clear about the files stored in shared folders.


I am reading (everybody recomend it) this book and the number 5 specific 
chapter 
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-bdc.html


As said, I am not sure how to give access to the shared folders (stored 
in PDC) when it fails, because I suppose that users will authenticate 
with the BDC server, and What about the shared folders?? Do I have to 
sync this folders and add in the configuration of BDC the shared folders??


Thanks for your help.

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


[SCM] Samba Shared Repository - branch master updated

2011-03-12 Thread Volker Lendecke
The branch, master has been updated
   via  1829891 s3: Fix bug 8009
  from  a051b40 samba_abi: Also sort ABI files  properly so symbols end up 
in the right version.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 1829891391d978e8dd322cdbd3320e30e5c78b72
Author: Volker Lendecke v...@samba.org
Date:   Sat Mar 12 10:49:27 2011 +0100

s3: Fix bug 8009

Jeremy, please check!

Autobuild-User: Volker Lendecke vlen...@samba.org
Autobuild-Date: Sat Mar 12 11:39:41 CET 2011 on sn-devel-104

---

Summary of changes:
 source3/libsmb/clirap2.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c
index a088397..20efca3 100644
--- a/source3/libsmb/clirap2.c
+++ b/source3/libsmb/clirap2.c
@@ -212,7 +212,7 @@ static size_t rap_getstringp(TALLOC_CTX *ctx, char *p, char 
**dest, char *r, uin
}
}
pull_string_talloc(ctx,src,0,dest,src,len,STR_ASCII);
-   return len;
+   return 4;
 }
 
 static char *make_header(char *param, uint16 apinum, const char *reqfmt, const 
char *datafmt)


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-6-test updated

2011-03-12 Thread Volker Lendecke
The branch, v3-6-test has been updated
   via  877e75d s3: Fix bug 8009
  from  2219149 s3: Fix a typo

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -
commit 877e75dc513b2e40b1741516460862037c349eaf
Author: Volker Lendecke v...@samba.org
Date:   Sat Mar 12 10:49:27 2011 +0100

s3: Fix bug 8009

Jeremy, please check!

Autobuild-User: Volker Lendecke vlen...@samba.org
Autobuild-Date: Sat Mar 12 11:39:41 CET 2011 on sn-devel-104
(cherry picked from commit 1829891391d978e8dd322cdbd3320e30e5c78b72)

---

Summary of changes:
 source3/libsmb/clirap2.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c
index a088397..20efca3 100644
--- a/source3/libsmb/clirap2.c
+++ b/source3/libsmb/clirap2.c
@@ -212,7 +212,7 @@ static size_t rap_getstringp(TALLOC_CTX *ctx, char *p, char 
**dest, char *r, uin
}
}
pull_string_talloc(ctx,src,0,dest,src,len,STR_ASCII);
-   return len;
+   return 4;
 }
 
 static char *make_header(char *param, uint16 apinum, const char *reqfmt, const 
char *datafmt)


-- 
Samba Shared Repository