Arggh. Got the path/user the wrong way around. IDL is correct :-).
authorJeremy Allison <jra@samba.org>
Thu, 22 May 2008 21:36:09 +0000 (14:36 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 23 May 2008 07:11:39 +0000 (09:11 +0200)
Jeremy.
(cherry picked from commit 40548ba51c93de1e2b8a29be07e2f53540f4e9d4)

source/rpc_server/srv_srvsvc_nt.c

index 9817ee350938817bd0145af012e7612fa227fbff..cd64c63795430148194249674e30e22cf6a62e4c 100644 (file)
@@ -105,8 +105,8 @@ static int pipe_enum_fn( struct db_record *rec, void *p)
                                 (uint32_t)((procid_to_pid(&prec.pid)<<16) & prec.pnum),
                                 (FILE_READ_DATA|FILE_WRITE_DATA),
                                 0,
-                                username,
-                                fullpath);
+                                fullpath,
+                                username);
 
        fenum->ctr3->count++;
 
@@ -207,8 +207,8 @@ static void enum_file_fn( const struct share_mode_entry *e,
                                 e->share_file_id,
                                 permissions,
                                 num_locks,
-                                username,
-                                fullpath);
+                                fullpath,
+                                username);
        fenum->ctr3->count++;
 }