svn commit: samba r12458 - in trunk/source: auth include

vlendec at samba.org vlendec at samba.org
Fri Dec 23 20:51:26 GMT 2005


Author: vlendec
Date: 2005-12-23 20:51:25 +0000 (Fri, 23 Dec 2005)
New Revision: 12458

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12458

Log:
Remove a write-only struct member
Modified:
   trunk/source/auth/auth_util.c
   trunk/source/include/auth.h


Changeset:
Modified: trunk/source/auth/auth_util.c
===================================================================
--- trunk/source/auth/auth_util.c	2005-12-23 20:41:49 UTC (rev 12457)
+++ trunk/source/auth/auth_util.c	2005-12-23 20:51:25 UTC (rev 12458)
@@ -915,8 +915,6 @@
 		return status;
 	}
 
-	(*server_info)->sam_fill_level = SAM_FILL_ALL;
-
 	DEBUG(5,("make_server_info_sam: made server info for user %s -> %s\n",
 		 pdb_get_username(sampass), (*server_info)->unix_name));
 
@@ -978,7 +976,6 @@
 
 	(*server_info)->unix_name = smb_xstrdup(unix_username);
 
-	(*server_info)->sam_fill_level = SAM_FILL_ALL;
 	(*server_info)->uid = pwd->pw_uid;
 	(*server_info)->gid = pwd->pw_gid;
 
@@ -1023,7 +1020,6 @@
 
 	(*server_info)->unix_name = smb_xstrdup(unix_username);
 
-	(*server_info)->sam_fill_level = SAM_FILL_ALL;
 	(*server_info)->uid = pwd->pw_uid;
 	(*server_info)->gid = pwd->pw_gid;
 
@@ -1428,7 +1424,6 @@
 
 	/* Fill in the unix info we found on the way */
 
-	(*server_info)->sam_fill_level = SAM_FILL_ALL;
 	(*server_info)->uid = uid;
 	(*server_info)->gid = gid;
 

Modified: trunk/source/include/auth.h
===================================================================
--- trunk/source/include/auth.h	2005-12-23 20:41:49 UTC (rev 12457)
+++ trunk/source/include/auth.h	2005-12-23 20:51:25 UTC (rev 12458)
@@ -40,12 +40,6 @@
 
 } auth_usersupplied_info;
 
-#define SAM_FILL_NAME  0x01
-#define SAM_FILL_INFO3 0x02
-#define SAM_FILL_SAM   0x04
-#define SAM_FILL_UNIX  0x08
-#define SAM_FILL_ALL (SAM_FILL_NAME | SAM_FILL_INFO3 | SAM_FILL_SAM | SAM_FILL_UNIX)
-
 typedef struct auth_serversupplied_info {
 	BOOL guest;
 
@@ -65,8 +59,6 @@
 
         char *login_server; /* which server authorized the login? */
 	
-	uint32 sam_fill_level;  /* How far is this structure filled? */
-	
 	SAM_ACCOUNT *sam_account;
 	
 	void *pam_handle;



More information about the samba-cvs mailing list