uvuser
February 8, 2011, 4:04pm
1
Wenn ich der samba Domäne mit
djoin /provision /domain domain.local /machine client11 /savefile C:%computername% /downlevel
beitreten möchte kommt folgende Fehlermeldung:
Das Computerkonto wird bereitgestellt…
Fehler beim Bereitstellen von [client11] in der Domäne [grg.local]: 0x54b.
Fehler bei der Computerkontobereitstellung: 0x54b.
Die angegebene Domäne ist nicht vorhanden, oder es konnte keine Verbindung hergestellt werden.
Gibt es dafür eine Lösung um einer samba Domäne per Commandline beizutreten?
Hallo,
wenn ich das richtig sehe wird “djoin” zum Offline-Domänbeitritt gegen MS Active-Directory verwendet (Schrittweise Anleitung zum Offline-Domänenbeitritt (“Djoin.exe”) ). Da eine Samba 3 Domäne keine AD-Features abbildet wird dies nicht funktionieren.
Statt dessen können Sie vermutlich auf “netdom” bzw. “psexec” zurückgreifen:
Sehr Gut,
hab gerade erfolgreichen unjoin und join von Windows 2000 Dom zu UCS 2.2.3.4 Dom getestet
Windows XP Client SP3
LG
Franz
Alternativ aus “man net”:
DOM JOIN domain=DOMAIN ou=OU account=ACCOUNT password=PASSWORD reboot
Joins a computer into a domain. This command supports the following additional parameters:
* DOMAIN can be a NetBIOS domain name (also known as short domain name) or a DNS domain name for Active Directory Domains. As in Windows, it is also possible to control which Domain Controller to use. This can be achieved by appending the DC name using the \ separator character. Example: MYDOM\MYDC. The DOMAIN parameter cannot be NULL.
* OU can be set to a RFC 1779 LDAP DN, like ou=mymachines,cn=Users,dc=example,dc=com in order to create the machine account in a non-default LDAP containter. This optional parameter is only supported when joining Active Directory Domains.
* ACCOUNT defines a domain account that will be used to join the machine to the domain. This domain account needs to have sufficient privileges to join machines.
* PASSWORD defines the password for the domain account defined with ACCOUNT.
* REBOOT is an optional parameter that can be set to reboot the remote machine after successful join to the domain.
Note that you also need to use standard net parameters to connect and authenticate to the remote machine that you want to join. These additional parameters include: -S computer and -U user.
Example: [b]net dom join -S xp -U XP\\administrator%secret domain=MYDOM account=MYDOM\\administrator password=topsecret reboot[/b].
This example would connect to a computer named XP as the local administrator using password secret, and join the computer into a domain called MYDOM using the MYDOM domain administrator account and password topsecret. After successful join, the computer would reboot.
Mit freundlichen Grüßen
Janis Meybohm