Testing Setups: Difference between revisions
From SambaWiki
No edit summary |
(No difference)
|
Revision as of 11:27, 17 January 2011
Create an Administrator account on Samba:
edit smb.conf: passdb backend = tdbsam idmap backend = tdb idmap uid = 1000000-1999999 idmap gid = 1000000-1999999
smbpasswd -a <you>
bin/winbindd
net sam createbuiltingroup Administrators net sam addmem BUILTIN\\Administrators <you>
bin/smbd
---
unlock account: pdbedit -c='[]' <you>
lock account: pdbedit -c='[L]' <you>
clear autolock: net sam set autolock asn no
Join the development machine to the domain:
edit /etc/krb5.conf [realms]
KLATCH.DISCWORLD.SITE = { kdc = ephebe.klatch.discworld.site default_domain = KLATCH.DISCWORLD.SITE }
RAMTOPS.DISCWORLD.SITE = { kdc = lancre.ramtops.discworld.site default_domain = RAMTOPS.DISCWORLD.SITE }
[domain_realm]
.klatch.discworld.site = KLATCH.DISCWORLD.SITE klatch.discworld.site = KLATCH.DISCWORLD.SITE .ramtops.discworld.site = RAMTOPS.DISCWORLD.SITE ramtops.discworld.site = RAMTOPS.DISCWORLD.SITE
edit /etc/samba/smb.conf [global]
workgroup = KLATCH.DISCWORLD.SITE realm = KLATCH.DISCWORLD.SITE security = ADS