Displaying 20 results from an estimated 27 matches for "credopts".
Did you mean:
credits
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
2019 Apr 06
0
"00002020: Operation unavailable without authentication" using python-ldap
...takes_options = [
Option("-H", "--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 = S...
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:
2020 Jul 08
2
Can't use samba-tool gpo restore command
...olicies,CN=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 sy...
2016 Jul 07
4
FSMO Transfer fail
...9; referenced before assignment
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 452,
in run
transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76, in
transfer_dns_role
master_dns_name = '%s._msdcs.%s' % (master_guid,
root at gteste2:~#
root at gteste2:~#
Thanks,
Anderson Hoffmann
2016-07-07 16:43 GMT-03:00 Jaso...
2017 Jan 27
3
LDAP_INSUFFICIENT_ACCESS_RIGHTS error stops FSMO transfer
Attempting to move FSMO roles from one SerNET Samba 4.5.4 DC to
another, all roles transfered except the DNS related ones - those fail
with an LDAP_INSUFFICIENT_ACCESS_RIGHTS
[root at larkin28 ~]# samba-tool fsmo show
SchemaMasterRole owner: CN=NTDS
Settings,CN=LARKIN28,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=micore,DC=us
InfrastructureMasterRole owner: CN=NTDS
2023 Jan 12
1
problems with sysvol after fsmo transfer
...e 'drs_utils'
? File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
??? return self.run(*args, **kwargs)
? File "/usr/lib64/python2.7/site-packages/samba/netcmd/fsmo.py", line
520, in run
??? transfer_dns_role(self.outf, sambaopts, credopts, role, samdb)
? File "/usr/lib64/python2.7/site-packages/samba/netcmd/fsmo.py", line
129, in transfer_dns_role
??? except samba.drs_utils.drsException, e:
srv-kb-dc1:~ # samba-tool fsmo transfer --role=domaindns -k yes
This DC already has the 'domaindns' FSMO role
srv-kb-dc1:~...
2016 Jul 07
1
FSMO Transfer fail
...9; referenced before assignment
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 452,
in run
transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76, in
transfer_dns_role
master_dns_name = '%s._msdcs.%s' % (master_guid,
root at gteste2:~#
root at gteste2:~#
root at gteste2:~#
root at gteste2:~#
root at gteste2:~# samb...
2017 Jan 27
0
LDAP_INSUFFICIENT_ACCESS_RIGHTS error stops FSMO transfer
...'drs_utils'
File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
line 176, in _run
return self.run(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/fsmo.py",
line 520, in run
transfer_dns_role(self.outf, sambaopts, credopts, role, samdb)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/fsmo.py",
line 129, in transfer_dns_role
except samba.drs_utils.drsException, e:
[root at larkin28 ~]# samba-tool fsmo transfer --role=forestdns
--username=Administrator --password=***********
ERROR(<type...
2019 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...on("-H", "--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_mac...
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
>>
2023 Jan 12
1
problems with sysvol after fsmo transfer
...File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
> line 176, in _run
> ??? return self.run(*args, **kwargs)
> ? File "/usr/lib64/python2.7/site-packages/samba/netcmd/fsmo.py", line
> 520, in run
> ??? transfer_dns_role(self.outf, sambaopts, credopts, role, samdb)
> ? File "/usr/lib64/python2.7/site-packages/samba/netcmd/fsmo.py", line
> 129, in transfer_dns_role
> ??? except samba.drs_utils.drsException, e:
> srv-kb-dc1:~ # samba-tool fsmo transfer --role=domaindns -k yes
> This DC already has the 'domaindns'...
2019 Mar 25
3
FSMO transfer problems
...ibute 'drs_utils'
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
line 176, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line
520, in run
transfer_dns_role(self.outf, sambaopts, credopts, role, samdb)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line
129, in transfer_dns_role
except samba.drs_utils.drsException, e:
Looking online, I found someone fixed this by adding in "import
samba.drs_utils" in the file "fsmo.py" which I&...
2016 Jul 08
0
FSMO Transfer fail
.../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 452,
>> in run
>> transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
>> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76,
>> in transfer_dns_role
>> master_dns_name = '%s._msdcs.%s' % (master_guid,
>> root at gteste2:~#
>> root at gteste2:~#
>>
>>
&g...
2023 Jan 12
1
problems with sysvol after fsmo transfer
On 12/01/2023 10:53, Thorsten Marquardt via samba wrote:
> Thank you so far. But unfortunately I could not fix the problems. So I
> decided to start over again at a situation where all the fsmo roles
> resides on the old controller.
>
> Here is a transcript of what I did and the errors reported:
>
> The inititial position
>
> srv-kb-dc1:~ # samba-tool fsmo show
>
2015 Apr 10
0
Have options changed for "samba-tool domain provision"
...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.SambaOptions,
"versi...
2020 Jul 08
0
Can't use samba-tool gpo restore command
...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 take it you are running the command as root or with sudo, if so, try
adding '-U...
2020 Aug 11
2
Switching roles between 2 DCs
...error:
NT_STATUS_LOGON_FAILURE
? File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
177, in _run? ?? return self.run(*args, **kwargs)
? File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line
528, in run? ?? transfer_dns_role(self.outf, sambaopts, credopts, role,
samdb)
? File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line
104, in transfer_dns_role? ?? credentials=creds, lp=lp)
? File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 64, in
__init__??? options=options)
? File "/usr/lib/python2.7/dist-pack...
2016 Jul 07
0
FSMO Transfer fail
...t
> 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 452,
> in run
> transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76,
> in transfer_dns_role
> master_dns_name = '%s._msdcs.%s' % (master_guid,
> root at gteste2:~#
> root at gteste2:~#
>
>
> Thanks,
> Anderson H...
2019 Mar 25
0
FSMO transfer problems
... File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
> line 176, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line
> 520, in run
> transfer_dns_role(self.outf, sambaopts, credopts, role, samdb)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line
> 129, in transfer_dns_role
> except samba.drs_utils.drsException, e:
>
> Looking online, I found someone fixed this by adding in "import
> samba.drs_utils" in the fil...