Retirement Notice
|
|
User login
|
|
Frontpage Sponsor
|
|
Poll
|
What do you expect from your SI Implementation partner for the success of ERP implementation. Bring best practices - Not to offer more CR's Leveraging standard functions 20% Need more honesty to work with the Users until their processes are fully mapped & Users are trained 40% Focus on process automation/ integrations/ Real time data/ BI analytics 13% Stick to basics 27% Total votes: 15 |
|
|
 |

24th August 2007, 17:28
|
 |
Guru
|
|
Join Date: Dec 2001
Location: Germany
Posts: 773
|
|
Baan: BaanERP 5.0c -
DB: Oracle 8 -
OS: SunOS 5.9
|
IP-adress of client
Baan: iBaanERP 5.0c C/S: None/Unknown
Is there a way to determine the ip-adress of the actual client/user from Baan or via unix/bshell?
OK, we are on Baan 5c!
|

24th August 2007, 18:41
|
 |
Guru
|
|
Join Date: Nov 2003
Location: Mexico
Posts: 439
|
|
Baan: Baan IV, BaanERP V -
DB: Oracle 9i, Oracle10g,Oracle11 -
OS: HP Unix 11, Intel RedHat ES
|
last -1 -R
Hello Spartacus,
On HP-unix the command last -1 -R gives the last time when a user was logged on and also the ip address of the client. I don´t know if in Solaris there is a equivalent command.
Good luck.
__________________
We talk Baan!
|

25th August 2007, 07:03
|
 |
Guru
|
|
Join Date: Nov 2001
Location: Mumbai,India
Posts: 1,876
|
|
Baan: ERP Ln -
DB: MSSQL -
OS: Windos
|
ip address
On solaris the command is 'last -n 1 [username]' .
__________________
Hitesh R Shah
|

25th August 2007, 11:43
|
 |
Senior Member
|
|
Join Date: Jun 2005
Location: Mumbai
Posts: 228
|
|
Baan: Baan IV C4, LN, FP2 -
DB: Informix, Oracle -
OS: Unix, Windows
|
You can get "Computer Name" of client
Hi,
By running command "ps -ef | grep bshell" on the application server, you can get "Computer Name" of client.
Refer below Example:
ps -ef|grep bshell|pg
user1 23958 354 0 12:51:50 ? 0:12 bshell (p116144@4068mp:3904/SOCKET<p116144@4068MP:3904>) -1 545 0 1 ttstpoledae
user2 24185 354 0 13:36:48 ? 0:02 bshell (p997275@5092mp:3960/SOCKET<p115431@5092MP:3960>) -1 545 0 1
Regards,
Kaustubh
|

27th August 2007, 11:53
|
 |
Guru
|
|
Join Date: Dec 2001
Location: Germany
Posts: 773
|
|
Baan: BaanERP 5.0c -
DB: Oracle 8 -
OS: SunOS 5.9
|
Hi,
thank u all!!
I tried the "last" command on our SunOS. In my case it doesn't deliver directly the IP-Adress, but some kind of alias or a domain for it. I can "ping" that and then I will see the IP.
Unfortunatelly that is such as uncomfortable, as the use of "ps -ef..." as Kaustubh describes.
More strange is, that it only delivers values for my own user. For other persons I get only an info about the begin of "wtmp". Maybe a prob ob permissions?
Regards
Richard
|

27th August 2007, 12:26
|
 |
Senior Member
|
|
Join Date: Jun 2005
Location: Mumbai
Posts: 228
|
|
Baan: Baan IV C4, LN, FP2 -
DB: Informix, Oracle -
OS: Unix, Windows
|
is "last" command useless in this case...
Quote:
Originally Posted by spartacus
More strange is, that it only delivers values for my own user. For other persons I get only an info about the begin of "wtmp". Maybe a prob ob permissions?
Regards
Richard
|
Hi,
The last command gives list of users who had last logged into unix system and not "the list of users logged in through baan".
I think in your company, only you are accessing baan server through telnet session and that is why, only your IP is appearing there...You can even try to login to the server via telnet through some other PC and then check output of last command. It should also add that IP there...
a guess...
Regards,
Kaustubh
|

