On Fri, 2003-03-28 at 05:07, Tom Dickson wrote: > We have winbind running on our server, so all of our usernames look like > MIXEDDOMAIN+User Name, and because of the spaces in the names, we wrap all > of them with " "MIXEDDOMAIN+User Name" ". One share has many users, so the > valid users = list becomes long (over 1024 characters).
Yes, in Samba 2.2 there is a static buffer here, of 1024 chars. > Testparm gives this error: > > ERROR: string overflow by 34 in safe_strcpy [" "@MIXEDDOMAIN+Cert > Publishers" " > " "@MIXEDDOMAIN] > > Whenever we get that error, there is difficulty connecting from the windows > clients. > > If I remove about 50 characters worth of names, it goes away and everything > works right (for the names left). I know I can get around this limitation by > assigning a group on the 2000 server, but I still have two questions. Can I > have more that one valid users = line per share? No. > And, is there a better way > to deal with spaces in usernames than " "User Name" "? > > Note: The same thing happens with write list =. This should be fixed in Samba 3.0, due to a change to the way we process such lists, but you are much advised to use a group on the server. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
signature.asc
Description: This is a digitally signed message part
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba