Saturday, June 25, 2011

comp.lang.python - 3 new messages in 2 topics - digest

comp.lang.python
http://groups.google.com/group/comp.lang.python?hl=en

comp.lang.python@googlegroups.com

Today's topics:

* how to write to registry without admin rights on win vista/7 - 2 messages, 1
author
http://groups.google.com/group/comp.lang.python/t/82e511e0025a1d82?hl=en
* LDAP: How get all users belongs to a group. - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/7eff57435ac83b7d?hl=en

==============================================================================
TOPIC: how to write to registry without admin rights on win vista/7
http://groups.google.com/group/comp.lang.python/t/82e511e0025a1d82?hl=en
==============================================================================

== 1 of 2 ==
Date: Fri, Jun 24 2011 10:48 pm
From: Thorsten Kampe


* miamia (Fri, 24 Jun 2011 01:08:55 -0700 (PDT))
> In my program I can set to run after system startup (it writes path to
> Software\Microsoft\Windows\CurrentVersion\Run)

Under HKLM oder HKCU? The path itself is of course irrelevant.

> but when normal user is logged in my application crashes.

Without an exception?

> I must right click on app an choose "Run As Admin" and then everything
> works.
>
> How can I do it to write to registry without "Run As Admin" ?

Disable UAC.

Thorsten


== 2 of 2 ==
Date: Fri, Jun 24 2011 11:03 pm
From: Thorsten Kampe


* Andrew Berg (Fri, 24 Jun 2011 14:02:54 -0500)
> On 2011.06.24 03:48 AM, Duncan Booth wrote:
> > http://stackoverflow.com/questions/130763/request-uac-elevation-from-within-a-python-script
> Heh. On Windows 7, using 'runas' for the operation in os.startfile()
> gives me a normal UAC prompt.

That is because UAC for non-admin accounts /is/ runas.

Thorsten

==============================================================================
TOPIC: LDAP: How get all users belongs to a group.
http://groups.google.com/group/comp.lang.python/t/7eff57435ac83b7d?hl=en
==============================================================================

== 1 of 1 ==
Date: Sat, Jun 25 2011 12:08 am
From: sajuptpm


results = ldapClient.search_s("cn=My-Group-1,ou=Groups,o=CUST",
ldap.SCOPE_BASE)

Is this method work for all types of groups (groupOfNames,
posixGroup) ???

have to implement user search/fetch separately for each groups ???


==============================================================================

You received this message because you are subscribed to the Google Groups "comp.lang.python"
group.

To post to this group, visit http://groups.google.com/group/comp.lang.python?hl=en

To unsubscribe from this group, send email to comp.lang.python+unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.lang.python/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate