Greg_Cope@sandwich.pfizer.com
2002-Feb-28 07:25 UTC
[Samba] is there a limit to the length of validusers= lines (i.e over 102 4 bytes)
Dear All We've noticed that old (1.9.18x) versions of samba do not like very long ( over 1020 ish bytes ) valid user= lines. I assume that a 1k buffer is overrun. Yes, we have that many users for some shares. What is the limit in more recent samba's (2.2.x) - I know this is in the source - so if someone could point me in the right direction I'll go look (I am not a great C coder:-). Thanks Greg Cope PFIZER GLOBAL RESEARCH AND DEVELOPMENT ---------------------------------------------------------------- This message and any attachment has been virus checked by the PGRD Sandwich Data Centre. ----------------------------------------------------------------
Gary MacKay
2002-Feb-28 07:56 UTC
[Samba] is there a limit to the length of validusers= lines (i.e over 1024 bytes)
Create a group and put the users in that group. Then valid users @groupname works fine. Greg_Cope@sandwich.pfizer.com wrote:> > Dear All > > We've noticed that old (1.9.18x) versions of samba do not like very long ( > over 1020 ish bytes ) valid user= lines. I assume that a 1k buffer is > overrun. Yes, we have that many users for some shares. > > What is the limit in more recent samba's (2.2.x) - I know this is in the > source - so if someone could point me in the right direction I'll go look (I > am not a great C coder:-). > > Thanks > > Greg Cope > > PFIZER GLOBAL RESEARCH AND DEVELOPMENT > ---------------------------------------------------------------- > This message and any attachment has been virus checked by the > PGRD Sandwich Data Centre. > ---------------------------------------------------------------- > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
John Benedetto
2002-Feb-28 08:36 UTC
[Samba] is there a limit to the length of validusers= lines (i.e over 102 4 bytes)
--On Thursday, February 28, 2002 3:17 PM +0000 Greg_Cope@sandwich.pfizer.com wrote:> We've noticed that old (1.9.18x) versions of samba do not like very long ( > over 1020 ish bytes ) valid user= lines. I assume that a 1k buffer is > overrun. Yes, we have that many users for some shares.Why not make them all members of their own group (just for that share) in your /etc/group file, and only have to list one name on the line in your smb.conf? - john
Gerald Carter
2002-Mar-01 05:49 UTC
[Samba] is there a limit to the length of validusers= lines (i.e over 102 4 bytes)
On Thu, 28 Feb 2002 Greg_Cope@sandwich.pfizer.com wrote:> Dear All > > We've noticed that old (1.9.18x) versions of samba do not like very long ( > over 1020 ish bytes ) valid user= lines. I assume that a 1k buffer is > overrun. Yes, we have that many users for some shares. > > What is the limit in more recent samba's (2.2.x) - I know this is in the > source - so if someone could point me in the right direction I'll go look (I > am not a great C coder:-).Same. We are hoping to fix this limitation in 3.0.