fhg
Volume 7, Number 11 -- March 21, 2007

Changing ODBC Sign-On Pop Up Values

Published: March 21, 2007

Hey, Joe:

I have a new user starting, and I need to change the default user ID sign-on information that ODBC uses to connect her machine to our i5 partition. This computer was previously assigned to another user, and that user ID keeps appearing in the Signon to iSeries box whenever the computer starts an ODBC connection. How do I change the default user ID that ODBC uses for an i5 connection?

--Bruce


ODBC connection values are defined in the Connection Options screen inside their ODBC driver. It's fairly simple to view and change these values for an i5, iSeries, or AS/400 connection. You can do it from within the user's ODBC Data Source Name (DSN) entry. Here's how to check and change this setting by using the ODBC driver that come with iSeries Access for Windows V5R3M0.

Open the user's ODBC DSN for configuration (by clicking on the Configure button on the ODBC Data Source Administrator screen) and click on the General tab in the iSeries Access for Windows Setup screen that appears. The screen will show you the ODBC DSN name that is assigned to this driver, a description for that DSN, and the Domain Name System (DNS) name or IP address of the i5/OS or OS/400 partition that the driver communicates with. This screen also contains a button called Connection Options. When you click on Connection Options, it brings up a setup screen where you can define the Default user ID value that the DSN uses when it is connecting to your i5/OS or OS/400 partition.

For i5 ODBC connections, you have five different radio button choices for your Default user ID, but my guess is that your connection is set up to select either the Use the user ID specified below or the Use iSeries Navigator default options. Either of these options could be causing your program to insert the wrong default user name into your ODBC Signon to iSeries box.

If the Use the user ID specified below radio button is turned on, you may also notice that a hard-coded user ID name is also specified on the ODBC Connection options screen. When this button is selected, that hard-coded user ID will always be displayed when the Signon to iSeries popup box appears as the user tries to make an ODBC connection. This could be the user name that is always appearing when your new user tries to make an ODBC connection.

You can easily change this setting to one of the other ODBC connection options on that screen. This change will affect which user ID name will show up in the signon box the next time this user tries to make an ODBC connection.

If you set the user's Default user ID value to the Use Windows user name radio button, the ODCB driver will always attempt to use the user's Windows user name and password to automatically sign on to the target i5/OS box without any prompting. This technique works well if your i5/OS or OS/400 user IDs and passwords are synchronized with your user's Windows password. The connection will be made automatically and the user will be able to manipulate data through ODBC without signing on. If the Windows user name and password don't match their i5/OS or OS/400 counterparts, the user will be presented with the signon box again so that she can enter a valid user ID and password.

If you change the Default user ID radio button to None, your ODBC connection will always display the Signon to iSeries input box without any default user ID or password. The user will always have to enter their user ID signon information in order to start a session. This is a good option for computers that are shared by more than one user.

You can also select the Use Kerberos principal radio button if your system is set up to use IBM's Single Sign-On technology to automatically authenticate and authorize users to sign on and use i5 applications without entering a user ID and password. When this option is selected, the ODBC connection will attempt to use a Windows Key Distribution Center server (KDC), the partition's Enterprise Identity Mapping (EIM) table, and a Kerberos server to automatically sign on and start the user's ODBC connection. This button will only appear if your i5 or iSeries partition is set up to use Kerberos.

The final option for specifying ODBC sign-on information is to click on the Use iSeries Navigator default radio button for designating the Default user ID. When you click on this button, ODBC will use the default user ID settings that are configured for this partition in the user's iSeries Navigator (OpsNav) connection properties. The OpsNav software contains a separate set of Signon information values that can automatically be used by different iSeries Access applications (including ODBC) to make connections with a partition without having to separately configure signon information for each application.

So if the Default user ID for your ODBC connection is set to Use iSeries Navigator default and you want to change that setting, you can either change the setting inside your ODBC DSN's Connection Options screen or you can go into OpsNav and change the Signon Information specified for the partition that you are trying to start an ODBC connection with.

To change your OpsNav default user settings, enter OpsNav and right click on the node that represents the partition that you want to change the user's default settings for. Select Properties from the pop-up menu that appears and this will display the partition's Properties panel for this desktop. On this panel, click on the Connection tab and in the Signon information area that appears on your screen, you will see the exact same default user settings that are available in the Default user ID radio button for your ODBC connection. If you change the Signon Information radio button here and your ODBC Default user ID is set to Use iSeries Navigator default, your ODBC DSN will use the new settings the next time the user tries to make an ODBC connection to that i5 partition.

