I have a text file which I could convert into any format, I choose CSV as per similar discussion in: Bulk add / import / enroll users
In text files I have computer name, IP address, MAC address
All those computers exist in LDAP but without IP address and MAC
I would like to import that into LDAP with, possibly, udm. I tried command manually to insert at least 1 computer and I get errors, could someone please help me create the correct command? Thanks. I tried:
udm computers/windows modify --dn=cn=PC2 --set macAddress=00:11:22:33:44:55
Warning: No attribute with name 'macAddress' in this module, value not set.
Modify computers/computer not allowed
udm computers/computer modify --dn cn=PC2 --set macAddress=00:11:22:33:44:55
Warning: No attribute with name 'macAddress' in this module, value not set.
E: object not found
I tried various options, modify
, --set
, --append --dn=cn=PC2
No luck.