Web lists-archives.com

Re: [Samba] wbinfo -U id gives different users on same dc




Thank you for reply Rowland.

Sorry for my typo. I intended to change  sm--to-->test but i forget to
change other lines.
So my original config is below:

        workgroup = sm
>         realm = sm.pvt
>         server string = %h Test Host
>         security = ads
>         encrypt passwords = yes
>         idmap config sm.pvt : backend = ad
>         idmap config sm.pvt : range = 10000-20000
>         idmap config sm.pvt : schema_mode = rfc2307
>         idmap config * : range = 8000-9000


Honestly I am not sure about using ads backend at all. I have read samba
documents. As rid backend use local database and it may get corrupted, I
chose ad backend.
On the other hand I should not install any extensions on Windows Active
Directory server. Samba documents tells something about installing unix
extensions but as far as I see this is not a must for ads.

So it would be best if someone could help me understanding about rid vs
ads. I suspect my problem depends on it.

Regards.


2018-02-13 14:47 GMT+02:00 Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>:

> On Tue, 13 Feb 2018 14:23:32 +0200
> Özkan Göksu <ozkan.goksu@xxxxxxxxxx> wrote:
>
> > > [Global]
> > > netbios name = DEV2
> > > workgroup = test
> > > realm = test.pvt
> > > server string = %h Test Host
> > > security = ads
> > > encrypt passwords = yes
> > > idmap config sm.pvt : backend = ad
> > > idmap config sm.pvt : range = 10000-20000
> > > idmap config sm.pvt : schema_mode = rfc2307
> > > idmap config * : range = 8000-9000
>
> Hmm, the WORKGROUP is 'test', the REALM is 'test.pvt' and 'idmap
> config' is 'sm.pvt', I would have expected that 'idmap config' to be
> 'TEST'
>
> Your original post referred to user ID '8003' and this user must come
> from the '*' domain, so fixing the 'idmap config' name might fix this,
> as long as you have added uidNumber & gidNumber attributes to AD.
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba