473,414 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

User IDs with special Characters

klh
Our network staff has decided to implement a new user id structure of
the form "fred.smith".

We're running DB2 PE 7.1 FP7 on Windows XP.

Now any commands issued in a command window receive an SQL0567N error
saying that "fred.smith" is not a valid authorization id.

We do have a db2admin user id on each Windows XP computer and tried
starting the DB2 service with that ID, but that didn't help. We have
also tried attaching to the DB2 instance using the db2admin ID, which
is successful, but any subsequent commands issued throw the
"fred.smith" is not a valid auth id error.

My question is - Do we have to have our network staff change back to a
user id structure that does not include a ".", or is there something
else we can do? It seems that this decision was made way up the
corporate chain where they don't use DB2 PE.

Thanks in advance for your responses,
klh
Nov 12 '05 #1
2 3730
periods won't be supported in Windows user names by DB2 until a future
release, perhaps the release that is called "stinger" in the trade press
(the DB2 release after v8.1).

klh wrote:
Our network staff has decided to implement a new user id structure of
the form "fred.smith".

We're running DB2 PE 7.1 FP7 on Windows XP.

Now any commands issued in a command window receive an SQL0567N error
saying that "fred.smith" is not a valid authorization id.

We do have a db2admin user id on each Windows XP computer and tried
starting the DB2 service with that ID, but that didn't help. We have
also tried attaching to the DB2 instance using the db2admin ID, which
is successful, but any subsequent commands issued throw the
"fred.smith" is not a valid auth id error.

My question is - Do we have to have our network staff change back to a
user id structure that does not include a ".", or is there something
else we can do? It seems that this decision was made way up the
corporate chain where they don't use DB2 PE.

Thanks in advance for your responses,
klh


Nov 12 '05 #2
klh
Just to follow up on how we worked around the problem.

At first we decided to just let our developers use the db2admin ID,
but our Network Administrators did not like the idea of db2admin
having administrator authority on the developers desktops. We still
install the db2admin user and use it to start up the DB2 services.
Then we create a new ID (i.e. dbdev) which is not an administrator on
the desktop. Then just the Network Administrators get to know the
password for db2admin. Then we create a local group (i.e. ADMGRP) on
the computer and add the ID, dbdev, to the group. Then we configure
any db2 instances and the admin instance to use SYSADM_GROUP=ADMGRP.
Then the developer connects to the database using the dbdev ID and has
the admin rights needed in DB2 but they do not have admin rights on
the computer.

klh

kl*******@kcc.usda.gov (klh) wrote in message news:<40**************************@posting.google. com>...
Our network staff has decided to implement a new user id structure of
the form "fred.smith".

We're running DB2 PE 7.1 FP7 on Windows XP.

Now any commands issued in a command window receive an SQL0567N error
saying that "fred.smith" is not a valid authorization id.

We do have a db2admin user id on each Windows XP computer and tried
starting the DB2 service with that ID, but that didn't help. We have
also tried attaching to the DB2 instance using the db2admin ID, which
is successful, but any subsequent commands issued throw the
"fred.smith" is not a valid auth id error.

My question is - Do we have to have our network staff change back to a
user id structure that does not include a ".", or is there something
else we can do? It seems that this decision was made way up the
corporate chain where they don't use DB2 PE.

Thanks in advance for your responses,
klh

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Roy W. Andersen | last post by:
I've been searching google about this for days but can't find anything, so I'm hoping someone here can help me out. I'm trying to create zip-files without needing the zip-file extension in PHP,...
3
by: Barry Olly | last post by:
Hi, I'm working on a mini content management system and need help with dealing with special characters. The input are taken from html form which are then stored into a varchar column in...
6
by: Lord Asriel | last post by:
I'm a newbie in mysql and I've a question about user definition in Mysql. According to informations collected from manuals I believed that a user definition specifying host="%" on mysql server...
5
by: Sakharam Phapale | last post by:
Hi All, I am using an API function, which takes file path as an input. When file path contains special characters (@,#,$,%,&,^, etc), API function gives an error as "Unable to open input file"....
17
by: Steve R. Hastings | last post by:
I have been studying Python recently, and I read a comment on one web page that said something like "the people using Python for heavy math really wish they could define their own operators". The...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box...
1
by: kang jia | last post by:
hi when user entered particulars in signuppage and click" signup" button, i will direct them to do_signup.php. if say the NRIC is dupicate in datebase, i will redirect them back to signup page...
3
KevinADC
by: KevinADC | last post by:
Purpose The purpose of this article is to discuss the difference between characters inside a character class and outside a character class and some special characters inside a character class....
40
by: Angus | last post by:
Hello I am writing a library which will write data to a user defined callback function. The function the user of my library will supply is: int (*callbackfunction)(const char*); In my...
0
by: AAaron123 | last post by:
Been playing with asp:changepassword and have it looking OK except that I can't elininate or change the title at the top that says "Change Your Password". It's a repeat of my pages title. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.