Re: get upn from winbindd
Усольцев Пётр
usoltsev05 at mail.ru
Wed Feb 19 07:44:42 UTC 2025
Thank you, this is very valuable information!
>Среда, 19 февраля 2025, 15:04 +08:00 от Andreas Schneider via samba-technical <samba-technical at lists.samba.org>:
>
>On Wednesday, 19 February 2025 08:02:23 CET Andreas Schneider via samba-
>technical wrote:
>> On Tuesday, 18 February 2025 07:23:18 CET Усольцев Пётр via samba-technical
>>
>> wrote:
>> > Hi!
>>
>> Hello,
>>
>> > I want to receive upn in winbindd, but I don't know how to do it
>> > correctly…
>> > * The first option is to make edits to the SAMR protocol. It works, but
>> > it
>> > breaks the protocol itself.(samba_fix_1_samr.patch) * the second option
>> > is
>> > to receive upn via a direct ldap request. It only works on samba DC, where
>> > there is a sam.ldb database. Winbind does not work on
>> > clients (samba_fix_2_only_winbind.patch) I made patches for the
>> > commit a814f5d90a3fb85a94c9516dba224037e8fd76f1(Stefan Metzmacher Feb 17,
>> > 2025) on master branch.
>> > My config /etc/nsswitch.conf:
>> > passwd: files winbind systemd
>> > shadow: tcb files winbind
>> > group: files winbind systemd role
>> >
>> > Test:
>> > id user1 at test.abc
>>
>> I think this is the wrong approach. We should actually rewrite winbind to
>> not pass `struct winbind_pw` around, we need `struct winbind_user_record`
>> and convert from `struct winbind_user_record` to `struct winbind_pw`. See
>> the discussions in:
>>
>> https://gitlab.com/samba-team/samba/-/merge_requests/3805
>Wrong MR sorry.
>
>This one:
>https://gitlab.com/samba-team/samba/-/merge_requests/2928
>
>
>--
>Andreas Schneider asn at samba.org
>Samba Team www.samba.org
>GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
>
>
Усольцев Пётр.
More information about the samba-technical
mailing list