Displaying 20 results from an estimated 42 matches for "versionopt".
Did you mean:
versionopts
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"
...re investigation, can I ask 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 = {
"sam...
2019 Apr 06
0
"00002020: Operation unavailable without authentication" using python-ldap
...;--URL", help="LDB 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(),...
2017 Feb 26
2
samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)
...amba/netcmd/domain.py,
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 capa...
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
...=System,DC=teszt,DC=darabanth,DC=pro
> <>
? File "/usr/lib64/python3.6/site-packages/samba/netcmd/__init__.py",
line 186, in _run
??? return self.run(*args, **kwargs)
? File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line
1417, in run
??? credopts, versionopts)
? File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line
1239, in run
Do you have any idea what cause the problem or I use the command
incorrectly?
I have already checked the offical site ->
https://wiki.samba.org/index.php/GPO_Backup_and_Restore
My system details...
2019 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...tabase 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=sy...
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_KERB...
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__':...
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
...ions.KeyError'>): uncaught exception - 'No such element'
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 345, in run
versionopts, force)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 301, in seize_dns_role
master_owner = get_fsmo_roleowner(samdb, m.dn)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 42, in get_fsmo_roleowner
master_owner = res[0]["...
2016 Mar 28
2
Unable to join DC to domain
...uncaught exception - 'No such element'
File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
line 351, in run
versionopts, force)
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
line 301, in seize_dns_role
master_owner = get_fsmo_roleowner(samdb, m.dn)
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
line 42, in get_fsmo_roleowner
mast...
2015 Nov 23
0
Domain join failure - error during DRS repl ADD: No objectClass found in replPropertyMetaData
...9;>): uncaught exception - 'No such element'
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 345, in run
> versionopts, force)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 301, in seize_dns_role
> master_owner = get_fsmo_roleowner(samdb, m.dn)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 42, in get_fsmo_roleowner
> master_owner...
2020 Jul 08
0
Can't use samba-tool gpo restore command
...DC=pro
> > <>
> ? File "/usr/lib64/python3.6/site-packages/samba/netcmd/__init__.py",
> line 186, in _run
> ??? return self.run(*args, **kwargs)
> ? File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line
> 1417, in run
> ??? credopts, versionopts)
> ? File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line
> 1239, in run
>
> Do you have any idea what cause the problem or I use the command
> incorrectly?
I take it you are running the command as root or with sudo, if so, try
adding '-U USERNAME...
2017 Jan 30
0
classic upgrade fails with 4.6-test
...ftest' are used with configure
So, we move down the code (with '--use-ntvfs' and '--use-xattrs' unset) until we get to the def:
def run(self, smbconf=None, targetdir=None, dbdir=None, testparm=None,
quiet=False, verbose=False, use_xattrs=None, sambaopts=None, versionopts=None,
dns_backend=None, use_ntvfs=False):
Here, 'use_xattrs' is set to 'None' and 'use_ntvfs' is set to 'False'
We then come to the block of code that prints the error message:
eadb = True
if use_xattrs == "yes":...
2017 Jan 29
0
classic upgrade fails with 4.6-test
...abilities",
default="auto")
]
if samba.is_ntvfs_fileserver_built():
takes_options.extend(ntvfs_options)
def run(self, smbconf=None, targetdir=None, dbdir=None, testparm=None,
quiet=False, verbose=False, use_xattrs=None, sambaopts=None, versionopts=None,
dns_backend=None, use_ntvfs=False):
eadb = True
if use_xattrs == "yes":
eadb = False
elif use_xattrs == "auto" and use_ntvfs == False or use_ntvfs == None:
eadb = False
elif use_ntvfs == False or use_nt...
2016 Mar 28
0
Unable to join DC to domain
...39;
> File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
> return self.run(*args, **kwargs)
> File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
> line 351, in run
> versionopts, force)
> File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
> line 301, in seize_dns_role
> master_owner = get_fsmo_roleowner(samdb, m.dn)
> File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
>...