9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I try to connect to Oracle through cygwin, but it fails.
The Oracle version 11.2 is installed on a Windows 2003 server.
Cygwin and Perl is installed on the same server.
cygwin>uname -a
CYGWIN_NT-5.2 N0871 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
cygwin>perl -v
This is perl, v5.10.1... (3 Replies)
Discussion started by: MSiipola
3 Replies
2. Shell Programming and Scripting
Hi all,
Using sh/csh, unfortunately shell scripts are not my strong suit.
Trying to write a script that gets called from a program for pre-processing.
The program passes individual components of a UNC (//server/path1/path2/filename).
Thus the unc path of: //server/path1/path2/filename, is... (7 Replies)
Discussion started by: Festus Hagen
7 Replies
3. Shell Programming and Scripting
Hello,
I searched the forums and didn't see a situation like this:
I cannot figure out how to parse out just the file name from the full path. The path looks like this:
\\foo\bar\filename.ext
I don't think something like 'cut' will work so I tried to whip up a regex but couldn't get it... (12 Replies)
Discussion started by: bytesnoop
12 Replies
4. Shell Programming and Scripting
I am having the following problem. I am having a lot of files (test_1_01.hea, test_1_02.hea, etc) with the content:
project_directory /net/1/d_1/5/
tmp_directory /net/1/d_1/5/
material_directory /net/1/d_1/5/
And I have to substitute the filepaths with new counted ones where the... (3 Replies)
Discussion started by: ergy1983
3 Replies
5. Shell Programming and Scripting
hai everybody - wish you a happy and prosperous new year
I want to connect to NCBI database and I need to track the updates made on database automatically.
Can I do this in PERL, if yes means , please guide me ...............
Thank You (1 Reply)
Discussion started by: pnehru156
1 Replies
6. Shell Programming and Scripting
Hi Friends,
I am having Perl 5 and Oracle 9i. I just wanna to connect Oracle DB & to perform some select query statement.
Could anyone pls let me know.
I've tried below command which i found in some website, But it throws some error.:confused:
Executed:
perl -e 'use DBI; print... (1 Reply)
Discussion started by: Vijayakumarpc
1 Replies
7. Linux
sir
plz let me know
how can i connect to my company domain my linux machine.
and get mail as i get in outlook,
n others can c me in network. (1 Reply)
Discussion started by: gauravsharma29
1 Replies
8. UNIX for Advanced & Expert Users
I have a samba server and a raid SAN which is actually running samba. Neither one lets me access anything on the samba unix side. I really do not know where to look anymore. there are no errors. When I try to connect to the samba server I get prompted with login and password repeatedly.
Frank (4 Replies)
Discussion started by: frankkahle
4 Replies
9. Shell Programming and Scripting
Hello
im trying to find way to connect to soulseek with perl to try and
work with soulseek in none graphic mode , can perl do that ?
thanks (0 Replies)
Discussion started by: umen
0 Replies
Authen::Simple::SMB(3pm) User Contributed Perl Documentation Authen::Simple::SMB(3pm)
NAME
Authen::Simple::SMB - Simple SMB authentication
SYNOPSIS
use Authen::Simple::SMB;
my $smb = Authen::Simple::SMB->new(
domain => 'DOMAIN',
pdc => 'PDC'
);
if ( $smb->authenticate( $username, $password ) ) {
# successfull authentication
}
# or as a mod_perl Authen handler
PerlModule Authen::Simple::Apache
PerlModule Authen::Simple::SMB
PerlSetVar AuthenSimpleSMB_domain "DOMAIN"
PerlSetVar AuthenSimpleSMB_pdc "PDC"
<Location /protected>
PerlAuthenHandler Authen::Simple::SMB
AuthType Basic
AuthName "Protected Area"
Require valid-user
</Location>
DESCRIPTION
Authenticate against an SMB server.
METHODS
* new
This method takes a hash of parameters. The following options are valid:
* domain
Domain to authenticate against. Required.
domain => 'NTDOMAIN'
* pdc Primary Domain Controller. Required.
pdc => 'PDC'
* bdc Backup Domain Controller.
bdc => 'BDC'
* log Any object that supports "debug", "info", "error" and "warn".
log => Log::Log4perl->get_logger('Authen::Simple::SMB')
* authenticate( $username, $password )
Returns true on success and false on failure.
SEE ALSO
Authen::Simple.
Authen::Smb.
AUTHOR
Christian Hansen "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2008-02-29 Authen::Simple::SMB(3pm)