summaryrefslogtreecommitdiffstats
path: root/source3/include/local.h
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-08-23 15:21:06 +0200
committerMichael Adam <obnox@samba.org>2012-10-19 12:15:00 +0200
commitb288ddd5c0ee7524e30a4fce3ec4f03c19a1764a (patch)
tree5274a6e05da5639ef76913a77592ba32f1fdd314 /source3/include/local.h
parent92d53dd7dc8ca71ae28d2a8762524396cd3c6f58 (diff)
downloadsamba-b288ddd5c0ee7524e30a4fce3ec4f03c19a1764a.tar.gz
samba-b288ddd5c0ee7524e30a4fce3ec4f03c19a1764a.tar.xz
samba-b288ddd5c0ee7524e30a4fce3ec4f03c19a1764a.zip
s3:smbd: use session_global_id as session number for pam and utmp
Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 02e6b43673..a87ab8f100 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -154,26 +154,6 @@
/* Minimum length of allowed password when changing UNIX password. */
#define MINPASSWDLENGTH 5
-/* maximum ID number used for session control. This cannot be larger
- than 62*62 for the current code */
-#define MAX_SESSION_ID 3000
-
-/* For the benifit of PAM and the 'session exec' scripts, we fake up a terminal
- name. This can be in one of two forms: The first for systems not using
- utmp (and therefore not constrained as to length or the need for a number
- < 3000 or so) and the second for systems with this 'well behaved terminal
- like name' constraint.
-*/
-
-#ifndef SESSION_TEMPLATE
-/* Paramaters are 'pid' and 'vuid' */
-#define SESSION_TEMPLATE "smb/%lu/%llu"
-#endif
-
-#ifndef SESSION_UTMP_TEMPLATE
-#define SESSION_UTMP_TEMPLATE "smb/%d"
-#endif
-
/* the maximum age in seconds of a password. Should be a lp_ parameter */
#define MAX_PASSWORD_AGE (21*24*60*60)