On 22 déc, 19:37, Toff christophed...@gmail.com wrote:
On 22 déc, 18:59, Jens Henrik Leonhard Jensen
j...@statsbiblioteket.dk wrote:
Toff wrote:
d = c.Win32_ComputerSystem
d.JoinDomainOrWorkGroup(None, 3, mydom, mydompw, radmin\\mydom)
Shouldn't radmin\\mydom be admin\\mydom or
Or maybe could I try with
LoadLibrary(netapi32.dll);
and the netjoindomain function ?
but it doesn't look very easy
--
http://mail.python.org/mailman/listinfo/python-list
Toff wrote:
On 22 déc, 19:37, Toff christophed...@gmail.com wrote:
On 22 déc, 18:59, Jens Henrik Leonhard Jensen
j...@statsbiblioteket.dk wrote:
Toff wrote:
d = c.Win32_ComputerSystem
d.JoinDomainOrWorkGroup(None, 3, mydom, mydompw, radmin\\mydom)
Shouldn't radmin\\mydom be
hi,
I 'm trying to write a script to make my computer join a samba.
domeone have any idea ??
thanks regards,
*
# -*- coding: iso-8859-1 *-*
import win32com.client
import os,sys
import win32api
import impers
import socket
Toff wrote:
hi,
I 'm trying to write a script to make my computer join a samba.
domeone have any idea ??
Ummm. It's not clear if you're saying that your code doesn't
work, or asking for general advice, or what? I'm not in a
position to have my machine join a domain or workgroup, but
you seem
On 22 déc, 17:02, Tim Golden m...@timgolden.me.uk wrote:
Toff wrote:
hi,
I 'm trying to write a script to make my computer join a samba.
domeone have any idea ??
Ummm. It's not clear if you're saying that your code doesn't
work, or asking for general advice, or what? I'm not in a
Toff wrote:
On 22 déc, 17:02, Tim Golden m...@timgolden.me.uk wrote:
Toff wrote:
hi,
I 'm trying to write a script to make my computer join a samba.
domeone have any idea ??
Ummm. It's not clear if you're saying that your code doesn't
work, or asking for general advice, or what? I'm not in a
Hi!
If you are under Vista, you must change the LSA parameter.
See:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
LMCompatibilityLevel
try with value 1 or 0
And use a Samba not too old.
@-salutations
--
Michel Claveau
--
On 22 déc, 17:57, Tim Golden m...@timgolden.me.uk wrote:
Toff wrote:
On 22 déc, 17:02, Tim Golden m...@timgolden.me.uk wrote:
Toff wrote:
hi,
I 'm trying to write a script to make my computer join a samba.
domeone have any idea ??
Ummm. It's not clear if you're saying that your code
Toff wrote:
d = c.Win32_ComputerSystem
d.JoinDomainOrWorkGroup(None, 3, mydom, mydompw, radmin\\mydom)
Shouldn't radmin\\mydom be admin\\mydom or radmin\mydom.
Or maybe just admin
/Jens Henrik
--
http://mail.python.org/mailman/listinfo/python-list
On 22 déc, 18:59, Jens Henrik Leonhard Jensen
j...@statsbiblioteket.dk wrote:
Toff wrote:
d = c.Win32_ComputerSystem
d.JoinDomainOrWorkGroup(None, 3, mydom, mydompw, radmin\\mydom)
Shouldn't radmin\\mydom be admin\\mydom or radmin\mydom.
Or maybe just admin
/Jens Henrik
you are
11 matches
Mail list logo