So in a nutshell, that's how you determine where ODBC gets its default user ID settings and the different places where you can change those settings.

Hope this helps.

-- Joe


RELATED STORIES

Getting Ready for Single Sign-On

Configuring i5/OS and a Windows Network Server for SSO

Configuring i5/OS-based EIM Table for Single Sign-On

Configuring Windows Desktops to Use Single SSO



                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
WORKSRIGHT SOFTWARE

Do you need area code information?
Do you need ZIP Code information?
Do you need ZIP+4 information?
Do you need city name information?
Do you need county information?
Do you need a nearest dealer locator system?

We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

Just call us and we'll arrange for 30 days FREE use of either
ZIP/CITY or PER/ZIP4.

WorksRight Software, Inc.
Phone: 601-856-8337
Fax: 601-856-9432
E-mail: software@worksright.com
Web site: www.worksright.com


Senior Technical Editor: Ted Holt
Technical Editors: Howard Arner, Joe Hertvik, Shannon O'Donnell, Kevin Vandever
Contributing Technical Editors: Joel Cochran, Wayne O. Evans, Raymond Everhart,
Bruce Guetzkow, Brian Kelly, Marc Logemann, David Morris
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

COMMON:  Join us at the 2007 conference, April 29 – May 3, in Anaheim, California
Databorough:  X-analysis is the world leader in AS/400 application retro-documentation
Patrick Townsend & Associates:  Alliance AES/400 - database field encryption


IT Jungle Store Top Book Picks

The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket Developers' Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
iSeries Express Web Implementer's Guide: List Price, $59.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
WebFacing Application Design and Development Guide: List Price, $55.00
Can the AS/400 Survive IBM?: List Price, $49.00
The All-Everything Machine: List Price, $29.95
Chip Wars: List Price, $29.95

 

The Four Hundred
IBM Pays for System i5 Video Viral Marketing

System i Shops Plenty Annoyed About Missing WDSc Features

It Was Inevitable: IBM Jacks Maintenance Fees on Midrange Gear

Mad Dog 21/21: The China Spin Drone

The Linux Beacon
Red Hat Integrates and Simplifies with RHEL 5

The Feeds and Speeds of Red Hat Enterprise Linux 5

Transaction Processing Council Launches TPC-E Benchmark

Mad Dog 21/21: The China Spin Drone

Four Hundred Stuff
Vision Committed to Developing ORION

Infor Advocates Open Approach to SOA

IBM to Distribute Info Builders' iSeries BI Tools

LANSA Puts RAMP to the Test

Big Iron
Putting the z in College Degrees

Top Mainframe Stories From Around the Web

Chats, Webinars, Seminars, Shows, and Other Happenings

System i PTF Guide
March 17, 2007: Volume 9, Number 11

March 10, 2007: Volume 9, Number 10

March 3, 2007: Volume 9, Number 9

February 24, 2007: Volume 9, Number 8

February 17, 2007: Volume 9, Number 7

February 10, 2007: Volume 9, Number 6

The Windows Observer
Windows Server 2003 SP2 Released by Microsoft

Microsoft Unveils 'Duet'-Like Interface, New ERP Releases

Intel Delivers Low-Power, Quad-Core Xeon Chips

VoIP's Future Rosy, Microsoft Biz Chief Says

The Unix Guardian
Intel Delivers Low-Power, Quad-Core Xeon Chips

Server Makers Have $5.3 Billion Bumper Crop in Q4 in Europe

Lawson Updates ERP, Unveils SaaS Plans at User Conference

As I See It: The Digital Life

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

THIS ISSUE SPONSORED BY:

Profound Logic Software
Help/Systems
WorksRight Software



TABLE OF CONTENTS
iSeries Navigator Job Monitor

Reader Feedback on Using the SQL SET OPTION Statement

Changing ODBC Sign-On Pop Up Values

Four Hundred Guru

BACK ISSUES

From the IT Jungle Forums
Compiler Directives and Control Specifications

PTF for WDSC 7.0

How to collect the object authorities in a PF

VARPG on Windows Server

Window subfile with another input capable record format





 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement