It appears that the pts command will allow you to create, rename, or delete groups with spaces in the name. Unfortunately, the ParseAcl() function of the fs command and the equivalent code in the file server rely on sscanf. This reliance results in a failure to properly handle white space in group names.
Modifying this code to support white space is reasonable although the side effect is that any existing code will not be able to properly display or manipulate acls that contain spaces in the name. We certainly will not make this change for the 1.4 release. We will consider it for a future release. Jeffrey Altman Brett Trotter wrote: > Interesting, I read a requirement somewhere of afs groups not being > allowed to have spaces and we seem to be unable to set acls for > directories using groups with spaces, though perhaps the problem is with > ptsldap rather than the fs command. > > Is this an extra compile option? > > >>On Friday, July 15, 2005 03:29:13 PM -0500 Brett Trotter <[EMAIL PROTECTED]> >>wrote: >> >> >>>In our development of the PTSLdap mechanism and integration with active >>>directory+samba, we've come across group names in the AD with spaces, >>>but >>>these of course do not work in openafs and trigger errors if you try to >>>set an ACL using them. >>> >>>Is there any interest in adding space support to group names in AFS? >>>Will >>>it break everything under the sun to do so? >> >> >>[EMAIL PROTECTED] ~]$ pts listo jhutz >>Groups owned by jhutz (id: 2322) are: >> jhutz:jhutz test >> jhutz:smms.commanders >> jhutz:sss >> jhutz:daemons >> jhutz:penne.visitors >> jhutz:hostafs.visitors >> jhutz:hostafs >> jhutz:afs-tools >> jhutz:crossfire.run >> jhutz:crossfire >> jhutz:secure >> jhutz:jhutz >> >> >>Groups with spaces work just fine. >> >>_______________________________________________ >>OpenAFS-devel mailing list >>[email protected] >>https://lists.openafs.org/mailman/listinfo/openafs-devel >> > > > _______________________________________________ > OpenAFS-devel mailing list > [email protected] > https://lists.openafs.org/mailman/listinfo/openafs-devel
smime.p7s
Description: S/MIME Cryptographic Signature
