[Samba] Consistent UID/GID mappings?
Alexandre Beauclair
beauclaira at lexum.com
Tue Apr 8 12:57:13 MDT 2014
Thanks a lot!
It worked perfectly to set the Primary GID.
That's one down and I feel I'm finally getting somehwere. Now for the Home Directory attribute, we need them to point to /home/users/DOMAIN/username. The member machine has no trouble reading it from the UNIX attributes, but it doesn't seem to be able to from the Samba4 Server. It keeps pointing to /home/DOMAIN/username, which I believe is the default for Samba4. Is there some place else I have to configure it? Looking at my previous problems, I'm beginning to think I'm just not looking at the right place to configure these...
Alexandre Beauclair
----- Original Message -----
From: "steve" <steve at steve-ss.com>
To: "Alexandre Beauclair" <beauclaira at lexum.com>
Cc: "Marc Muehlfeld" <samba at marc-muehlfeld.de>, samba at lists.samba.org
Sent: Tuesday, April 8, 2014 2:39:24 PM
Subject: Re: [Samba] Consistent UID/GID mappings?
On Tue, 2014-04-08 at 14:03 -0400, Alexandre Beauclair wrote:
> I can go in ADUC, or on the command line (both works) to add a user to the group.
> Let's say I have a group called testgroup. I can add a user to it using samba-tool, or use ADUC and add testuser to the group under the Members tab of the group object. However, still in ADUC, if I go to the UNIX Attribute tab of the testgroup object and add a member there, it doesn't work. At least there's a way that works for me to add a member to a group, but I'm wondering why it's not being picked up.
>
> Also, the problem I mentioned earlier was regarding the PrimaryGID of the user, which is apparently not read. I can set it to testgroup under UNIX Attributes of the ADUC, but when I "getent passwd" on my member machine, the GID is still at 513 (Domain Users).
>
Hi
Set the primary group under the Member of tab, not the Unix tab.
More information about the samba
mailing list