search for: objldif

Displaying 3 results from an estimated 3 matches for "objldif".

Did you mean: objdir
2019 Mar 18
2
How to automatically store the macAddress in AD
...-v 'ref:') if [ -z "$Computer_Object" ]; then logger "Computer '$name' not found. Exiting." result="${result}68" exit "${result}" else DN=$(echo "$Computer_Object" | grep 'dn:') objldif="$DN changetype: modify add: objectclass objectclass: ieee802Device" attrldif="$DN changetype: modify add: macAddress macAddress: $DHCID" # add the ldif echo "$objldif" | ldbmodify -k yes -H ldap://"$Hostname" ret="$?&qu...
2019 Mar 20
0
How to automatically store the macAddress in AD
..."$Computer_Object" ]; then > logger "Computer '$name' not found. Exiting." > result="${result}68" > exit "${result}" > else > DN=$(echo "$Computer_Object" | grep 'dn:') > objldif="$DN > changetype: modify > add: objectclass > objectclass: ieee802Device" > > attrldif="$DN > changetype: modify > add: macAddress > macAddress: $DHCID" > > # add the ldif > echo "$objldif" | ldbmodify -k yes -H...
2019 Mar 14
8
How to automatically store the macAddress in AD
Hi list, Does someone know a way to automatically store the hwaddress in the AD? I'm using Veyon in my school to manage the students PCs and if the hwadress is populated in the AD, the Room configuration can be set with AD otherwise i have to manage rooms manually. I'm using samba4 with bind and isc-dhcp-server are on the same server. Can we use scripts or some ways? thanks in advance