Difference between revisions of "SAMBA Domain Controller"

From wiki.breedveld.net
Jump to: navigation, search
Line 39: Line 39:
 
delete user
 
delete user
 
  smbpasswd -x <user>
 
  smbpasswd -x <user>
 +
 +
machine verwijderen en vervolgens opnieuw aanmelden
 +
pdbedit -x CLIENT-PC$
 +
userdel CLIENT-PC$

Revision as of 09:27, 9 January 2013

Samba Domain on XP:

Start->run->MMC
->File->add/remove snap-in->Add
-->Add
--->Group Policy Object Editor->Add
---->(Group Policy Object must be 'Local Computer')->Finish
--->Close
-->OK
->Local Computer Policy
->Computer Configuration
->Windows Settings
->Security Settings
->Local Policies
->Security Options
->Disable "Domain Member: Digitally encrypt or sign secure channel data (always)"
Restart, and you should be able to log on with your Samba username and password.

For Windows7 and Server 2008R2, also edit the registry:

HKLM\System\CCS\Services\Netlogon\Parameters
add DWORD  RequireSignOrSeal = 0
add DWORD  RequireStrongKey = 0

Reboot after this

Optional

HKLM\System\CCS\Services\LanmanWorkstation\Parameters
DWORD  DomainCompatibilityMode = 1
DWORD  DNSNameResolutionRequired = 0

Also reboot after change

List users

wbinfo -u

add user

smbpasswd -a <user>

add machine

smbpasswd -a -m <machine>

delete user

smbpasswd -x <user>

machine verwijderen en vervolgens opnieuw aanmelden

pdbedit -x CLIENT-PC$
userdel CLIENT-PC$