I've installed samba 4 fine but get error msg
when do a /usr/local/samba/bin/samba-tool domain provision \
Unknown parameter encountered: "idmap domains"
Ignoring unknown parameter "idmap domains"
Unknown parameter encountered: "idmap alloc backend"
Ignoring unknown parameter "idmap alloc backend"
Unknown parameter encountered: "display charset"
Ignoring unknown parameter "display charset"
Unknown parameter encountered: "stream support"
Ignoring unknown parameter "stream support"
Unknown parameter encountered: "use kerberos keytab"
Ignoring unknown parameter "use kerberos keytab"
Unknown parameter encountered: "enable disk services"
Ignoring unknown parameter "enable disk services"
Unknown parameter encountered: "enable print services"
Ignoring unknown parameter "enable print services"
sh-3.2# /usr/local/samba/bin/samba-tool domain provision
\> --realm=gof.mac.com --domain=gof \
> --adminpass='diceman07' --server-role=dc
Unknown parameter encountered: "idmap domains"
Ignoring unknown parameter "idmap domains"
Unknown parameter encountered: "idmap alloc backend"
Ignoring unknown parameter "idmap alloc backend"
Unknown parameter encountered: "display charset"
Ignoring unknown parameter "display charset"
Unknown parameter encountered: "stream support"
Ignoring unknown parameter "stream support"
Unknown parameter encountered: "use kerberos keytab"
Ignoring unknown parameter "use kerberos keytab"
Unknown parameter encountered: "enable disk services"
Ignoring unknown parameter "enable disk services"
Unknown parameter encountered: "enable print services"
Ignoring unknown parameter "enable print services"
Unknown parameter encountered: "idmap domains"
Ignoring unknown parameter "idmap domains"
Unknown parameter encountered: "idmap alloc backend"
Ignoring unknown parameter "idmap alloc backend"
Unknown parameter encountered: "display charset"
Ignoring unknown parameter "display charset"
Unknown parameter encountered: "stream support"
Ignoring unknown parameter "stream support"
Unknown parameter encountered: "use kerberos keytab"
Ignoring unknown parameter "use kerberos keytab"
Unknown parameter encountered: "enable disk services"
Ignoring unknown parameter "enable disk services"
Unknown parameter encountered: "enable print services"
Ignoring unknown parameter "enable print services"
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py:229:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
self.message = message
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py:97:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
message = e.message
ERROR(<class 'samba.provision.ProvisioningError'>): Provision
failed -
ProvisioningError: guess_names: 'server role=auto' in
/usr/local/samba/etc/smb.conf must match chosen server role 'active
directory domain controller'! Please remove the smb.conf file and let
provision generate it
File
"/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py",
line
398, in run
use_rfc2307=use_rfc2307, skip_sysvolacl=False)
File
"/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py",
line 1868, in provision
sitename=sitename, rootdn=rootdn)
File
"/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py",
line 531, in guess_names
raise ProvisioningError("guess_names: 'server role=%s' in %s
must match
chosen server role '%s'! Please remove the smb.conf file and let
provision
generate it" % (lp.get("server role"), lp.configfile,
serverrole))
Any ideas?
--
Best regards
Godfrey