Re: cifs multiuser sends wrong uid:gid [SOLVED]

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

 



On 12/04/13 12:27, Jeff Layton wrote:
On Fri, 12 Apr 2013 11:20:15 +0200
steve <steve@xxxxxxxxxxxx> wrote:

ignored when you use kerberos. All that matters is the ticket.
- What am I doing wrong?
At first glance, I have to wonder whether "steve2" is mapped to the
same uid on the client and server. It seems likely that on the client
that this krb5 user maps to 3000034, but on the server it maps to
3000019.

Hi Jeff
Yesssss! That was it. The uid was being pulled from idmap.ldb and not from AD. I deleted the entry for steve2 in idmap . It turns out that you need this:
idmap_ldb:use rfc2307 = Yes
in the [global] section of smb.conf to force the uidNumber and gidNumber from AD rather than idmap. Personally I think that this should be the default.
Thanks,
Steve

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