search for: targetdir

Displaying 20 results from an estimated 144 matches for "targetdir".

2004 Sep 21
1
[Bug 934] Traverse-only directories (e.g. chmod 110) break the cd command in sftp
...Status: NEW Severity: minor Priority: P2 Component: sftp-server AssignedTo: openssh-bugs at mindrot.org ReportedBy: mgjk at idirect.com This appears on OpenSSH under AIX, but I think it may also impact Linux: /home/kallies/topdir/subdir> chmod 770 targetdir /home/kallies/topdir/subdir> cd .. /home/kallies/topdir> chmod 110 subdir /home/kallies/topdir> cd .. /home/kallies> chmod 110 topdir /home/kallies> ls topdir ls: topdir: The file access permissions do not allow the specified action. /home/kallies> ls topdir/subdir ls: topdir/subd...
2018 Nov 13
5
Online Backup fails
Hi, when i try to create a online backup via samba 4.9.2 at gentoo (in my test envoirment) i get the following errors: samba-tool domain backup online --server=localhost --targetdir=/mnt/backupsamba/ -U Administrator Password for [DOMAIN\Administrator]: workgroup is DOMAIN realm is domain.de Calling bare provision Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned Setting up share.ldb Setting up secrets.ldb Setting up the registry Setting up t...
2002 Aug 10
2
ps2pdf "Print command" script trouble
...--------------------------------------------- #!/usr/local/bin/perl -w # # ps2pdf.pl Description: # A perl script that converts postscript files to pdf files # It creates the pdf file in the directory specified. # It needs the following arguments: # ARG1 $filename %s # ARG2 $targetdir %H #======================================================== use strict; if ($#ARGV == 1) { my ($filename,$targetdir) = @ARGV; my $psin = "/usr/spool/public/" . $filename; my $pdfout = $targetdir . "/" . $filename . ".pdf";...
2006 May 13
0
trouble with Dir.chdir
...e line start from "Dir.chdir", the trouble doesn''t happen. Is there anything wrong with my usage of "Dir.chdir"? def ftp_photo $basedir = "/home/yosuke/public_html/myalbum/albums/" $tempdir = "/home/yosuke/public_html/testing/tempPhoto/" targetdir = params[:targetdir] @targetdir = params[:targetdir] fhostname = ''hogefpt.co.jp'' fusername = ''hoge'' fuserpass = ''hogehoge'' fbasedir = ''/hogehoge/'' targetdirpath = $tempdir + targetdir Dir.chdir targetdirp...
2017 Jul 10
2
using samba with bind dlz
...osync, ldap_dryrun_mode=ldap_dryrun_mode) File "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line 2175, in provision skip_sysvolacl=skip_sysvolacl) File "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1836, in provision_fill targetdir=targetdir, fill_level=samdb_fill) File "/usr/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 1162, in setup_ad_dns hostip6=hostip6, targetdir=targetdir) File "/usr/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 1222, in setup_bind9_dns...
2018 Nov 13
6
Online Backup fails
> when i dont use localhost its not working: > > > phoenix /mnt/backupsamba # samba-tool domain backup online > --server=$(hostname -s) --targetdir=/mnt/backupsamba/ -U Administrator > Failed to connect to ldap URL 'ldap://phoenix' - LDAP client internal > error: NT_STATUS_CONNECTION_REFUSED > Failed to connect to 'ldap://phoenix' with backend 'ldap': > LDAP client > internal error: NT_STATUS_CONNECTIO...
2019 Jun 18
2
domain online backup
...if you know that, then you might find what is missing or if you found a bug ;-) > (i think last) > > Running this on samba 4.10.4 on my DC. ( knit Administrator first ), I noticed this. > > Im running: ( from DC1, backuping DC2 ) > samba-tool domain backup online --server=dc2 --targetdir=/tmp -k yes > .. yes /tmp, i know its just a test.. > > Which runs fine, then just at the end of the backup.. > Its asking again for a password?? > Password for [Administrator at REALM.FQDN]: > After typing the pass, the backup was correctly made. > > Tested backup from DC...
2010 Jan 26
1
samba4 HEAD: unable to provision
...Administrator password will be set randomly! Traceback (most recent call last): File "./setup/provision", line 244, in <module> nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb) File "bin/python/samba/provision.py", line 1182, in provision targetdir, sid_generator,useeadb) File "bin/python/samba/provision.py", line 471, in make_smbconf posixeadb_line = "posix:eadb = " + os.path.abspath(os.path.join(os.path.join(targetdir, "private"),"eadb.tdb")) File "/usr/lib/python2.5/posixpath.py", l...
2019 Mar 25
3
Kerberos fails in some cases
Hi folks, I can use kerberos to create or delete user, eg: samba-tool user create test -k yes however, if I want to perform a backup it fails: samba-tool domain backup online --targetdir=/srv/backup --server=192.168.50.40 -k yes gensec_spnego_create_negTokenInit_step: Failed to setup SPNEGO negTokenInit request Failed to bind - LDAP client internal error: NT_STATUS_INVALID_PARAMETER Failed to connect to 'ldap://192.168.50.40' with backend 'ldap': LDAP client interna...
2019 Aug 29
4
Schedule samba backup
Hi, I was using samba backup offline, but seems that now is not working, a bug is reported. As a workaround I want to use online backup: sudo samba-tool domain backup online --targetdir=<output-dir> --server=<DC-server> -UAdministrator Asking password in interative mode works, but I need to automate to execute from crontab without asking pwd, how can I do this with security? Thanks
2019 Sep 11
5
How to make an unattended backup
Hi, I use AptVanBelle repo for samba, is there a way to backup in unattended way (I mean via cron) the DC? If I use samba-tool domain backup online --targetdir=/srv/backup --server= samba4.example.com -k yes -d1 It works, by it ask for password Administrator. What is the best practice to do it? Thanks in advance! -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
2018 Nov 13
1
Online Backup fails
Hi, its all local at my linux machine what i did: mkdir -p /mnt/backupsamba/ samba-tool domain backup online --server=localhost --targetdir=/mnt/backupsamba/ -U Administrator and then got the message i use bind9 as dns backend, not the internal File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup.py", line 228, in run dns_backend='SAMBA_INTERNAL', targetdir=tmpdir) Am 13.11.18 um 10:52...
2018 Nov 13
0
Online Backup fails
Hi, no kinit cause it ask me for a password promt where i enter the password samba-tool domain backup online --server=localhost --targetdir=/mnt/backupsamba/ -U Administrator Password for [AIXTEMA\Administrator]: > What is in /etc/resolv.conf > Im expecting something like this. > search aixtema.de > Nameserver IP_OF_DC search hostname.domain.de domain hostname.domain.de nameserver 127.0.0.1 nameserver IP_OF_DC i dont h...
2018 Nov 15
1
samba-tool backup online Not enough virtual memory or paging file quota is available to complete the specified operation.
Hi i installed samba 4.9.1 from source on centos 7. I need to setup backup script . I cannot use samba-tool: Command: samba-tool domain backup offline --targetdir=/backupdir Gives me : Usage: samba-tool domain backup <subcommand> samba-tool domain backup: error: no such option: --targetdir Command: Samba-tool domain backup -h Gives me: Usage: samba-tool domain backup <subcommand> Create or restore a backup of t...
2018 Nov 13
0
Online Backup fails
...erzonden: dinsdag 13 november 2018 12:15 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Online Backup fails > > Hi, > > no kinit cause it ask me for a password promt where i enter > the password > > samba-tool domain backup online --server=localhost > --targetdir=/mnt/backupsamba/ -U Administrator > Password for [AIXTEMA\Administrator]: > > > > > What is in /etc/resolv.conf > > Im expecting something like this. > > search aixtema.de > > Nameserver IP_OF_DC > > search hostname.domain.de > domain hostname.domai...
2019 Jun 18
9
domain online backup
Hi, A question on the (for us: new) online backup functionality. I created a backup of our domain successfully with: samba-tool domain backup online --server=dc3 --targetdir=/backup -Umyusername at samba.domain.com Next, to be able to schedule an automatic daily backup job, I created a specific user (member of Domain Admins) to run the backup. But then the backup fails: > Partition[DC=DomainDnsZones,DC=samba,DC=company,DC=com] objects[196/196] linked_values[0/0...
2019 Jun 18
0
domain online backup
...essages. On which object, if you know that, then you might find what is missing or if you found a bug ;-) (i think last) Running this on samba 4.10.4 on my DC. ( knit Administrator first ), I noticed this. Im running: ( from DC1, backuping DC2 ) samba-tool domain backup online --server=dc2 --targetdir=/tmp -k yes .. yes /tmp, i know its just a test.. Which runs fine, then just at the end of the backup.. Its asking again for a password?? Password for [Administrator at REALM.FQDN]: After typing the pass, the backup was correctly made. Tested backup from DC1, backuping DC1. samba-tool domain...
2024 Jun 27
3
Online AD Backup fails with "no auth" in 4.20?
Hallo lovely samba-people, did something change in regards to the online AD Backup in 4.20? We're using this CLI command to create a backup of our domain: ??? /usr/bin/samba-tool domain backup online --targetdir="/my/path" --server="rad-2.ad.ellerhold.lan" --use-krb5-ccache="/opt/samba-ad-backup/ad-backup.krb5cc" -N This ran successfully on a member server without a problem. klist shows a valid ticket: # klist -c /opt/samba-ad-backup/ad-backup.krb5cc Ticket cache: FILE:/o...
2005 Mar 10
1
install R redhat rpm as a normal user
Hi, I wonder if anyone has done this before. I have rpm-build installed in my workstation. Thanks. Eric
2012 Feb 15
1
samba4 provision error
...up/provision", line 262, in <module> useeadb=eadb, next_rid=opts.next_rid, lp=lp) File "bin/python/samba/provision/__init__.py", line 1757, in provision am_rodc=am_rodc, lp=lp) File "bin/python/samba/provision/__init__.py", line 1491, in provision_fill targetdir=targetdir, site=DEFAULTSITE) File "bin/python/samba/provision/sambadns.py", line 990, in setup_ad_dns create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid) File "bin/python/samba/provision/sambadns.py", line 751, in create_samdb_copy os.path.join(dns_...