Looking for the adjoin.sh script for LDAP. `
Anyone have a link to download?
Thanks,
Brad
Chris, have you googled on XML and weather conditions? I
think you also could find more detailed information through weather
dot com by looking down for "developers" if I remember this
correctly. But you can take a look at weather-related websites and
they usually give you pretty much fundmental self-explantory simple
instructions on how to set it up on your website.
quote:
Originally posted by:
Newsgroup User
First and foremost this probably isn't the right forum to
post such a topic
in but everyone in this forum is so helpful to me that it
just made more
sense. Anyhow I would like to get an XML feed from
weather.com to put on
this site I am building so I can allow users to view the
weather conditions
for wherever they choose. I am certainly not an XML
programmer and even
though I have weather.com's software development kit for
there XML data
feeds on the weather I think it would take me forever to
create something
right? Anyhow I use PHP on my server and I'm wondering if
anyone knows of
any good pre-made scripts to allow me to easily add the XML
weather to my
site...
Thanks!
Chris Jumonville
Similar Messages
-
I have now had two error messages - the first one looked for this script: Script: resource://gre/modules/XPCOMUtils.jsm:258. The second one (today) looked for Script: resource://gre/components/nsPrompter.js:68.
I have reset my word template, also reset word registry for data and options (as per Microsoft's help pages) for both those 'fixes' there was an initial improvement, but the problem happened again after I reposted on my blog today and then went to Windows explorer to view my files. It seems to 'seize' as I select a file, so that the preview does not appear (for up to 15-20mins).
I see on the internet using the second script as a search just now that one other has had a similar problem and one also since Mozilla 4 upgrade. My problems have also been pretty much since I upgraded.
It happens (apart from my fixes) every time I go to look at a word document via Windows explorer. Excel files are less affected.
One web suggestion is to clear the cache, but I am hesitant to lose all my passwords unless I have to.I still have the problem although I uninstalled Mozilla (clearing the cache didn't work and neither did Word diagnostics), so have ended up thinking it could be Norton (the manual update worked x1) or Windows. Today I found an answer: disable the preview pane in Windows Explorer - there's a history of problems with this view.
-
Looking for a One to Many script to extend the system partition for Windows 7 machines
Looking for a One to Many script to extend the system partition for Windows 7 machines
Pre-written scripts can be found in the repository:
http://gallery.technet.microsoft.com/scriptcenter
If you can't find what you need, you can request a script (no idea if anyone ever bothers to fulfill these requests though, I know I don't):
http://gallery.technet.microsoft.com/scriptcenter/site/requests
Let us know if you have any specific questions.
Don't retire TechNet! -
(Don't give up yet - 12,950+ strong and growing) -
Looking for a Powershell Script which can put the scom servers in maintenance mode
Looking for a Powershell Script which can put the scom servers in maintenance mode so that SCOM should not send an alert during planned task.
Rahul1. Provide list of servers line-by-line in C:\ServerList.txt, make sure you provide limited no. of servers, do not exceed 20 - 25 per batch
2. Save the script with suitable name (test.ps1)
3. Open PowerShell cmd prompt
4. Script accepts 3 params - TimeInMinutes, Reason and Comment
**** Please note, this script will work for SCOM 2012 R2
param([int32]$TimeMin, [string]$Reason, [string]$Comment)
try
$api = new-object -comObject 'MOM.ScriptAPI'
Import-Module operationsmanager
New-SCOMManagementGroupConnection
$Servers = Get-Content "C:\ServerList.txt"
$Time = (Get-Date).Addminutes($TimeMin)
Foreach ($Server in $Servers)
#Get Computer instance
$ComputerClass = Get-SCOMClass -Name Microsoft.Windows.Computer
$ComputerClassInstance = Get-SCOMClassInstance -Class $ComputerClass | Where {$_.DisplayName -eq $Server}
If ($ComputerClassInstance -ne $Null)
$HealthServiceWatcherClass = Get-SCOMClass -name:Microsoft.SystemCenter.HealthServiceWatcher
#Get Health Service Watcher Class instance of the server
$HSWClass = Get-SCOMClass -Name Microsoft.SystemCenter.HealthServiceWatcher
$HSWClassIns = Get-SCOMClassInstance -Class $HSWClass | Where {$_.DisplayName -eq $Server}
#Starting the maintenance mode
Start-SCOMMaintenanceMode -Instance $HSWClassIns -EndTime $Time -Reason $Reason -Comment $Comment
Start-SCOMMaintenanceMode -Instance $ComputerClassInstance -EndTime $Time -Reason $Reason -Comment $Comment
Write-Host "Health Service Watcher and Agent server "$Server " kept in maintenance mode" -foregroundcolor "green"
$api.LogScriptEvent('MaintenanceModeScript.ps1', 200, 0, "$Server kept in maintenance mode for $TimeMin minutes")
Else
Write-Host $Server" not found " -foregroundcolor "red"
$api.LogScriptEvent('MaintenanceModeScript.ps1', 201, 1, "$Server could not be found in domain")
Catch [system.exception]
$api.LogScriptEvent('MaintenanceModeScript.ps1', 201, 1, $_.Exception.Message)
Faizan -
Looking for a script to automate renaming layer objects, not the layer itself!
Hey there everyone,
I was wondering if there is a possibility to create/have a script for an automated renaming of several named layer objects in Indesign (CS6).
The situation, I'm facing is a document for a templating process with at least 80 layers and sometimes some special elements on each layer. The naming of the layers is kind of repeating for each page that is used. The only difference is some prefix change in the layer name and/or the name of an element itself. My problem is, that I need to rename most of those layers AND elements in a same way and I'm looking for a script that asks me for the name of a layer or element (perfect would be just a part of the name to have multiple steps at once) and I have the chance to type in the desired value. It affects frames, graphical elements and text boxes.
If anyone has an idea, how to simplify this process I would be very glad to get some informations or advices.
Thanks in advance
RalfHere is a more descriptive version of the script above... :)
# Change "PSDrive" to PS1: (Sitecode)
CD PS1:
# Get all CMPackages to $CMPackages_All Variable
$CMPackages_All = Get-CMPackage
# Set the DP to use with. You may need to run it again with other DP just in case some Packages are missing...
$DPName_FQDN = "YourDP.Contoso.com" # Your FQDN DP name to reference from.
# Set folder to store *.pkgx files
$FilePath = "E:\_ESD\Prestage\" # FilePath
# For all CMPackages
foreach ($obj in $CMPackages_All) {
$packageType = $obj.PackageType
$packageID = $obj.PackageID
$packageVendor = $obj.Manufacturer
$packageName = $obj.Name
$packageVersion = $obj.Version
# Formulate File name based on Vendor Name, version and PackageID
$FileName = $FilePath + $packageVendor + "_" + $PackageName + "_" + $packageVersion + "_" + $packageID + ".pkgx"
# Replace space with underscore
$FileName = $FileName.Replace(" ","_")
if ($PackageType -eq 0) {
if (!( Test-Path $FileName)) { # This makes the package to skip if it is already created.
Write-host "Publishing CMPrestage Content for $PackageID $PackageName to $FileName via $DPName_FQDN ..."
Publish-CMPrestageContent -PackageID $packageID -DistributionPointName $DPName_FQDN -fileName $FileName -ErrorAction Continue
YPae -
Thank you,
You should be able to find a third party auditing tool for this. But if you are looking for free one, you may need to update the logic, combine multiple scripts etc to achieve this.
1. Get the ACL of the folder using a tool
2. Translate the SID to an object in AD
3. If it is a group. Get the group members
3a. if it a nested group, get all members from all nested groups.
Santhosh Sivarajan | Houston, TX | www.sivarajan.com
ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
Blogs: Blogs
Twitter: Twitter
LinkedIn: LinkedIn
Facebook: Facebook
Microsoft Virtual Academy:
Microsoft Virtual Academy
This posting is provided AS IS with no warranties, and confers no rights. -
Looking for ACE Probe TCL script specific for LDAPS
Hello Everyone,
I have searched the forum, and i am having difficulty finding an example of how to modify the LDAP TCL probe from port 389 to secure LDAP port 636.
Could someone kindly point me or provide me the modified TCL script if you happen to have it.
During my search I also found a config that someone had provided, which contained the following probe:
probe tcp LDAPS_Probe
port 636
probe tcp LDAP_Probe
port 389
I was trying to figure out if this a modified TCL script for LDAP or modifed TCP TCL script specific for port 636.
This is how I applied the script for LDAP port 389.
script file 1 LDAP_PROBE
probe scripted LDAP_PROBE_389
interval 5
passdetect interval 30
receive 5
script LDAP_PROBE
serverfarm host SF-LDAP-389
description SF LDAP Port 389
predictor leastconns
probe LDAP_PROBE_389
rserver LDAP-RS1-389
inservice
I will be more than glad to provide you any additional information that you need.
As always thanks for your input.
Raman Azizian
SAIC/NISN Network servicesnormally you would engage a TCL developer or ciso advanced services to develop a custom script for anything other than what Cisco provides in canned scripts. If you are comfortable with tcl you can do it yourself. Here is an example of the LDAP script modified to include initiation via ssl. default port is 389 when you implement you would specify 636.
#!name = LDAP_PROBE
# Description:
# LDAP_PROBE opens a TCP connection to an LDAP server, sends a bind request. and
# determines whether the bind request succeeds. LDAP_PROBE then closes the
# connection with a TCP RST.
# If a port is specified in the "probe scripted" configuration, the script probes
# each suspect on that port. If no port is specified, the default LDAP port 389
# is used.
# Success:
# The script succeeds if the server returns a bind response indicating success
# (status code 0x0a0100) to the bind request.
# The script closes the TCP connection with a RST following a successful attempt.
# Failure:
# The script fails due to timeout if the response is not returned. This
# includes a failure to receive ARP resolution, a failure to create a TCP connection
# to the port, or a failure to return a response to the LDAP bind request.
# The script also fails if the server bind response does not indicate success.
# This specific error returns the 30002 error code.
# The script closes any attempted TCP connection, successful or not, with a RST.
# PLEASE NOTE: This script expects the server LDAP bind response to specify length
# in ASN.1 short definite form. Responses using other length forms (e.g., long
# definite length form) will require script modification to achieve success.
# SCRIPT version: 1.0 April 1, 2008
# Parameters:
# [DEBUG]
# username - user login name
# password - password
# DEBUG - optional key word 'DEBUG'. default is off
# Do not enable this flag while multiple probe suspects are configured for this
# script.
# Example config :
# probe scripted USE_LDAP_PROBE
# script LDAP_PROBE
# Values configured in the "probe scripted" configuration populate the
# scriptprobe_env array. These may be accessed or manipulated if desired.
# Documentation:
# A detailed discussion of the use of scripts on the ACE is included in
# "Using Toolkit Command Language (TCL) Scripts with the ACE"
# in the "Load-Balancing Configuration Guide" section of the ACE documentation set.
# Copyright (c) 2005-2008 by Cisco Systems, Inc.
# debug procedure
# set the EXIT_MSG environment variable to help debug
# also print the debug message when debug flag is on
proc ace_debug { msg } {
global debug ip port EXIT_MSG
set EXIT_MSG $msg
if { [ info exists ip ] && [ info exists port ] } {
set EXIT_MSG "[ info script ]:$ip:$port: $EXIT_MSG "
if { [ info exists debug ] && $debug } {
puts $EXIT_MSG
# main
# parse cmd line args and initialize variables
## set debug value
set debug 0
if { [ regsub -nocase "DEBUG" $argv "" argv] } {
set debug 1
ace_debug "initializing variable"
set EXIT_MSG "Error config: script LDAP_PROBE \[DEBUG\]"
set ip $scriptprobe_env(realIP)
set port $scriptprobe_env(realPort)
# if port is zero the use well known ldap port 389
if { $port == 0 } {
set port 389
# PROBE START
# open connection
ace_debug "opening socket"
set sock [ socket -sslversion all -sslcipher RSA_WITH_RC4_128_MD5 $ip $port ]
fconfigure $sock -buffering line -translation binary
# send a standard anonymous bind request
ace_debug "sending ldap bind request"
puts -nonewline $sock [ binary format "H*" 300c020101600702010304008000 ]
flush $sock
# read string back from server
ace_debug "receiving ldap bind result"
set line [read $sock 14]
binary scan $line H* res
binary scan $line @7H6 code
ace_debug "received $res with code $code"
# close connection
ace_debug "closing socket"
close $sock
# make probe fail by exit with 30002 if ldap reply code != success code 0x0a0100
if { $code != "0a0100" } {
ace_debug " probe failed : expect response code \'0a0100\' but received \'$code\'"
exit 30002
## make probe success by exit with 30001
ace_debug "probe success"
exit 30001 -
UCCX - Looking for Script to forward the call
attached
OK, then it's relatively easy. First, let's create CSQ's per site. For instance, there will be a CSQ named "SiteA", "SiteB", "SiteN" etc. Next, we can create a script that takes a look at the caller's ANI (you can easily get that information using the Get Call Contact Info step). Based the ANI, we will take a look at the number of the agents available at the preferred site (using the Get Reporting Stats step). If it's not 0, we can go and route the call. If it's 0, then we can get the number of the available agents at the next preferred site and again, the next preferred site, until we get a site with at least one available agent.
G. -
I am trying to write a script for detecting the status of an LDAP server on a CSS. I figured out that I should capture the binary send and receive data of the LDAP query. I captured the request and response packets. But I have no idea of which part of the binary data (and how) I should put into the stock LDAP keepalive script. Could someone put me in the right direction?
Thanks a lot.
DanielJust look at the existing ldap script
CSS11503-2# sho script ap-kal-ldap
!no echo
! Filename: ap-kal-ldap
! Parameters: HostName
! Description: "Lightweight Directory Access Protocol v3"
! This script will connect to an LDAP server and attempt to
! "bind request" to the server. Once the server gives a
! positive response we will disconnect (RFC-2251).
! Bind Response Code we will search for is: 0x0a 0x01 0x00
! Failure Upon:
! 1. Not establishing a connection with the host.
! 2. Failure to receive the above response code.
! Make sure the user has a qualified number of arguments
if ${ARGS}[#] "NEQ" "1"
echo "Usage: ap-kal-ldap \'Hostname\'"
exit script 1
endbranch
! Defines:
set HostName "${ARGS}[1]"
set EXIT_MSG "Connection Failed"
! Connect to the remote host (use default timeout)
socket connect host ${HostName} port 389 tcp 2000
set EXIT_MSG "Send: Failure"
! Send a Bind Request to the remote host. This is simply a standard
! "capture" of a bind request in hex. This should work for all standard
! version 3 LDAP servers.
socket send ${SOCKET} "300c020102600702010204008000" raw
set EXIT_MSG "Recieve: Failure"
! Expect to receive a standard response from the host. This should
! be equal to a SUCCESS response code:
socket waitfor ${SOCKET} "0a0100" 2000 raw
set EXIT_MSG "Send: Failure"
! Send an exit "Unbind Request" to the remote host so that they
! are not left hanging.
socket send ${SOCKET} "30050201034200" raw
no set EXIT_MSG
socket disconnect ${SOCKET}
exit script 0
CSS11503-2#
In red, you see the command to send the binary (this includes everything inside the tcp payload - after the tcp header).
In blue, you see the command to inspect received data and consider the response valid if the sequence is seens somewhere in the tcp payload of the response.
Gilles. -
Looking for PS Script to Save and Close All Open Documents
I used ACR and CS5 to process my Nikon D3 NEF files. I would like a script that would save all open documents (witin PS) with the highest possible quality (12). I've found several scripts that will close all open documents with save but cannot figure out how to implement a save script.
For example, I may have 20 converted .jpeg files open. I would like to run a script to save & close all open documents.
Is it possible? Can someone post an example working script?Take a look at the image processor, under the scripts menu.
MTSTUNER -
Looking for someone to script a Day Planner to a specific size and style.
Hi,
Looking for someone to script a year long Day Planner in Indesign CC. I've tried one or two scripts available out there but none seem to be able to accomplish what I need.
I would envisage the rolling requirements.
2015
Day per page
Set to a specific Design Style
Fully Editable style hierarchy
Ability to add in pages without kicking anything out
Include Month with highlighted day on right hand page only
Add localised public holidays
Add another list of 'special dates'
Fit size 148.5mm W x 210mm H (would be great to have it scaleable but not essential)
All/any help appreciated. Here's a screen shot of the desired result.Hi Jarek,
Thanks for the response!
The script needs to create the pages in an Indesign Doc.
One the pages are created we would be adding in custom pages at beginning and at other periodic stages in the document.
Let me know if there's anything else you need
Mark -
Hi,
I'm looking for a PowerShell script which will import a Calendar events into student's mailbox (Calendar). Those students are located in a distribution group and I would like to target the distribution group; I'm trying to simulate what I want to achieve
in the below code example, I would appreciate if anyone jump in and advise.
$Users = Import-Csv C:\users.csv | ForEach-Object{Get-DistributionGroup -Identity SC-1213} | Import-Mailbox -Identity $Users -PSTFolderPath c:\Calendar.pst -IncludeFolders '\Calendar' -StartDate -EndDate
Much appreciated..
HussainThe logic doesn't work unless you are using StartDate and EndDate for the period when you change the item. As I said above, StartDate and EndDate are not the times when the meeting starts and ends - they are the times that the item was either added
or modified in the mailbox. Your filter was trying to pull items that were in the future.
And as I also said above, if you import a modified item, the original is
not going to be updated. You will have a duplicate meeting
on the calendar. You would have to remove the original
and import the updated item if this was how you wished to manage the updates. This is not nearly as effective as
sending meeting requests and updating those meetings.
For example, if we do things the way you are doing them, and we add a "Student Appreciation Bonfire" meeting to the calendar for April 12 at "The Quad", we would do the following:
On February 1, you get information for the meeting that needs to be imported
You create this new meeting in the PST calendar - "Student Appreciation Bonfire"; Date April 12, start 8:00 AM, end 12:00 noon; Location The Quad
You import the PST into everyone's calendar
You receive a note on March 12 saying the venue has changed to The River Beach, so you update this meeting in your PST
Since there are other calendar items in the PST, you import the update using StartDate of March 12 and EndDate of March 13 - the date that you changed the item, not the date the item occurs
At this point, all users have two meetings on their calendar - the original and the update
If, instead of doing it this way, you create a Student Actvities Calendar mailbox, you would handle it this way:
On February 1, you get information for the meeting that needs to be imported
You create this new meeting in the Corporate calendar - "Student Appreciation Bonfire"; Date April 12, start 8:00 AM, end 12:00 noon; Location The Quad
You invite everyone to the meeting
You receive a note on March 12 saying the venue has changed to The River Beach, so you update this meeting in that calendar and send out the update
At this point, all users have only the one meeting on their calendar - the update
Using the PST as the source for the meetings would work only for items that
will not be changed - holidays are a good example. -
Please help! Looking for script to insert current date on page.
I currently use a Dreamweaver Extension that lets you insert
current date and time on your web page.
The problem is, I don't know Javascript and cannot edit the
Javascript codes to "remove the time"
I only need the current date that will change every day.
Do you know where I can get this script, I goggled and got
several but I'm looking for something authentic.
Also is it possible to have your page validate when you use
Javascript embedded in your HTML?
Thanks everyone,
Patrickquote:
Originally posted by:
Newsgroup User
Webethics wrote:
> The problem is, I don't know Javascript and cannot edit
the Javascript codes
> to "remove the time"
> I only need the current date that will change every day.
JavaScript generates the date by using the clock on the
computer of each
visitor to your site. If a visitor's clock has the wrong
date, your site
will also display the wrong date.
> Do you know where I can get this script, I goggled and
got several but I'm
> looking for something authentic.
I don't know what you mean by "authentic". Date generation in
JavaScript
is one of the most basic features of the language, so if it
works, it's
"authentic".
> Also is it possible to have your page validate when you
use Javascript
> embedded in your HTML?
Yes, but you shouldn't embed JavaScript in XHTML.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
So mr. Powers are there people that use Javascript Date in
their page?
Would you recommend it?
I could use PHP but I don't know PHP,
How do I come up with the string in this format, say,
Wednesday, October 29th, 2008 that will change to a new day
according to the server time and date.
Thanks so much for your help and I have two of your books! I
will be taking PHP classes in December.
Patrick -
Looking for an email discussion lists script.
HI! I am looking for a email discussion lists script that
works on a windows
platform. I have looked on Google but only found Mailman
which is good but
only works on UNIX/Linux. The other I found has to be
installed via a
setup.exe which is only good if you own and have direct
access to your own
server.
Does anyone out there know of a email discussion lists script
in ASP or PHP
or similar that uses an ms-access or ms-SQL database and
works on a windows
platform?
Paultrlyka wrote:
I can't, for the life of me, find an email address for order support. Or any other support for that matter.
I believe the only email support Apple offers is for Photo Services and iTunes Customer Service. -
Looking for a more universal scripting language than AppleScript or Automator
I want to learn a cross-platform/web scripting language to automate tasks, write scripts and with the potential to create programs and web apps.
I am looking for something that:
- is not a program with a GUI like Automator, iKey, Quickeys, Maestro...
- is more "universal" than Applescript, cross-platform
- can be used to automate simple tasks in a simple way
- can also be used to create more complex scripts, web apps and maybe, eventually, programs (with GUI)
I've read about Javascript, Python, Ruby, PHP, Perl, C+, C++, Java and others, but I really don't know.
- Java sounds pretty cool, Python too.
- I'm not crazy about PHP or Perl, with Javascript, but some people swear by it
- I don't know anything about C+, C++
Does anyone have any suggestion(s)? Please let me know if you need any more details. Thank you.C, C++, Objective-C are nor scripting languages and will not help you do web pages. (Don;t know what C+ is).
Forget Java it has lots of security problems and more and more users are disabling Java in their web browsers because of this. Developing in Java would be, in my opinion, a mistake.
If you are doing any web works at all you will need to know some Javascript, no way around that. But Javascript is actually not a bad language
Note Java and Javascript are two totally separate languages that have nothing in common but the first 4 letters of their names.
So you are left with PHP, Perl, Python and Ruby.
Dismissing PHP and Perl out of hand is a big mistake, They are both major players and you will run into them just about everywhere. If you are looking to do this for possible employment you will need to be familiar with them at least.
Python and Ruby are both strong languages as well. I don't have a lot of experience with either so I can;t speak to their strengths but learnign either would not be a mistake.
Knowing what your reasons are for asking this, personal use or for employment, might help refine the list some.
regards
Message was edited by: Frank Caggiano - Perl is also included in OS X by default. Not sure about PHP but I believe it also is. I agree TextWrangler would be a good editor for this type of work.
Maybe you are looking for
-
Windows says it does not recognize my ipod HELP please
Had ipod for 3 days. Worked fine. Last time I docked it, gave me an error message saying it was not recognized becuase it was malfuctioning. Reset, restored, re booted, reinstalled itunes, deleted apple auto update, changed ports, you name it. So I t
-
I have Photoshop CS2, Does catalyst works with the cs2 files?
-
Weblogic certificate is not being authenticated in Oracle HTTP Server
I am using Oracle HTTP Server with SSL and mod_proxy set up trying to pass a url through to the weblogic server. I start with my OHS url in the browser and the proxy is switches to the url to weblogic but I get the following error on the OHS side: [2
-
AC Adapter suddenly not working, need help.
I have a similar problem. I live in a house with my parents. My mother has the 4th gen 20GB iPod (no color screen) and I have the 5th Gen 80GB Video iPod. She has iTunes on her computer on one end of the house she uses to keep her iPod updated, I hav
-
Su: cannot set user id: Resource temporarily unavailable
Hi , One my server when i try to su - oracle as root user [root@stcfusion02 etc]# su - oracle su: cannot set user id: Resource temporarily unavailable [root@stcfusion02 etc]# and when i directly try to login as oracle session is getting exit.. Please