Bug 5143 - Provision option parsing failure
Summary: Provision option parsing failure
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Andrew Bartlett
Depends on:
Reported: 2007-12-14 08:59 UTC by Jason Tarbet
Modified: 2008-01-07 01:39 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jason Tarbet 2007-12-14 08:59:17 UTC
when trying to 're'provision with the output from the provision script, it will fail to parse all of the command line options.  see output below:

./provision --realm='domain.tld' --domain='domain' --domain-guid='3f846797-a2b7-43ad-8344-3d2975861733' --policy-guid='dde5e50a-6638-42b3-8b9c-cc40730aba64' --host-name='singularity' --host-ip='' --host-guid='713e8c3a-14cd-4946-81b8-72b295eece7f' --invocationid='070a7ad5-d118-47c1-99c7-1c52cd775bc3' --adminpass='adminpass' --krbtgtpass='password' --machinepass='password' --dnspass='ClHCutFJ3dv2' --root='root' --nobody='nobody' --nogroup-'nobody' --wheel='wheel' --users='users' --server-role='domain controller' --ldap-backend='' --ldap-mdoule='' --aci='# no aci for local ldb'
Failed to parse options
[root@singularity setup]# ./provision --realm='domain.tld' --domain='domain' --domain-guid='3f846797-a2b7-43ad-8344-3d2975861733' --policy-guid='dde5e50a-6638-42b3-8b9c-cc40730aba64' --host-name='singularity' --host-ip='' --host-guid='713e8c3a-14cd-4946-81b8-72b295eece7f' --invocationid='070a7ad5-d118-47c1-99c7-1c52cd775bc3' --adminpass='adminpass' --server-role='domain controller'                                                                                            set DOMAIN SID: S-1-5-21-769461099-2534321374-2491501680
Provisioning for Domain in realm domain.tld
Using administrator password: adminpass
Setting up secrets.ldb
Setting up the registry
Setting up templates into /usr/local/samba/private/templates.ldb
Setting up sam.ldb partitions
Setting up sam.ldb attributes
Setting up sam.ldb rootDSE
Erasing data from partitions
Pre-loading the Samba4 and AD schema
Adding DomainDN: DC=domain,DC=tld (permitted to fail)
Modifying DomainDN: DC=domain,DC=tld
Adding configuration container (permitted to fail)
Modifying configuration container
Adding schema container (permitted to fail)
Modifying schema container
Setting up sam.ldb Samba4 schema
Setting up sam.ldb AD schema
Setting up sam.ldb configuration data
Setting up display specifiers
Adding users container (permitted to fail)
Modifying users container
Adding computers container (permitted to fail)
Modifying computers container
Setting up sam.ldb data
Setting up sam.ldb users and groups
Setting up self join
Setting up sam.ldb index
Setting up sam.ldb rootDSE marking as syncronized
Setting up phpLDAPadmin configuration
Please install the phpLDAPadmin configuration located at /usr/local/samba/private/phpldapadmin-config.php into /etc/phpldapadmin/config.php
WARNING: probable memory leak in ldb /usr/local/samba/private/sam.ldb - 37331 blocks (startup 642) 823376 bytes
Setting up DNS zone: domain.tld
Please install the zone located in /usr/local/samba/private/domain.tld.zone into your DNS server.  A sample BIND configuration snippit is at /usr/local/samba/private/named.conf
To reproduce this provision, run with:
--realm='domain.tld' --domain='domain' \
--domain-guid='3f846797-a2b7-43ad-8344-3d2975861733' \
--host-guid='713e8c3a-14cd-4946-81b8-72b295eece7f' \
--policy-guid='dde5e50a-6638-42b3-8b9c-cc40730aba64' --host-name='singularity' --host-ip='' \
--invocationid='070a7ad5-d118-47c1-99c7-1c52cd775bc3' \
--adminpass='adminpass' --krbtgtpass='jAzvuXB8eTp9' \
--machinepass='Klytpw.NbHv7' --dnspass='uUClj,-qS65M' \
--root='root' --nobody='nobody' --nogroup-'nobody' \
--wheel='wheel' --users='users' --server-role='domain controller' \
--aci='# no aci for local ldb' \
Comment 1 Andrew Bartlett 2008-01-06 23:51:07 UTC
Fixed in -r 26686.

Comment 2 Matthias Dieter Wallnöfer 2008-01-07 01:31:15 UTC
You should close this one!
Comment 3 Andrew Bartlett 2008-01-07 01:39:18 UTC