Displaying 20 results from an estimated 42 matches for "versionoptions".
2015 Apr 01
2
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
>>
2019 Apr 06
2
"00002020: Operation unavailable without authentication" using python-ldap
Hello,
I'm writing in regards to this issue I opened on GitHub:
https://github.com/python-ldap/python-ldap/issues/275
I am able to successfully use ldapsearch to query my Samba 4.9.4-Debian DC:
ldapsearch -LLL -Y GSSAPI -H ldap://samba-dc.ad.example.com -b
"dc=ad,dc=example,dc=com" "(objectClass=user)" "sAMAccountName"
However, when I try to use python-ldap I
2015 Apr 10
0
Have options changed for "samba-tool domain provision"
...the person that changed this:
class cmd_domain_provision(Command):
"""Provision a domain."""
synopsis = "%prog [options]"
takes_optiongroups = {
"sambaopts": options.SambaOptions,
"versionopts": options.VersionOptions,
"credopts": options.CredentialsOptions,
}
To this:
class cmd_domain_provision(Command):
"""Provision a domain."""
synopsis = "%prog [options]"
takes_optiongroups = {
"sambaopts": options.SambaOpti...
2019 Apr 06
0
"00002020: Operation unavailable without authentication" using python-ldap
...B URL for database or target server", type=str,
metavar="URL", dest="H"),
]
takes_optiongroups = {
"sambaopts": options.SambaOptions,
"credopts": options.CredentialsOptions,
"versionopts": options.VersionOptions,
}
def run(self, sambaopts=None, credopts=None, versionopts=None, H=None):
lp = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp, fallback_machine=True)
samdb = SamDB(url=H, session_info=system_session(),
credentials=creds, lp=lp)...
2017 Feb 26
2
samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)
...line 1566, in run (self=<cmd_domain_classicupgrade(raw_args=['/etc/samba/smb.bentley.conf'],
raw_kwargs={'verbose': True, 'quiet': None, 'use_xattrs': 'yes', 'targetdir': None, 'dns_backend':
'BIND9_DLZ', 'versionopts': <VersionOptions(_long_opt={'--use-xattrs':
<Option(_long_opts=['--use-xattrs'], help='Define if we should use the native fs capabilities or a
tdb file for storing attributes likes ntacl, auto tries to make an inteligent guess based on the
user rights and system capabilities', callback_ar...
2010 May 26
1
Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
Hi all,
As per Jelmer's request - in response to bug #7455 attached diff file.
Please let me know what you think and if any modificationes need to be
performed
Regards
Luk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newusergroupadv.diff
URL:
2017 Feb 16
2
samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)
On Fri, 2017-02-17 at 07:48 +1100, Tom Robinson via samba wrote:
> Anyone?
Can you please post a gdb backtrace --full?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: This is a digitally signed message part
URL:
2020 Jul 08
2
Can't use samba-tool gpo restore command
Hi,
After I successfully dumped the GPO policies on my working domain
controller I would like to reuse it on a different domain server, but
when I use the following command:
samba-tool gpo restore B59E0B93-8226-40CA-A5C8-58A7AA1D139E
/var/tmp/samba_gpo/policy/\{B59E0B93-8226-40CA-A5C8-58A7AA1D139E\}
I got this error message:
Using temporary directory /tmp/tmpo7huf4c0 (use --tmpdir to
2019 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...r", type=str,
> metavar="URL", dest="H"),
> ]
>
> takes_optiongroups = {
> "sambaopts": options.SambaOptions,
> "credopts": options.CredentialsOptions,
> "versionopts": options.VersionOptions,
> }
>
> def run(self, sambaopts=None, credopts=None, versionopts=None, H=None):
> lp = sambaopts.get_loadparm()
> creds = credopts.get_credentials(lp, fallback_machine=True)
>
> samdb = SamDB(url=H, session_info=system_session(),
>...
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
...get_ldbs,
> update_machine_account_password)
>
> parser = optparse.OptionParser("chgtdcpass [options]")
> sambaopts = options.SambaOptions(parser)
> parser.add_option_group(sambaopts)
> parser.add_option_group(options.VersionOptions(parser))
> credopts = options.CredentialsOptions(parser)
> parser.add_option_group(credopts)
>
> opts = parser.parse_args()[0]
>
> lp = sambaopts.get_loadparm()
> smbconf = lp.configfile
> creds = credopts.get_credentials(lp)
> creds.set_kerberos_state(DONT_USE_KERBEROS...
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
...> > update_machine_account_password)
> >
> > parser = optparse.OptionParser("chgtdcpass [options]")
> > sambaopts = options.SambaOptions(parser)
> > parser.add_option_group(sambaopts)
> > parser.add_option_group(options.VersionOptions(parser))
> > credopts = options.CredentialsOptions(parser)
> > parser.add_option_group(credopts)
> >
> > opts = parser.parse_args()[0]
> >
> > lp = sambaopts.get_loadparm()
> > smbconf = lp.configfile
> > creds = credopts.get_credentials(lp)
> >...
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
...ort (get_paths,
get_ldbs,
update_machine_account_password)
parser = optparse.OptionParser("chgtdcpass [options]")
sambaopts = options.SambaOptions(parser)
parser.add_option_group(sambaopts)
parser.add_option_group(options.VersionOptions(parser))
credopts = options.CredentialsOptions(parser)
parser.add_option_group(credopts)
opts = parser.parse_args()[0]
lp = sambaopts.get_loadparm()
smbconf = lp.configfile
creds = credopts.get_credentials(lp)
creds.set_kerberos_state(DONT_USE_KERBEROS)
if __name__ == '__main__':
pa...
2012 Sep 24
4
samba4: samba-tool and (unix) uids
Hello,
at my universities CS computer pools we're trying to migrate our
samba3 based NT domain to AD with samba4-rc1.
In the past we had a little script which our users could run on their
own from their linux account which created a samba user with
their own uid/gid and set their password (via smbpasswd).
We're trying to recreate this behaviour with "samba-tool user create"
2015 Nov 22
2
Domain join failure - error during DRS repl ADD: No objectClass found in replPropertyMetaData
On 2015.11.22, at 2:27 PM, Rowland Penny <rowlandpenny241155 at gmail.com> wrote:
> On 22/11/15 19:49, Matthew Delfino wrote:
>> On 2015.11.19, at 9:59 AM, Matthew Delfino <mdelfino.list.samba at KNOCKinc.com> wrote:
>>
>>> On 2015.11.19, at 4:26 AM, mathias dufresne <infractory at gmail.com> wrote:
>>>
>>>> If you plan to keep
2016 Mar 28
2
Unable to join DC to domain
Alright... appreciate the info. Gave it a shot. Domain is still up but
shares are down because they were hosted on FILER which has now been
demoted and is no longer running any samba services.
What I did while following the wiki "Transfer/Seize FSMO Roles":
1) logged on to FILER, ran samba-tool fsmo show, verified all 7 roles were
owned by FILER.
2) logged on to CBADC01, executed
2015 Nov 23
0
Domain join failure - error during DRS repl ADD: No objectClass found in replPropertyMetaData
On 2015.11.22, at 4:43 PM, Matthew Delfino <mdelfino.list.samba at KNOCKinc.com> wrote:
>
> On 2015.11.22, at 2:27 PM, Rowland Penny <rowlandpenny241155 at gmail.com> wrote:
>
>> On 22/11/15 19:49, Matthew Delfino wrote:
>>>
>>> I have 3 domain controllers, running Samba 4.1.6 on Ubuntu 14.04.3 LTS in a VMware virtual machine (part of the package
2020 Jul 08
0
Can't use samba-tool gpo restore command
On 08/07/2020 14:26, Csorba R?bert via samba wrote:
> Hi,
>
> After I successfully dumped the GPO policies on my working domain
> controller I would like to reuse it on a different domain server, but
> when I use the following command:
>
> samba-tool gpo restore B59E0B93-8226-40CA-A5C8-58A7AA1D139E
> /var/tmp/samba_gpo/policy/\{B59E0B93-8226-40CA-A5C8-58A7AA1D139E\}
>
2017 Jan 30
0
classic upgrade fails with 4.6-test
On Mon, 30 Jan 2017 21:59:06 +1300
Andrew Bartlett <abartlet at samba.org> wrote:
> On Mon, 2017-01-30 at 08:42 +0000, Rowland Penny wrote:
> > On Mon, 30 Jan 2017 15:44:15 +1300
> > Andrew Bartlett <abartlet at samba.org> wrote:
> >
> > > On Sun, 2017-01-29 at 22:43 +0000, Rowland Penny via samba wrote:
> > > > On Sun, 29 Jan 2017 17:07:39
2017 Jan 29
0
classic upgrade fails with 4.6-test
On Sun, 29 Jan 2017 17:07:39 -0500
Sonic <sonicsmith at gmail.com> wrote:
> On Sun, Jan 29, 2017 at 4:54 PM, Rowland Penny <rpenny at samba.org>
> wrote:
>
> > When you built Samba, did you use the '--with-ntvfs-fileserver' or
> > '--enable-selftest' options with configure ?
> >
>
> I used '--without-ntvfs-fileserver'.
OK,
2016 Mar 28
0
Unable to join DC to domain
On 28/03/16 09:09, IT Admin wrote:
> Alright... appreciate the info. Gave it a shot. Domain is still up
> but shares are down because they were hosted on FILER which has now
> been demoted and is no longer running any samba services.
>
> What I did while following the wiki "Transfer/Seize FSMO Roles":
>
> 1) logged on to FILER, ran samba-tool fsmo show, verified