cscript prnport.vbs -d -s [servername] -r [portname]
replacing the server name and the port name with appropriate values, usually the port name is IP_XX.XX.XX.XX, where XX.XX.XX.XX is the IP of the printer.
documentation of a learning curve
cscript prnport.vbs -d -s [servername] -r [portname]
telnet proxy.domain.tld 3128Escape character is '^]'.
GET http://www.google.com/ HTTP/1.1
host:www.google.comProCurve Switch 2650(config)# snmpv3 enable snmpwalk -v 3 -c MyCommunityName 192.168.254.1 sysUptime snmpwalk: No securityName specified (Sub-id not found: (top) -> sysUptime) snmpwalk -v 3 -u initial -c MyCommunityName 192.168.254.1 sysUptime Error in packet.
Reason: authorizationError (access denied to that object)
Failed object: SNMPv2-MIB::sysUpTimesnmpwalk -v 3 -u initial -A password123 -c MyCommunityName 192.168.254.1 sysUptimeError in packet.
Reason: authorizationError (access denied to that object)
Failed object: SNMPv2-MIB::sysUpTime
snmpwalk -v 3 -u initial -A password123 -l AuthNoPriv -c MyCommunityName 192.168.254.1 sysUptime -l secLevel
Set the securityLevel used for SNMPv3 messages (noAuthNoPriv|authNoPriv|authPriv). Appropriate pass
phrase(s) must provided when using any level higher than noAuthNoPriv. Overrides the defSecurityLevel
token in the snmp.conf file.
snmpwalk -v 3 -u initial -A password123 -l AuthPriv -c MyCommunityName 192.168.254.1 sysUptime snmpwalk: USM generic error (Sub-id not found: (top) -> sysUptime) snmpwalk -v 3 -u initial -X password321 -A password123 -c MyCommunityName -l AuthPriv 192.168.254.1 sysUptimedsquery /? | more
dsquery user
dsquery user| find "Edward Saeed"
<?php
/*
* Author: Maysara A. Abdulhaq
* Contact: maysara(dot)abdulhaq(at)gmail(dot)com
* Usage: Guides howto add revese domains
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
function reverse_domain_name($ip,$class=24)
{
$octets= explode(".",$ip);
$octetcount=(int) ($class/8);
for ($i=$octetcount -1 ;$i >= 0 ;$i--)
$dn= $dn."$octets[$i].";
$dn= $dn."in-addr.arpa";
$mask= (~((1<<(8-$class%8))-1)&255);
$rangebeg = (((int)$octets[$octetcount]) & $mask);
$rangeend = (((int)$octets[$octetcount]) & $mask)+((1<<8-$class%8) -1);
echo "You have Entered IP: ".$ip." with subnet: ".$class."\n";
echo "So the reverse domain is : ".$dn."\n";
echo "and the range of ips is $rangebeg to $rangeend\n";
echo "If you wish to use a domain for mapping similar to mkrdns, you can use domain name \n";
echo "A: $rangebeg-$rangeend.$dn\n";
echo "B: $rangebeg.$dn\n";
echo "Or, similar for what is suggested in RFC2317:\n";
echo "C: $rangebeg/$class.$dn\n";
echo "for each entry, a CNAME record must be added to $dn \n";
echo "A: $octets[$octetcount] CNAME $octets[$octetcount].$rangebeg-$rangeend.$dn\n";
echo "B: $octets[$octetcount] CNAME $octets[$octetcount].$rangebeg.$dn\n";
echo "C: $octets[3] CNAME $octets[3].$rangebeg/$class.$dn\n";
echo "in addition to the PTR in the above mentioned domain name\n";
echo "$octets[3] PTR some.domain.tld\n";
}
if ( $argc != 3){
echo "Usage: $argv[0] IP MASK\n";
echo "Example: $argv[0] 111.222.121.212 27\n";
exit(1);
}
if ( $argv[2] < 24){
echo "Error:the mask should be larger than 24\n";
exit(1);
}
reverse_domain_name($argv[1],$argv[2]);
?>
Path=/iscsi-exports/2GBDISK1.iso or Path=/dev/sdc or Path=/dev/sda5 ...etc. as you can see you can put any file that you usually use for read and/or write to, and as you might already know, even regular files can be treated as disk volumes and you can mount them using a loop device. so these partions, disks, regular files or even iscsi LUN from a diffrent iscsi-target (which would appear as devices) can be used for a LUN, now these files, partions, disks ..etc, can reside on a hardware raid, or be part of an LVM, or software raid or anything else you can think of you can store data on, and might as well be a regular disk partion or a whole disk that is used as a LUN :).