Hi,
Let me know how to achieve the below requirment
Input:
========
BEGIN DSSUBRECORD
Name "DOC_NO_2"
SqlType "-5"
Precision "0"
Scale "0"
Nullable "0"
END DSSUBRECORD
BEGIN DSSUBRECORD
Name "FROM_LOC"
... (1 Reply)
I have a file thats space delimited that looks something like this:
Joe Smith jsmith 43234 bill1;bill2;read;read2;schedule
Andy Summers asummers 11232 bill1;read
Beth McConnel bmconnel 43443 read;read2;schedule;bill
Susan Fowler sfowler 09332 bill1;read;schedule
I need to... (8 Replies)
Hi Friends,
I have a input file as below. how to convert rows to columns?
Friday:recharge 3861140
Monday:recharge 4036228
Saturday:recharge 3996376
Sunday:recharge 3777749
Thursday:recharge 3858537
Tuesday:recharge 4047045
Wednesday:recharge 3954798
desinred output
Sunday ... (3 Replies)
Hi Guru's,
I have a requirement where i need to convert rows to column based on a key column.
Input:
Account_id|Trip_Org|Trip_Dest|City|Hotel_Nm
123|DFW|CHI|Dallas|Hyatt
123|LAS|LPA|Vegas|Hyatt Palace
Output:... (6 Replies)
Hi Friends,
I have come across some files where some of the columns don not have data.
Key, Data1,Data2,Data3,Data4,Data5
A,5,6,,10,,
A,3,4,,3,,
B,1,,4,5,,
B,2,,3,4,,
If we see the above data on Data5 column do not have any row got filled. So remove only that column(Here Data5) and... (4 Replies)
Hi all, I know this sounds suspiciously like a homework course; but, it is not.
My goal is to take a file, and match my "ID" column to the "Date" column, if those conditions are true, add the total number of minutes worked and place it in this file, while not printing the original rows that I... (6 Replies)
Hi all, I'm pretty much a newbie to UNIX. I would appreciate any help with UNIX coding on comparing two large csv files (greater than 10 GB in size), and output a file with matching columns.
I want to compare file1 and file2 by 'id' and 'chain' columns, then extract exact matching rows'... (5 Replies)
HI UNIX Gurus,
Not sure if this was already asked and an UNIX Guru has replied but I could not find what i wanted. I have linux environment and need help on this. I have several files like this.
a,1
b,1
utc,10/12/2019
local,10/12/2018
name,xxxy
deg,feh
10,12
20,8
30,50
32,64
46,65... (5 Replies)
Discussion started by: Roopensingh
5 Replies
LEARN ABOUT DEBIAN
rlm_acct_unique
rlm_acct_unique(5) FreeRADIUS Module rlm_acct_unique(5)NAME
rlm_acct_unique - FreeRADIUS Module
DESCRIPTION
The rlm_acct_unique module creates a unique accounting session Id.
Many NAS vendors have their equipment supply an Acct-Session-Id attribute which is not unique over reboots. This makes accounting diffi-
cult, as there will be many independent sessions with the same Acct-Session-Id attribute. This module uses the Acct-Session-Id attribute,
along with other attributes in the request, to create a more unique session ID, called Acct-Unique-Session-Id.
The main configuration items to be aware of are:
key A list of the attributes used in calculating an MD5 hash which is used as the value for the unique session id.
CONFIGURATION
modules {
...
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, NAS-Port"
}
...
}
...
preacct {
...
acct_unique
...
}
After generating the MD5 hash, the module adds it to the accounting request packet received from the client. It will look something like
this in your detail file:
Acct-Unique-Session-Id = "c66ef57e480b9d26"
NOTE: Any attribute you specify that is not found in the 'dictionary' file will cause the server to fail and exit with an error.
NOTE: If you want the Acct-Unique-Session-Id of the Start and the Stop packet of a particular session to match, you must use values for
the key that will stay the same for the Start and Stop. The above example is a good start. Adding 'Acct-Session-Time', for example, would
cause a mismatch because that value is not the same on the Start and Stop accounting packets.
SECTIONS
authorization, pre-accounting, accounting
FILES
/etc/raddb/radiusd.conf
SEE ALSO radiusd(8), radiusd.conf(5)AUTHORS
Chris Parker, cparker@segv.org
3 February 2004 rlm_acct_unique(5)