Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6a7017e4
Commit
6a7017e4
authored
Oct 16, 2008
by
Nicolas Le Cam
Committed by
Alexandre Julliard
Oct 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Fix well known account RIDs in NetQueryDisplayInformation Level 1.
parent
72d764f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
access.c
dlls/netapi32/access.c
+2
-2
access.c
dlls/netapi32/tests/access.c
+0
-1
No files found.
dlls/netapi32/access.c
View file @
6a7017e4
...
@@ -514,7 +514,7 @@ static void ACCESS_QueryAdminDisplayInformation(PNET_DISPLAY_USER *buf, PDWORD p
...
@@ -514,7 +514,7 @@ static void ACCESS_QueryAdminDisplayInformation(PNET_DISPLAY_USER *buf, PDWORD p
usr
->
usri1_comment
[
0
]
=
0
;
usr
->
usri1_comment
[
0
]
=
0
;
usr
->
usri1_flags
=
UF_SCRIPT
|
UF_NORMAL_ACCOUNT
|
UF_DONT_EXPIRE_PASSWD
;
usr
->
usri1_flags
=
UF_SCRIPT
|
UF_NORMAL_ACCOUNT
|
UF_DONT_EXPIRE_PASSWD
;
usr
->
usri1_full_name
[
0
]
=
0
;
usr
->
usri1_full_name
[
0
]
=
0
;
usr
->
usri1_user_id
=
500
;
usr
->
usri1_user_id
=
DOMAIN_USER_RID_ADMIN
;
usr
->
usri1_next_index
=
0
;
usr
->
usri1_next_index
=
0
;
}
}
...
@@ -554,7 +554,7 @@ static void ACCESS_QueryGuestDisplayInformation(PNET_DISPLAY_USER *buf, PDWORD p
...
@@ -554,7 +554,7 @@ static void ACCESS_QueryGuestDisplayInformation(PNET_DISPLAY_USER *buf, PDWORD p
usr
->
usri1_flags
=
UF_ACCOUNTDISABLE
|
UF_SCRIPT
|
UF_NORMAL_ACCOUNT
|
usr
->
usri1_flags
=
UF_ACCOUNTDISABLE
|
UF_SCRIPT
|
UF_NORMAL_ACCOUNT
|
UF_DONT_EXPIRE_PASSWD
;
UF_DONT_EXPIRE_PASSWD
;
usr
->
usri1_full_name
[
0
]
=
0
;
usr
->
usri1_full_name
[
0
]
=
0
;
usr
->
usri1_user_id
=
500
;
usr
->
usri1_user_id
=
DOMAIN_USER_RID_GUEST
;
usr
->
usri1_next_index
=
0
;
usr
->
usri1_next_index
=
0
;
}
}
...
...
dlls/netapi32/tests/access.c
View file @
6a7017e4
...
@@ -210,7 +210,6 @@ static void run_querydisplayinformation1_tests(void)
...
@@ -210,7 +210,6 @@ static void run_querydisplayinformation1_tests(void)
ok
(
!
hasGuest
,
"One guest record
\n
"
);
ok
(
!
hasGuest
,
"One guest record
\n
"
);
ok
(
rec
->
usri1_flags
&
UF_SCRIPT
,
"UF_SCRIPT flag is set
\n
"
);
ok
(
rec
->
usri1_flags
&
UF_SCRIPT
,
"UF_SCRIPT flag is set
\n
"
);
ok
(
rec
->
usri1_flags
&
UF_NORMAL_ACCOUNT
,
"UF_NORMAL_ACCOUNT flag is set
\n
"
);
ok
(
rec
->
usri1_flags
&
UF_NORMAL_ACCOUNT
,
"UF_NORMAL_ACCOUNT flag is set
\n
"
);
todo_wine
ok
(
rec
->
usri1_user_id
==
DOMAIN_USER_RID_GUEST
,
ok
(
rec
->
usri1_user_id
==
DOMAIN_USER_RID_GUEST
,
"Expected DOMAIN_USER_RID_GUEST, got %u
\n
"
,
"Expected DOMAIN_USER_RID_GUEST, got %u
\n
"
,
rec
->
usri1_user_id
);
rec
->
usri1_user_id
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment