On 05/03/10 17:32, Brett Parker wrote:
You've now hit on the fun bit of network filesystems, which means that the uids and gids need to match across the clients... I assume that the windows boxes are tied in via ldap/active directory type logins?
Nope! No domains on the network, the Windows clients are just using normal windows file sharing (their users exist on the server with passwords which match their desktops).
Either: a) Work out a way of doing uid->uid mapping on your client (can't see a way of doing this with the cifs module, but know that nfs's user based daemon allows it) b) Go round and map all the right users with uids on your client to match the fileserver, this would be the usual method, and a royal pain in the arse.
Hmmm...
Is there a better way for me to be connecting to the Linux-based server so that I can access the same files that the Windows users are using through a mounted share?
Since it's only my desktop, I assume only my user matters, so is it enough to just change the UID on my desktop to match the UID my user has on the server? If so, how do I do that without screwing the permissions on my desktop? (Or can I just create a new user with the right UID on my desktop, say mark-smb, and use that in my cifs credentials?)
Apparently some of the issues can be got round using winbind, but I've not tried this, and haven't got time (at the moment) to look in to it (hey - it's Friday - it's time to meet people in the pub!), but might get a chance to look tomorrow.
Thanks for the help so far anyway. If you do have any new suggestions now that the weekend is over I'm all ears!