7th September 2007, 14:24
|
 |
Guru
|
|
Join Date: May 2004
Location: Nazareth
Posts: 1,492
|
|
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 -
DB: MS SQL, Oracle -
OS: Windows 2000, 2003 & UNIX
|
Hi,
Since you are on Baan 5, have you tried get.bw.hostname()?
- George
|

7th September 2007, 16:06
|
 |
Guru
|
|
Join Date: Dec 2001
Location: Germany
Posts: 773
|
|
Baan: BaanERP 5.0c -
DB: Oracle 8 -
OS: SunOS 5.9
|
Hi George,
thank you for that hint. I haven't seen this function before. I think I will try it!
Richard
|

7th September 2007, 17:45
|
 |
Guru
|
|
Join Date: Dec 2001
Location: Lisle, IL, USA
Posts: 1,148
|
|
Baan: 2.2d - LN -
DB: most -
OS: most
|
Hi All -
We have a free tool on our web site that you can load, it's a Baan session that runs and collects the users login information for you to view at any time, such as:
Client IP Address
Client BW Version
Client OS and Version
All of the information can be found using the commands in this post & others, this just does the collection for you and gives a way to view it in Baan.
http://www.rmcis.com/BaanTools.htm
It will ask for your name & email, etc.
|

11th September 2007, 15:12
|
 |
Guru
|
|
Join Date: May 2004
Location: Nazareth
Posts: 1,492
|
|
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 -
DB: MS SQL, Oracle -
OS: Windows 2000, 2003 & UNIX
|
get.bw.ip.address
I have just seen the get.bw.ip.address function. I think it is exactly what you need. It is not in the Wiki yet but it should work on your Baan.
Quote:
Syntax
string get.bw.ip.address( )
Description
This returns the ip-address of the system of the BW or Webtop client (if available)
Return values
Return value Function succeeded, return value is the requested ip-address
Empty string Information is not available
Context
Bshell function.
|
|

12th September 2007, 14:24
|
 |
Guru
|
|
Join Date: Dec 2001
Location: Germany
Posts: 773
|
|
Baan: BaanERP 5.0c -
DB: Oracle 8 -
OS: SunOS 5.9
|
Hi George,
sounded really great, but my compiler can't find this function. Is there any include or SP-Level necessary?
Some typing error?
I tried:
Code:
domain tcmcs.str20 myip
myip = get.bw.ip.address()
Richard
|

12th September 2007, 14:28
|
 |
Guru
|
|
Join Date: May 2004
Location: Nazareth
Posts: 1,492
|
|
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 -
DB: MS SQL, Oracle -
OS: Windows 2000, 2003 & UNIX
|
No typing error. This is the documentation information that the function was found in:
Quote:
Code: H1004 EN-US
Group: Development Help
Build: 7.5_a build 615
Build date: June 26, 2003
|
Did the get.bw.hostname() function work?
- George
|

12th September 2007, 15:03
|
 |
Guru
|
|
Join Date: Dec 2001
Location: Germany
Posts: 773
|
|
Baan: BaanERP 5.0c -
DB: Oracle 8 -
OS: SunOS 5.9
|
"get.bw.hostname()" works.
I searched the Baan Support for the document code: "H1004 EN-US" but, can't find anything. What kind of doc is that "H......"? Think I saw that kind of code alreday somewhere, but at the moment I have no glue where :-(
I also searched knowledgebase for: "get.bw.ip.address()" but found also nothing.
|

12th September 2007, 15:15
|
 |
Guru
|
|
Join Date: May 2004
Location: Nazareth
Posts: 1,492
|
|
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 -
DB: MS SQL, Oracle -
OS: Windows 2000, 2003 & UNIX
|
It is a CHM file that was posted here in BB (I can not find the thread yet. I will post it when I find it.). It is written in it that it is for BaanERP. I found the function also in our LN manual (and it surely works in LN).
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|