Hi<br>
<br>
I placed a & before Ruckus-User-Groups:<br>
<br>
Foreach &control:LDAP-Cached-Membership {<br>
        update reply {<br>
                &Ruckus-User-Groups += "%{Foreach-Variable-0}"<br>
        }<br>
}<br>
<br>
You can't make random changes and expect things to work.  Have you read the unlang manual page? <br>
<br>
If you look at your debug output you'll see that the section being called exits with a 'noop'<br>
<br>
ie no operation<br>
<br>
ie no attributes were added to the reply<br>
<br>
alan<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.