svn commit: samba r7041 - in branches/SAMBA_3_0/source/printing: .

jerry at samba.org jerry at samba.org
Fri May 27 20:34:20 GMT 2005


Author: jerry
Date: 2005-05-27 20:34:19 +0000 (Fri, 27 May 2005)
New Revision: 7041

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

Log:
compile fixes....long day I guess
Modified:
   branches/SAMBA_3_0/source/printing/nt_printing.c


Changeset:
Modified: branches/SAMBA_3_0/source/printing/nt_printing.c
===================================================================
--- branches/SAMBA_3_0/source/printing/nt_printing.c	2005-05-27 20:07:33 UTC (rev 7040)
+++ branches/SAMBA_3_0/source/printing/nt_printing.c	2005-05-27 20:34:19 UTC (rev 7041)
@@ -354,7 +354,7 @@
 	/* create a new SEC_DESC with the appropriate owner and group SIDs */
 
 	string_to_sid(&sid, "S-1-5-32-544" );
-	new_sec = make_sec_desc( ctx, SEC_DESC_REVISION, 
+	new_sec = make_sec_desc( ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE,
 		&sid, &sid,
 		NULL, NULL, &size_new_sec );
 	sd_new = make_sec_desc_buf( ctx, size_new_sec, new_sec );
@@ -396,7 +396,7 @@
 
 	DEBUG(0,("upgrade_to_version_4: upgrading printer security descriptors\n"));
 
-	if ( !(ctx = talloc_init_named( "upgrade_to_version_4" )) ) 
+	if ( !(ctx = talloc_init( "upgrade_to_version_4" )) ) 
 		return False;
 
 	result = tdb_traverse( tdb_printers, sec_desc_upg_fn, ctx );
@@ -415,6 +415,7 @@
 	static pid_t local_pid;
 	const char *vstring = "INFO/version";
 	WERROR win_rc;
+	uint32 vers_id;
 
 	if (tdb_drivers && tdb_printers && tdb_forms && local_pid == sys_getpid())
 		return True;



More information about the samba-cvs mailing list