1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/libnet
Noel Power a5d383cbd5 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
2015-01-08 00:18:05 +01:00
..
libnet_dssync_keytab.c s3-libnet: add ads forward declaration in libnet keytab code. 2011-11-02 16:59:32 +01:00
libnet_dssync_passdb.c param: rename lp function and variable from "adduser_script" to "add_user_script" 2014-02-07 16:19:12 -08:00
libnet_dssync.c idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo 2014-07-07 05:22:33 +02:00
libnet_dssync.h
libnet_join.c allow net ads join accept new osServicePack parameter 2015-01-08 00:18:05 +01:00
libnet_join.h s3:libnet_join: make use of rpccli_{create,setup}_netlogon_creds() 2014-01-07 12:47:10 +01:00
libnet_keytab.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
libnet_keytab.h s3-libnet: add ads forward declaration in libnet keytab code. 2011-11-02 16:59:32 +01:00
libnet_samsync_display.c s3-passdb: add passdb.h where needed. 2011-03-30 01:13:07 +02:00
libnet_samsync_keytab.c
libnet_samsync_ldif.c Make sure to set umask() before calling mkstemp(). 2013-03-06 01:16:34 +01:00
libnet_samsync_passdb.c param: rename lp function and variable from "adduser_script" to "add_user_script" 2014-02-07 16:19:12 -08:00
libnet_samsync.c s3:libnet: pass in struct netlogon_creds_cli_context from the caller. 2014-01-07 12:47:13 +01:00
libnet_samsync.h s3:libnet: pass in struct netlogon_creds_cli_context from the caller. 2014-01-07 12:47:13 +01:00
netapi.pc.in build: Provide .pc file for libnetapi 2012-05-30 04:15:11 +02:00