diff options
| author | Noel Power <noel.power@suse.com> | 2014-10-02 16:13:18 +0100 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2015-01-08 00:18:05 +0100 |
| commit | a5d383cbd56fdab958334c8e6a19a824941c11c1 (patch) | |
| tree | dbc5b33685964bcb19061e04d4d741908f47df2f /source3/librpc/idl | |
| parent | a13e29cc4345d85ab6fe4482119386b87e4e8673 (diff) | |
| download | samba-a5d383cbd56fdab958334c8e6a19a824941c11c1.tar.gz samba-a5d383cbd56fdab958334c8e6a19a824941c11c1.tar.xz samba-a5d383cbd56fdab958334c8e6a19a824941c11c1.zip | |
allow net ads join accept new osServicePack parameter
osServicePack paramater allows the default behaviour ( which is to use
the samba version string as the operatingSystemServicePack attribute )
to be overridden
Additionally make sure if blank string is passed that it is treated
as attribute deletion. This is necessary as values for the os attributes
are eventually passed to ads_modlist_add if the value is "" then the
attempt to add this attribute fails in the underlying ldap
'ldap_modfiy_ext_s' function. In this case we need to pass NULL as the
value to force deletion of the ldap attribute
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 8 00:18:05 CET 2015 on sn-devel-104
Diffstat (limited to 'source3/librpc/idl')
| -rw-r--r-- | source3/librpc/idl/libnet_join.idl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnet_join.idl b/source3/librpc/idl/libnet_join.idl index ac0a35005b..cb2d9e4dcd 100644 --- a/source3/librpc/idl/libnet_join.idl +++ b/source3/librpc/idl/libnet_join.idl @@ -27,6 +27,7 @@ interface libnetjoin [in] wkssvc_joinflags join_flags, [in] string os_version, [in] string os_name, + [in] string os_servicepack, [in] boolean8 create_upn, [in] string upn, [in] boolean8 modify_config, |
