• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Changing ODBC Sign-On Pop Up Values

    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

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    DRV Tech

    Get More Out of Your IBM i

    With soaring costs, operational data is more critical than ever. IBM shops need faster, easier ways to distribute IBM applications-based data to users more efficiently, no matter where they are.

    The Problem:

    For Users, IBM Data Can Be Difficult to Get To

    IBM Applications generate reports as spooled files, originally designed to be printed. Often those reports are packed together with so much data it makes them difficult to read. Add to that hardcopy is a pain to distribute. User-friendly formats like Excel and PDF are better, offering sorting, searching, and easy portability but getting IBM reports into these formats can be tricky without the right tools.

    The Solution:

    IBM i Reports can easily be converted to easy to read and share formats like Excel and PDF and Delivered by Email

    Converting IBM i, iSeries, and AS400 reports into Excel and PDF is now a lot easier with SpoolFlex software by DRV Tech.  If you or your users are still doing this manually, think how much time is wasted dragging and reformatting to make a report readable. How much time would be saved if they were automatically formatted correctly and delivered to one or multiple recipients.

    SpoolFlex converts spooled files to Excel and PDF, automatically emailing them, and saving copies to network shared folders. SpoolFlex converts complex reports to Excel, removing unwanted headers, splitting large reports out for individual recipients, and delivering to users whether they are at the office or working from home.

    Watch our 2-minute video and see DRV’s powerful SpoolFlex software can solve your file conversion challenges.

    Watch Video

    DRV Tech

    www.drvtech.com

    866.378.3366

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    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

    TomorrowNow Takes Steps to Ensure Rapid Response Rexair Taps Quadrant to Improve Document Processing

    Leave a Reply Cancel reply

Volume 7, Number 11 -- March 21, 2007
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

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle