Re: Status??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 24, 2011 at 4:09 AM, Stef Bon <stefbon@xxxxxxxxx> wrote:
> Hi,
>
> as developer of mount.md5key/fuse-workspace I'm interested in the
> latest changes of cifs-utils.
>
> What is the current status, what are you working on. I see something
> about SID, and mapping to an uid or gid, which is of course a good
> thing.
>
> And I see something about DFS.
>
> Please some info about latest development and/or status.
>
> Thanks in advance,
>
> Stef Bon
> Voorburg
> the Netherlands
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Stef,

This patchset would enable you to map a SID to either an uid or a gid
using services of winbind.

You will need to run winbind (/etc/init.d/winbind script), make changes
to /etc/nsswitch.conf to include winbind in passwd and group databases,
have winbind specific entries in smb.conf and cifs.upcall binary
(/usr/sbin/cifs.upcall) be running.
And you will need to mount the share using mount option  cifsacl.

Basically, map a SID (owner SID, group SID, any SID in the (D)ACL)
to either an uid or a gid using winbind APIs.
If that fails (e.g. because winbind is not installed/running or winbind returns
an error), try to obtain uid of 'nobody' and gid of 'nogroup'.
And if that fails, kernel assigns uid and gid (from mount superblock).

Regards,

Shirish
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux