Win9x ownership and user perms

Jim McDonough jmcd at us.ibm.com
Wed Aug 8 16:38:12 GMT 2001


Ok, we've got down to the item I wasn't sure about in my original patch.
The make_connection call is leaving us as root, which is what enables us to
chown.  Since this is the same RPC as setting user permissions, it seems
that this would also allow an unauthorized user to set permissions.
However, it doesn't, because the create_canon_ace_lists() failes trying to
map a SID.  But the call looks like it works, and when an unauthorized user
tries to set permissions, the dialog just goes away with no error, but
nothing changes.

Is make_connection supposed to leave us as root (ps shows that it does)?

----------------------------
Jim McDonough
IBM Linux Technology Center
6 Minuteman Drive
Scarborough, ME 04074
USA

jmcd at us.ibm.com

Phone: (207) 885-5565
IBM tie-line: 776-9984





More information about the samba-technical mailing list