Pages

12/20/2013

12/16/2013

Searching Active Directory user objects for a values in an attribute

Searching Active Directory user objects for value in an attribute:
The following will look for user objects with any value in "audio" attribute
$strFilter = "(&(objectCategory=User)(audio=*))"

$objDomain = New-Object System.DirectoryServices.DirectoryEntry

$objSearcher = New-Object System.DirectoryServices.DirectorySearcher

$objSearcher.SearchRoot = $objDomain

$objSearcher.PageSize = 4000

$objSearcher.Filter = $strFilter

$objSearcher.SearchScope = "Subtree"

$colProplist = "name"

foreach ($i in $colPropList){$objSearcher.PropertiesToLoad.Add($i)}

$colResults = $objSearcher.FindAll()

foreach ($objResult in $colResults)

    {$objItem = $objResult.Properties; $objItem.name}

12/13/2013

ASA SSL VPN

SSL VPN Clients not getting DNS

PROBLEM

- Clients are getting IP assigned from address pool on ASA (not DHCP.)
- Connect successfully but do not get name resolution.  DNS servers are not being assigned
- NOT doing split tunnel

CHECK

DNS settings are defined all over the place.  Confirm the correct DNS server IP numbers are defined in the following locations:

Configuration > Remote Access VPN > DNS

Configuration > Remote Access VPN > Network (Client) Access > Group Policies
          Select Policy > Edit > Servers > DNS Servers field
                    This field will only allow 2 server IP#'s