pjohns
14th December 2001, 12:56
I'm trying to set-up two Baan user profiles that use the same UNIX profile but It's not working.
In ttaad2100m000 I have created two users where the system login field has the same id.
e.g.
Baan User = A123 Baan User = B123
System Login = U123 System login = U123
When I login I get an Incorrect login error. I've checked the relevant "u" files in $BSE/lib/user and "unixuser" is = to the generic account that has been set-up.
Does anybody have any ideas?
Thanks
PJ
patvdv
14th December 2001, 13:19
PJ,
You need to check 2 things:
$BSE/lib/ora_ora_users:
You should have an additional 'cross' entry for your new user:
A123:U123:<password>>:baan
B123:U123:<password>>:baan
BW config:
In the CMD line options field you should specify as which Baan user the UNIX user should connect:
pjohns
14th December 2001, 13:46
Pat,
My ora-users file has the cross entry.
I've made the settings in the cmd line of my BW and I still get Incorrect Login errors.
In the BW "Connect as" field should this not be the Baan user not the UNIX user? I've tried both anyway but I still get the error.
Any more ideas?
Cheers
patvdv
14th December 2001, 14:02
PJ,
There is 1 mistake in the screenshot. Change:
-- -set USER="B123"
to
-- -set USER=B123 (no quotes)
Sorry I typed the quotes in my haste. If you still have problems then let me know the errors you are getting in log.bshell files.
pjohns
14th December 2001, 14:14
Pat,
I get a different error now. See below for bshell log entry.
2001-12-14[12:06:44]:E:gb386t: Errno 0 bdb_errno 0
2001-12-14[12:06:44]:E:gb386t: Log_mesg: Not authorized to run as user 'gb386t'
2001-12-14[12:06:44]:E:gb386t: ******* E N D of Error message *******
I've also attached screen shots of my setups
Cheers
patvdv
14th December 2001, 14:19
PJ,
Are you sure you have done a 'create to runtime' for your gb386t user? Please check whether you have a $BSE/lib/user/ugb386t file and whether the permissions are correct.
The rest of the setup looks OK :)
pjohns
14th December 2001, 14:24
Definitely done convert to runtime and I have given the ugb386t file full permissions.
patvdv
14th December 2001, 14:32
PJ,
Can you try to run the setup using ba6.1? You can login to a UNIX shell as user gb386, set up your BSE environment and other variables and finally do:
export USER=gb386t
Then run ba6.1 and see what happens.
pjohns
14th December 2001, 14:37
Pat,
Didn't work!
$ export USER=gb386t
$ $BSE/bin/ba6.1
Connecting with bshell...
Connection established.
ba6.1: Not authorized to run as user 'gb386t'
Error [main ]: Can't connect to bshell
patvdv
14th December 2001, 15:00
PJ,
Can you look for the errors in log.ba6.1 and log.bshell files when connecting using ba6.1?
I assume the ba6.1 works for the normal gb386 user?
pjohns
14th December 2001, 15:11
LOG.BA6.1
2001-12-14[12:38:11]:E:gb386t: Log_mesg: Not authorized to run as user 'gb386t'
2001-12-14[12:38:11]:E:gb386t: ******* E N D of Error message *******
2001-12-14[12:38:11]:E:gb386t:
2001-12-14[12:38:11]:E:gb386t: ******* S T A R T of Error message *******
2001-12-14[12:38:11]:E:gb386t: Log message called from /port.6.1c.05.02/vobs/tt/
ba/ba/baerror.c: #113 keyword: ba error
2001-12-14[12:38:11]:E:gb386t: Pid 18264 Uid 342 Euid 342 Gid 125 Egid 125
2001-12-14[12:38:11]:E:gb386t: user_type S language 2 user_name gb386t tty loca
le ISO88591/NULL
2001-12-14[12:38:11]:E:gb386t: Errno 0 bdb_errno 0
2001-12-14[12:38:11]:E:gb386t: Log_mesg: Error [main ]: Can'
t connect to bshell
2001-12-14[12:38:11]:E:gb386t: ******* E N D of Error message *******
LOG.BSHELL
2001-12-14[12:38:11]:E:gb386t: ******* S T A R T of Error message *******
2001-12-14[12:38:11]:E:gb386t: Log message called from /port.6.1c.05.02/vobs/tt/
lib/ds_1/ds_bcnct.c: #181 keyword: DsSendNAck
2001-12-14[12:38:11]:E:gb386t: Pid 18265 Uid 342 Euid 342 Gid 125 Egid 125
2001-12-14[12:38:11]:E:gb386t: user_type S language 2 user_name gb386t tty loca
le ISO88591/NULL
2001-12-14[12:38:11]:E:gb386t: Errno 0 bdb_errno 0
2001-12-14[12:38:11]:E:gb386t: Log_mesg: Not authorized to run as user 'gb386t'
2001-12-14[12:38:11]:E:gb386t: ******* E N D of Error message *******
There's nothing more in the logs than the above.
ba6.1 does work okay for user gb386.
This one's definitely a head scratcher!!:confused:
patvdv
14th December 2001, 15:31
PJ,
It sure is. I need to ponder a little bit more on this!
NPRao
15th December 2001, 04:27
Did you convert the BaaN user to a database user?
pjohns
17th December 2001, 17:19
Pat,
I'm not sure what I've done or what I was doing but everything seems to work OK now.
Thanks for all your time and effort in helping me resolve this issue.
Cheers
Philip
patvdv
17th December 2001, 17:34
PJ,
Glad it works now because I wouldn't know that to recommend to you anymore. The setup really should work. There is no need for convert the database user as you use the old database account. Hence the cross entry in the ora_users file.