s3/rpcclient: Fix bad (and illegal) func cast
[bbaumbach/samba-autobuild/.git] / source3 / rpcclient / cmd_samr.c
index 898ae6ad6fca0a465bcb8a1c50d49f282a8d0f9e..7a3855b1b4c80c3f8e258652a5eef9b8e5ae1515 100644 (file)
@@ -2641,10 +2641,9 @@ static NTSTATUS cmd_samr_get_usrdom_pwinfo(struct rpc_pipe_client *cli,
        }
        status = result;
        if (NT_STATUS_IS_OK(result)) {
-               printf("min_password_length: %d\n", info.min_password_length);
                printf("%s\n",
                        NDR_PRINT_STRUCT_STRING(mem_ctx,
-                               samr_PasswordProperties, &info.password_properties));
+                               samr_PwInfo, &info));
        }
 
  done: