Displaying 3 results from an estimated 3 matches for "attrldif".
2019 Mar 18
2
How to automatically store the macAddress in AD
...r '$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="$?"
if [ "$ret" -ne 0 ]; then
logger "Error modifying Computer...
2019 Mar 20
0
How to automatically store the macAddress in AD
...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="$?"
> if [ "$ret" -ne 0 ]; then
>...
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