Confused [Was: Upgrade from S3 to a Samba4 DC [with LDAPSAM]]
Adam Tauno Williams
awilliam at whitemice.org
Thu Nov 3 13:03:31 MDT 2011
On Wed, 2011-11-02 at 17:22 +0100, Gémes Géza wrote:
> 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:
> > ROLE_STANDALONE"
> > 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
> only attributes.
Ok, but "samba-tool testparam" doesn't say anything unless it finds a
problem.
barbel:~ # samba-tool testparm
Press enter to see a dump of your service definitions
# Global parameters
[global]
server role = domain controller
workgroup = BACKBONE
realm = MICORE.US
netbios name = BARBEL
passdb backend = samba4
posix:eadb = /opt/s4/private/eadb.tdb
[netlogon]
path = /opt/s4/var/locks/sysvol/micore.us/scripts
read only = No
[sysvol]
path = /opt/s4/var/locks/sysvol
read only = No
[tmp]
path = /tmp
read only = No
It isn't nearly as informative as old-school testparm.
More information about the samba-technical
mailing list