Confused [Was: Upgrade from S3 to a Samba4 DC [with LDAPSAM]]
geza at kzsdabas.hu
Wed Nov 2 10:22:28 MDT 2011
2011-11-02 16:57 keltezéssel, Adam Tauno Williams írta:
> Quoting Andrew Bartlett <abartlet at samba.org>:
>> It should not be a hard job - systems without a 'server role' set with
>> simply use 'auto' which will work it out using the existing samba3
>> 'domain logons/domain master' combinations. Amitay or I will try to get
>> to it soon.
> Argh. And I suppose there is no way to promote the Samba instance; or
> some way to force the samba upgrade script to create a DC?
> My imported smb.conf had -
> domain master = yes
> domain logons = yes
> I suppose this is revealed in that testparm says "Server role:
> barbel:~ # testparm
> Load smb config files from /opt/s4/etc/smb.conf
> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
> Unknown parameter encountered: "server role"
> Ignoring unknown parameter "server role"
> Processing section "[netlogon]"
> Processing section "[sysvol]"
> Processing section "[tmp]"
> Loaded services file OK.
> Server role: ROLE_STANDALONE
I would recommend to use samba-tool testparm (from samba4) instead of
testparm (from samba3) because the later can't understand some samba4
More information about the samba-technical