1/*
2   Unix SMB/CIFS implementation.
3   session handling for recording currently vailid vuids
4
5   Copyright (C) tridge@samba.org 2001
6   Copyright (C) Andew Bartlett <abartlet@samba.org> 2001
7   Copyright (C) Gerald (Jerry) Carter  2006
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; either version 2 of the License, or
12   (at your option) any later version.
13
14   This program is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   GNU General Public License for more details.
18
19   You should have received a copy of the GNU General Public License
20   along with this program; if not, write to the Free Software
21   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22*/
23
24/* a "session" is claimed when we do a SessionSetupX operation
25   and is yielded when the corresponding vuid is destroyed.
26
27   sessions are used to populate utmp and PAM session structures
28*/
29
30struct sessionid {
31	uid_t uid;
32	gid_t gid;
33	fstring username;
34	fstring hostname;
35	fstring netbios_name;
36	fstring remote_machine;
37	fstring id_str;
38	uint32  id_num;
39	uint32  pid;
40	fstring ip_addr;
41	time_t connect_start;
42};
43
44