SharePoint Workflow Start task process assigned to Distribution List

I created a SharePoint workflow and used the start task process. I assigned the task to an Outlook distribution list (DL). I selected "assign a task to each member within groups". The workflow runs, but it only assigns tasks to two of the four people on the DL. Any idea what is going wrong?

php – How to output the taxonomies that are assigned to each custom post?

I’m trying to loop through all custom posts and output the taxonomies that are assigned to each post. The code below is currently just outputting every taxonomy available to the post, even if it isn’t assigned to it.. No clue why, maybe someone can help?


  function create_custom_xml_sitemap($post_ID, $post_after, $post_before)
  {
      $post_type = get_post_type($post_ID);
      if ($post_type == 'expertise_posts') {
          $sitemap = '<?xml version="1.0" encoding="UTF-8"?>';
          $sitemap .= '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
    
          $args = array(
            'post_type' => 'expertise_posts',
            'posts_per_page' => -1,

        );

          $the_query = new WP_Query($args);

          if ($the_query->have_posts()) :
          while ($the_query->have_posts()) : $the_query->the_post();

          $home_url = get_home_url();
          $url = get_permalink();

          $taxonomy_objects = get_object_taxonomies('expertise_posts', 'objects');
          foreach ($taxonomy_objects as $taxonomy_slug => $taxonomy) {
              $terms = get_terms($taxonomy_slug, 'hide_empty=0');
              if (!empty($terms)) {
                  foreach ($terms as $term) {
                      $sitemap .= $term->name;
                  }
              }
          }
          
          endwhile;
          endif;

          $sitemap .= '</urlset>';
      }

      $fp = fopen(ABSPATH . "test.xml", 'w');
      fwrite($fp, $sitemap);
      fclose($fp);
  }
add_action('post_updated', 'create_custom_xml_sitemap', 21, 3);

sharepoint online – Assigned To Field not populating in Sync’d MPP Task list

I have successfully sync’d a MS Project Pro (MPP) file with a SharePoint Task list. However, the Resource Names located in the MPP file which are supposed to map to the Assigned To field in the SharePoint Task list are not coming across. This field contains multiple user names in it for a given item.

I checked the Resources View in the sync’d MPP file and ensured the users email was there and when I did that a little box showed up to the left of the user name in the Resource view. But for some reason the list of names are not populating in the Assigned To field in SharePoint.

Any suggestions?

mysql – Mysqld draining memory, using way more then assigned and not giving any back

This is a production server.

Whenever mysqld is restarted the memory consumption slowly builds up to about 75 to 90% of my total memory (while only 8 out of 32GB is allocated to mysqld).
Sometimes this takes 5 hours, sometimes this takes 16 hours.
Usually it sticks around that percentage for a good amount of hours.
If that was just it it would be fine, but after some time it then starts using even more memory, Until it overflows, causing my 32GB swap drive to fill up to 100% sometimes.
Now things start to rapidly slow down to a crawl with mostly timeouts. It does recover after some time to the point it will no longer timeout for a while, but the memory never frees up so its constantly on the verge of dropping out again.

Anyone have an insight on how can this be?
Why is mysqld using so much memory and not returning any free mem?
And why is it not respecting at all the buffer limits that were set?
I have played around for some time with the mariadb.conf, but even reverting all back to default doesn’t seem to have much impact on the memory usage.

Running

mysqld  Ver 10.3.27-MariaDB-0+deb10u1

top stats

mysql     20   0   33.2g  25.1g   3760 S 521.6  80.1   1122:26 mysqld

Memory/buffer specs from mysql tuner

(--) Physical Memory     : 31.3G
(--) Max MySQL memory    : 8.0G
(--) Other process memory: 1.4G                                                                                                                                                                                                               
(--) Total buffers: 7.5G global + 2.9M per thread (151 max threads)                                                                                                                                                                           
(--) P_S Max memory usage: 104M
(--) Global Buffers
(--)  +-- Key Buffer: 128.0M
(--)  +-- Max Tmp Table: 256.0M
(--) Query Cache Buffers
(--)  +-- Query Cache: OFF - DISABLED
(--)  +-- Query Cache Size: 0B
(--) Per Thread Buffers
(--)  +-- Read Buffer: 128.0K
(--)  +-- Read RND Buffer: 256.0K
(--)  +-- Sort Buffer: 2.0M
(--)  +-- Thread stack: 292.0K
(--)  +-- Join Buffer: 256.0K

Mariadb conf

skip-name-resolve
performance_schema      = ON
query_cache_type        = 0
query_cache_size        = 0   
tmp_table_size          = 256M
max_heap_table_size     = 256M
innodb_log_files_in_group       = 4
innodb_buffer_pool_size        = 7G 
innodb_status_file                      #extra reporting
innodb_file_per_table                   #enable always
innodb_flush_log_at_trx_commit  = 2     #2/0 = perf, 1 = ACID
innodb_table_locks              = 0  
innodb_lock_wait_timeout        = 60
innodb_thread_concurrency       = 24 
innodb_commit_concurrency       = 2 
innodb_log_file_size   = 384M
innodb_buffer_pool_instances = 7  

ubuntu – Security Onion 2.3 The IP being routed by Linux is not the IP address assigned to the management interface?

I have just installed Security Onion 2.3 and I faced some issue with network configuration, first of all I have 2 interface

1- Host Only for Management

2- Nat with internet connection

but I receive this error

The IP being routed by Linux is not the IP address assigned to the
 management interface?  

What’s wrong in my configuration and how canI fix it?

