g_Jericho
27th December 2002, 16:32
Hi all,
what i m trying to do is attach multiple baan users to a single operating sytem user. i m using the following option in the BW file, -- -set USER=baan.

baan is the system login, where as the user i m giving here is "Jericho", which is created as a baan User and attached with the database.
I m currently on windows NT server and SQL 7.

can someone help me out on this one, the error is as follows,
Env BaaN IV (d:\baan)
Prog BW file rexec.c # 175
Keyword BaanRexec
Username kuldeep type S language 2
Process 0xbc
Lasterror 0
Errno 0
bdberrno 0
Message 4 : LogonUser: error 1326 (Logon failure: unknown user name or bad password.)


Thanx
Jericho

OmeLuuk
27th December 2002, 16:54
ttaad2100m000 user Jericho (Baan user) is entitled to run as user baan? Or the other way around?

So do you have a user baan (that is not logging in with system account user baan but Jericho). Or do you want user Jericho to also run as user baan?

evesely
27th December 2002, 18:37
I believe you want to set up your BW configuration the other way. If your common system login is baan and you want to be the Baan user Jericho, set up BW using "baan" in the "Connect As..." field and use "-- -set USER=Jericho" in the "Command" dialog box.

chjagge
27th December 2002, 20:47
I'm not sure how it works on NT but I have used multiple Baan Users with one System user (root) when executing from a job via the cron as root. You need to set the system user to the UNIX user you created in the session ttaad2100m000.