Hi friends,
I am new to this forum. We are developing a file system mini filter
driver. Since my driver need to keep track of logged in user name I need to
inform it to my driver once a user logged in success fully. My driver’s
start type is “boot start”. So I don’t want to refer registry when system
boots up. Because some times the key which I tried to open using ZwOpenkey()
fails also it troubles system’s booting. That’s why I want to refer registry
to get username once a user logged in successfully. Will it possible to
intimate the driver about this logged in or is there any other methods to
get username for a boot start driver?.
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at xxxxx@patni.com and delete this mail.
Problem in reading logged in user name.Which user? Local or remote?
–
David J. Craig
Engineer, Sr. Staff Software Systems
Broadcom Corporation
“Kathiresan M” wrote in message news:xxxxx@ntfsd…
Hi friends,
I am new to this forum. We are developing a file system mini filter driver. Since my driver need to keep track of logged in user name I need to inform it to my driver once a user logged in success fully. My driver’s start type is “boot start”. So I don’t want to refer registry when system boots up. Because some times the key which I tried to open using ZwOpenkey() fails also it troubles system’s booting. That’s why I want to refer registry to get username once a user logged in successfully. Will it possible to intimate the driver about this logged in or is there any other methods to get username for a boot start driver?.
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at xxxxx@patni.com and delete this mail.
You should have said which user, the console if there is one? The 1 to
N remote desktop users? The applications that run in a specific user
account?
Bottom line, there can be a lot of users, back in NT3.5.1 I typically
saw 3+ active accounts on a desktop and more on a server. So assuming
there is a user, is a poor and easily breakable design.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
“David J. Craig” wrote in message
news:xxxxx@ntfsd…
Problem in reading logged in user name.Which user? Local or remote?
–
David J. Craig
Engineer, Sr. Staff Software Systems
Broadcom Corporation
“Kathiresan M” wrote in message
news:xxxxx@ntfsd…
Hi friends,
I am new to this forum. We are developing a file system mini
filter driver. Since my driver need to keep track of logged in user name I
need to inform it to my driver once a user logged in success fully. My
driver’s start type is “boot start”. So I don’t want to refer registry when
system boots up. Because some times the key which I tried to open using
ZwOpenkey() fails also it troubles system’s booting. That’s why I want to
refer registry to get username once a user logged in successfully. Will it
possible to intimate the driver about this logged in or is there any other
methods to get username for a boot start driver?.
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to whom
this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you have received this e-mail in error kindly delete this
e-mail from your records. If it appears that this mail has been forwarded
to you without proper authority, please notify us immediately at
xxxxx@patni.com and delete this mail.
Use SIDs instead of user names.
I don’t think it is a good idea to re-implement LookupAccountSid in kernel
mode, since, for domain account, this will require an RPC call to the domain
controller.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
“Kathiresan M” wrote in message news:xxxxx@ntfsd…
> Hi friends,
> I am new to this forum. We are developing a file system mini filter
> driver. Since my driver need to keep track of logged in user name I need to
> inform it to my driver once a user logged in success fully. My driver’s
> start type is “boot start”. So I don’t want to refer registry when system
> boots up. Because some times the key which I tried to open using ZwOpenkey()
> fails also it troubles system’s booting. That’s why I want to refer registry
> to get username once a user logged in successfully. Will it possible to
> intimate the driver about this logged in or is there any other methods to
> get username for a boot start driver?.
>
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
>
>
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at xxxxx@patni.com and delete this mail.
>
>