diff options
author | Gerald Carter <jerry@samba.org> | 2005-05-27 20:34:19 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-05-27 20:34:19 +0000 |
commit | 10b51a72f5525407bd5025c624aa1a72cc7a1b03 (patch) | |
tree | 07184664d22e1dd0f8bc2e4b54ffcd090f283054 /source/printing | |
parent | 1bac53375e4181f98fd9b600b694a7daec3cf3e2 (diff) | |
download | samba-10b51a72f5525407bd5025c624aa1a72cc7a1b03.tar.gz samba-10b51a72f5525407bd5025c624aa1a72cc7a1b03.tar.xz samba-10b51a72f5525407bd5025c624aa1a72cc7a1b03.zip |
r7041: compile fixes....long day I guess
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/nt_printing.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c index 552d2dfe359..caacfef48fc 100644 --- a/source/printing/nt_printing.c +++ b/source/printing/nt_printing.c @@ -354,7 +354,7 @@ static int sec_desc_upg_fn( TDB_CONTEXT *the_tdb, TDB_DATA key, /* 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 @@ static BOOL upgrade_to_version_4(void) 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 @@ BOOL nt_printing_init(void) 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; |