LiuYan 刘研
2016-Jul-11 06:56 UTC
[Samba] Can the 'operatingSystemVersion' value of DC computers in LDAP server keeps up to date?
When I use ldbsearch to get the operatingSystemVersion information, I got '4.0.6', but I'm running samba-4.4.5 now. It seems that this information stayed at the version number when I provisioned the domain. Can this version number keeps up to date when I upgraded samba server? I can write a small script and scheduled it to change this information periodically, but if there's an internal way to change it, that would be great! # ldbsearch -H /usr/local/samba/private/sam.ldb -b 'DC=MYDOMAIN,DC=com' '(&(samAccountType=805306369)(primaryGroupId=516)(objectCategory=computer))' operatingSystem operatingSystemVersion operatingSystemServicePack # record 1 dn: CN=DC-1,OU=Domain Controllers,DC=MYDOMAIN,DC=com operatingSystem: Samba operatingSystemVersion: 4.0.6 ...
mathias dufresne
2016-Jul-11 12:42 UTC
[Samba] Can the 'operatingSystemVersion' value of DC computers in LDAP server keeps up to date?
I would say you can change it manually after upgrading your Samba packages (ldbedit?), you can modify these packages for one of them do this modification once the package is installed (ldbmodify + LDIF?) or more complex - for me - would be to modify Samba's code itself to add some verification at start up or something like that to update this value. 2016-07-11 8:56 GMT+02:00 LiuYan 刘研 <lovetide at qq.com>:> When I use ldbsearch to get the operatingSystemVersion information, I got > '4.0.6', but I'm running samba-4.4.5 now. > > It seems that this information stayed at the version number when I > provisioned the domain. > Can this version number keeps up to date when I upgraded samba server? > I can write a small script and scheduled it to change this information > periodically, but if there's an internal way to change it, that would be > great! > > # ldbsearch -H /usr/local/samba/private/sam.ldb -b 'DC=MYDOMAIN,DC=com' > > '(&(samAccountType=805306369)(primaryGroupId=516)(objectCategory=computer))' > operatingSystem operatingSystemVersion operatingSystemServicePack > # record 1 > dn: CN=DC-1,OU=Domain Controllers,DC=MYDOMAIN,DC=com > operatingSystem: Samba > operatingSystemVersion: 4.0.6 > ... > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Reasonably Related Threads
- Autogenerating of operatingSystem and operatingSystemVersion attributes in AD
- Active Directory Object, Operating System tab
- SAMBA 4 acting as Domain Server- Is Exchange 2010 capable of being installed?
- I can't join to an existing domain (yet)
- Update of operatingSystem and operatingSystemVersion attributes in AD