09-17-2002
Being that he's using backslashes, I'm going to have to guess that he's talking about a windows system...
Simon, is this related to Unix in any way? I don't understand your situation... It may be dependent on the SMB/CIFS vendor you're using.
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
I have a small problem, there is one Win98 PC on our network, and I would like to map the FTP server that we have as one of the Win98's machine's local drives. I am by no means a Windows expert, instead my area is *NIX. The webserver is just a regualar webserver, within the LAN. I tried... (18 Replies)
Discussion started by: cerberusofhate
18 Replies
2. Shell Programming and Scripting
I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem.
I need... (1 Reply)
Discussion started by: Glider
1 Replies
3. Solaris
Dear Solaris Experts,
I am a bit confused about OpenSolaris Hard Drive device mapping. On RedHat Linux based system, an IDE on first channel master drive is mapped as /dev/hda, first channel slave drive will be /dev/hdb, etc.
For (Open)Solaris systems I found it as /dev/rdsk/c3d0p0 :
... (0 Replies)
Discussion started by: Zepiroth
0 Replies
4. Hardware
I have a 320 GB drive which dual boots Windows and Debian:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal):... (0 Replies)
Discussion started by: phillipsoasis
0 Replies
5. Shell Programming and Scripting
Hello,
I do not know if this is the right title to use. I have a large dictionary database which has the following structure:
where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =.
What I am looking for is a perl script which will take... (5 Replies)
Discussion started by: gimley
5 Replies
6. Red Hat
What is the eqiuvalent of /dev/dsk/rdsk in linux vs Solaris (1 Reply)
Discussion started by: walnutpony123
1 Replies
7. UNIX for Dummies Questions & Answers
Hi Guys,
Can any one help me on this.
I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive?
Regards,
LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
8. UNIX for Dummies Questions & Answers
please forgive me. i know this is unix forum.
CIFS can map to shared windows folder.
i just wonder if windows can map to unix shared folder.
if yes, please enlight me... (5 Replies)
Discussion started by: lawsongeek
5 Replies
9. Shell Programming and Scripting
looks like awk gets confused when there's a % next to a number.
command im running:
awk -F" " '/phxnaz001b/ && /vol/ && NF { if (($NF >= 80) && ($NF < 83)) { print ; print ; w++ } else if ($NF >= 83) { print ; c++ } } END { printf("%d:OK %d:WARNING %d:CRITICAL\n", o, w, c) }' /tmp/test.log
... (3 Replies)
Discussion started by: SkySmart
3 Replies
LEARN ABOUT DEBIAN
authen::simple::smb
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)