search for: findbin

Displaying 12 results from an estimated 12 matches for "findbin".

2010 Feb 22
3
relative file path
...is located within a script? getwd() doesn't do what I want because it depends on where R was called from. I want something like source("randomFile") and within randomFile there is a function called whereAmI() which returns c:\blah\blah2\randomFile.R In perl there is a library called FindBin and $FindBin::Bin has the directory of the file that called $FindBin::Bin. [[alternative HTML version deleted]]
2005 Jul 18
1
smbldap-tools problem
...s needed by smbldap-tools-0.9.1-1 perl(Digest::MD5) is needed by smbldap-tools-0.9.1-1 perl(Digest::SHA1) is needed by smbldap-tools-0.9.1-1 perl(Exporter) is needed by smbldap-tools-0.9.1-1 perl(File::Basename) is needed by smbldap-tools-0.9.1-1 perl(FindBin) is needed by smbldap-tools-0.9.1-1 perl(Getopt::Std) is needed by smbldap-tools-0.9.1-1 perl(MIME::Base64) is needed by smbldap-tools-0.9.1-1 perl(Net::LDAP) is needed by smbldap-tools-0.9.1-1 perl(Net::LDAP::LDIF) is needed by smbldap-tools-0.9.1-1...
2005 Nov 29
1
Create rpm for Mandriva of Samba 3.0.21rc1 ?
Hi i want create the rpm of the 3.0.21rc1 release for my Mandriva. i have used the same spec of 3.0.20b but i have a small problems : Requires: perl-base >= 2:5.8.5 perl-base perl(Crypt::SmbHash) perl(Digest::MD5) perl(Digest::SHA1) perl(Exporter) perl(FindBin) perl(Getopt::Long) perl(Getopt::Std) perl(MIME::Base64) perl(Net::LDAP) perl(Net::LDAP::LDIF) Conflicts: smbldap-tools > 0.9.1 samba-server < 3.0.11-1mdk Erreur de construction de RPM: This rpm has build options available, use --with options to see them Fichier non trouv?: /va...
2007 May 25
0
[new script] smbldap-userlist
...the script. Place the script in the same directory as you have your other smbldap-tools scripts. The script is based on smbldap-usershow. Kind regards, Tarjei -------------- next part -------------- #!/usr/bin/perl -w # Created by P.Wieleba@iem.pw.edu.pl in 2004 use strict; use Getopt::Std; use FindBin; use FindBin qw($RealBin); use lib "$RealBin/"; use smbldap_tools; use Date::Format; # function declaration sub exist_in_tab; my %Options; my $ok = getopts('dmug?', \%Options); if ( (!$ok) || ($Options{'?'}) ) { print "Usage: $0 []\n"; exit (1); } my $us...
2019 Mar 11
1
CPAN not working, or is it?
> > I started off as always by using RPM's for everything I possibly can. > > I try to do that, too. The claim in another reply that RPM CPAN > modules and cpan- or cpanm-installed modules cannot work together is > incorrect. Since I'm the only other person to reply, I presume you mean something I said, but I don't think I ever said they "cannot work
2010 Oct 12
1
switching shorewall 4.0.6 -> 4.4.13.3, opensuse -> ubuntu
...tall.sh from the extracted shorewall-4.4.13.3 subdirectory Ubuntu10.04 comes standard with perl 5.10.1 ($ perl -v --> Perl, v5.10.1) Reading the Shorewall-4.html file, told me that also Prerequisted for shorewall 4.2/4.4 are the perl modules Cwd, File::Basename, File::Temp, GetOpt::Long, Carp, FindBin, Scalar::Util Are these included in the the tar.bz2 ?? I thought not, so I did # perl -MCPAN -e shell (this first did some setup, I accepted all the defaults) cpan[1]> install Cwd this installed it over the Internet cpan[2] install File::Basename this told me it can''t install that bec...
2004 Jan 14
0
Réf. : samba 2.2.8a PDC LDAP CTRL+ALT+DEL password change, not chaning Unix password
...p-passwd.pl %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n*passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = Yes password level = 0 unix password sync = No machine password timeout = 604800 my smbldap-passwd.pl file =================== use FindBin; use FindBin qw($RealBin); use lib "$RealBin/"; use smbldap_tools; use smbldap_conf; my $user; my $oldpass; my $ret; my $arg; foreach $arg (@ARGV) { if ($< != 0) { die "Only root can specify parameters\n"; } else { if ( ($arg eq '-?') || ($arg eq '--help...
2003 Oct 12
1
Error when creating user with Samba 3.0 & LDAP
Hy, I just install OpenLDAP 2.0 and Samba 3.0. (both from RPM). I used tools from idealx (found in src from Samba 3.0) to populate the ldap tree. My ldap is empty when i start, i just added index and samba.schema in slapd.conf. I used net rpc getsid to generate my domain SID and put in the smbldap_conf.pm with others options (dc, ou, dn etc.) I didn't get any error with this tool, it create
2011 Aug 25
1
perl-Sys-Filesystem on 6.0
I'm trying to install a number of perl modules, and yum gives up with perl-Sys-Filesystem, because it has a dependency of perl(:MODULE_COMPAT_5.8.8) I've tried seeing what provides it, and yum says nothing. I also see, googling, that there was a problem thread on this list in '08 with the same dependency. Anyone have a clue, or workaround? mark
2007 May 03
0
smbldap-tools Error in perl module decode.pm
...C4 [root@steel ~]# yum deplist smbldap-tools package: smbldap-tools.noarch 0.9.2-3.fc4 dependency: perl(Getopt::Std) provider: perl.i386 3:5.8.6-15 provider: perl.i386 3:5.8.6-24 dependency: perl(lib) provider: perl.i386 3:5.8.6-15 provider: perl.i386 3:5.8.6-24 dependency: perl(FindBin) provider: perl.i386 3:5.8.6-15 provider: perl.i386 3:5.8.6-24 dependency: perl(MIME::Base64) provider: perl.i386 3:5.8.6-15 provider: perl.i386 3:5.8.6-24 dependency: perl(strict) provider: perl.i386 3:5.8.6-15 provider: perl.i386 3:5.8.6-24 dependency: /usr/bin/perl pro...
2007 Jan 15
1
Bug#406973: logtail misses lines in rotated file
Package: logtail Version: 1.2.52 Severity: normal Tags: patch Hi, When a logfile is rotated, logtail misses the lines logged between the last logtail run and the logfile rotation. The attached patch allows to set an alternate logfile that logtail tries to use as the old logfile if the inode has changed. It can be used as: logtail -f /var/log/syslog -a /var/log/syslog.1 (Please note that this
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. # Purpose of smbldap-useradd : user (posix,shadow,samba) add use strict; use FindBin; use FindBin qw($RealBin); use lib "$RealBin/"; use smbldap_tools; use smbldap_conf; ##################### use Getopt::Std; my %Options; my $ok = getopts('axnmwPG:u:g:d:s:c:k:A:B:C:D:E:F:H:N:S:?', \%Options); if ( (!$ok) || (@ARGV < 1) || ($Options{'?'}) ) { print &...