Novell is now a part of Micro Focus

My Favorites


Please to see your favorites.

DSFW: operatingSystemVersion attribute not populated when a workstation is joined to a DSfW domain.

This document (7013205) is provided subject to the disclaimer at the end of this document.


Novell Open Enterprise Server 11 SP1 (OES11SP1)
Domain Services for Windows


When a workstation is joined to an Active Directory domain, the operationSystemVersion attribute is automatilcy populated.  This attribute is used by tools such as Volume Activation Management Tool (VAMT). 

As of the July Maintenance Patch for OES11SP1 DSfW does not automatically update populate the operationSystemVersion attribute when a workstation joins the domain.
See TID 7014322 [NETLOGON] Workstation failed to authenticate: 0xc0000022 for more info.


The addition of the populating of the operatingSystem  attributes has been implemented with the November 2013 Maintenance Patch for OES11SP1

The patch populates

The operatingSystem attributes will be populated on logon or when a workstation is joined to the domain and the computer object is created.  .

If the computer object already exists run the script seen in the additional section.

Joining (no computer object exists) or running the will add 3 ACLs to the computer objects.

In this example the computer name is WINDOWS7PC1:

acl: 6#entry#cn=WINDOWS7PC1-01,cn=Computers,o=oes11sp1#operatingSystem
acl: 6#entry#cn=WINDOWS7PC1-01,cn=Computers,o=oes11sp1#operatingSystemVersion
acl: 6#entry#cn=WINDOWS7PC1-01,cn=Computers,o=oes11sp1#operatingSystemServicePack

The ACLs will be created when a workstation joins the domain.  If a workstation is already joined to the domain it is recommended to run the first, then rejoin the computer to the domain.  Otherwise the 3 ACLs will not be added to an existing computer object.

Additional Information

Download the update_computer_acls script from
or create a script to update existing workstation objects ACLs
Script Name:
Copy the contents below into the file named, then make the script executable (chmod +x, and run the script.


use warnings;
use strict;

my $debug = 0;
my $domain_nc = `/opt/novell/xad/share/dcinit/ 'Domain NC'`;

my @ldap_output=`LDAPCONF=/etc/opt/novell/xad/openldap/ldap.conf ldapsearch -Q -Y EXTERNAL -s sub -b $domain_nc 'objectclass=msds:computer' dn -LLL -o ldif-wrap=no`;

if ($? != 0) {
my $err = $? >> 8;
print "Failed to search the computer objects : $err : [@ldap_output]\n";
exit -1;


my @all_computers = grep (!/ou=domain controllers,/ig, @ldap_output);
@all_computers = grep (/^dn:/ig, @all_computers);

my $ldif_file = "/var/opt/novell/xad/ds/domain/update_computer_acls.ldif";
open LDIFFILE,">$ldif_file" 
or die('Could not open the ldif file \n');

foreach my $computer (@all_computers) {
print "Updating acls on computer [$computer]\n" if ($debug);

my $computer_cn = $computer;
$computer_cn =~ s/^dn: //i;

print LDIFFILE "$computer\n";
print LDIFFILE "changeType: modify\n";
print LDIFFILE "add: ACL\n";
print LDIFFILE "ACL: 6#entry#$computer_cn#operatingSystem\n";
print LDIFFILE "ACL: 6#entry#$computer_cn#operatingSystemVersion\n";
print LDIFFILE "ACL: 6#entry#$computer_cn#operatingSystemServicePack\n\n";

print "Updating the ACLs on the computer objects \n" if ($debug);

my @output = `LDAPCONF=/etc/opt/novell/xad/openldap/ldap.conf ldapmodify -Q -c\\
-Y EXTERNAL -f $ldif_file 2>&1`;
my $err = $? >> 8;
if ($? != 0 and $err != 20) {
chomp (@output);
print "Failed to update ACLs on computer object : $err: [@output]\n";
exit -1;
else {
print "Successfully updated the ACLs on the computer objects \n";


This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7013205
  • Creation Date:04-SEP-13
  • Modified Date:22-JUL-14
    • NovellOpen Enterprise Server
    • SUSESUSE Linux Enterprise Server
    • NetIQeDirectory

Did this document solve your problem? Provide Feedback