mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r16065: Re-add a strlower_m(account) in samr_create_user that was dropped for no
reason but to increase fidelity with W2k3. Tom Bork has raised valid concerns that Unix scripts might rely on the account names being lower-case, so keep that. We might later decide to only lower-case the unix name passed to 'add [user|group] script' but keep the passdb entry upper-case. But there are enough user-visible changes in 3_0 already so that we should push this off to a later date. Tom, waiting for more bug reports from you ;-)) Thanks for insisting! Volker
This commit is contained in:
parent
8f9ba5f96c
commit
bc78cca290
@ -2463,6 +2463,8 @@ NTSTATUS _samr_create_user(pipes_struct *p, SAMR_Q_CREATE_USER *q_u,
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
strlower_m(account);
|
||||
|
||||
nt_status = can_create(p->mem_ctx, account);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
return nt_status;
|
||||
|
Loading…
Reference in New Issue
Block a user