summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-03-10 18:10:10 +0000
committerLuke Leighton <lkcl@samba.org>2000-03-10 18:10:10 +0000
commit83ee9372fc18eaef6d00fbc7c1fb68747e2303bb (patch)
treef646a267754f976afac0a55bac041c03f6da9a6f /source3/include/smb.h
parente0ebb76a7453c07c16e8f736233226a774ab58e8 (diff)
downloadsamba-83ee9372fc18eaef6d00fbc7c1fb68747e2303bb.tar.gz
samba-83ee9372fc18eaef6d00fbc7c1fb68747e2303bb.tar.bz2
samba-83ee9372fc18eaef6d00fbc7c1fb68747e2303bb.zip
you know, when you do a cvs commit, you _really_ expect it to actually work.
this explains why j-f wasn't happy. (This used to be commit c51e38214a5323d0aa9b6dcd948a76ddc29f5305)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h51
1 files changed, 29 insertions, 22 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 53454cc414..15b491239c 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -2,10 +2,10 @@
Unix SMB/Netbios implementation.
Version 1.9.
SMB parameters and setup
- Copyright (C) Andrew Tridgell 1992-1998
- Copyright (C) John H Terpstra 1996-1998
- Copyright (C) Luke Kenneth Casson Leighton 1996-1998
- Copyright (C) Paul Ashton 1998
+ Copyright (C) Andrew Tridgell 1992-2000
+ Copyright (C) John H Terpstra 1996-2000
+ Copyright (C) Luke Kenneth Casson Leighton 1996-2000
+ Copyright (C) Paul Ashton 1998-2000
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -618,33 +618,43 @@ struct dcinfo
uchar md4pw[16]; /* md4(machine password) */
};
+#include "nt_printing.h"
+
+#include "ntdomain.h"
+
typedef struct
{
- uid_t uid; /* uid of a validated user */
- gid_t gid; /* gid of a validated user */
+ uid_t uid; /* uid of a validated user */
+ gid_t gid; /* gid of a validated user */
- fstring requested_name; /* user name from the client */
- fstring name; /* unix user name of a validated user */
- fstring real_name; /* to store real name from password file - simeon */
- BOOL guest;
+ fstring requested_name; /* user name from the client */
+ fstring name; /* unix user name of a validated user */
+ fstring real_name; /* to store real name from password file - simeon */
+ BOOL guest;
- /* following groups stuff added by ih */
- /* This groups info is needed for when we become_user() for this uid */
- int n_groups;
- gid_t *groups;
+ /* following groups stuff added by ih */
+ /* This groups info is needed for when we become_user() for this uid */
+ int n_groups;
+ gid_t *groups;
- int n_sids;
- int *sids;
+ /* per-user authentication information on NT RPCs */
+ /* lkclXXXX - THIS SHOULD NOT BE HERE! */
+ struct dcinfo dc;
- /* per-user authentication information on NT RPCs */
- struct dcinfo dc;
+ NET_USER_INFO_3 usr;
} user_struct;
+typedef struct
+{
+ uint32 pid;
+ uint16 vuid;
+
+} vuser_key;
enum {LPQ_QUEUED,LPQ_PAUSED,LPQ_SPOOLING,LPQ_PRINTING};
-typedef struct
+typedef struct _print_queue_struct
{
int job;
int size;
@@ -1636,9 +1646,6 @@ extern int chain_size;
#include "smb_macros.h"
-#include "nt_printing.h"
-#include "ntdomain.h"
-
/* A netbios name structure. */
struct nmb_name {
char name[17];