New approach to "valid users" fix

Gerald (Jerry) Carter jerry at samba.org
Tue Aug 15 03:56:57 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

simo wrote:
> On Sat, 2006-08-12 at 13:56 -0500, Gerald (Jerry) Carter wrote:
> 
>> It's a pretty big bug actually if you copy files from
>> the Samba box to a local NTFS partition on a Windows
>> client.  We'll have to fix this, but I need to think
>> about it some.
> 
> I think that part of the problem is that we don't let idmap do it's work
> alone, but often we check for idmap ranges outside of idmap instead of
> just trusting what idmap does.

Yeah.  I agree the fixes need to be in the uid_to_sid()
and gid_to_sid() calls, but I don't think.  I don't think
it's the idmap range checks that are the problem though.
I'll post a patch tomorrow hopefully.





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFE4UYJIR7qMdg1EfYRAgKLAKC5lXQbuyDnYVX46GaAMicnhAXVOgCg6W04
7iOluTS9d2i0dQybFc6hDxo=
=4zmG
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list