Patrick McCarty wrote:
>
> > Basiclly, the code needs a general rewrite - at the very lest we need
> > the BOOLs converted to NTSTATUS.
>
> These are the three functions that call change_oem_password:
>
> pass_oem_change in smbd/chgpassword.c
> api_SetUserPassword in smbd/lanman.c
api_SamOEMCh
Patrick McCarty wrote:
>
> > Patrick McCarty wrote:
> >>
> >> Attached is a patch against HEAD that provides the 'P' option for
> >> acctFlags.
> >
> > Can you please verify that this is the correct bit to set? Rember, MS
> > defines them - so we should check. Ethereal should be able to show yo
> Basiclly, the code needs a general rewrite - at the very lest we need
> the BOOLs converted to NTSTATUS.
These are the three functions that call change_oem_password:
pass_oem_change in smbd/chgpassword.c
api_SetUserPassword in smbd/lanman.c
update_smbpassword_file in smbd/password.c
They are
> Patrick McCarty wrote:
>>
>> Attached is a patch against HEAD that provides the 'P' option for
>> acctFlags.
>
> Can you please verify that this is the correct bit to set? Rember, MS
> defines them - so we should check. Ethereal should be able to show you.
I 'borrowed' this bit from the Samb
Patrick McCarty wrote:
>
> Attached is a patch against HEAD that provides the 'P' option for
> acctFlags.
Can you please verify that this is the correct bit to set? Rember, MS
defines them - so we should check. Ethereal should be able to show you.
> I havent been able to test this yet, so use
Attached is a patch against HEAD that provides the 'P' option for
acctFlags.
I havent been able to test this yet, so use with care.
Ideally, this would eventually set the "user cannot change password" bit
to the client, but as Andrew mentioned, this hasnt been fully implemented,
and I'm not c