search for: sambaopts

Displaying 20 results from an estimated 69 matches for "sambaopts".

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"
...hing? > > Regards, > > Hi, after a bit more 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...
2019 Apr 06
0
"00002020: Operation unavailable without authentication" using python-ldap
...;" synopsis = "%prog [options]" 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_crede...
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:
2019 Feb 25
3
samba-tool provision error
...ime): uncaught exception - Unable to load default file   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/domain.py", line 319, in run     lp = sambaopts.get_loadparm()   File "/usr/lib64/python2.7/site-packages/samba/getopt.py", line 92, in get_loadparm     self._lp.load_default() My system is : openSuSE Leap 15 What can I do? T.I.A. -- Ing. Jesús Reyes Piedra Admin Red Neurodesarrollo,Cárdenas La caja decía:"Requiere wind...
2016 Jul 07
4
FSMO Transfer fail
...ter_guid' 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-...
2019 Apr 02
2
samba 4.10.0 - problem with samba-tool domain provision
...eption - Unable to load default file File "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/__init__.py", line 184, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/domain.py", line 371, in run lp = sambaopts.get_loadparm() File "/usr/local/samba/lib64/python3.6/site-packages/samba/getopt.py", line 91, in get_loadparm self._lp.load_default() [root at geo22 ~]# I would be thankful for any suggestion on what might be wrong in my setup. Best regards, Andreas Habel -- Andreas Habel Petro...
2019 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...s]" > > 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() >...
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
...no attribute '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...
2016 Jul 07
1
FSMO Transfer fail
...ter_guid' 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 gtest...
2020 Sep 29
2
No Samba NT DOMAIN Name found exitting now...
In addition, both DC's are not "running" root at tdc2:~# systemctl status samba-ad-dc.service > ? samba-ad-dc.service - Samba AD Daemon > Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; > vendor preset: enabled) > Active: failed (Result: timeout) since Tue 2020-09-29 06:25:00 CDT; 2h > 17min ago > Docs: man:samba(8) >
2017 Jan 27
0
LDAP_INSUFFICIENT_ACCESS_RIGHTS error stops FSMO transfer
...attribute '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=*********** ERRO...
2014 Jul 15
1
samba-tool crashes if include = /patch/to/%U.conf in smb.conf
...returned No ERROR(runtime): uncaught exception - Unable to load default file 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/user.py", line 261, in run lp = sambaopts.get_loadparm() File "/usr/lib/python2.7/dist-packages/samba/getopt.py", line 92, in get_loadparm self._lp.load_default() In fact it crashes for any include with any variable substitution (%U, %g, %a?). Any ideas ? Thanks, Quentin Gibeaux
2016 Jul 12
6
Option configure
Just backported 4.4.5 from debian sid to jessie. samba.service is masked there. If running as an fileserver the services are started via smbd.service,nmbd.service, winbind.service. There is an samba-ad-dc script which is masked by default. To get the ad-dc up and running with systemd one has to unmask samba-ad-dc.service and mask smbd.service,nmbd.service, winbind.service. This is the
2016 Jul 12
1
Option configure
Am 12.07.2016 um 21:35 schrieb Rowland penny: > On 12/07/16 20:25, Achim Gottinger wrote: >> Just backported 4.4.5 from debian sid to jessie. samba.service is >> masked there. If running as an fileserver the services are started >> via smbd.service,nmbd.service, winbind.service. >> There is an samba-ad-dc script which is masked by default. >> To get the ad-dc up
2019 Apr 26
2
Managing samba ad dc with systemd
Rowland, I was thinking if I did anything wrong, but your clarification cleared my mind. I appreciate your help. I'm waiting if other person had a same issue and solved it. Thanks a lot for your help, Igor Sousa On Fri, Apr 26, 2019, 13:26 Rowland Penny via samba <samba at lists.samba.org> wrote: > On Fri, 26 Apr 2019 13:02:07 -0300 > Igor Sousa <igorvolt at gmail.com>
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 'dom...
2020 Sep 29
1
No Samba NT DOMAIN Name found exitting now...
Rowland, If I stop one of the DC's the other will run fine. The non-running DC when "samba -i" complains that it cannot communicate with the other DC. Running "systemctl start samba=ad=dc.service" has the same cannot connect to other DC. If I stop the running DC with "systemctl stop samba-ad-dc.service" and start the second DC with "systemctl start