search for: sambaoptions

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

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"
...> > 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]" takes_optiongr...
2019 Apr 06
0
"00002020: Operation unavailable without authentication" using python-ldap
...quot;%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_credentials(lp, fallback_machine=...
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
Hi friends:  I try provisioning my new samba 4.9.4  with AD-DC capability, after compiling and install my new samba4 and try to provisioning my samba, I get this error: # samba-tool domain provision --interactive ERROR(runtime): uncaught exception - Unable to load default file   File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run     return
2016 Jul 07
4
FSMO Transfer fail
Fail! :-( root at gteste2:~# samba-tool fsmo transfer --role=all -UAdministrador FSMO transfer of 'rid' role successful FSMO transfer of 'pdc' role successful FSMO transfer of 'naming' role successful FSMO transfer of 'infrastructure' role successful FSMO transfer of 'schema' role successful ERROR(<type 'exceptions.UnboundLocalError'>):
2019 Apr 02
2
samba 4.10.0 - problem with samba-tool domain provision
Hi, I am currently installing Samba 4.10.0 on a CentOS7 test system facing problems with the provisioning of AD. I built samba from source; configure/make/make install finished successfully. When running the "samba-tool domain provision" command I get the following error messages: [root at geo22 ~]# samba-tool domain provision --use-rfc2307 --interactive WARNING: Ignoring invalid value
2019 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...kes_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...
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
Am 12.01.23 um 12:25 schrieb Rowland Penny via samba: > > 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:
2016 Jul 07
1
FSMO Transfer fail
Hi. root at gteste2:~# root at gteste2:~# samba-tool fsmo transfer --role=all -UAdministrador --password=####### This DC already has the 'rid' FSMO role This DC already has the 'pdc' FSMO role This DC already has the 'naming' FSMO role This DC already has the 'infrastructure' FSMO role This DC already has the 'schema' FSMO role ERROR(<type
2020 Sep 29
2
No Samba NT DOMAIN Name found exitting now...
...d; > vendor preset: enabled) > Active: failed (Result: timeout) since Tue 2020-09-29 06:25:00 CDT; 2h > 17min ago > Docs: man:samba(8) > man:samba(7) > man:smb.conf(5) > Process: 407 ExecStart=/usr/sbin/samba --foreground --no-process-group > $SAMBAOPTIONS (code=exited, status=127) > Main PID: 407 (code=exited, status=127) > > Sep 29 06:23:33 dc2 systemd[1]: samba-ad-dc.service: Got notification > message from PID 445, but reception only permitted for mai > Sep 29 06:23:33 dc2 smbd[445]: daemon_ready: daemon 'smbd' finished...
2017 Jan 27
0
LDAP_INSUFFICIENT_ACCESS_RIGHTS error stops FSMO transfer
Quoting Adam Tauno Williams via samba <samba at lists.samba.org>: > 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 transfer --role=forestdns > ERROR: Failed to delete role 'forestdns': LDAP error
2014 Jul 15
1
samba-tool crashes if include = /patch/to/%U.conf in smb.conf
Hi, Samba4 (4.1.9) on Ubuntu 12.04 here (seen same behavior on 4.1.6 on Ubuntu 14.04). I've encountered an annoying bug with samba-tool, some exceptions aren't caught causing the tool to crash if it finds something it doesn't like in the smb.conf. I have a specific line in my conf : "include = /etc/samba/%U.smb.conf ", it's useful for applying specific samba
2016 Jul 12
6
Option configure
...s the samba-ad-dc.service script: [Unit] Description=Samba AD Daemon Documentation=man:samba(8) man:samba(7) man:smb.conf(5) After=network.target [Service] Type=notify NotifyAccess=all PIDFile=/run/samba.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStart=/usr/sbin/samba $SAMBAOPTIONS ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target Am 12.07.2016 um 20:53 schrieb Sonic: > On Tue, Jul 12, 2016 at 10:09 AM, Sonic <sonicsmith at gmail.com> wrote: >> Mine use Type=forking, I had some issues with Type=notify > Further testing seems to ver...
2016 Jul 12
1
Option configure
...>> After=network.target >> >> [Service] >> >> Type=notify >> >> NotifyAccess=all >> >> PIDFile=/run/samba.pid >> >> LimitNOFILE=16384 >> >> EnvironmentFile=-/etc/default/samba >> >> ExecStart=/usr/sbin/samba $SAMBAOPTIONS >> >> ExecReload=/bin/kill -HUP $MAINPID >> >> [Install] >> >> WantedBy=multi-user.target >> >> > > that is basically what init scripts do, i.e if fileserver start the > nmbd, smbd and winbindd binaries, if AD DC just start the samba > b...
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
On 12/01/2023 12:28, Thorsten Marquardt via samba wrote: > > Okay back to the start an I try again. This time role by role. Here I > don't get timeouts (why do they come up with role=all ?) and I'm not > prompted for password of DOMAIN\root You should never get prompted for the password for 'DOMAIN\root', if you do, then you doing something wrong or something has
2020 Sep 29
1
No Samba NT DOMAIN Name found exitting now...
...Tue 2020-09-29 06:25:00 CDT; > 2h > >> 17min ago > >> Docs: man:samba(8) > >> man:samba(7) > >> > > man:smb.conf(5) > >> Process: 407 ExecStart=/usr/sbin/samba --foreground > --no-process-group > >> $SAMBAOPTIONS (code=exited, status=127) > >> Main PID: 407 (code=exited, status=127) > >> > >> Sep 29 06:23:33 dc2 systemd[1]: samba-ad-dc.service: Got notification > >> message from PID 445, but reception only permitted for mai > >> Sep 29 06:23:33 dc2 smbd[445]:...