[Samba] chown: changing ownership of 'test': Invalid argument

Ian Coetzee samba at iancoetzee.za.net
Wed Apr 10 13:36:33 UTC 2019


On Wed, 10 Apr 2019 at 13:11, Rowland Penny <rpenny at samba.org> wrote:

> On Wed, 10 Apr 2019 12:13:07 +0200
> Ian Coetzee <samba at iancoetzee.za.net> wrote:
>
>
> > [2019/04/10 10:09:48.043212,  1, pid=15234, effective(0, 0), real(0,
> > 0), class=rpc_parse] ../librpc/ndr/ndr.c:471(ndr_print_function_debug)
> >        wbint_GetNssInfo: struct wbint_GetNssInfo
> >           out: struct wbint_GetNssInfo
> >               info                     : *
> >                   info: struct wbint_userinfo
> >                       domain_name              : *
> >                           domain_name              : 'JEOFFICE'
> >                       acct_name                : *
> >                           acct_name                : 'ianc'
> >                       full_name                : NULL
> >                       homedir                  : *
> >                           homedir                  : '/home/%D/%U'
> >                       shell                    : *
> >                           shell                    : '/bin/bash'
> >                       uid                      : 0x000000000030d97f
> > (3201407)
> >                       primary_gid              : 0x00000000ffffffff
> > (4294967295)
> >                       primary_group_name       : NULL
> >                       user_sid                 : <RED>-1407
> >                       group_sid                : <RED>-513
> >               result                   :
> > NT_STATUS_REQUEST_NOT_ACCEPTED
> >
> > Is this last "NT_STATUS_REQUEST_NOT_ACCEPTED" maybe the problem?
>
> I would say it is the problem, but not the reason
>
> The users SID is found '<RED>-1407' and the group SID is '<RED>-513'
> The users uid is '3201407' but the primary_gid is '4294967295' and the
> 'primary_group_name' is null.
> I would have expected '3200513' and 'Domain Users' for the last two.
>
> Is it possible you can share the AD objects for 'ianc' & 'Domain Users'
> with me, offlist if necessary.
>
> Rowland
>
>
>
>
Hi Rowland,

I have sent you an email with an ldif export, as made by ldapsearch,
attached. Hope it helps :)

Kind regards


More information about the samba mailing list