quota group

2003-03-05 Thread Massimo Del Sarto
I use samba on redhat linux (7.1) For default in redhat each user has also his own group. I created a new group for each samba share that I defined so I can control which users can access to the shares, but if I use the user quota I can't control the quota on this shares. Using a group quota I

Re: quota group

2003-03-05 Thread Andrew Bartlett
On Wed, 2003-03-05 at 20:32, Massimo Del Sarto wrote: I use samba on redhat linux (7.1) For default in redhat each user has also his own group. I created a new group for each samba share that I defined so I can control which users can access to the shares, but if I use the user quota I

Re: [PATCH] draft: better string overflow checking (was: memorycorruption in SAMBA_3_0)

2003-03-05 Thread Andrew Bartlett
On Wed, 2003-03-05 at 16:11, Martin Pool wrote: I was thinking about Andrew's fstring-overflow patch from a few weeks ago: for developer builds, it touches the last byte of a string buffer to check that it's as long as it should be. This should be reasonably helpful in catching string

RE: mount points / free disk space / dfree command

2003-03-05 Thread David Lee
On Tue, 4 Mar 2003, Panko, Kevin wrote: I went and read some of the CIFS spec[1], and it seems to me that the QUERY_FS_INFO trans2 request only includes an identifier for the current connection. Given this information, samba can only attempt to determine the amount of space on the root of

Re: more rpcclient bughunting: PRINTER_ALL_ACCESS vs MAXIMUM_ALLOWED_ACCESS

2003-03-05 Thread Ronan Waide
On March 5, [EMAIL PROTECTED] said: I've checked in a fix. It's odd that MAXIMUM_ALLOWED_ACCESS doesn't do what it's supposed to in this case. Are you running the setdriver against a NT or Samba server? Running against Samba HEAD, but just one sec... Right, here's the summary of what I've

Re: quota group

2003-03-05 Thread Massimo Del Sarto
At 21.55 05/03/2003 +1100, Andrew Bartlett wrote: On Wed, 2003-03-05 at 20:32, Massimo Del Sarto wrote: I use samba on redhat linux (7.1) For default in redhat each user has also his own group. I created a new group for each samba share that I defined so I can control which users can access

Re: quota group

2003-03-05 Thread David Lee
On Wed, 5 Mar 2003, Andrew Bartlett wrote: [...] If you can repatch this against HEAD, and check with metze (Stefan (metze) Metzmacher [EMAIL PROTECTED]) on how this might conflict with his work in this area. In particular, it might work out best that metze picks this up into his patch.

Samba-3.0alpha22 available on samba.org mirrors

2003-03-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We've just posted another snapshot of the SAMBA_3_0 cvs tree for download. This is a non-production release provided for testing only. The source code can be downloaded from : http://download.samba.org/samba/ftp/alpha/ The uncompressed

Re: [PATCH] draft: better string overflow checking (was: memorycorruption in SAMBA_3_0)

2003-03-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 5 Mar 2003, Martin Pool wrote: I was thinking about Andrew's fstring-overflow patch from a few weeks ago: for developer builds, it touches the last byte of a string buffer to check that it's as long as it should be. This should be

documentation omission: add printer command

2003-03-05 Thread Ronan Waide
The add printer command program can output a single line of text, which Samba will set as the port the new printer is connected to. From my reading of the code, if this line /isn't/ output, Samba won't reload its printer shares. Cheers, Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal

VFS related.

2003-03-05 Thread TUDOR Coserea
Hi, I'm was trying to port my VFS module over *BSD. I had some problems and I want to share the results with you: 1. On OpenBSD 3.1 in dynamic module symbols are mangled with _ in front of name of the function so sym_dlsym(handle, vfs_init) don't work but sym_dlsym(handle, _vfs_init)

Detecting Windows OS Version through Samba

2003-03-05 Thread Agis Andreou
Hello everyone, I have a samba server and several wannabe clients on a different subnet. Is there a way to determine their windows os version through the network, (without actually asking their owners or trying to physicaly locate the hosts)? if i am not mistaken the info i'm looking for is

Re: Detecting Windows OS Version through Samba

2003-03-05 Thread Simo Sorce
We have a specific exapansion variable that may be used inside smb.conf to be replaced by remote OS signature, I cannot remember how it works out which OS is on the other side or how accurate it is. Look into smb.conf and search for %a Simo. On Wed, 2003-03-05 at 18:52, Agis Andreou wrote:

Re: Detecting Windows OS Version through Samba

2003-03-05 Thread Jelmer Vernooij
On Wed, Mar 05, 2003 at 06:57:04PM +0100, Simo Sorce wrote about 'Re: Detecting Windows OS Version through Samba': On Wed, 2003-03-05 at 18:52, Agis Andreou wrote: Hello everyone, I have a samba server and several wannabe clients on a different subnet. Is there a way to determine their

Re: Detecting Windows OS Version through Samba

2003-03-05 Thread Agis Andreou
Thanks, could you please mail it to me, their server http://www.apostols.org/projectz/queso/ seems to be down at the moment. Will it distinguish windows flavours? agis. Jelmer Vernooij wrote: On Wed, Mar 05, 2003 at 06:57:04PM +0100, Simo Sorce wrote about 'Re: Detecting Windows OS Version

Re: 3.0a21 and HEAD: only primary group of a domain user is set onsmbd

2003-03-05 Thread Chere Zhou
Do you mean that I probably will need both your change and Ken's patch? Now I remember that I checked on SAMBA_3_0 but not HEAD, as I thought they should be pretty similar. I will check HEAD out. Thanks A. Bertlett. Chere On Tuesday 04 March 2003 11:52 pm, Andrew Bartlett wrote: On Wed,

