View Single Post
  #1  
Old 26th June 2004, 13:28
positive positive is offline
Junior Member
 
Join Date: Jun 2004
Posts: 5
positive is on a distinguished road
Baan: Baan4c4 - DB: SQL Server - OS: Windows 2000
Not authorized to run as user baan

We have the following environment:

Baan Server (machine name 'baan'):
OS: Windows 2000 server
BaanIVc4
porting set 6.1c.06.03
BSE: d:\Baan4c4

Remote Server (machine name 'remote'):
OS: Windows 2000 server/Windows 2000 Professional
BaanIVc4
porting set 6.1c.06.03
BSE: c:\Baan4c4

We try to connect the Baan server via the Remote server using a Remote bshell.

We already have the Baan user (ubaan) on the server
The database user also exists
We created the remote user and converted it to runtime (rbaan)
We moved this rbaan file to $BSE\lib\user of Remote Server
We set the BSE_REM on the Remote server to 'remote' (i.e. Remote server name)
We created a bwc on the remote server with the following config:
hostname: remote
connect as: baan
pwd: baan999 (this is the password used for the database as well as remote user)
BSE: As on remote server i.e. c:\Baan4c4

The ubaan file exists on the Baan Server.
The Baan server as well as Remote Server contain the OS login baan with the pwd baan999. On both machines baan belongs to the administrator group.

Now we run the rbaan.bwc on the Remote Server BECS client and we get the following error:
Not authorized to run as user 'baan'
Windows Sockets error 10053
Connection with server broken

We do not have any change in the network setup. We have done this in the past and it was working.
The regular ubaan (non-Remote shell mode) login works fine.

We also checked the Event Viewer on Remote Server and noticed the following errors:

Event Type: Error
Event Source: Baan
Event Category: Bshell
Event ID: 1000
User: REMOTE\baan
Computer: REMOTE
Description:
Env Baan4c4 (C:\Baan4c4)
Prog bshell file \general\lib\nw_1\IPC_GLOB.C # 1233
Keyword ipc
Username baan type S language 2
Process 0x5d0
Lasterror 0
Errno 0
bdberrno 0
Message Host 'remote' not listed (or error in format line) in C:/Baan4c4/lib/user/rbaan file.

Description:
Env Baan4c4 (C:\Baan4c4)
Prog bshell file \general\lib\nw_1\IPC_SOCK.C # 323
Keyword ipc
Username baan type S language 2
Process 0x5d0
Lasterror 997 (Overlapped I/O operation is in progress.)
Errno 0
bdberrno 0
Message remote info user 'baan' unknown

Description:
Env Baan4c4 (C:\Baan4c4)
Prog bshell file \ui\lib\ds_1\DS_BCNCT.C # 181
Keyword DsSendNAck
Username baan type S language 2
Process 0x5d0
Lasterror 0
Errno 0
bdberrno 0
Message Not authorized to run as user 'baan'

Description:
Env Baan4c4 (c:\baan4c4)
Prog BW file _scnct.c # 317
Keyword DsConnectToBshell
Username baan type S language 2
Process 0x820
Lasterror 6 (The handle is invalid.)
Errno 0
bdberrno 0
Message 1 : Not authorized to run as user 'baan'

We do not know why does it look for the hostname REMOTE in the rbaan file? The rbaan file generated by Baan tools has only the following information:

baan d:\baan4c4 <encrypted password>

We tried adding a REMOTE host entry in the rbaan. As expected it did not work. It got a timeout error while trying to connect/locate the server.

We have seen the other threads related to 10053 and none of these help since this was working in the past with the same setup and there is no change in the network.

Regards
Positive