search for: computer_object

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

2019 Mar 18
2
How to automatically store the macAddress in AD
...9 You can extend it to do the same thing and this will update all domain members, Linux and Windows. All you need to do is, replace the last line 'exit ${result}' with this: Hostname=$(hostname -s) # For this to work, you must add 'dhcpduser' to the 'Domain Admins' group Computer_Object=$(ldbsearch -k yes -H ldap://"$Hostname" "(&(objectclass=computer)(objectclass=ieee802Device)(cn=$name))" | grep -v '#' | grep -v 'ref:') if [ -z "$Computer_Object" ]; then # Computer object not found with the 'ieee802Device' objectclass...
2019 Mar 20
0
How to automatically store the macAddress in AD
...hing and this will update all domain > members, Linux and Windows. > > All you need to do is, replace the last line 'exit ${result}' with this: > > Hostname=$(hostname -s) > > # For this to work, you must add 'dhcpduser' to the 'Domain Admins' group > Computer_Object=$(ldbsearch -k yes -H ldap://"$Hostname" > "(&(objectclass=computer)(objectclass=ieee802Device)(cn=$name))" | grep -v > '#' | grep -v 'ref:') > if [ -z "$Computer_Object" ]; then > # Computer object not found with the 'ieee802Dev...
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