Re: Detecting Windows OS Version through Samba

2003-03-05 Thread Jelmer Vernooij
On Wed, Mar 05, 2003 at 08:22:48PM +0200, Agis Andreou wrote about 'Re: Detecting Windows OS Version through Samba': Thanks, could you please mail it to me, Sorry, I don't have the sources here. their server http://www.apostols.org/projectz/queso/ seems to be down at the moment. Will it

Re: Detecting Windows OS Version through Samba

2003-03-05 Thread Richard Sharpe
On Wed, 5 Mar 2003, Agis Andreou wrote: Thanks, could you please mail it to me, their server http://www.apostols.org/projectz/queso/ seems to be down at the moment. Will it distinguish windows flavours? Hmmm, doesn't nmap do a better job? Regards - Richard Sharpe,

RE: [Samba] Samba-3.0alpha22 available on samba.org mirrors . . .installation problems(?)

2003-03-05 Thread Ken Innes
Hello, I upgraded from 3.0alpha21 to alpha22 using rpm -Uvh samba-3.0alpha22*.i386.rpm and can no longer attach to any share. During the install I saw the message: Moving tdb files in /var/lock/samba/*.tdb to /var/cache/samba/*.tdb, which is odd, since there is no /var/lock/samba directory to

Re: 3.0a21 and HEAD: only primary group of a domain user is set onsmbd

2003-03-05 Thread Andrew Bartlett
On Thu, 2003-03-06 at 05:38, Chere Zhou wrote: Do you mean that I probably will need both your change and Ken's patch? Ken's patch is not required for posix users of winbind (ie the NSS subsystem). It is required if you want (for a custom user interface) to know all the members of a

RE: 3.0a21 and HEAD: only primary group of a domain user is set onsmbd

2003-03-05 Thread Ken Cross
Ken's patch is not required for posix users of winbind (ie the NSS subsystem). It is required if you want (for a custom user interface) to know all the members of a particular group, but I'm not sure it's the right way to do it. (I think a custom winbind command would do better).

tcontest in Samba-head's torture code

2003-03-05 Thread Richard Sharpe
Hi, Herb came across an oddity at Connectathon. He was running the head torture tests against a WinNT 4 sp3 box and a WinNT4 sp6 box. The tcontest fails against that platform. In looking at the code and a trace, it connects to a share, opens a file, and writes to that file. It then connects

Re: Detecting Windows OS Version through Samba

2003-03-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5 Mar 2003, Simo Sorce wrote: I cannot remember how it works out which OS is on the other side or how accurate it is. it's based on flags set during the negprot and sessetup request. cheers, jerry -BEGIN PGP SIGNATURE- Version:

smbtorture does not seem to want to fallback to *SMBSERVER

2003-03-05 Thread Richard Sharpe
Hi, In running some tests at connectathon, I see two issues: 1. smbtorture does not fall back to using *SMBSERVER when setting up a NetBIOS session. I think this would be worth adding. 2. smbtorture does not allow you to specify the port to connect on. I have added code to support this.

3.0a21: add a new group using ACL results in a new user in winbinddidmap

2003-03-05 Thread Chere Zhou
I am in an ADS domain. From a Windows client, create a file, add a group to the file using ACLs (new means the group is not in winbindd database yet), the group is mapped as a user in the winbindd_idmap.tdb. The group is not any special type, just a normal group (not local, not universal).

Re: smbtorture does not seem to want to fallback to *SMBSERVER

2003-03-05 Thread Andrew Bartlett
On Thu, 2003-03-06 at 11:09, Richard Sharpe wrote: Hi, In running some tests at connectathon, I see two issues: 1. smbtorture does not fall back to using *SMBSERVER when setting up a NetBIOS session. I think this would be worth adding. 2. smbtorture does not allow you to specify the

RE: number of groups of NT account causes authentication problems

2003-03-05 Thread MCCALL,DON (HP-USA,ex1)
Hi Richard, et al; Can't speak for Solaris, but HP-UX has a 20 group membership limit for HP-UX users. From man setgroups: must be no more than NGROUPS_MAX, as defined in limits.h. Same applies to initgroups. So Solaris may have some limit as well Hope this helps, Don -Original

Re: [Samba] number of groups of NT account causes authenticationproblems

2003-03-05 Thread Gopal Bhat
Finally, I found that this problem is due to limitation of Solaris OS. By default, the kernel parameter NGROUPS_MAX ( # getconf NGROUPS_MAX) is set to 16 (/usr/include/limits.h), which can be changed to a maximum of 32 by putting a line: set ngroups_max=32 in /etc/system file and rebooting the

RE: [Samba] number of groups of NT account causes authenticationproblems

2003-03-05 Thread Ken Cross
Be careful. Just rebuilding the kernel with an increased NGROUPS_MAX probably won't be sufficient. To accommodate Windows users with lots (40-50) of group memberships, we had to rebuild NetBSD with NGROUPS_MAX set to 128. But we also had to rebuild userland, because anything that used

Re: [Samba] number of groups of NT account causes authenticationproblems

2003-03-05 Thread Gopal Bhat
Is there anyway to increase this limit of 15? Using /etc/system or any other configuration file/parameter? I will post this question on SUN BigAdmin also, if I am able to find an answer, it will be great. Thanks! Michael G. Noble wrote: Solaris has a 15 member limit to groups. Since you are