[Samba] ip attrs on computer object
Arnaud FLORENT
aflorent at iris-tech.fr
Thu Apr 18 07:22:55 UTC 2024
Le 16/04/2024 à 17:14, Arnaud FLORENT via samba a écrit :
> Hi
>
> Le 16/04/2024 à 17:08, Kees van Vloten via samba a écrit :
>> Hi team,
>>
>> I am trying to store some ip-data on the computer-account object in
>> ldap. I managed to store ip-address in 'ipHostNumber' and mac-address
>> in 'macAddress' (after adding objectClass: "ieee802Device").
>>
>> The last attribute I want to store is 'ipNetmaskNumber' (which is in
>> the 2008R2 schema), but that fails because it is non-existent in the
>> objectClasses. This attribute exists in the schema, but I can't
>> figure out how to make it usable on the computer-account object.
>>
>> What would be the objectClass to add?
> ipNetwork
>>
>> Or is this a bad idea and should I better follow a different approach?
> sorry i cant tell
it looks that ipNetwork represents an abstraction of a network
https://learn.microsoft.com/en-us/windows/win32/adschema/c-ipnetwork
so it may not be the right class to use for a computer...
may be you should follow a different approach...
>>
>> (samba 4.19.5 on bookworm)
>>
>> - Kees.
>>
>>
--
Arnaud FLORENT
IRIS Technologies
More information about the samba
mailing list