@lists: "Hello,
Apologies if this has been asked before but I can't seem to find any reference.
I was wondering if it is possible to change the advertised operating system version that Samba 4 reports?
For example if you browse to the Samba 4 AD account using the WIndows AD Users and Computer utility and right click on the Samba 4 server, under the Operating System Tab the Name will appear as Samba and the version will appear as the current Samba Version. As I built from source this is appearing as 4.1.4.
Is it possible to change this to something like 5 or 6 or even 7 ? The reason I want to do this is some programs, notably Exchange 2010 check the AD controller before installing. While the Functional Level is correct the Exchange Installer detects the OS as version 4.1.4 or whatever and bomb out. 
I've tried manipulating the server string parameter in smb.conf but to no avail.
Many thanks in advance.
Robert
To unsubscribe from this list go to the following URL and read the
instructions:  <url>"
    @samba: "Hello,
Am 08.02.2014 19:53, schrieb Robert Sweetnam:
<quote>
 > operating system version that Samba 4 reports?
 > the WIndows AD Users and Computer utility and right click on
 > will appear as Samba and the version will appear as the current
 > Samba Version. As I built from source this is appearing as 4.1.4.
Do you mean the operationSystem and operationSystemVersion attribute of 
the domain controllers machine account?
This is always set to "Samba" and the version you run at 
provisioning/classicupgrade time:
# ldbsearch -H ldap://DC1 -U administrator "cn=DC1"
Password for [SAMDOM\administrator]
# record 1
...
operatingSystem: Samba
operatingSystemVersion: 4.0.5
You can change this with
# ldbedit -H ldap://localhost -Uadministrator -b "CN=DC1,OU=Domain 
Controllers,DC=samdom,DC=example,DC=com"
As the version always shows the one you used at provisioning time and 
never changes, I _guess_, that it's save to change it. But without any 
warranty. :-)
Regards,
Marc
To unsubscribe from this list go to the following URL and read the
instructions:  <url>"
    @lists: "- Original Message -
From: "Marc Muehlfeld" <email_address>
To: "Robert Sweetnam" <email_address>, <email_address>
Sent: Saturday, 8 February, 2014 7:40:21 PM
Subject: Re: [Samba] Change Operating System Version Number
Hello,
Am 08.02.2014 19:53, schrieb Robert Sweetnam:
<quote>
 > operating system version that Samba 4 reports?
 > the WIndows AD Users and Computer utility and right click on
 > will appear as Samba and the version will appear as the current
 > Samba Version. As I built from source this is appearing as 4.1.4.
Do you mean the operationSystem and operationSystemVersion attribute of 
the domain controllers machine account?
This is always set to "Samba" and the version you run at 
provisioning/classicupgrade time:
# ldbsearch -H ldap://DC1 -U administrator "cn=DC1"
Password for [SAMDOM\administrator]
# record 1
...
operatingSystem: Samba
operatingSystemVersion: 4.0.5
You can change this with
# ldbedit -H ldap://localhost -Uadministrator -b "CN=DC1,OU=Domain 
Controllers,DC=samdom,DC=example,DC=com"
As the version always shows the one you used at provisioning time and 
never changes, I _guess_, that it's save to change it. But without any 
warranty. :-)
Regards,
Marc
That's fantastic Marc,
Thank you very much. It did the trick for me.
Best regards
Robert
To unsubscribe from this list go to the following URL and read the
instructions:  <url>"
{'source': 'USENET', 'other_information': '{"reply_count": 2, "forum_name": "linux.samba.20140816.mbox"}', 'file': 'data/output/usenet-linux.samba.parquet'}