-
Für Elements:
#!/usr/bin/env bash # set pass as env varible bind="svc_elements@geomar.de" base="dc=geomar,dc=de" dn="OU=Users,OU=GEOM,OU=_Organisation,DC=geomar,DC=de" filter="(&(|(objectClass=user))(!(userAccountControl:1.2.840.113556.1.4.803:=2)))" ldapsearch -w "$pass" -D "$bind" -b "$base" "$filter" "$attr"
Please register or sign in to comment