[python-win32] creating user accounts

Mark Hammond mhammond@skippinet.com.au
Sun, 9 Feb 2003 10:05:15 +1100


My guess is that your local policy disables this right by default.  You will
need to determine which attribute of the user you need to set to give this
permission, and set this up in the same structure you setup the rest of the
user data.

Unfortunately, off the top of my head, I don't know what this permission is.

Mark.

> -----Original Message-----
> From: python-win32-admin@python.org
> [mailto:python-win32-admin@python.org]On Behalf Of Przemek Gawronski
> Sent: Saturday, 8 February 2003 9:10 AM
> To: python-win32@python.org
> Subject: [python-win32] creating user accounts
>
>
> Hi, I tryied the example in Marks Hammond & Andys Robinsons book
> for creating user accounts (script on page 295) on Winows 2K
> server, but I cann't log on on the account PythonTestUser. When I
> try to log on I get this message:
>
> Logon failure: the user has not been granted the requested logon
> type at this computer
>
> I would be thankfull for any help, what more do I need to set in
> the dictionary to construct a correct user (for loging in)
>
> Thanks
>
> Przemek
>
> --------------------------------------------------------------
> ----------------
> W nowym KONTAKCIE możesz WSTAWIĆ swoje ZDJĘCIE! A oprócz tego
> rozmawiać
> on-line, wysyłać smsy, e-maile, pliki. Kontakt łączy się też
> z ICQ i GG
> oraz jako jedyny CZYTA wiadomości! ściągnij za friko <
> http://kontakt.wp.pl >
>
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>