Map uid/gid of SMB share to local account?

Ryan Johnson
Sat Jun 16 03:31:00 GMT 2012

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...


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list