This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Map uid/gid of SMB share to local account?


On 15/06/2012 5:23 PM, Matt Seitz (matseitz) wrote:
On Behalf Of Ryan Johnson

`mkpasswd` and `mkpasswd -l -U0-20000' produce the same output
(neither
includes the SMB user); the drive is mapped in Windows as z: and I can
also access it directly from the cygwin prompt.
What is the output is you run:

mkpasswd -l<samba-server-hostname> -U 0-20000

It's rather prodigious (and slow, as warned by the man page). If I limit it to my own uid on that server, I get:
ryanjohn:unused:12680:99999:,S-1-22-1-2680::
mkpasswd (370): [31] A device attached to the system is not functioning.

Thanks for explaining that. I've never used the command before and the man pages weren't closing the gap.


Not sure how that will help my local user have write permissions to ryanjohn's files, tho...

Regards,
Ryan

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]