Jean-François Morcillo
2015-Apr-01 14:49 UTC
[Samba] Have options changed for "samba-tool domain provision"
Hello, With the samba 4.1 serie, I used to use the command: samba-tool domain provision --adminpass='1GoodPasswd' --domain='TEST' --workgroup='TEST' --realm='test.fr' --use-xattr=yes --use-rfc2307 --server-role='dc' Now with samba 4.2 The same command ends with: samba-tool domain provision: error: no such option: --workgroup Is that option now useless? Regards, -- Jean-Fran?ois
Rowland Penny
2015-Apr-01 15:42 UTC
[Samba] Have options changed for "samba-tool domain provision"
On 01/04/15 15:49, Jean-Fran?ois Morcillo wrote:> Hello, > > With the samba 4.1 serie, I used to use the command: > samba-tool domain provision --adminpass='1GoodPasswd' --domain='TEST' > --workgroup='TEST' --realm='test.fr' --use-xattr=yes --use-rfc2307 > --server-role='dc' > > Now with samba 4.2 > The same command ends with: > samba-tool domain provision: error: no such option: --workgroup > > Is that option now useless? > > Regards,It appears to be worse than what you think, OK *who* turned off the 'Credentials Options:' ?? If you run 'samba-tool domain provision --help' on 4.1.17 (debian backports) amongst all the options is this stanza: Credentials Options: --simple-bind-dn=DN DN to use for a simple bind --password=PASSWORD Password -U USERNAME, --username=USERNAME Username -W WORKGROUP, --workgroup=WORKGROUP Workgroup -N, --no-pass Don't ask for a password -k KERBEROS, --kerberos=KERBEROS Use Kerberos --ipaddress=IPADDRESS IP address of server If you run the same command on 4.2.0, you don't!! Rowland
Jean-François Morcillo
2015-Apr-01 15:54 UTC
[Samba] Have options changed for "samba-tool domain provision"
Le 01/04/2015 17:42, Rowland Penny a ?crit :> On 01/04/15 15:49, Jean-Fran?ois Morcillo wrote: >> Hello, >> >> With the samba 4.1 serie, I used to use the command: >> samba-tool domain provision --adminpass='1GoodPasswd' --domain='TEST' >> --workgroup='TEST' --realm='test.fr' --use-xattr=yes --use-rfc2307 >> --server-role='dc' >> >> Now with samba 4.2 >> The same command ends with: >> samba-tool domain provision: error: no such option: --workgroup >> >> Is that option now useless? >> >> Regards, > > It appears to be worse than what you think, OK *who* turned off the > 'Credentials Options:' ?? > > If you run 'samba-tool domain provision --help' on 4.1.17 (debian > backports) amongst all the options is this stanza: > > Credentials Options: > --simple-bind-dn=DN > DN to use for a simple bind > --password=PASSWORD > Password > -U USERNAME, --username=USERNAME > Username > -W WORKGROUP, --workgroup=WORKGROUP > Workgroup > -N, --no-pass Don't ask for a password > -k KERBEROS, --kerberos=KERBEROS > Use Kerberos > --ipaddress=IPADDRESS > IP address of server > > If you run the same command on 4.2.0, you don't!! > > Rowland >I have the same here. My version is built from the tag 4.2 in git repository of samba. So it makes this release useless or am I missing something? Regards, -- Jean-Fran?ois
Andrew Bartlett
2015-Apr-12 11:15 UTC
[Samba] Have options changed for "samba-tool domain provision"
On Wed, 2015-04-01 at 16:49 +0200, Jean-Fran?ois Morcillo wrote:> Hello, > > With the samba 4.1 serie, I used to use the command: > samba-tool domain provision --adminpass='1GoodPasswd' --domain='TEST' > --workgroup='TEST' --realm='test.fr' --use-xattr=yes --use-rfc2307 > --server-role='dc' > > Now with samba 4.2 > The same command ends with: > samba-tool domain provision: error: no such option: --workgroup > > Is that option now useless?It always was useless, and clearly by your mail confusing, so I removed it. The --domain option is for the netbios domain name. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
Rowland Penny
2015-Apr-12 12:10 UTC
[Samba] Have options changed for "samba-tool domain provision"
On 12/04/15 12:15, Andrew Bartlett wrote:> On Wed, 2015-04-01 at 16:49 +0200, Jean-Fran?ois Morcillo wrote: >> Hello, >> >> With the samba 4.1 serie, I used to use the command: >> samba-tool domain provision --adminpass='1GoodPasswd' --domain='TEST' >> --workgroup='TEST' --realm='test.fr' --use-xattr=yes --use-rfc2307 >> --server-role='dc' >> >> Now with samba 4.2 >> The same command ends with: >> samba-tool domain provision: error: no such option: --workgroup >> >> Is that option now useless? > It always was useless, and clearly by your mail confusing, so I removed > it. The --domain option is for the netbios domain name. > > Andrew Bartlett >OOPS :-[ You are right, it confused the hell out of me, sorry for the noise. Rowland
Seemingly Similar Threads
- "00002020: Operation unavailable without authentication" using python-ldap
- Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
- Have options changed for "samba-tool domain provision"
- Failed to bind to uuid NT_STATUS_LOGON_FAILURE
- Failed to bind to uuid NT_STATUS_LOGON_FAILURE