web scraping – Variable is not assigned a value within a function but assigned outside of a function

I am writing web scraping code and it works well when each line is written in a separate cell but doesn’t work when put inside of a function.

NameError name ‘soup’ is not defined with this code:

def get_data(url):
    r=requests.get(url)
    soup=bs4.BeautifulSoup(r.text,"lxml")
    return soup

Works fine when separately:

r = requests.get(url)

soup = bs4.BeautifulSoup(r.text,"lxml")

The same exact problem with other functions. Really can’t figure out why.

CustomerSession -How is the getNoReferer() method assigned value?

Class MagentoCustomerModelUrl – Line 122
I can’t find the place that system sets value for getNoReferer() method.
Please show me how the system sets its value.
Thanks.
enter image description here

2013 – Workflow gets stuck when task is assigned to a group which contain & in its name

I have developed SharePoint 2013 workflow in SPD and task is assigned to a SharePoint security group. One of the group is HR & Admin. and when ever task is assigned to this group then workflow throws following error:

HTTP BadRequest to https://someserver/sites/somesite/_api/sp.utilities.utility.ResolvePrincipalInCurrentcontext?input='HR+&+Admin.'&scopes='15'&sources='15'&inputIsEmailOnly='false'&addToUserInfoList='True'&matchUserInfoList='true' Correlation Id: dfc163c8-b515-0fe1-af40-8cc8e27deee5 Instance Id: 0f3ecec8-d5ef-4811-b96c-bf24787ff056 

The query string "input" is missing or invalid.  

It seems the & in group name is creating problem. How to fix this issue?

authorization – get the token to be assigned to the single course. – SAS Token

It is such that I am looking for ideas for my proposal.

In relation to SAS on Azure blob storage, the customer has the opportunity to purchase access to the course via single payment and monthly payment.

I want to hear about how I should be safe in relation to whether the CUSTOMER can see / download content etc.

My thinking about this: Let’s also say that the customer buys a membership for 6 months, well then the token must apply to that customer for 6 months, after which it will be renewed.

With this, my second thought is that the customer single purchase that applies token only for all the time you want.

My question is:
In relation to the token, do I have to save it on the purchased invoice table for the customer? Which is set the same with the single course.

linux networking – Routing traffic from a bridge interface (with IP assigned) to another network on a different local interface

I’m on Ubuntu 20.04 and am running virtual machines (KVM) locally that are attached to a bridge interface on the host. The bridge (and all VMs attached to it) are getting their IPs via DHCP from a DSL/router on the same network.

The bridged interface on the VM host looks like this:

br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.188.22  netmask 255.255.255.0  broadcast 192.168.188.255
        inet6 fe80::2172:1869:b4cb:ec84  prefixlen 64  scopeid 0x20<link>
        inet6 2a01:c22:8c21:4200:6dd0:e662:4f46:c591  prefixlen 64  scopeid 0x0<global>
        inet6 2a01:c22:8c21:4200:8d92:1ea5:3c93:3668  prefixlen 64  scopeid 0x0<global>
        ether 00:d8:61:9d:ad:c5  txqueuelen 1000  (Ethernet)
        RX packets 1512101  bytes 2026998740 (2.0 GB)
        RX errors 0  dropped 12289  overruns 0  frame 0
        TX packets 849612  bytes 1582945488 (1.5 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I’ve enabled IP forwarding on the host and configured the VMs to use the host as the gateway.

This is how the routes look like inside a VM:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.188.22  0.0.0.0         UG    0      0        0 eth0
192.168.188.0   0.0.0.0         255.255.255.0   U     100    0        0 eth0

Routes on the VM host:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.188.1   0.0.0.0         UG    425    0        0 br0
10.8.0.1        10.8.0.17       255.255.255.255 UGH   50     0        0 tun0
10.8.0.17       0.0.0.0         255.255.255.255 UH    50     0        0 tun0
172.28.52.0     10.8.0.17       255.255.255.0   UG    50     0        0 tun0
192.168.4.0     10.8.0.17       255.255.255.0   UG    50     0        0 tun0
192.168.5.0     10.8.0.17       255.255.255.0   UG    50     0        0 tun0
192.168.10.0    10.8.0.17       255.255.255.0   UG    50     0        0 tun0
192.168.50.0    10.8.0.17       255.255.255.0   UG    50     0        0 tun0
192.168.100.0   10.8.0.17       255.255.255.0   UG    50     0        0 tun0
192.168.188.0   0.0.0.0         255.255.255.0   U     425    0        0 br0
192.168.188.1   0.0.0.0         255.255.255.255 UH    425    0        0 br0
213.238.34.194  192.168.188.1   255.255.255.255 UGH   425    0        0 br0
213.238.34.212  10.8.0.17       255.255.255.255 UGH   50     0        0 tun0

Accessing IPs on the 192.168.188.0/24 network and public internet from inside the virtual machines works fine but I can’t seem to figure out how to route traffic from inside the VMs to any of the IPs/networks that are reachable through the “tun0” interface on the VM host itself.

/proc/sys/net/ipv4/ip_forward is set to “1” , I’ve manually (using iptables -F) flushed all firewall rules from all tables/chains to avoid any interference … what more do I need to be able to do (for example) “ping 192.168.50.2” from inside one of the virtual machines ?

This is what I captured by running “tcpdump -i br0 host ” on the VM host while trying to access 192.168.50.212 (one of the machines on the “tun0” network) from inside one of the VMs:

enter image description here

How can I get the VMs attached to the local “br0” interface to also have connectivity with the networks accessible only through the local “tun0” device ?