Merge ~ahasenack/ubuntu/+source/samba:cosmic-samba-4.7-update into ubuntu/+source/samba:ubuntu/devel

Proposed by Andreas Hasenack
Status: Rejected
Rejected by: Andreas Hasenack
Proposed branch: ~ahasenack/ubuntu/+source/samba:cosmic-samba-4.7-update
Merge into: ubuntu/+source/samba:ubuntu/devel
Diff against target: 836796 lines (+817984/-1427)
2128 files modified
VERSION (+1/-1)
WHATSNEW.txt (+302/-2)
auth/auth_sam_reply.c (+35/-0)
auth/auth_sam_reply.h (+3/-0)
auth/credentials/tests/bind.py (+25/-1)
auth/ntlmssp/gensec_ntlmssp_server.c (+0/-19)
auth/ntlmssp/ntlmssp_client.c (+17/-7)
auth/ntlmssp/ntlmssp_server.c (+8/-0)
ctdb/config/events.d/50.samba (+0/-2)
ctdb/doc/ctdb-etcd.7 (+2/-2)
ctdb/doc/ctdb-statistics.7 (+2/-2)
ctdb/doc/ctdb-tunables.7 (+2/-2)
ctdb/doc/ctdb.1 (+2/-2)
ctdb/doc/ctdb.7 (+2/-2)
ctdb/doc/ctdb_diagnostics.1 (+2/-2)
ctdb/doc/ctdb_mutex_ceph_rados_helper.7 (+2/-2)
ctdb/doc/ctdbd.1 (+2/-2)
ctdb/doc/ctdbd.conf.5 (+2/-2)
ctdb/doc/ctdbd_wrapper.1 (+2/-2)
ctdb/doc/ltdbtool.1 (+2/-2)
ctdb/doc/onnode.1 (+2/-2)
ctdb/doc/ping_pong.1 (+2/-2)
debian/changelog (+18/-0)
debian/panic-action (+1/-1)
debian/patches/drop-aio-linux-manpage.patch (+233/-0)
debian/patches/series (+1/-1)
debian/samba.logrotate (+2/-2)
debian/smb.conf (+2/-6)
dev/null (+0/-36)
docs-xml/smbdotconf/logging/loglevel.xml (+2/-0)
docs-xml/smbdotconf/misc/directorynamecachesize.xml (+3/-2)
docs/manpages/cifsdd.8 (+2/-2)
docs/manpages/dbwrap_tool.1 (+2/-2)
docs/manpages/eventlogadm.8 (+2/-2)
docs/manpages/findsmb.1 (+2/-2)
docs/manpages/idmap_ad.8 (+2/-2)
docs/manpages/idmap_autorid.8 (+2/-2)
docs/manpages/idmap_hash.8 (+2/-2)
docs/manpages/idmap_ldap.8 (+2/-2)
docs/manpages/idmap_nss.8 (+2/-2)
docs/manpages/idmap_rfc2307.8 (+2/-2)
docs/manpages/idmap_rid.8 (+2/-2)
docs/manpages/idmap_script.8 (+2/-2)
docs/manpages/idmap_tdb.8 (+2/-2)
docs/manpages/idmap_tdb2.8 (+2/-2)
docs/manpages/libsmbclient.7 (+2/-2)
docs/manpages/lmhosts.5 (+2/-2)
docs/manpages/log2pcap.1 (+2/-2)
docs/manpages/mvxattr.1 (+2/-2)
docs/manpages/net.8 (+2/-2)
docs/manpages/nmbd.8 (+2/-2)
docs/manpages/nmblookup.1 (+2/-2)
docs/manpages/ntlm_auth.1 (+2/-2)
docs/manpages/pam_winbind.8 (+2/-2)
docs/manpages/pam_winbind.conf.5 (+2/-2)
docs/manpages/pdbedit.8 (+2/-2)
docs/manpages/profiles.1 (+2/-2)
docs/manpages/rpcclient.1 (+2/-2)
docs/manpages/samba-regedit.8 (+2/-2)
docs/manpages/samba-tool.8 (+2/-2)
docs/manpages/samba.7 (+2/-2)
docs/manpages/samba.8 (+2/-2)
docs/manpages/sharesec.1 (+2/-2)
docs/manpages/smb.conf.5 (+25/-3)
docs/manpages/smbcacls.1 (+2/-2)
docs/manpages/smbclient.1 (+2/-2)
docs/manpages/smbcontrol.1 (+2/-2)
docs/manpages/smbcquotas.1 (+2/-2)
docs/manpages/smbd.8 (+2/-2)
docs/manpages/smbget.1 (+2/-2)
docs/manpages/smbgetrc.5 (+2/-2)
docs/manpages/smbpasswd.5 (+2/-2)
docs/manpages/smbpasswd.8 (+2/-2)
docs/manpages/smbspool.8 (+2/-2)
docs/manpages/smbspool_krb5_wrapper.8 (+2/-2)
docs/manpages/smbstatus.1 (+2/-2)
docs/manpages/smbtar.1 (+2/-2)
docs/manpages/smbtree.1 (+2/-2)
docs/manpages/testparm.1 (+2/-2)
docs/manpages/vfs_acl_tdb.8 (+2/-2)
docs/manpages/vfs_acl_xattr.8 (+2/-2)
docs/manpages/vfs_aio_fork.8 (+2/-2)
docs/manpages/vfs_aio_linux.8 (+2/-2)
docs/manpages/vfs_aio_pthread.8 (+2/-2)
docs/manpages/vfs_audit.8 (+2/-2)
docs/manpages/vfs_btrfs.8 (+2/-2)
docs/manpages/vfs_cacheprime.8 (+2/-2)
docs/manpages/vfs_cap.8 (+2/-2)
docs/manpages/vfs_catia.8 (+2/-2)
docs/manpages/vfs_ceph.8 (+2/-2)
docs/manpages/vfs_commit.8 (+2/-2)
docs/manpages/vfs_crossrename.8 (+2/-2)
docs/manpages/vfs_default_quota.8 (+2/-2)
docs/manpages/vfs_dirsort.8 (+2/-2)
docs/manpages/vfs_extd_audit.8 (+2/-2)
docs/manpages/vfs_fake_perms.8 (+2/-2)
docs/manpages/vfs_fileid.8 (+2/-2)
docs/manpages/vfs_fruit.8 (+2/-2)
docs/manpages/vfs_full_audit.8 (+2/-2)
docs/manpages/vfs_glusterfs.8 (+2/-2)
docs/manpages/vfs_gpfs.8 (+2/-2)
docs/manpages/vfs_linux_xfs_sgid.8 (+2/-2)
docs/manpages/vfs_media_harmony.8 (+2/-2)
docs/manpages/vfs_netatalk.8 (+2/-2)
docs/manpages/vfs_offline.8 (+2/-2)
docs/manpages/vfs_prealloc.8 (+2/-2)
docs/manpages/vfs_preopen.8 (+2/-2)
docs/manpages/vfs_readahead.8 (+2/-2)
docs/manpages/vfs_readonly.8 (+2/-2)
docs/manpages/vfs_recycle.8 (+2/-2)
docs/manpages/vfs_shadow_copy.8 (+2/-2)
docs/manpages/vfs_shadow_copy2.8 (+2/-2)
docs/manpages/vfs_shell_snap.8 (+2/-2)
docs/manpages/vfs_snapper.8 (+2/-2)
docs/manpages/vfs_streams_depot.8 (+2/-2)
docs/manpages/vfs_streams_xattr.8 (+2/-2)
docs/manpages/vfs_syncops.8 (+2/-2)
docs/manpages/vfs_time_audit.8 (+2/-2)
docs/manpages/vfs_tsmsm.8 (+2/-2)
docs/manpages/vfs_unityed_media.8 (+2/-2)
docs/manpages/vfs_worm.8 (+2/-2)
docs/manpages/vfs_xattr_tdb.8 (+2/-2)
docs/manpages/vfs_zfsacl.8 (+2/-2)
docs/manpages/vfstest.1 (+2/-2)
docs/manpages/wbinfo.1 (+2/-2)
docs/manpages/winbind_krb5_locator.7 (+2/-2)
docs/manpages/winbindd.8 (+2/-2)
lib/async_req/async_connect_send_test.c (+1/-1)
lib/async_req/async_sock.c (+1/-0)
lib/crypto/aes.c (+0/-16)
lib/tevent/ABI/tevent-0.9.35.sigs (+99/-0)
lib/tevent/ABI/tevent-0.9.36.sigs (+100/-0)
lib/tevent/echo_server.c (+1/-0)
lib/tevent/testsuite.c (+1/-1)
lib/tevent/tevent.h (+27/-2)
lib/tevent/tevent_internal.h (+0/-1)
lib/tevent/tevent_queue.c (+13/-0)
lib/tevent/tevent_threads.c (+1/-3)
lib/tevent/wscript (+1/-1)
lib/util/debug.c (+2/-0)
lib/util/debug.h (+32/-0)
lib/util/fault.c (+106/-1)
lib/util/fault.h (+1/-0)
lib/util/memcache.h (+2/-1)
lib/util/strv.c (+29/-21)
lib/util/strv.h (+2/-0)
lib/util/tests/tfork.c (+0/-1)
lib/util/wscript_configure (+1/-0)
libcli/auth/ntlm_check.c (+5/-5)
libcli/auth/tests/ntlm_check.c (+413/-0)
libcli/auth/wscript_build (+13/-0)
libcli/security/access_check.c (+83/-27)
libcli/security/session.c (+11/-7)
libcli/smb/smb2cli_notify.c (+214/-0)
libcli/smb/smbXcli_base.c (+14/-1)
libcli/smb/smbXcli_base.h (+30/-0)
libcli/smb/wscript (+1/-0)
librpc/idl/messaging.idl (+1/-0)
nsswitch/libwbclient/tests/wbclient.c (+64/-2)
nsswitch/tests/test_idmap_nss.sh (+2/-2)
nsswitch/tests/test_idmap_rid.sh (+1/-1)
nsswitch/tests/test_wbinfo_name_lookup.sh (+49/-0)
nsswitch/tests/test_wbinfo_user_info.sh (+83/-0)
nsswitch/wb_common.c (+2/-2)
python/samba/subnets.py (+33/-0)
python/samba/tests/dcerpc/raw_protocol.py (+1/-1)
python/samba/tests/py_credentials.py (+27/-0)
selftest/knownfail (+3/-1)
selftest/knownfail.d/upn_handling (+11/-0)
selftest/target/Samba3.pm (+24/-4)
selftest/target/Samba4.pm (+18/-1)
selftest/tests.py (+10/-10)
source3/auth/auth_builtin.c (+1/-1)
source3/auth/auth_ntlmssp.c (+1/-4)
source3/auth/auth_util.c (+751/-101)
source3/auth/proto.h (+38/-0)
source3/auth/token_util.c (+205/-46)
source3/client/client.c (+7/-2)
source3/include/auth.h (+2/-4)
source3/include/local.h (+0/-3)
source3/include/proto.h (+0/-1)
source3/lib/gencache.c (+6/-6)
source3/lib/gencache.h (+1/-1)
source3/lib/messages.c (+7/-2)
source3/lib/namemap_cache.c (+323/-0)
source3/lib/namemap_cache.h (+45/-0)
source3/lib/util.c (+0/-139)
source3/libads/kerberos_keytab.c (+4/-0)
source3/libads/ldap_utils.c (+9/-0)
source3/librpc/idl/smbXsrv.idl (+2/-1)
source3/libsmb/cli_smb2_fnum.c (+101/-0)
source3/libsmb/cli_smb2_fnum.h (+5/-0)
source3/libsmb/cliconnect.c (+7/-2)
source3/libsmb/clientgen.c (+1/-1)
source3/libsmb/clifile.c (+9/-1)
source3/libsmb/dsgetdcname.c (+4/-3)
source3/libsmb/libsmb_dir.c (+50/-7)
source3/libsmb/libsmb_path.c (+7/-2)
source3/libsmb/libsmb_server.c (+3/-3)
source3/modules/vfs_acl_common.c (+5/-2)
source3/modules/vfs_ceph.c (+171/-10)
source3/modules/vfs_default.c (+6/-3)
source3/modules/vfs_fruit.c (+90/-3)
source3/modules/vfs_glusterfs.c (+1/-1)
source3/modules/vfs_streams_xattr.c (+2/-0)
source3/passdb/machine_account_secrets.c (+1/-1)
source3/passdb/pdb_util.c (+6/-4)
source3/printing/nt_printing.c (+1/-1)
source3/printing/printspoolss.c (+17/-0)
source3/rpc_server/rpc_ncacn_np.c (+23/-8)
source3/rpc_server/rpc_ncacn_np.h (+10/-8)
source3/rpc_server/rpc_server.c (+3/-6)
source3/rpc_server/srv_pipe_hnd.c (+10/-8)
source3/rpcclient/cmd_srvsvc.c (+2/-0)
source3/script/tests/test_dfree_quota.sh (+35/-0)
source3/script/tests/test_rpcclient_netsessenum.sh (+55/-0)
source3/script/tests/test_smbclient_s3.sh (+83/-3)
source3/selftest/tests.py (+27/-2)
source3/smbd/dfree.c (+85/-19)
source3/smbd/dir.c (+29/-3)
source3/smbd/dosmode.c (+22/-0)
source3/smbd/globals.h (+1/-0)
source3/smbd/negprot.c (+20/-3)
source3/smbd/open.c (+12/-0)
source3/smbd/proto.h (+1/-0)
source3/smbd/pysmbd.c (+26/-23)
source3/smbd/server_reload.c (+1/-0)
source3/smbd/session.c (+4/-0)
source3/smbd/smb2_break.c (+3/-0)
source3/smbd/smb2_close.c (+3/-0)
source3/smbd/smb2_create.c (+3/-0)
source3/smbd/smb2_flush.c (+28/-3)
source3/smbd/smb2_getinfo.c (+3/-0)
source3/smbd/smb2_glue.c (+3/-0)
source3/smbd/smb2_ioctl.c (+3/-0)
source3/smbd/smb2_ioctl_dfs.c (+3/-0)
source3/smbd/smb2_ioctl_filesys.c (+3/-0)
source3/smbd/smb2_ioctl_named_pipe.c (+3/-0)
source3/smbd/smb2_ioctl_network_fs.c (+3/-0)
source3/smbd/smb2_keepalive.c (+3/-0)
source3/smbd/smb2_lock.c (+3/-0)
source3/smbd/smb2_negprot.c (+3/-0)
source3/smbd/smb2_notify.c (+3/-0)
source3/smbd/smb2_query_directory.c (+9/-3)
source3/smbd/smb2_read.c (+3/-0)
source3/smbd/smb2_server.c (+58/-26)
source3/smbd/smb2_sesssetup.c (+3/-0)
source3/smbd/smb2_setinfo.c (+3/-0)
source3/smbd/smb2_tcon.c (+3/-0)
source3/smbd/smb2_write.c (+3/-0)
source3/smbd/trans2.c (+2/-2)
source3/torture/proto.h (+2/-0)
source3/torture/test_smb2.c (+312/-0)
source3/torture/torture.c (+4/-2)
source3/utils/destroy_netlogon_creds_cli.c (+136/-0)
source3/utils/net_cache.c (+19/-0)
source3/utils/net_dns.c (+1/-0)
source3/utils/ntlm_auth.c (+4/-2)
source3/utils/smbcontrol.c (+14/-0)
source3/utils/wscript_build (+9/-0)
source3/winbindd/wb_dsgetdcname.c (+5/-5)
source3/winbindd/wb_lookupsids.c (+4/-2)
source3/winbindd/wb_sids2xids.c (+3/-3)
source3/winbindd/winbindd.c (+4/-0)
source3/winbindd/winbindd.h (+3/-0)
source3/winbindd/winbindd_allocate_gid.c (+3/-3)
source3/winbindd/winbindd_allocate_uid.c (+3/-3)
source3/winbindd/winbindd_cache.c (+155/-197)
source3/winbindd/winbindd_cm.c (+17/-1)
source3/winbindd/winbindd_dsgetdcname.c (+3/-3)
source3/winbindd/winbindd_dual.c (+240/-66)
source3/winbindd/winbindd_dual_ndr.c (+53/-8)
source3/winbindd/winbindd_dual_srv.c (+89/-52)
source3/winbindd/winbindd_getgrent.c (+4/-5)
source3/winbindd/winbindd_getpwent.c (+1/-5)
source3/winbindd/winbindd_idmap.c (+5/-0)
source3/winbindd/winbindd_locator.c (+5/-0)
source3/winbindd/winbindd_lookupname.c (+21/-12)
source3/winbindd/winbindd_proto.h (+17/-1)
source3/winbindd/winbindd_reconnect.c (+1/-7)
source3/winbindd/winbindd_reconnect_ads.c (+52/-6)
source3/winbindd/winbindd_samr.c (+287/-108)
source3/winbindd/winbindd_setgrent.c (+5/-0)
source3/winbindd/winbindd_setpwent.c (+5/-0)
source3/winbindd/winbindd_util.c (+18/-1)
source3/wscript (+10/-3)
source3/wscript_build (+1/-0)
source4/auth/ntlm/auth_sam.c (+10/-6)
source4/dsdb/samdb/cracknames.c (+7/-1)
source4/dsdb/samdb/ldb_modules/acl_read.c (+297/-34)
source4/dsdb/samdb/ldb_modules/samldb.c (+5/-4)
source4/dsdb/tests/python/acl.py (+68/-0)
source4/dsdb/tests/python/confidential_attr.py (+1025/-0)
source4/dsdb/tests/python/ldap.py (+9/-0)
source4/dsdb/tests/python/sites.py (+45/-0)
source4/heimdal/lib/com_err/compile_et.c (+3/-3)
source4/ldap_server/ldap_backend.c (+1338/-0)
source4/ldap_server/ldap_bind.c (+759/-0)
source4/ldap_server/ldap_extended.c (+215/-0)
source4/ldap_server/ldap_server.c (+1259/-0)
source4/ldap_server/ldap_server.h (+105/-0)
source4/ldap_server/wscript_build (+13/-0)
source4/lib/cmdline/credentials.c (+54/-0)
source4/lib/cmdline/popt_common.c (+235/-0)
source4/lib/cmdline/popt_common.h (+47/-0)
source4/lib/cmdline/popt_credentials.c (+190/-0)
source4/lib/cmdline/wscript_build (+23/-0)
source4/lib/com/README (+9/-0)
source4/lib/com/classes/simple.c (+124/-0)
source4/lib/com/com.h (+53/-0)
source4/lib/com/dcom/dcom.h (+85/-0)
source4/lib/com/dcom/main.c (+704/-0)
source4/lib/com/dcom/tables.c (+94/-0)
source4/lib/com/main.c (+90/-0)
source4/lib/com/rot.c (+35/-0)
source4/lib/com/tables.c (+112/-0)
source4/lib/com/wscript_build (+28/-0)
source4/lib/events/events.h (+6/-0)
source4/lib/events/tevent_s4.c (+41/-0)
source4/lib/events/wscript_build (+9/-0)
source4/lib/http/gensec/basic.c (+204/-0)
source4/lib/http/gensec/ntlm.c (+185/-0)
source4/lib/http/http.c (+825/-0)
source4/lib/http/http.h (+120/-0)
source4/lib/http/http_auth.c (+364/-0)
source4/lib/http/http_internal.h (+62/-0)
source4/lib/http/wscript_build (+21/-0)
source4/lib/messaging/irpc.h (+86/-0)
source4/lib/messaging/messaging.c (+1190/-0)
source4/lib/messaging/messaging.h (+58/-0)
source4/lib/messaging/messaging_internal.h (+36/-0)
source4/lib/messaging/messaging_send.c (+115/-0)
source4/lib/messaging/pymessaging.c (+523/-0)
source4/lib/messaging/tests/irpc.c (+308/-0)
source4/lib/messaging/tests/messaging.c (+404/-0)
source4/lib/messaging/wscript_build (+21/-0)
source4/lib/policy/gp_filesys.c (+674/-0)
source4/lib/policy/gp_ini.c (+133/-0)
source4/lib/policy/gp_ldap.c (+1130/-0)
source4/lib/policy/gp_manage.c (+328/-0)
source4/lib/policy/policy.h (+125/-0)
source4/lib/policy/pypolicy.c (+150/-0)
source4/lib/policy/samba-policy.pc.in (+12/-0)
source4/lib/policy/wscript_build (+17/-0)
source4/lib/registry/Doxyfile (+24/-0)
source4/lib/registry/README (+42/-0)
source4/lib/registry/TODO (+5/-0)
source4/lib/registry/hive.c (+176/-0)
source4/lib/registry/interface.c (+297/-0)
source4/lib/registry/ldb.c (+991/-0)
source4/lib/registry/local.c (+408/-0)
source4/lib/registry/man/regdiff.1.xml (+100/-0)
source4/lib/registry/man/regpatch.1.xml (+89/-0)
source4/lib/registry/man/regshell.1.xml (+189/-0)
source4/lib/registry/man/regtree.1.xml (+101/-0)
source4/lib/registry/patchfile.c (+543/-0)
source4/lib/registry/patchfile_dotreg.c (+435/-0)
source4/lib/registry/patchfile_preg.c (+384/-0)
source4/lib/registry/pyregistry.c (+476/-0)
source4/lib/registry/regf.c (+2318/-0)
source4/lib/registry/regf.idl (+167/-0)
source4/lib/registry/registry.h (+532/-0)
source4/lib/registry/rpc.c (+579/-0)
source4/lib/registry/samba.c (+100/-0)
source4/lib/registry/tests/diff.c (+291/-0)
source4/lib/registry/tests/generic.c (+179/-0)
source4/lib/registry/tests/hive.c (+440/-0)
source4/lib/registry/tests/registry.c (+645/-0)
source4/lib/registry/tools/common.c (+88/-0)
source4/lib/registry/tools/regdiff.c (+151/-0)
source4/lib/registry/tools/regpatch.c (+76/-0)
source4/lib/registry/tools/regshell.c (+666/-0)
source4/lib/registry/tools/regtree.c (+171/-0)
source4/lib/registry/util.c (+302/-0)
source4/lib/registry/wine.c (+45/-0)
source4/lib/registry/wscript_build (+68/-0)
source4/lib/samba3/README (+5/-0)
source4/lib/samba3/samba3.h (+30/-0)
source4/lib/samba3/smbpasswd.c (+138/-0)
source4/lib/samba3/wscript_build (+9/-0)
source4/lib/socket/access.c (+129/-0)
source4/lib/socket/connect.c (+158/-0)
source4/lib/socket/connect_multi.c (+393/-0)
source4/lib/socket/interface.c (+524/-0)
source4/lib/socket/netif.h (+24/-0)
source4/lib/socket/socket.c (+640/-0)
source4/lib/socket/socket.h (+256/-0)
source4/lib/socket/socket_ip.c (+1036/-0)
source4/lib/socket/socket_unix.c (+442/-0)
source4/lib/socket/testsuite.c (+198/-0)
source4/lib/socket/wscript_build (+29/-0)
source4/lib/stream/packet.c (+626/-0)
source4/lib/stream/packet.h (+66/-0)
source4/lib/stream/wscript_build (+8/-0)
source4/lib/tls/tls.c (+647/-0)
source4/lib/tls/tls.h (+132/-0)
source4/lib/tls/tls_tstream.c (+1639/-0)
source4/lib/tls/tlscert.c (+179/-0)
source4/lib/tls/wscript (+87/-0)
source4/lib/wmi/tools/wmic.c (+221/-0)
source4/lib/wmi/tools/wmis.c (+222/-0)
source4/lib/wmi/wbemdata.c (+451/-0)
source4/lib/wmi/wmi.h (+48/-0)
source4/lib/wmi/wmi.i (+352/-0)
source4/lib/wmi/wmi.py (+95/-0)
source4/lib/wmi/wmi_wrap.c (+4304/-0)
source4/lib/wmi/wmicore.c (+253/-0)
source4/lib/wmi/wscript_build (+26/-0)
source4/libcli/cliconnect.c (+284/-0)
source4/libcli/clideltree.c (+146/-0)
source4/libcli/clifile.c (+675/-0)
source4/libcli/clilist.c (+354/-0)
source4/libcli/climessage.c (+104/-0)
source4/libcli/clireadwrite.c (+167/-0)
source4/libcli/clitrans2.c (+224/-0)
source4/libcli/composite/composite.c (+200/-0)
source4/libcli/composite/composite.h (+99/-0)
source4/libcli/dgram/browse.c (+114/-0)
source4/libcli/dgram/dgramsocket.c (+243/-0)
source4/libcli/dgram/libdgram.h (+155/-0)
source4/libcli/dgram/mailslot.c (+226/-0)
source4/libcli/dgram/netlogon.c (+142/-0)
source4/libcli/finddc.h (+41/-0)
source4/libcli/finddcs_cldap.c (+483/-0)
source4/libcli/finddcs_nbt.c (+311/-0)
source4/libcli/ldap/ldap_bind.c (+540/-0)
source4/libcli/ldap/ldap_client.c (+1047/-0)
source4/libcli/ldap/ldap_client.h (+149/-0)
source4/libcli/ldap/ldap_controls.c (+1282/-0)
source4/libcli/ldap/ldap_ildap.c (+133/-0)
source4/libcli/ldap/libcli_ldap.h (+31/-0)
source4/libcli/ldap/wscript_build (+11/-0)
source4/libcli/libcli.h (+357/-0)
source4/libcli/pysmb.c (+688/-0)
source4/libcli/rap/rap.c (+1689/-0)
source4/libcli/rap/rap.h (+76/-0)
source4/libcli/rap/wscript_build (+7/-0)
source4/libcli/raw/README (+5/-0)
source4/libcli/raw/clierror.c (+73/-0)
source4/libcli/raw/clioplock.c (+66/-0)
source4/libcli/raw/clisession.c (+310/-0)
source4/libcli/raw/clisocket.c (+459/-0)
source4/libcli/raw/clitransport.c (+611/-0)
source4/libcli/raw/clitree.c (+227/-0)
source4/libcli/raw/interfaces.h (+2876/-0)
source4/libcli/raw/libcliraw.h (+340/-0)
source4/libcli/raw/rawacl.c (+163/-0)
source4/libcli/raw/rawdate.c (+82/-0)
source4/libcli/raw/raweas.c (+367/-0)
source4/libcli/raw/rawfile.c (+1046/-0)
source4/libcli/raw/rawfileinfo.c (+778/-0)
source4/libcli/raw/rawfsinfo.c (+431/-0)
source4/libcli/raw/rawioctl.c (+173/-0)
source4/libcli/raw/rawlpq.c (+48/-0)
source4/libcli/raw/rawnegotiate.c (+163/-0)
source4/libcli/raw/rawnotify.c (+122/-0)
source4/libcli/raw/rawreadwrite.c (+345/-0)
source4/libcli/raw/rawrequest.c (+1050/-0)
source4/libcli/raw/rawsearch.c (+842/-0)
source4/libcli/raw/rawsetfileinfo.c (+492/-0)
source4/libcli/raw/rawshadow.c (+82/-0)
source4/libcli/raw/rawtrans.c (+437/-0)
source4/libcli/raw/request.h (+78/-0)
source4/libcli/raw/signing.h (+39/-0)
source4/libcli/raw/smb.h (+322/-0)
source4/libcli/raw/smb_signing.c (+231/-0)
source4/libcli/raw/trans2.h (+308/-0)
source4/libcli/resolve/bcast.c (+116/-0)
source4/libcli/resolve/dns_ex.c (+661/-0)
source4/libcli/resolve/host.c (+60/-0)
source4/libcli/resolve/lmhosts.c (+129/-0)
source4/libcli/resolve/nbtlist.c (+223/-0)
source4/libcli/resolve/resolve.c (+340/-0)
source4/libcli/resolve/resolve.h (+53/-0)
source4/libcli/resolve/resolve_lp.c (+52/-0)
source4/libcli/resolve/testsuite.c (+92/-0)
source4/libcli/resolve/wins.c (+83/-0)
source4/libcli/security/tests/sddl.c (+107/-0)
source4/libcli/smb2/break.c (+74/-0)
source4/libcli/smb2/cancel.c (+45/-0)
source4/libcli/smb2/close.c (+80/-0)
source4/libcli/smb2/connect.c (+354/-0)
source4/libcli/smb2/create.c (+450/-0)
source4/libcli/smb2/find.c (+180/-0)
source4/libcli/smb2/flush.c (+70/-0)
source4/libcli/smb2/getinfo.c (+220/-0)
source4/libcli/smb2/ioctl.c (+140/-0)
source4/libcli/smb2/keepalive.c (+68/-0)
source4/libcli/smb2/lease_break.c (+81/-0)
source4/libcli/smb2/lock.c (+82/-0)
source4/libcli/smb2/logoff.c (+67/-0)
source4/libcli/smb2/notify.c (+114/-0)
source4/libcli/smb2/read.c (+89/-0)
source4/libcli/smb2/request.c (+717/-0)
source4/libcli/smb2/session.c (+453/-0)
source4/libcli/smb2/setinfo.c (+122/-0)
source4/libcli/smb2/signing.c (+123/-0)
source4/libcli/smb2/smb2.h (+193/-0)
source4/libcli/smb2/smb2_calls.h (+99/-0)
source4/libcli/smb2/tcon.c (+52/-0)
source4/libcli/smb2/tdis.c (+65/-0)
source4/libcli/smb2/transport.c (+487/-0)
source4/libcli/smb2/util.c (+241/-0)
source4/libcli/smb2/write.c (+81/-0)
source4/libcli/smb2/wscript_build (+10/-0)
source4/libcli/smb_composite/appendacl.c (+313/-0)
source4/libcli/smb_composite/connect.c (+482/-0)
source4/libcli/smb_composite/fetchfile.c (+191/-0)
source4/libcli/smb_composite/fsinfo.c (+214/-0)
source4/libcli/smb_composite/loadfile.c (+293/-0)
source4/libcli/smb_composite/savefile.c (+288/-0)
source4/libcli/smb_composite/sesssetup.c (+846/-0)
source4/libcli/smb_composite/smb2.c (+447/-0)
source4/libcli/smb_composite/smb_composite.h (+260/-0)
source4/libcli/smbc/README (+1/-0)
source4/libcli/util/clilsa.c (+411/-0)
source4/libcli/util/pyerrors.h (+79/-0)
source4/libcli/wbclient/wbclient.c (+193/-0)
source4/libcli/wbclient/wbclient.h (+25/-0)
source4/libcli/wbclient/wscript_build (+10/-0)
source4/libcli/wrepl/winsrepl.c (+1172/-0)
source4/libcli/wrepl/winsrepl.h (+110/-0)
source4/libcli/wscript_build (+93/-0)
source4/libnet/composite.h (+56/-0)
source4/libnet/groupinfo.c (+384/-0)
source4/libnet/groupinfo.h (+54/-0)
source4/libnet/groupman.c (+139/-0)
source4/libnet/groupman.h (+35/-0)
source4/libnet/libnet.c (+61/-0)
source4/libnet/libnet.h (+86/-0)
source4/libnet/libnet_become_dc.c (+3281/-0)
source4/libnet/libnet_become_dc.h (+152/-0)
source4/libnet/libnet_domain.c (+1304/-0)
source4/libnet/libnet_domain.h (+70/-0)
source4/libnet/libnet_export_keytab.c (+214/-0)
source4/libnet/libnet_export_keytab.h (+32/-0)
source4/libnet/libnet_group.c (+764/-0)
source4/libnet/libnet_group.h (+74/-0)
source4/libnet/libnet_join.c (+1026/-0)
source4/libnet/libnet_join.h (+101/-0)
source4/libnet/libnet_lookup.c (+436/-0)
source4/libnet/libnet_lookup.h (+69/-0)
source4/libnet/libnet_passwd.c (+723/-0)
source4/libnet/libnet_passwd.h (+137/-0)
source4/libnet/libnet_rpc.c (+1031/-0)
source4/libnet/libnet_rpc.h (+73/-0)
source4/libnet/libnet_samdump.c (+206/-0)
source4/libnet/libnet_samsync.c (+281/-0)
source4/libnet/libnet_samsync.h (+83/-0)
source4/libnet/libnet_samsync_ldb.c (+1279/-0)
source4/libnet/libnet_share.c (+215/-0)
source4/libnet/libnet_share.h (+70/-0)
source4/libnet/libnet_site.c (+292/-0)
source4/libnet/libnet_site.h (+35/-0)
source4/libnet/libnet_time.c (+125/-0)
source4/libnet/libnet_time.h (+46/-0)
source4/libnet/libnet_unbecome_dc.c (+792/-0)
source4/libnet/libnet_unbecome_dc.h (+31/-0)
source4/libnet/libnet_user.c (+1241/-0)
source4/libnet/libnet_user.h (+156/-0)
source4/libnet/libnet_vampire.c (+810/-0)
source4/libnet/libnet_vampire.h (+58/-0)
source4/libnet/prereq_domain.c (+144/-0)
source4/libnet/py_net.c (+841/-0)
source4/libnet/py_net.h (+24/-0)
source4/libnet/py_net_dckeytab.c (+106/-0)
source4/libnet/userinfo.c (+382/-0)
source4/libnet/userinfo.h (+54/-0)
source4/libnet/userman.c (+922/-0)
source4/libnet/userman.h (+106/-0)
source4/libnet/wscript_build (+26/-0)
source4/librpc/dcerpc.pc.in (+11/-0)
source4/librpc/dcerpc_samr.pc.in (+11/-0)
source4/librpc/gen_ndr/README (+4/-0)
source4/librpc/idl/IDL_LICENSE.txt (+9/-0)
source4/librpc/idl/irpc.idl (+221/-0)
source4/librpc/idl/ntp_signd.idl (+46/-0)
source4/librpc/idl/opendb.idl (+46/-0)
source4/librpc/idl/sasl_helpers.idl (+24/-0)
source4/librpc/idl/winbind.idl (+35/-0)
source4/librpc/idl/winsif.idl (+342/-0)
source4/librpc/idl/winsrepl.idl (+179/-0)
source4/librpc/idl/winstation.idl (+13/-0)
source4/librpc/idl/wscript_build (+12/-0)
source4/librpc/ndr/py_auth.c (+71/-0)
source4/librpc/ndr/py_lsa.c (+77/-0)
source4/librpc/ndr/py_misc.c (+177/-0)
source4/librpc/ndr/py_security.c (+475/-0)
source4/librpc/ndr/py_xattr.c (+99/-0)
source4/librpc/rpc/dcerpc.c (+2621/-0)
source4/librpc/rpc/dcerpc.h (+275/-0)
source4/librpc/rpc/dcerpc.py (+18/-0)
source4/librpc/rpc/dcerpc_auth.c (+556/-0)
source4/librpc/rpc/dcerpc_connect.c (+1253/-0)
source4/librpc/rpc/dcerpc_roh.c (+800/-0)
source4/librpc/rpc/dcerpc_roh.h (+116/-0)
source4/librpc/rpc/dcerpc_roh_channel_in.c (+471/-0)
source4/librpc/rpc/dcerpc_roh_channel_out.c (+743/-0)
source4/librpc/rpc/dcerpc_schannel.c (+627/-0)
source4/librpc/rpc/dcerpc_secondary.c (+448/-0)
source4/librpc/rpc/dcerpc_smb.c (+297/-0)
source4/librpc/rpc/dcerpc_sock.c (+500/-0)
source4/librpc/rpc/dcerpc_util.c (+897/-0)
source4/librpc/rpc/pyrpc.c (+480/-0)
source4/librpc/rpc/pyrpc.h (+54/-0)
source4/librpc/rpc/pyrpc_util.c (+450/-0)
source4/librpc/rpc/pyrpc_util.h (+67/-0)
source4/librpc/scripts/build_idl.sh (+37/-0)
source4/librpc/tests/binding_string.c (+327/-0)
source4/librpc/tests/dns-decode_dns_name_packet-hex.dat (+7/-0)
source4/librpc/wscript_build (+416/-0)
source4/nbt_server/defense.c (+79/-0)
source4/nbt_server/dgram/browse.c (+85/-0)
source4/nbt_server/dgram/netlogon.c (+201/-0)
source4/nbt_server/dgram/ntlogon.c (+121/-0)
source4/nbt_server/dgram/request.c (+150/-0)
source4/nbt_server/interfaces.c (+426/-0)
source4/nbt_server/irpc.c (+210/-0)
source4/nbt_server/nbt_server.c (+104/-0)
source4/nbt_server/nbt_server.h (+94/-0)
source4/nbt_server/nodestatus.c (+126/-0)
source4/nbt_server/packet.c (+343/-0)
source4/nbt_server/query.c (+102/-0)
source4/nbt_server/register.c (+310/-0)
source4/nbt_server/wins/wins_dns_proxy.c (+99/-0)
source4/nbt_server/wins/wins_hook.c (+94/-0)
source4/nbt_server/wins/wins_ldb.c (+127/-0)
source4/nbt_server/wins/winsclient.c (+284/-0)
source4/nbt_server/wins/winsdb.c (+1014/-0)
source4/nbt_server/wins/winsdb.h (+81/-0)
source4/nbt_server/wins/winsserver.c (+1074/-0)
source4/nbt_server/wins/winsserver.h (+67/-0)
source4/nbt_server/wins/winswack.c (+387/-0)
source4/nbt_server/wscript_build (+54/-0)
source4/ntp_signd/README (+7/-0)
source4/ntp_signd/ntp-dev-4.2.5p125.diff (+579/-0)
source4/ntp_signd/ntp_signd.c (+558/-0)
source4/ntp_signd/wscript_build (+11/-0)
source4/ntvfs/README (+26/-0)
source4/ntvfs/cifs/README (+40/-0)
source4/ntvfs/cifs/vfs_cifs.c (+1259/-0)
source4/ntvfs/cifs_posix_cli/README (+12/-0)
source4/ntvfs/cifs_posix_cli/cifsposix.h (+38/-0)
source4/ntvfs/cifs_posix_cli/svfs_util.c (+195/-0)
source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c (+1112/-0)
source4/ntvfs/common/brlock.c (+136/-0)
source4/ntvfs/common/brlock.h (+55/-0)
source4/ntvfs/common/brlock_tdb.c (+773/-0)
source4/ntvfs/common/init.c (+34/-0)
source4/ntvfs/common/notify.c (+672/-0)
source4/ntvfs/common/ntvfs_common.h (+32/-0)
source4/ntvfs/common/opendb.c (+200/-0)
source4/ntvfs/common/opendb.h (+59/-0)
source4/ntvfs/common/opendb_tdb.c (+886/-0)
source4/ntvfs/common/wscript_build (+9/-0)
source4/ntvfs/ipc/README (+5/-0)
source4/ntvfs/ipc/ipc.h (+0/-0)
source4/ntvfs/ipc/ipc_rap.c (+511/-0)
source4/ntvfs/ipc/np_echo.c (+0/-0)
source4/ntvfs/ipc/rap_server.c (+91/-0)
source4/ntvfs/ipc/vfs_ipc.c (+1353/-0)
source4/ntvfs/nbench/README (+13/-0)
source4/ntvfs/nbench/vfs_nbench.c (+982/-0)
source4/ntvfs/ntvfs.h (+338/-0)
source4/ntvfs/ntvfs_base.c (+249/-0)
source4/ntvfs/ntvfs_generic.c (+1643/-0)
source4/ntvfs/ntvfs_interface.c (+713/-0)
source4/ntvfs/ntvfs_util.c (+202/-0)
source4/ntvfs/posix/posix_eadb.c (+295/-0)
source4/ntvfs/posix/posix_eadb.h (+20/-0)
source4/ntvfs/posix/pvfs_acl.c (+1083/-0)
source4/ntvfs/posix/pvfs_acl_nfs4.c (+199/-0)
source4/ntvfs/posix/pvfs_acl_xattr.c (+104/-0)
source4/ntvfs/posix/pvfs_aio.c (+166/-0)
source4/ntvfs/posix/pvfs_dirlist.c (+407/-0)
source4/ntvfs/posix/pvfs_fileinfo.c (+159/-0)
source4/ntvfs/posix/pvfs_flush.c (+80/-0)
source4/ntvfs/posix/pvfs_fsinfo.c (+223/-0)
source4/ntvfs/posix/pvfs_ioctl.c (+82/-0)
source4/ntvfs/posix/pvfs_lock.c (+411/-0)
source4/ntvfs/posix/pvfs_mkdir.c (+196/-0)
source4/ntvfs/posix/pvfs_notify.c (+300/-0)
source4/ntvfs/posix/pvfs_open.c (+2097/-0)
source4/ntvfs/posix/pvfs_oplock.c (+298/-0)
source4/ntvfs/posix/pvfs_qfileinfo.c (+465/-0)
source4/ntvfs/posix/pvfs_read.c (+113/-0)
source4/ntvfs/posix/pvfs_rename.c (+675/-0)
source4/ntvfs/posix/pvfs_resolve.c (+826/-0)
source4/ntvfs/posix/pvfs_search.c (+864/-0)
source4/ntvfs/posix/pvfs_seek.c (+65/-0)
source4/ntvfs/posix/pvfs_setfileinfo.c (+884/-0)
source4/ntvfs/posix/pvfs_shortname.c (+695/-0)
source4/ntvfs/posix/pvfs_streams.c (+556/-0)
source4/ntvfs/posix/pvfs_sys.c (+662/-0)
source4/ntvfs/posix/pvfs_unlink.c (+276/-0)
source4/ntvfs/posix/pvfs_util.c (+206/-0)
source4/ntvfs/posix/pvfs_wait.c (+203/-0)
source4/ntvfs/posix/pvfs_write.c (+155/-0)
source4/ntvfs/posix/pvfs_xattr.c (+488/-0)
source4/ntvfs/posix/python/pyposix_eadb.c (+130/-0)
source4/ntvfs/posix/python/pyxattr_native.c (+121/-0)
source4/ntvfs/posix/python/pyxattr_tdb.c (+167/-0)
source4/ntvfs/posix/vfs_posix.c (+427/-0)
source4/ntvfs/posix/vfs_posix.h (+297/-0)
source4/ntvfs/posix/wscript_build (+67/-0)
source4/ntvfs/posix/xattr_system.c (+145/-0)
source4/ntvfs/print/README (+3/-0)
source4/ntvfs/print/vfs_print.c (+132/-0)
source4/ntvfs/simple/README (+10/-0)
source4/ntvfs/simple/svfs.h (+38/-0)
source4/ntvfs/simple/svfs_util.c (+189/-0)
source4/ntvfs/simple/vfs_simple.c (+1112/-0)
source4/ntvfs/smb2/vfs_smb2.c (+904/-0)
source4/ntvfs/sysdep/README (+5/-0)
source4/ntvfs/sysdep/inotify.c (+398/-0)
source4/ntvfs/sysdep/sys_lease.c (+150/-0)
source4/ntvfs/sysdep/sys_lease.h (+66/-0)
source4/ntvfs/sysdep/sys_lease_linux.c (+215/-0)
source4/ntvfs/sysdep/sys_notify.c (+149/-0)
source4/ntvfs/sysdep/sys_notify.h (+54/-0)
source4/ntvfs/sysdep/wscript_build (+31/-0)
source4/ntvfs/sysdep/wscript_configure (+14/-0)
source4/ntvfs/unixuid/vfs_unixuid.c (+724/-0)
source4/ntvfs/unixuid/wscript_build (+9/-0)
source4/ntvfs/wscript_build (+75/-0)
source4/param/loadparm.c (+61/-0)
source4/param/provision.c (+394/-0)
source4/param/provision.h (+72/-0)
source4/param/pyparam.c (+581/-0)
source4/param/pyparam.h (+28/-0)
source4/param/pyparam_util.c (+81/-0)
source4/param/secrets.c (+142/-0)
source4/param/secrets.h (+49/-0)
source4/param/share.c (+157/-0)
source4/param/share.h (+151/-0)
source4/param/share_classic.c (+390/-0)
source4/param/share_ldb.c (+604/-0)
source4/param/tests/loadparm.c (+271/-0)
source4/param/tests/share.c (+216/-0)
source4/param/wscript_build (+65/-0)
source4/rpc_server/backupkey/dcesrv_backupkey.c (+1819/-0)
source4/rpc_server/backupkey/dcesrv_backupkey_heimdal.c (+1858/-0)
source4/rpc_server/browser/dcesrv_browser.c (+169/-0)
source4/rpc_server/common/common.h (+43/-0)
source4/rpc_server/common/forward.c (+129/-0)
source4/rpc_server/common/loadparm.c (+45/-0)
source4/rpc_server/common/reply.c (+287/-0)
source4/rpc_server/common/server_info.c (+182/-0)
source4/rpc_server/common/share_info.c (+121/-0)
source4/rpc_server/common/sid_helper.c (+134/-0)
source4/rpc_server/dcerpc_server.c (+3149/-0)
source4/rpc_server/dcerpc_server.h (+496/-0)
source4/rpc_server/dcerpc_server.pc.in (+12/-0)
source4/rpc_server/dcesrv_auth.c (+564/-0)
source4/rpc_server/dcesrv_mgmt.c (+125/-0)
source4/rpc_server/dnsserver/dcerpc_dnsserver.c (+2345/-0)
source4/rpc_server/dnsserver/dnsdata.c (+1203/-0)
source4/rpc_server/dnsserver/dnsdb.c (+1009/-0)
source4/rpc_server/dnsserver/dnsserver.h (+262/-0)
source4/rpc_server/dnsserver/dnsutils.c (+394/-0)
source4/rpc_server/drsuapi/addentry.c (+240/-0)
source4/rpc_server/drsuapi/dcesrv_drsuapi.c (+1073/-0)
source4/rpc_server/drsuapi/dcesrv_drsuapi.h (+84/-0)
source4/rpc_server/drsuapi/drsutil.c (+221/-0)
source4/rpc_server/drsuapi/getncchanges.c (+3015/-0)
source4/rpc_server/drsuapi/updaterefs.c (+387/-0)
source4/rpc_server/drsuapi/writespn.c (+253/-0)
source4/rpc_server/echo/rpc_echo.c (+211/-0)
source4/rpc_server/epmapper/rpc_epmapper.c (+285/-0)
source4/rpc_server/eventlog/dcesrv_eventlog6.c (+331/-0)
source4/rpc_server/handles.c (+124/-0)
source4/rpc_server/lsa/dcesrv_lsa.c (+4806/-0)
source4/rpc_server/lsa/lsa.h (+70/-0)
source4/rpc_server/lsa/lsa_init.c (+292/-0)
source4/rpc_server/lsa/lsa_lookup.c (+1155/-0)
source4/rpc_server/netlogon/dcerpc_netlogon.c (+3692/-0)
source4/rpc_server/remote/README (+38/-0)
source4/rpc_server/remote/dcesrv_remote.c (+431/-0)
source4/rpc_server/samr/dcesrv_samr.c (+4430/-0)
source4/rpc_server/samr/dcesrv_samr.h (+70/-0)
source4/rpc_server/samr/samr_password.c (+668/-0)
source4/rpc_server/service_rpc.c (+146/-0)
source4/rpc_server/srvsvc/dcesrv_srvsvc.c (+2286/-0)
source4/rpc_server/srvsvc/srvsvc_ntvfs.c (+134/-0)
source4/rpc_server/unixinfo/dcesrv_unixinfo.c (+191/-0)
source4/rpc_server/winreg/README (+3/-0)
source4/rpc_server/winreg/rpc_winreg.c (+737/-0)
source4/rpc_server/wkssvc/dcesrv_wkssvc.c (+403/-0)
source4/rpc_server/wscript_build (+178/-0)
source4/script/buildtree.pl (+40/-0)
source4/script/depfilter.py (+50/-0)
source4/script/extract_allparms.sh (+2/-0)
source4/script/find_unused_options.sh (+37/-0)
source4/script/minimal_includes.pl (+171/-0)
source4/script/mkproto.pl (+252/-0)
source4/script/update-proto.pl (+242/-0)
source4/scripting/bin/autoidl (+161/-0)
source4/scripting/bin/enablerecyclebin (+53/-0)
source4/scripting/bin/findprovisionusnranges (+80/-0)
source4/scripting/bin/fullschema (+183/-0)
source4/scripting/bin/gen_error_common.py (+82/-0)
source4/scripting/bin/gen_hresult.py (+228/-0)
source4/scripting/bin/gen_ntstatus.py (+148/-0)
source4/scripting/bin/gen_werror.py (+149/-0)
source4/scripting/bin/get-descriptors (+150/-0)
source4/scripting/bin/ktpass.sh (+97/-0)
source4/scripting/bin/machineaccountccache (+30/-0)
source4/scripting/bin/minschema (+566/-0)
source4/scripting/bin/mymachinepw (+59/-0)
source4/scripting/bin/nsupdate-gss (+352/-0)
source4/scripting/bin/rebuildextendeddn (+134/-0)
source4/scripting/bin/renamedc (+192/-0)
source4/scripting/bin/rpcclient (+305/-0)
source4/scripting/bin/samba-tool (+50/-0)
source4/scripting/bin/samba3dump (+180/-0)
source4/scripting/bin/samba_backup (+97/-0)
source4/scripting/bin/samba_dnsupdate (+945/-0)
source4/scripting/bin/samba_kcc (+342/-0)
source4/scripting/bin/samba_spnupdate (+252/-0)
source4/scripting/bin/samba_upgradedns (+528/-0)
source4/scripting/bin/samba_upgradeprovision (+1830/-0)
source4/scripting/bin/setup_dns.sh (+43/-0)
source4/scripting/bin/smbstatus (+89/-0)
source4/scripting/bin/subunitrun (+87/-0)
source4/scripting/bin/w32err_code.py (+362/-0)
source4/scripting/bin/wscript_build (+5/-0)
source4/scripting/devel/addlotscontacts (+96/-0)
source4/scripting/devel/chgkrbtgtpass (+63/-0)
source4/scripting/devel/chgtdcpass (+63/-0)
source4/scripting/devel/config_base (+40/-0)
source4/scripting/devel/crackname (+78/-0)
source4/scripting/devel/createtrust (+125/-0)
source4/scripting/devel/demodirsync.py (+156/-0)
source4/scripting/devel/drs/fsmo.ldif.template (+75/-0)
source4/scripting/devel/drs/named.conf.ad.template (+6/-0)
source4/scripting/devel/drs/revampire_ad.sh (+23/-0)
source4/scripting/devel/drs/unvampire_ad.sh (+14/-0)
source4/scripting/devel/drs/vampire_ad.sh (+28/-0)
source4/scripting/devel/drs/vars (+12/-0)
source4/scripting/devel/enumprivs (+58/-0)
source4/scripting/devel/getncchanges (+144/-0)
source4/scripting/devel/nmfind (+15/-0)
source4/scripting/devel/pfm_verify.py (+191/-0)
source4/scripting/devel/rebuild_zone.sh (+107/-0)
source4/scripting/devel/repl_cleartext_pwd.py (+409/-0)
source4/scripting/devel/rodcdns (+43/-0)
source4/scripting/devel/selftest-vars.sh (+49/-0)
source4/scripting/devel/speedtest.py (+231/-0)
source4/scripting/devel/tmpfs.sh (+16/-0)
source4/scripting/devel/watch_servers.sh (+14/-0)
source4/scripting/wscript_build (+19/-0)
source4/selftest/test_samba3dump.sh (+14/-0)
source4/selftest/test_w2k3.sh (+48/-0)
source4/selftest/test_w2k3_file.sh (+44/-0)
source4/selftest/test_win.sh (+42/-0)
source4/selftest/tests.py (+957/-0)
source4/selftest/tests_win.sh (+30/-0)
source4/selftest/tests_win2k3_dc.sh (+22/-0)
source4/selftest/win/README (+121/-0)
source4/selftest/win/VMHost.pm (+359/-0)
source4/selftest/win/common.exp (+521/-0)
source4/selftest/win/test_win.conf (+83/-0)
source4/selftest/win/vm_get_ip.pl (+48/-0)
source4/selftest/win/vm_load_snapshot.pl (+46/-0)
source4/selftest/win/wintest_2k3_dc.sh (+114/-0)
source4/selftest/win/wintest_base.sh (+67/-0)
source4/selftest/win/wintest_client.exp (+95/-0)
source4/selftest/win/wintest_client.sh (+26/-0)
source4/selftest/win/wintest_functions.sh (+54/-0)
source4/selftest/win/wintest_net.sh (+62/-0)
source4/selftest/win/wintest_raw.sh (+68/-0)
source4/selftest/win/wintest_remove.exp (+71/-0)
source4/selftest/win/wintest_rpc.sh (+66/-0)
source4/selftest/win/wintest_setup.exp (+104/-0)
source4/setup/DB_CONFIG (+14/-0)
source4/setup/ad-schema/MS-AD_Schema_2K8_Attributes.txt (+15638/-0)
source4/setup/ad-schema/MS-AD_Schema_2K8_Classes.txt (+3473/-0)
source4/setup/ad-schema/MS-AD_Schema_2K8_R2_Attributes.txt (+16060/-0)
source4/setup/ad-schema/MS-AD_Schema_2K8_R2_Classes.txt (+3577/-0)
source4/setup/ad-schema/licence.txt (+7/-0)
source4/setup/aggregate_schema.ldif (+5/-0)
source4/setup/cn=samba.ldif (+16/-0)
source4/setup/display-specifiers/DisplaySpecifiers-Win2k0.txt (+23573/-0)
source4/setup/display-specifiers/DisplaySpecifiers-Win2k3.txt (+29548/-0)
source4/setup/display-specifiers/DisplaySpecifiers-Win2k3R2.txt (+29549/-0)
source4/setup/display-specifiers/DisplaySpecifiers-Win2k8.txt (+32733/-0)
source4/setup/display-specifiers/DisplaySpecifiers-Win2k8R2.txt (+32758/-0)
source4/setup/dns_update_list (+56/-0)
source4/setup/fedora-ds-init.ldif (+27/-0)
source4/setup/fedorads-dna.ldif (+17/-0)
source4/setup/fedorads-index.ldif (+7/-0)
source4/setup/fedorads-linked-attributes.ldif (+7/-0)
source4/setup/fedorads-pam.ldif (+2/-0)
source4/setup/fedorads-partitions.ldif (+45/-0)
source4/setup/fedorads-refint-add.ldif (+6/-0)
source4/setup/fedorads-refint-delete.ldif (+20/-0)
source4/setup/fedorads-samba.ldif (+21/-0)
source4/setup/fedorads-sasl.ldif (+20/-0)
source4/setup/fedorads.inf (+36/-0)
source4/setup/idmap_init.ldif (+8/-0)
source4/setup/krb5.conf (+4/-0)
source4/setup/memberof.conf (+9/-0)
source4/setup/mmr_serverids.conf (+1/-0)
source4/setup/mmr_syncrepl.conf (+12/-0)
source4/setup/modules.conf (+1/-0)
source4/setup/named.conf (+39/-0)
source4/setup/named.conf.dlz (+25/-0)
source4/setup/named.conf.update (+4/-0)
source4/setup/named.txt (+49/-0)
source4/setup/olc_mmr.conf (+3/-0)
source4/setup/olc_seed.ldif (+16/-0)
source4/setup/olc_serverid.conf (+1/-0)
source4/setup/olc_syncrepl.conf (+13/-0)
source4/setup/olc_syncrepl_seed.conf (+5/-0)
source4/setup/prefixMap.txt (+41/-0)
source4/setup/provision.ldif (+853/-0)
source4/setup/provision.reg (+45/-0)
source4/setup/provision.zone (+50/-0)
source4/setup/provision_basedn.ldif (+10/-0)
source4/setup/provision_basedn_modify.ldif (+94/-0)
source4/setup/provision_basedn_options.ldif (+2/-0)
source4/setup/provision_basedn_references.ldif (+22/-0)
source4/setup/provision_computers_add.ldif (+4/-0)
source4/setup/provision_computers_modify.ldif (+13/-0)
source4/setup/provision_configuration.ldif (+1253/-0)
source4/setup/provision_configuration_basedn.ldif (+9/-0)
source4/setup/provision_configuration_modify.ldif (+6/-0)
source4/setup/provision_configuration_references.ldif (+14/-0)
source4/setup/provision_dns_accounts_add.ldif (+12/-0)
source4/setup/provision_dns_add_samba.ldif (+16/-0)
source4/setup/provision_dnszones_add.ldif (+42/-0)
source4/setup/provision_dnszones_modify.ldif (+21/-0)
source4/setup/provision_dnszones_partitions.ldif (+11/-0)
source4/setup/provision_group_policy.ldif (+57/-0)
source4/setup/provision_init.ldif (+33/-0)
source4/setup/provision_partitions.ldif (+6/-0)
source4/setup/provision_privilege.ldif (+78/-0)
source4/setup/provision_rootdse_add.ldif (+29/-0)
source4/setup/provision_rootdse_modify.ldif (+7/-0)
source4/setup/provision_schema_basedn.ldif (+9/-0)
source4/setup/provision_schema_basedn_modify.ldif (+10/-0)
source4/setup/provision_self_join.ldif (+29/-0)
source4/setup/provision_self_join_config.ldif (+33/-0)
source4/setup/provision_self_join_modify.ldif (+26/-0)
source4/setup/provision_self_join_modify_config.ldif (+14/-0)
source4/setup/provision_users.ldif (+434/-0)
source4/setup/provision_users_add.ldif (+4/-0)
source4/setup/provision_users_modify.ldif (+13/-0)
source4/setup/provision_well_known_sec_princ.ldif (+137/-0)
source4/setup/refint.conf (+3/-0)
source4/setup/schema-map-fedora-ds-1.0 (+86/-0)
source4/setup/schema-map-openldap-2.3 (+56/-0)
source4/setup/schema_samba4.ldif (+394/-0)
source4/setup/secrets.ldif (+10/-0)
source4/setup/secrets_dns.ldif (+12/-0)
source4/setup/secrets_init.ldif (+16/-0)
source4/setup/secrets_sasl_ldap.ldif (+7/-0)
source4/setup/secrets_simple_ldap.ldif (+6/-0)
source4/setup/share.ldif (+46/-0)
source4/setup/slapd.conf (+194/-0)
source4/setup/spn_update_list (+30/-0)
source4/setup/tests/blackbox_group.sh (+80/-0)
source4/setup/tests/blackbox_newuser.sh (+42/-0)
source4/setup/tests/blackbox_provision-backend.sh (+26/-0)
source4/setup/tests/blackbox_provision.sh (+48/-0)
source4/setup/tests/blackbox_s3upgrade.sh (+99/-0)
source4/setup/tests/blackbox_setpassword.sh (+30/-0)
source4/setup/tests/blackbox_spn.sh (+33/-0)
source4/setup/tests/blackbox_supported_features.sh (+88/-0)
source4/setup/tests/blackbox_upgradeprovision.sh (+80/-0)
source4/setup/wscript_build (+12/-0)
source4/setup/ypServ30.ldif (+507/-0)
source4/smb_server/blob.c (+810/-0)
source4/smb_server/handle.c (+142/-0)
source4/smb_server/management.c (+138/-0)
source4/smb_server/service_smb.c (+93/-0)
source4/smb_server/session.c (+162/-0)
source4/smb_server/smb/negprot.c (+565/-0)
source4/smb_server/smb/nttrans.c (+812/-0)
source4/smb_server/smb/receive.c (+679/-0)
source4/smb_server/smb/reply.c (+2379/-0)
source4/smb_server/smb/request.c (+779/-0)
source4/smb_server/smb/search.c (+283/-0)
source4/smb_server/smb/service.c (+200/-0)
source4/smb_server/smb/sesssetup.c (+646/-0)
source4/smb_server/smb/signing.c (+147/-0)
source4/smb_server/smb/srvtime.c (+82/-0)
source4/smb_server/smb/trans2.c (+1557/-0)
source4/smb_server/smb/wscript_build (+10/-0)
source4/smb_server/smb2/fileinfo.c (+377/-0)
source4/smb_server/smb2/fileio.c (+546/-0)
source4/smb_server/smb2/find.c (+167/-0)
source4/smb_server/smb2/keepalive.c (+71/-0)
source4/smb_server/smb2/negprot.c (+326/-0)
source4/smb_server/smb2/receive.c (+710/-0)
source4/smb_server/smb2/sesssetup.c (+326/-0)
source4/smb_server/smb2/smb2_server.h (+192/-0)
source4/smb_server/smb2/tcon.c (+446/-0)
source4/smb_server/smb2/wscript_build (+9/-0)
source4/smb_server/smb_server.c (+203/-0)
source4/smb_server/smb_server.h (+521/-0)
source4/smb_server/tcon.c (+194/-0)
source4/smb_server/wscript_build (+21/-0)
source4/smbd/process_model.c (+138/-0)
source4/smbd/process_model.h (+86/-0)
source4/smbd/process_single.c (+138/-0)
source4/smbd/process_standard.c (+511/-0)
source4/smbd/server.c (+648/-0)
source4/smbd/service.c (+105/-0)
source4/smbd/service.h (+30/-0)
source4/smbd/service_named_pipe.c (+260/-0)
source4/smbd/service_stream.c (+399/-0)
source4/smbd/service_stream.h (+79/-0)
source4/smbd/service_task.c (+125/-0)
source4/smbd/service_task.h (+38/-0)
source4/smbd/wscript_build (+46/-0)
source4/torture/auth/ntlmssp.c (+163/-0)
source4/torture/auth/pac.c (+741/-0)
source4/torture/auth/smbencrypt.c (+70/-0)
source4/torture/basic/aliases.c (+397/-0)
source4/torture/basic/attr.c (+433/-0)
source4/torture/basic/base.c (+2002/-0)
source4/torture/basic/charset.c (+209/-0)
source4/torture/basic/cxd_known.h (+8670/-0)
source4/torture/basic/delaywrite.c (+3095/-0)
source4/torture/basic/delete.c (+2481/-0)
source4/torture/basic/denytest.c (+2822/-0)
source4/torture/basic/dir.c (+171/-0)
source4/torture/basic/disconnect.c (+182/-0)
source4/torture/basic/locking.c (+811/-0)
source4/torture/basic/mangle_test.c (+206/-0)
source4/torture/basic/misc.c (+999/-0)
source4/torture/basic/properties.c (+118/-0)
source4/torture/basic/rename.c (+98/-0)
source4/torture/basic/scanner.c (+623/-0)
source4/torture/basic/secleak.c (+77/-0)
source4/torture/basic/unlink.c (+91/-0)
source4/torture/basic/utable.c (+202/-0)
source4/torture/dfs/common.c (+71/-0)
source4/torture/dfs/domaindfs.c (+540/-0)
source4/torture/dns/dlz_bind9.c (+1100/-0)
source4/torture/dns/internal_dns.c (+189/-0)
source4/torture/dns/wscript_build (+19/-0)
source4/torture/drs/drs_init.c (+80/-0)
source4/torture/drs/drs_util.c (+168/-0)
source4/torture/drs/python/cracknames.py (+204/-0)
source4/torture/drs/python/delete_object.py (+378/-0)
source4/torture/drs/python/drs_base.py (+469/-0)
source4/torture/drs/python/fsmo.py (+145/-0)
source4/torture/drs/python/getnc_exop.py (+1077/-0)
source4/torture/drs/python/getnc_unpriv.py (+116/-0)
source4/torture/drs/python/linked_attributes_drs.py (+178/-0)
source4/torture/drs/python/repl_move.py (+2586/-0)
source4/torture/drs/python/repl_rodc.py (+645/-0)
source4/torture/drs/python/repl_schema.py (+450/-0)
source4/torture/drs/python/replica_sync.py (+580/-0)
source4/torture/drs/python/ridalloc_exop.py (+676/-0)
source4/torture/drs/python/samba_tool_drs.py (+436/-0)
source4/torture/drs/rpc/dssync.c (+1074/-0)
source4/torture/drs/rpc/msds_intid.c (+792/-0)
source4/torture/drs/unit/prefixmap_tests.c (+900/-0)
source4/torture/drs/unit/schemainfo_tests.c (+740/-0)
source4/torture/drs/wscript_build (+12/-0)
source4/torture/gentest.c (+3311/-0)
source4/torture/krb5/kdc-canon-heimdal.c (+2255/-0)
source4/torture/krb5/kdc-heimdal.c (+728/-0)
source4/torture/krb5/kdc-mit.c (+795/-0)
source4/torture/krb5/wscript_build (+19/-0)
source4/torture/ldap/basic.c (+1005/-0)
source4/torture/ldap/cldap.c (+179/-0)
source4/torture/ldap/cldapbench.c (+233/-0)
source4/torture/ldap/common.c (+150/-0)
source4/torture/ldap/ldap_sort.c (+158/-0)
source4/torture/ldap/nested_search.c (+206/-0)
source4/torture/ldap/netlogon.c (+662/-0)
source4/torture/ldap/schema.c (+408/-0)
source4/torture/ldap/uptodatevector.c (+173/-0)
source4/torture/ldb/ldb.c (+1344/-0)
source4/torture/libnet/domain.c (+117/-0)
source4/torture/libnet/groupinfo.c (+128/-0)
source4/torture/libnet/groupman.c (+97/-0)
source4/torture/libnet/grouptest.h (+20/-0)
source4/torture/libnet/libnet.c (+70/-0)
source4/torture/libnet/libnet_BecomeDC.c (+186/-0)
source4/torture/libnet/libnet_domain.c (+440/-0)
source4/torture/libnet/libnet_group.c (+210/-0)
source4/torture/libnet/libnet_lookup.c (+191/-0)
source4/torture/libnet/libnet_rpc.c (+230/-0)
source4/torture/libnet/libnet_share.c (+243/-0)
source4/torture/libnet/libnet_user.c (+520/-0)
source4/torture/libnet/python/samr-test.py (+59/-0)
source4/torture/libnet/userinfo.c (+192/-0)
source4/torture/libnet/userman.c (+473/-0)
source4/torture/libnet/usertest.h (+42/-0)
source4/torture/libnet/utils.c (+556/-0)
source4/torture/libnetapi/libnetapi.c (+99/-0)
source4/torture/libnetapi/libnetapi_group.c (+520/-0)
source4/torture/libnetapi/libnetapi_server.c (+76/-0)
source4/torture/libnetapi/libnetapi_user.c (+485/-0)
source4/torture/libnetapi/wscript_build (+11/-0)
source4/torture/libsmbclient/libsmbclient.c (+222/-0)
source4/torture/libsmbclient/wscript_build (+14/-0)
source4/torture/local/dbspeed.c (+268/-0)
source4/torture/local/fsrvp_state.c (+492/-0)
source4/torture/local/local.c (+114/-0)
source4/torture/local/nss_tests.c (+1001/-0)
source4/torture/local/torture.c (+85/-0)
source4/torture/local/verif_trailer.c (+99/-0)
source4/torture/local/wscript_build (+39/-0)
source4/torture/locktest.c (+666/-0)
source4/torture/man/gentest.1.xml (+162/-0)
source4/torture/man/locktest.1.xml (+160/-0)
source4/torture/man/masktest.1.xml (+142/-0)
source4/torture/man/smbtorture.1.xml (+258/-0)
source4/torture/masktest.c (+392/-0)
source4/torture/nbench/nbench.c (+298/-0)
source4/torture/nbench/nbio.c (+994/-0)
source4/torture/nbt/dgram.c (+698/-0)
source4/torture/nbt/nbt.c (+69/-0)
source4/torture/nbt/query.c (+115/-0)
source4/torture/nbt/register.c (+176/-0)
source4/torture/nbt/wins.c (+545/-0)
source4/torture/nbt/winsbench.c (+300/-0)
source4/torture/nbt/winsreplication.c (+9878/-0)
source4/torture/ndr/README (+21/-0)
source4/torture/ndr/atsvc.c (+215/-0)
source4/torture/ndr/backupkey.c (+163/-0)
source4/torture/ndr/cabinet.c (+4323/-0)
source4/torture/ndr/charset.c (+91/-0)
source4/torture/ndr/clusapi.c (+383/-0)
source4/torture/ndr/dfs.c (+115/-0)
source4/torture/ndr/dfsblob.c (+85/-0)
source4/torture/ndr/drsblobs.c (+558/-0)
source4/torture/ndr/drsuapi.c (+309/-0)
source4/torture/ndr/epmap.c (+80/-0)
source4/torture/ndr/krb5pac.c (+705/-0)
source4/torture/ndr/lsa.c (+2230/-0)
source4/torture/ndr/nbt.c (+253/-0)
source4/torture/ndr/ndr.c (+610/-0)
source4/torture/ndr/ndr.h (+108/-0)
source4/torture/ndr/negoex.c (+100/-0)
source4/torture/ndr/netlogon.c (+213/-0)
source4/torture/ndr/ntlmssp.c (+296/-0)
source4/torture/ndr/ntprinting.c (+657/-0)
source4/torture/ndr/samr.c (+355/-0)
source4/torture/ndr/spoolss.c (+2064/-0)
source4/torture/ndr/string.c (+198/-0)
source4/torture/ndr/winreg.c (+620/-0)
source4/torture/ndr/winspool.c (+173/-0)
source4/torture/ndr/witness.c (+368/-0)
source4/torture/ntp/ntp_signd.c (+303/-0)
source4/torture/rap/printing.c (+711/-0)
source4/torture/rap/rap.c (+275/-0)
source4/torture/rap/rpc.c (+100/-0)
source4/torture/rap/sam.c (+361/-0)
source4/torture/raw/acls.c (+2483/-0)
source4/torture/raw/chkpath.c (+390/-0)
source4/torture/raw/close.c (+178/-0)
source4/torture/raw/composite.c (+417/-0)
source4/torture/raw/context.c (+893/-0)
source4/torture/raw/eas.c (+593/-0)
source4/torture/raw/ioctl.c (+191/-0)
source4/torture/raw/lock.c (+2519/-0)
source4/torture/raw/lockbench.c (+447/-0)
source4/torture/raw/lookuprate.c (+317/-0)
source4/torture/raw/missing.txt (+160/-0)
source4/torture/raw/mkdir.c (+171/-0)
source4/torture/raw/mux.c (+342/-0)
source4/torture/raw/notify.c (+2005/-0)
source4/torture/raw/offline.c (+514/-0)
source4/torture/raw/open.c (+2254/-0)
source4/torture/raw/openbench.c (+502/-0)
source4/torture/raw/oplock.c (+4659/-0)
source4/torture/raw/pingpong.c (+248/-0)
source4/torture/raw/qfileinfo.c (+923/-0)
source4/torture/raw/qfsinfo.c (+296/-0)
source4/torture/raw/raw.c (+85/-0)
source4/torture/raw/read.c (+1039/-0)
source4/torture/raw/rename.c (+725/-0)
source4/torture/raw/samba3hide.c (+326/-0)
source4/torture/raw/samba3misc.c (+1063/-0)
source4/torture/raw/search.c (+1515/-0)
source4/torture/raw/seek.c (+242/-0)
source4/torture/raw/session.c (+440/-0)
source4/torture/raw/setfileinfo.c (+1152/-0)
source4/torture/raw/streams.c (+2091/-0)
source4/torture/raw/tconrate.c (+208/-0)
source4/torture/raw/unlink.c (+542/-0)
source4/torture/raw/write.c (+710/-0)
source4/torture/rpc/alter_context.c (+111/-0)
source4/torture/rpc/async_bind.c (+86/-0)
source4/torture/rpc/atsvc.c (+138/-0)
source4/torture/rpc/autoidl.c (+312/-0)
source4/torture/rpc/backupkey.c (+2438/-0)
source4/torture/rpc/backupkey_heimdal.c (+2160/-0)
source4/torture/rpc/bench.c (+152/-0)
source4/torture/rpc/bind.c (+119/-0)
source4/torture/rpc/browser.c (+124/-0)
source4/torture/rpc/clusapi.c (+3998/-0)
source4/torture/rpc/countcalls.c (+131/-0)
source4/torture/rpc/dfs.c (+651/-0)
source4/torture/rpc/drsuapi.c (+875/-0)
source4/torture/rpc/drsuapi.h (+93/-0)
source4/torture/rpc/drsuapi_cracknames.c (+1084/-0)
source4/torture/rpc/drsuapi_w2k8.c (+334/-0)
source4/torture/rpc/dsgetinfo.c (+456/-0)
source4/torture/rpc/dssetup.c (+64/-0)
source4/torture/rpc/echo.c (+474/-0)
source4/torture/rpc/epmapper.c (+689/-0)
source4/torture/rpc/eventlog.c (+502/-0)
source4/torture/rpc/forest_trust.c (+897/-0)
source4/torture/rpc/frsapi.c (+276/-0)
source4/torture/rpc/fsrvp.c (+968/-0)
source4/torture/rpc/handles.c (+620/-0)
source4/torture/rpc/initshutdown.c (+116/-0)
source4/torture/rpc/iremotewinspool.c (+941/-0)
source4/torture/rpc/join.c (+86/-0)
source4/torture/rpc/lsa.c (+5295/-0)
source4/torture/rpc/lsa_lookup.c (+424/-0)
source4/torture/rpc/mgmt.c (+322/-0)
source4/torture/rpc/netlogon.c (+4870/-0)
source4/torture/rpc/netlogon.h (+37/-0)
source4/torture/rpc/ntsvcs.c (+189/-0)
source4/torture/rpc/object_uuid.c (+85/-0)
source4/torture/rpc/oxidresolve.c (+263/-0)
source4/torture/rpc/remact.c (+104/-0)
source4/torture/rpc/remote_pac.c (+978/-0)
source4/torture/rpc/rpc.c (+577/-0)
source4/torture/rpc/samba3rpc.c (+4579/-0)
source4/torture/rpc/samlogon.c (+2063/-0)
source4/torture/rpc/samr.c (+8867/-0)
source4/torture/rpc/samr_accessmask.c (+1197/-0)
source4/torture/rpc/samr_priv.c (+580/-0)
source4/torture/rpc/samsync.c (+1789/-0)
source4/torture/rpc/scanner.c (+187/-0)
source4/torture/rpc/schannel.c (+1127/-0)
source4/torture/rpc/session_key.c (+250/-0)
source4/torture/rpc/spoolss.c (+11489/-0)
source4/torture/rpc/spoolss_access.c (+904/-0)
source4/torture/rpc/spoolss_notify.c (+614/-0)
source4/torture/rpc/spoolss_win.c (+612/-0)
source4/torture/rpc/srvsvc.c (+1199/-0)
source4/torture/rpc/svcctl.c (+657/-0)
source4/torture/rpc/testjoin.c (+921/-0)
source4/torture/rpc/torture_rpc.h (+104/-0)
source4/torture/rpc/unixinfo.c (+149/-0)
source4/torture/rpc/winreg.c (+3145/-0)
source4/torture/rpc/witness.c (+911/-0)
source4/torture/rpc/wkssvc.c (+1447/-0)
source4/torture/shell.c (+326/-0)
source4/torture/smb2/acls.c (+2389/-0)
source4/torture/smb2/compound.c (+1399/-0)
source4/torture/smb2/connect.c (+257/-0)
source4/torture/smb2/create.c (+1760/-0)
source4/torture/smb2/credits.c (+268/-0)
source4/torture/smb2/delete-on-close.c (+602/-0)
source4/torture/smb2/dir.c (+1399/-0)
source4/torture/smb2/dosmode.c (+183/-0)
source4/torture/smb2/durable_open.c (+2809/-0)
source4/torture/smb2/durable_v2_open.c (+2030/-0)
source4/torture/smb2/getinfo.c (+493/-0)
source4/torture/smb2/ioctl.c (+6837/-0)
source4/torture/smb2/lease.c (+4102/-0)
source4/torture/smb2/lock.c (+3155/-0)
source4/torture/smb2/maxfid.c (+151/-0)
source4/torture/smb2/maxwrite.c (+137/-0)
source4/torture/smb2/notify.c (+2553/-0)
source4/torture/smb2/notify_disabled.c (+120/-0)
source4/torture/smb2/oplock.c (+5045/-0)
source4/torture/smb2/read.c (+319/-0)
source4/torture/smb2/rename.c (+1467/-0)
source4/torture/smb2/replay.c (+2549/-0)
source4/torture/smb2/scan.c (+265/-0)
source4/torture/smb2/session.c (+1691/-0)
source4/torture/smb2/setinfo.c (+410/-0)
source4/torture/smb2/smb2.c (+190/-0)
source4/torture/smb2/streams.c (+1857/-0)
source4/torture/smb2/util.c (+883/-0)
source4/torture/smb2/wscript_build (+40/-0)
source4/torture/smbtorture.c (+712/-0)
source4/torture/smbtorture.h (+154/-0)
source4/torture/tests/test_gentest.sh (+35/-0)
source4/torture/tests/test_locktest.sh (+28/-0)
source4/torture/tests/test_masktest.sh (+28/-0)
source4/torture/torture.c (+60/-0)
source4/torture/unix/unix.c (+40/-0)
source4/torture/unix/unix_info2.c (+465/-0)
source4/torture/unix/whoami.c (+421/-0)
source4/torture/util.h (+111/-0)
source4/torture/util_smb.c (+968/-0)
source4/torture/vfs/acl_xattr.c (+315/-0)
source4/torture/vfs/fruit.c (+4735/-0)
source4/torture/vfs/vfs.c (+119/-0)
source4/torture/winbind/struct_based.c (+1103/-0)
source4/torture/winbind/winbind.c (+318/-0)
source4/torture/winbind/wscript_build (+10/-0)
source4/torture/wscript_build (+336/-0)
source4/utils/man/ad2oLschema.1.xml (+87/-0)
source4/utils/man/oLschema2ldif.1.xml (+82/-0)
source4/utils/oLschema2ldif.c (+696/-0)
source4/utils/tests/test_demote.sh (+38/-0)
source4/utils/tests/test_nmblookup.sh (+37/-0)
source4/utils/tests/test_samba_tool.sh (+45/-0)
source4/utils/tests/test_smbclient.sh (+34/-0)
source4/utils/wscript_build (+8/-0)
source4/web_server/web_server.c (+376/-0)
source4/web_server/web_server.h (+73/-0)
source4/web_server/wscript_build (+20/-0)
source4/web_server/wsgi.c (+523/-0)
source4/winbind/idmap.c (+859/-0)
source4/winbind/idmap.h (+38/-0)
source4/winbind/wb_utils.c (+51/-0)
source4/winbind/winbindd.c (+98/-0)
source4/winbind/wscript_build (+25/-0)
source4/wrepl_server/wrepl_apply_records.c (+1503/-0)
source4/wrepl_server/wrepl_in_call.c (+589/-0)
source4/wrepl_server/wrepl_in_connection.c (+485/-0)
source4/wrepl_server/wrepl_out_helpers.c (+1144/-0)
source4/wrepl_server/wrepl_out_helpers.h (+37/-0)
source4/wrepl_server/wrepl_out_pull.c (+142/-0)
source4/wrepl_server/wrepl_out_push.c (+144/-0)
source4/wrepl_server/wrepl_periodic.c (+118/-0)
source4/wrepl_server/wrepl_scavenging.c (+570/-0)
source4/wrepl_server/wrepl_server.c (+512/-0)
source4/wrepl_server/wrepl_server.h (+321/-0)
source4/wrepl_server/wscript_build (+11/-0)
source4/wscript_build (+13/-0)
testdata/ldif-utils-test-multisite.ldif (+1007/-0)
testdata/minschema_classes.txt (+41/-0)
testdata/samba3/provision_samba3sam.ldif (+78/-0)
testdata/samba3/provision_samba3sam_templates.ldif (+118/-0)
testdata/samba3/samba3.ldif (+206/-0)
testdata/samba3/smb.conf (+24/-0)
testdata/samba3/smbpasswd (+3/-0)
testdata/samba3/wins.dat (+23/-0)
testdata/samba3/wins.dat2 (+23/-0)
testdata/unconnected-intrasite.ldif (+606/-0)
testprogs/blackbox/bogus.sh (+28/-0)
testprogs/blackbox/common-links.sh (+215/-0)
testprogs/blackbox/common_test_fns.inc (+106/-0)
testprogs/blackbox/dbcheck-links.sh (+307/-0)
testprogs/blackbox/dbcheck-oldrelease.sh (+499/-0)
testprogs/blackbox/dbcheck.sh (+55/-0)
testprogs/blackbox/demote-saveddb.sh (+67/-0)
testprogs/blackbox/dfree.sh (+8/-0)
testprogs/blackbox/dom_parse.sh (+27/-0)
testprogs/blackbox/nsstest.sh (+22/-0)
testprogs/blackbox/renamedc.sh (+96/-0)
testprogs/blackbox/runtime-links.sh (+74/-0)
testprogs/blackbox/subunit.sh (+121/-0)
testprogs/blackbox/test_chgdcpass.sh (+114/-0)
testprogs/blackbox/test_client_etypes.sh (+83/-0)
testprogs/blackbox/test_export_keytab_heimdal.sh (+103/-0)
testprogs/blackbox/test_export_keytab_mit.sh (+127/-0)
testprogs/blackbox/test_kinit_heimdal.sh (+259/-0)
testprogs/blackbox/test_kinit_mit.sh (+310/-0)
testprogs/blackbox/test_kinit_trusts_heimdal.sh (+98/-0)
testprogs/blackbox/test_kinit_trusts_mit.sh (+139/-0)
testprogs/blackbox/test_kpasswd_heimdal.sh (+217/-0)
testprogs/blackbox/test_kpasswd_mit.sh (+231/-0)
testprogs/blackbox/test_ktpass.sh (+41/-0)
testprogs/blackbox/test_ldb.sh (+231/-0)
testprogs/blackbox/test_ldb_simple.sh (+41/-0)
testprogs/blackbox/test_net_ads.sh (+91/-0)
testprogs/blackbox/test_net_ads_dns.sh (+102/-0)
testprogs/blackbox/test_net_rpc_user.sh (+56/-0)
testprogs/blackbox/test_password_settings.sh (+223/-0)
testprogs/blackbox/test_pdbtest.sh (+98/-0)
testprogs/blackbox/test_pkinit_heimdal.sh (+166/-0)
testprogs/blackbox/test_pkinit_pac_heimdal.sh (+53/-0)
testprogs/blackbox/test_samba_upgradedns.sh (+41/-0)
testprogs/blackbox/test_trust_ntlm.sh (+164/-0)
testprogs/blackbox/test_trust_utils.sh (+138/-0)
testprogs/blackbox/test_wintest.sh (+45/-0)
testprogs/blackbox/tfork.sh (+15/-0)
testprogs/blackbox/tombstones-expunge.sh (+239/-0)
testprogs/blackbox/upgradeprovision-oldrelease.sh (+227/-0)
testprogs/blackbox/wintest/wintest.conf (+7/-0)
testprogs/win32/midltests/Makefile (+16/-0)
testprogs/win32/midltests/Makefile.simple (+27/-0)
testprogs/win32/midltests/Makefile.tcp (+22/-0)
testprogs/win32/midltests/invalid/README.txt (+3/-0)
testprogs/win32/midltests/invalid/midltests_pipe_struct_union_01.idl (+279/-0)
testprogs/win32/midltests/invalid/midltests_pipe_struct_union_01.txt (+17/-0)
testprogs/win32/midltests/midltests.acf (+6/-0)
testprogs/win32/midltests/midltests.idl (+51/-0)
testprogs/win32/midltests/midltests_c_m.c (+2/-0)
testprogs/win32/midltests/midltests_marshall.c (+125/-0)
testprogs/win32/midltests/midltests_marshall.h (+19/-0)
testprogs/win32/midltests/midltests_s_m.c (+2/-0)
testprogs/win32/midltests/midltests_simple.c (+42/-0)
testprogs/win32/midltests/midltests_tcp.c (+646/-0)
testprogs/win32/midltests/todo/midltests-array-range.idl (+39/-0)
testprogs/win32/midltests/todo/midltests-pipe-02.idl (+153/-0)
testprogs/win32/midltests/todo/midltests-pipe-03-hyper.idl (+205/-0)
testprogs/win32/midltests/todo/midltests-pipe-04-struct.idl (+272/-0)
testprogs/win32/midltests/todo/midltests-pipe-first.idl (+233/-0)
testprogs/win32/midltests/todo/midltests-pipe-sync-ndr32-downgrade-02.idl (+296/-0)
testprogs/win32/midltests/todo/midltests-string-in-out-ref.idl (+33/-0)
testprogs/win32/midltests/todo/midltests-transmit-as.idl (+59/-0)
testprogs/win32/midltests/todo/midltests_pointer_default.idl (+20/-0)
testprogs/win32/midltests/utils.c (+32/-0)
testprogs/win32/midltests/valid/README.txt (+6/-0)
testprogs/win32/midltests/valid/midltests-pipe-sync-ndr32-downgrade-01.idl (+296/-0)
testprogs/win32/midltests/valid/midltests-pipe-sync-ndr32-downgrade-01.txt (+138/-0)
testprogs/win32/midltests/valid/midltests-pipe-sync-ndr32-downgrade-02.idl (+300/-0)
testprogs/win32/midltests/valid/midltests-pipe-sync-ndr32-downgrade-02.txt (+3266/-0)
testprogs/win32/midltests/valid/midltests_DRS_EXTENSIONS.idl (+64/-0)
testprogs/win32/midltests/valid/midltests_DRS_EXTENSIONS.out (+43/-0)
testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.idl (+29/-0)
testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.txt (+6/-0)
testprogs/win32/midltests/valid/midltests_strings_array_01.err.txt (+13/-0)
testprogs/win32/midltests/valid/midltests_strings_array_01.idl (+44/-0)
testprogs/win32/midltests/valid/midltests_strings_array_02.idl (+44/-0)
testprogs/win32/midltests/valid/midltests_strings_array_02.txt (+9/-0)
testprogs/win32/midltests/valid/midltests_union_align_01.idl (+42/-0)
testprogs/win32/midltests/valid/midltests_union_align_01.txt (+24/-0)
testprogs/win32/midltests/valid/midltests_union_align_02.idl (+61/-0)
testprogs/win32/midltests/valid/midltests_union_align_02.txt (+37/-0)
testprogs/win32/midltests/valid/midltests_union_align_03.idl (+64/-0)
testprogs/win32/midltests/valid/midltests_union_align_03.txt (+37/-0)
testprogs/win32/midltests/valid/midltests_union_align_04.idl (+64/-0)
testprogs/win32/midltests/valid/midltests_union_align_04.txt (+37/-0)
testprogs/win32/midltests/valid/midltests_union_align_05.idl (+61/-0)
testprogs/win32/midltests/valid/midltests_union_align_05.txt (+37/-0)
testprogs/win32/midltests/valid/midltests_union_align_06.idl (+61/-0)
testprogs/win32/midltests/valid/midltests_union_align_06.txt (+37/-0)
testprogs/win32/midltests/valid/midltests_union_align_07.idl (+61/-0)
testprogs/win32/midltests/valid/midltests_union_align_07.txt (+38/-0)
testprogs/win32/midltests/valid/midltests_union_align_08.idl (+68/-0)
testprogs/win32/midltests/valid/midltests_union_align_08.txt (+129/-0)
testprogs/win32/midltests/valid/midltests_union_align_09.idl (+69/-0)
testprogs/win32/midltests/valid/midltests_union_align_09.txt (+129/-0)
testprogs/win32/midltests/valid/midltests_union_align_10.idl (+71/-0)
testprogs/win32/midltests/valid/midltests_union_align_10.txt (+129/-0)
testprogs/win32/midltests/valid/midltests_union_align_11.idl (+70/-0)
testprogs/win32/midltests/valid/midltests_union_align_11.txt (+129/-0)
testprogs/win32/midltests/valid/midltests_union_align_12.idl (+70/-0)
testprogs/win32/midltests/valid/midltests_union_align_12.txt (+129/-0)
testprogs/win32/midltests/valid/midltests_union_align_13.idl (+71/-0)
testprogs/win32/midltests/valid/midltests_union_align_13.txt (+129/-0)
testprogs/win32/midltests/valid/midltests_union_align_14.idl (+71/-0)
testprogs/win32/midltests/valid/midltests_union_align_14.txt (+131/-0)
testprogs/win32/midltests/valid/midltests_union_align_15.idl (+72/-0)
testprogs/win32/midltests/valid/midltests_union_align_15.txt (+131/-0)
testprogs/win32/midltests/valid/midltests_union_align_16.idl (+93/-0)
testprogs/win32/midltests/valid/midltests_union_align_16.txt (+137/-0)
testprogs/win32/midltests/valid/midltests_union_align_17.idl (+94/-0)
testprogs/win32/midltests/valid/midltests_union_align_17.txt (+137/-0)
testprogs/win32/midltests/valid/midltests_union_align_18.idl (+93/-0)
testprogs/win32/midltests/valid/midltests_union_align_18.txt (+137/-0)
testprogs/win32/midltests/valid/midltests_union_align_19.idl (+90/-0)
testprogs/win32/midltests/valid/midltests_union_align_19.txt (+137/-0)
testprogs/win32/midltests/valid/midltests_union_align_20.idl (+91/-0)
testprogs/win32/midltests/valid/midltests_union_align_20.txt (+137/-0)
testprogs/win32/midltests/valid/midltests_v1_enum_01.idl (+56/-0)
testprogs/win32/midltests/valid/midltests_v1_enum_01.txt (+37/-0)
testprogs/win32/npecho/GNUmakefile (+24/-0)
testprogs/win32/npecho/NMakefile (+26/-0)
testprogs/win32/npecho/npecho_client.c (+50/-0)
testprogs/win32/npecho/npecho_client2.c (+117/-0)
testprogs/win32/npecho/npecho_server2.c (+76/-0)
testprogs/win32/prepare_dcpromo/GNUmakefile (+21/-0)
testprogs/win32/prepare_dcpromo/NMakefile (+16/-0)
testprogs/win32/prepare_dcpromo/prepare_dcpromo.c (+1074/-0)
testprogs/win32/rpcecho/Makefile (+23/-0)
testprogs/win32/rpcecho/README (+46/-0)
testprogs/win32/rpcecho/client.c (+367/-0)
testprogs/win32/rpcecho/rpcecho.acf (+26/-0)
testprogs/win32/rpcecho/rpcecho.idl (+146/-0)
testprogs/win32/rpcecho/server.c (+208/-0)
testprogs/win32/rpcecho/utils.c (+32/-0)
testprogs/win32/spoolss/GNUmakefile (+23/-0)
testprogs/win32/spoolss/NMakefile (+43/-0)
testprogs/win32/spoolss/README.win32 (+65/-0)
testprogs/win32/spoolss/error.c (+137/-0)
testprogs/win32/spoolss/error.h (+36/-0)
testprogs/win32/spoolss/printlib.c (+1386/-0)
testprogs/win32/spoolss/printlib_proto.h (+67/-0)
testprogs/win32/spoolss/string.h (+15/-0)
testprogs/win32/spoolss/testspoolss.c (+1842/-0)
testprogs/win32/spoolss/testspoolss.h (+51/-0)
testprogs/win32/spoolss/testspoolss.sln (+20/-0)
testprogs/win32/spoolss/testspoolss.vcproj (+224/-0)
testprogs/win32/spoolss/torture.c (+106/-0)
testprogs/win32/spoolss/torture.h (+92/-0)
testprogs/win32/spoolss/torture_proto.h (+32/-0)
testprogs/win32/testmailslot/GNUmakefile (+16/-0)
testprogs/win32/testmailslot/NMakefile (+13/-0)
testprogs/win32/testmailslot/testmailslot.c (+80/-0)
testprogs/win32/vs2010-metze.cmd (+24/-0)
testprogs/win32/wmi/echoprocessor.vbs (+10/-0)
tests/README (+10/-0)
tests/fcntl_lock.c (+132/-0)
tests/fcntl_lock_thread.c (+117/-0)
tests/ftruncate.c (+31/-0)
tests/getgroups.c (+66/-0)
tests/oldquotas.c (+115/-0)
tests/readlink.c (+33/-0)
tests/shared_mmap.c (+70/-0)
tests/shlib.c (+8/-0)
tests/summary.c (+28/-0)
tests/sysquotas.c (+90/-0)
tests/trivial.c (+7/-0)
testsuite/README (+15/-0)
testsuite/build_farm/backtrace (+15/-0)
testsuite/build_farm/basicsmb-domainsec-nt4.test (+28/-0)
testsuite/build_farm/basicsmb-domainsec.test (+27/-0)
testsuite/build_farm/basicsmb-hostsdeny.test (+18/-0)
testsuite/build_farm/basicsmb-hostsequiv.test (+26/-0)
testsuite/build_farm/basicsmb-invalidusers.test (+10/-0)
testsuite/build_farm/basicsmb-local-pass-change.test (+10/-0)
testsuite/build_farm/basicsmb-preexec.test (+28/-0)
testsuite/build_farm/basicsmb-remote-pass-change.test (+10/-0)
testsuite/build_farm/basicsmb-serversec.test (+9/-0)
testsuite/build_farm/basicsmb-shareguest.test (+20/-0)
testsuite/build_farm/basicsmb-sharelist.test (+22/-0)
testsuite/build_farm/basicsmb-sharesec.test (+9/-0)
testsuite/build_farm/basicsmb-usersec.test (+9/-0)
testsuite/build_farm/basicsmb.fns (+204/-0)
testsuite/build_farm/runlist (+18/-0)
testsuite/build_farm/template/basicsmb.smb.conf (+49/-0)
testsuite/build_farm/template/basicsmb.smb.conf.domain (+2/-0)
testsuite/build_farm/template/basicsmb.smb.conf.hostsdeny (+1/-0)
testsuite/build_farm/template/basicsmb.smb.conf.hostsequiv (+3/-0)
testsuite/build_farm/template/basicsmb.smb.conf.invalidusers (+1/-0)
testsuite/build_farm/template/basicsmb.smb.conf.preexec (+1/-0)
testsuite/build_farm/template/basicsmb.smb.conf.preexec_cl_fl (+2/-0)
testsuite/build_farm/template/basicsmb.smb.conf.preexec_close (+2/-0)
testsuite/build_farm/template/basicsmb.smb.conf.server (+3/-0)
testsuite/build_farm/template/basicsmb.smb.conf.share (+1/-0)
testsuite/build_farm/template/basicsmb.smb.conf.user (+1/-0)
testsuite/build_farm/template/basicsmb.smb.conf.validusers (+1/-0)
testsuite/build_farm/template/preexec (+3/-0)
testsuite/build_farm/torture-ATTR.test (+2/-0)
testsuite/build_farm/torture-BROWSE.test (+2/-0)
testsuite/build_farm/torture-DELETE.test (+2/-0)
testsuite/build_farm/torture-DENY1.test (+2/-0)
testsuite/build_farm/torture-DENY2.test (+2/-0)
testsuite/build_farm/torture-DIR.test (+2/-0)
testsuite/build_farm/torture-DIR1.test (+2/-0)
testsuite/build_farm/torture-FDPASS.test (+2/-0)
testsuite/build_farm/torture-FDSESS.test (+2/-0)
testsuite/build_farm/torture-LOCK1.test (+2/-0)
testsuite/build_farm/torture-LOCK2.test (+2/-0)
testsuite/build_farm/torture-LOCK3.test (+2/-0)
testsuite/build_farm/torture-LOCK4.test (+2/-0)
testsuite/build_farm/torture-LOCK5.test (+2/-0)
testsuite/build_farm/torture-LOCK6.test (+2/-0)
testsuite/build_farm/torture-LOCK7.test (+2/-0)
testsuite/build_farm/torture-MANGLE.test (+2/-0)
testsuite/build_farm/torture-OPEN.test (+2/-0)
testsuite/build_farm/torture-OPLOCK1.test (+2/-0)
testsuite/build_farm/torture-PROPERTIES.test (+2/-0)
testsuite/build_farm/torture-RANDOMIPC.test (+2/-0)
testsuite/build_farm/torture-RENAME.test (+2/-0)
testsuite/build_farm/torture-RW1.test (+2/-0)
testsuite/build_farm/torture-RW2.test (+2/-0)
testsuite/build_farm/torture-TCON.test (+2/-0)
testsuite/build_farm/torture-TCON1.test (+2/-0)
testsuite/build_farm/torture-TCON2.test (+2/-0)
testsuite/build_farm/torture-TCONDEV.test (+2/-0)
testsuite/build_farm/torture-TORTURE.test (+2/-0)
testsuite/build_farm/torture-TRANS2.test (+2/-0)
testsuite/build_farm/torture-UNLINK.test (+2/-0)
testsuite/build_farm/torture-XCOPY.test (+2/-0)
testsuite/build_farm/torture_setup.fns (+19/-0)
testsuite/headers/test_headers.c (+45/-0)
testsuite/headers/wscript_build (+36/-0)
testsuite/nsswitch/Makefile.longarg (+5/-0)
testsuite/nsswitch/bigfd.c (+38/-0)
testsuite/nsswitch/bigfd.exp (+28/-0)
testsuite/nsswitch/domusers.exp (+38/-0)
testsuite/nsswitch/envvar.exp (+282/-0)
testsuite/nsswitch/finger.exp (+39/-0)
testsuite/nsswitch/getent.c (+150/-0)
testsuite/nsswitch/getent.exp (+148/-0)
testsuite/nsswitch/getent_grent.c (+100/-0)
testsuite/nsswitch/getent_pwent.c (+112/-0)
testsuite/nsswitch/getent_r.sh (+35/-0)
testsuite/nsswitch/getgrent_r.c (+84/-0)
testsuite/nsswitch/getgrent_r.exp (+41/-0)
testsuite/nsswitch/getgrgid.c (+57/-0)
testsuite/nsswitch/getgrgid.exp (+50/-0)
testsuite/nsswitch/getgrnam.c (+51/-0)
testsuite/nsswitch/getgrnam.exp (+28/-0)
testsuite/nsswitch/getpwent_r.c (+85/-0)
testsuite/nsswitch/getpwent_r.exp (+41/-0)
testsuite/nsswitch/getpwnam.c (+37/-0)
testsuite/nsswitch/getpwnam.exp (+28/-0)
testsuite/nsswitch/getpwuid.c (+43/-0)
testsuite/nsswitch/getpwuid.exp (+59/-0)
testsuite/nsswitch/groupmem_dom.exp (+33/-0)
testsuite/nsswitch/initgroups.c (+42/-0)
testsuite/nsswitch/initgroups.exp (+37/-0)
testsuite/nsswitch/login.exp (+102/-0)
testsuite/nsswitch/longarg.exp (+29/-0)
testsuite/nsswitch/longarg_getgrnam.c (+41/-0)
testsuite/nsswitch/longarg_getpwnam.c (+41/-0)
testsuite/nsswitch/longarg_utils.h (+26/-0)
testsuite/nsswitch/nss_winbind_syms.c (+63/-0)
testsuite/nsswitch/nss_winbind_syms.exp (+42/-0)
testsuite/nsswitch/pam_winbind_syms.c (+55/-0)
testsuite/nsswitch/pam_winbind_syms.exp (+44/-0)
testsuite/nsswitch/wbinfo.exp (+360/-0)
testsuite/smbd/Makefile.se_access_check (+24/-0)
testsuite/smbd/Makefile.sec_ctx (+57/-0)
testsuite/smbd/se_access_check.exp (+53/-0)
testsuite/smbd/se_access_check_allowall.c (+86/-0)
testsuite/smbd/se_access_check_allowsome.c (+103/-0)
testsuite/smbd/se_access_check_denyall.c (+85/-0)
testsuite/smbd/se_access_check_denysome.c (+105/-0)
testsuite/smbd/se_access_check_empty.c (+108/-0)
testsuite/smbd/se_access_check_nullsd.c (+73/-0)
testsuite/smbd/se_access_check_printer.c (+211/-0)
testsuite/smbd/se_access_check_utils.c (+157/-0)
testsuite/smbd/se_access_check_utils.h (+45/-0)
testsuite/smbd/sec_ctx.exp (+66/-0)
testsuite/smbd/sec_ctx1.c (+39/-0)
testsuite/smbd/sec_ctx_current_user.c (+113/-0)
testsuite/smbd/sec_ctx_flow.c (+72/-0)
testsuite/smbd/sec_ctx_groups.c (+130/-0)
testsuite/smbd/sec_ctx_nonroot.c (+41/-0)
testsuite/smbd/sec_ctx_root.c (+60/-0)
testsuite/smbd/sec_ctx_stack.c (+85/-0)
testsuite/smbd/sec_ctx_torture.c (+102/-0)
testsuite/smbd/sec_ctx_utils.c (+64/-0)
testsuite/smbd/sec_ctx_utils.h (+29/-0)
testsuite/smbd/sighup.exp (+107/-0)
testsuite/unittests/rpc_test_dummy_module.c (+20/-0)
testsuite/unittests/test_krb5_samba.c (+145/-0)
testsuite/unittests/test_lib_util_modules.c (+76/-0)
testsuite/unittests/test_sambafs_srv_pipe.c (+77/-0)
testsuite/unittests/wscript (+38/-0)
third_party/aesni-intel/aesni-intel_asm.c (+2812/-0)
third_party/aesni-intel/inst-intel.h (+306/-0)
third_party/aesni-intel/wscript (+26/-0)
third_party/cmocka/cmocka.c (+3306/-0)
third_party/cmocka/cmocka.h (+2284/-0)
third_party/cmocka/cmocka_private.h (+163/-0)
third_party/cmocka/wscript (+19/-0)
third_party/dnspython/.gitignore (+7/-0)
third_party/dnspython/ChangeLog (+1194/-0)
third_party/dnspython/LICENSE (+14/-0)
third_party/dnspython/MANIFEST.in (+3/-0)
third_party/dnspython/Makefile (+56/-0)
third_party/dnspython/README (+442/-0)
third_party/dnspython/TODO (+17/-0)
third_party/dnspython/dns/__init__.py (+54/-0)
third_party/dnspython/dns/dnssec.py (+372/-0)
third_party/dnspython/dns/e164.py (+79/-0)
third_party/dnspython/dns/edns.py (+142/-0)
third_party/dnspython/dns/entropy.py (+123/-0)
third_party/dnspython/dns/exception.py (+40/-0)
third_party/dnspython/dns/flags.py (+106/-0)
third_party/dnspython/dns/hash.py (+67/-0)
third_party/dnspython/dns/inet.py (+108/-0)
third_party/dnspython/dns/ipv4.py (+42/-0)
third_party/dnspython/dns/ipv6.py (+163/-0)
third_party/dnspython/dns/message.py (+1088/-0)
third_party/dnspython/dns/name.py (+702/-0)
third_party/dnspython/dns/namedict.py (+59/-0)
third_party/dnspython/dns/node.py (+172/-0)
third_party/dnspython/dns/opcode.py (+104/-0)
third_party/dnspython/dns/query.py (+492/-0)
third_party/dnspython/dns/rcode.py (+119/-0)
third_party/dnspython/dns/rdata.py (+478/-0)
third_party/dnspython/dns/rdataclass.py (+114/-0)
third_party/dnspython/dns/rdataset.py (+329/-0)
third_party/dnspython/dns/rdatatype.py (+232/-0)
third_party/dnspython/dns/rdtypes/ANY/AFSDB.py (+51/-0)
third_party/dnspython/dns/rdtypes/ANY/CERT.py (+131/-0)
third_party/dnspython/dns/rdtypes/ANY/CNAME.py (+24/-0)
third_party/dnspython/dns/rdtypes/ANY/DLV.py (+20/-0)
third_party/dnspython/dns/rdtypes/ANY/DNAME.py (+21/-0)
third_party/dnspython/dns/rdtypes/ANY/DNSKEY.py (+94/-0)
third_party/dnspython/dns/rdtypes/ANY/DS.py (+20/-0)
third_party/dnspython/dns/rdtypes/ANY/GPOS.py (+156/-0)
third_party/dnspython/dns/rdtypes/ANY/HINFO.py (+83/-0)
third_party/dnspython/dns/rdtypes/ANY/HIP.py (+140/-0)
third_party/dnspython/dns/rdtypes/ANY/ISDN.py (+96/-0)
third_party/dnspython/dns/rdtypes/ANY/LOC.py (+334/-0)
third_party/dnspython/dns/rdtypes/ANY/MX.py (+20/-0)
third_party/dnspython/dns/rdtypes/ANY/NS.py (+20/-0)
third_party/dnspython/dns/rdtypes/ANY/NSEC.py (+128/-0)
third_party/dnspython/dns/rdtypes/ANY/NSEC3.py (+182/-0)
third_party/dnspython/dns/rdtypes/ANY/NSEC3PARAM.py (+88/-0)
third_party/dnspython/dns/rdtypes/ANY/PTR.py (+20/-0)
third_party/dnspython/dns/rdtypes/ANY/RP.py (+86/-0)
third_party/dnspython/dns/rdtypes/ANY/RRSIG.py (+155/-0)
third_party/dnspython/dns/rdtypes/ANY/RT.py (+20/-0)
third_party/dnspython/dns/rdtypes/ANY/SOA.py (+127/-0)
third_party/dnspython/dns/rdtypes/ANY/SPF.py (+22/-0)
third_party/dnspython/dns/rdtypes/ANY/SSHFP.py (+77/-0)
third_party/dnspython/dns/rdtypes/ANY/TXT.py (+20/-0)
third_party/dnspython/dns/rdtypes/ANY/X25.py (+62/-0)
third_party/dnspython/dns/rdtypes/ANY/__init__.py (+45/-0)
third_party/dnspython/dns/rdtypes/IN/A.py (+57/-0)
third_party/dnspython/dns/rdtypes/IN/AAAA.py (+58/-0)
third_party/dnspython/dns/rdtypes/IN/APL.py (+170/-0)
third_party/dnspython/dns/rdtypes/IN/DHCID.py (+60/-0)
third_party/dnspython/dns/rdtypes/IN/IPSECKEY.py (+159/-0)
third_party/dnspython/dns/rdtypes/IN/KX.py (+20/-0)
third_party/dnspython/dns/rdtypes/IN/NAPTR.py (+132/-0)
third_party/dnspython/dns/rdtypes/IN/NSAP.py (+59/-0)
third_party/dnspython/dns/rdtypes/IN/NSAP_PTR.py (+20/-0)
third_party/dnspython/dns/rdtypes/IN/PX.py (+97/-0)
third_party/dnspython/dns/rdtypes/IN/SRV.py (+89/-0)
third_party/dnspython/dns/rdtypes/IN/WKS.py (+113/-0)
third_party/dnspython/dns/rdtypes/IN/__init__.py (+30/-0)
third_party/dnspython/dns/rdtypes/__init__.py (+23/-0)
third_party/dnspython/dns/rdtypes/dsbase.py (+92/-0)
third_party/dnspython/dns/rdtypes/mxbase.py (+105/-0)
third_party/dnspython/dns/rdtypes/nsbase.py (+82/-0)
third_party/dnspython/dns/rdtypes/txtbase.py (+87/-0)
third_party/dnspython/dns/renderer.py (+325/-0)
third_party/dnspython/dns/resolver.py (+1161/-0)
third_party/dnspython/dns/reversename.py (+75/-0)
third_party/dnspython/dns/rrset.py (+175/-0)
third_party/dnspython/dns/set.py (+263/-0)
third_party/dnspython/dns/tokenizer.py (+547/-0)
third_party/dnspython/dns/tsig.py (+223/-0)
third_party/dnspython/dns/tsigkeyring.py (+44/-0)
third_party/dnspython/dns/ttl.py (+64/-0)
third_party/dnspython/dns/update.py (+245/-0)
third_party/dnspython/dns/version.py (+34/-0)
third_party/dnspython/dns/wiredata.py (+59/-0)
third_party/dnspython/dns/zone.py (+855/-0)
third_party/dnspython/examples/ddns.py (+51/-0)
third_party/dnspython/examples/e164.py (+6/-0)
third_party/dnspython/examples/mx.py (+7/-0)
third_party/dnspython/examples/name.py (+13/-0)
third_party/dnspython/examples/reverse.py (+40/-0)
third_party/dnspython/examples/reverse_name.py (+6/-0)
third_party/dnspython/examples/xfr.py (+14/-0)
third_party/dnspython/examples/zonediff.py (+270/-0)
third_party/dnspython/setup.py (+60/-0)
third_party/dnspython/tests/Makefile (+26/-0)
third_party/dnspython/tests/bugs.py (+44/-0)
third_party/dnspython/tests/dnssec.py (+146/-0)
third_party/dnspython/tests/example (+226/-0)
third_party/dnspython/tests/example1.good (+114/-0)
third_party/dnspython/tests/example2.good (+114/-0)
third_party/dnspython/tests/flags.py (+59/-0)
third_party/dnspython/tests/message.py (+179/-0)
third_party/dnspython/tests/name.py (+697/-0)
third_party/dnspython/tests/namedict.py (+102/-0)
third_party/dnspython/tests/ntoaaton.py (+197/-0)
third_party/dnspython/tests/rdtypeandclass.py (+123/-0)
third_party/dnspython/tests/resolver.py (+127/-0)
third_party/dnspython/tests/rrset.py (+54/-0)
third_party/dnspython/tests/set.py (+208/-0)
third_party/dnspython/tests/tokenizer.py (+190/-0)
third_party/dnspython/tests/update.py (+114/-0)
third_party/dnspython/tests/zone.py (+389/-0)
third_party/dnspython/util/COPYRIGHT (+14/-0)
third_party/dnspython/util/copyrights (+116/-0)
third_party/pep8/.gitignore (+7/-0)
third_party/pep8/.travis.yml (+25/-0)
third_party/pep8/CHANGES.txt (+651/-0)
third_party/pep8/LICENSE (+24/-0)
third_party/pep8/MANIFEST.in (+9/-0)
third_party/pep8/Makefile (+13/-0)
third_party/pep8/README.rst (+91/-0)
third_party/pep8/docs/Makefile (+153/-0)
third_party/pep8/docs/advanced.rst (+77/-0)
third_party/pep8/docs/api.rst (+88/-0)
third_party/pep8/docs/conf.py (+251/-0)
third_party/pep8/docs/developer.rst (+96/-0)
third_party/pep8/docs/index.rst (+69/-0)
third_party/pep8/docs/intro.rst (+435/-0)
third_party/pep8/docs/make.bat (+190/-0)
third_party/pep8/setup.cfg (+7/-0)
third_party/pep8/setup.py (+56/-0)
third_party/pep8/testsuite/E10.py (+41/-0)
third_party/pep8/testsuite/E11.py (+36/-0)
third_party/pep8/testsuite/E12.py (+376/-0)
third_party/pep8/testsuite/E12not.py (+644/-0)
third_party/pep8/testsuite/E20.py (+55/-0)
third_party/pep8/testsuite/E21.py (+14/-0)
third_party/pep8/testsuite/E22.py (+157/-0)
third_party/pep8/testsuite/E23.py (+15/-0)
third_party/pep8/testsuite/E24.py (+13/-0)
third_party/pep8/testsuite/E25.py (+36/-0)
third_party/pep8/testsuite/E26.py (+59/-0)
third_party/pep8/testsuite/E27.py (+30/-0)
third_party/pep8/testsuite/E30.py (+90/-0)
third_party/pep8/testsuite/E30not.py (+134/-0)
third_party/pep8/testsuite/E40.py (+38/-0)
third_party/pep8/testsuite/E50.py (+118/-0)
third_party/pep8/testsuite/E70.py (+20/-0)
third_party/pep8/testsuite/E71.py (+73/-0)
third_party/pep8/testsuite/E72.py (+51/-0)
third_party/pep8/testsuite/E73.py (+18/-0)
third_party/pep8/testsuite/E90.py (+26/-0)
third_party/pep8/testsuite/W19.py (+145/-0)
third_party/pep8/testsuite/W29.py (+21/-0)
third_party/pep8/testsuite/W39.py (+18/-0)
third_party/pep8/testsuite/W60.py (+15/-0)
third_party/pep8/testsuite/__init__.py (+0/-0)
third_party/pep8/testsuite/latin-1.py (+6/-0)
third_party/pep8/testsuite/noqa.py (+15/-0)
third_party/pep8/testsuite/python3.py (+6/-0)
third_party/pep8/testsuite/support.py (+197/-0)
third_party/pep8/testsuite/test_all.py (+63/-0)
third_party/pep8/testsuite/test_api.py (+389/-0)
third_party/pep8/testsuite/test_shell.py (+189/-0)
third_party/pep8/testsuite/test_util.py (+23/-0)
third_party/pep8/testsuite/utf-8-bom.py (+6/-0)
third_party/pep8/testsuite/utf-8.py (+52/-0)
third_party/pep8/tox.ini (+15/-0)
third_party/popt/CHANGES (+46/-0)
third_party/popt/COPYING (+22/-0)
third_party/popt/README (+18/-0)
third_party/popt/dummy.in (+0/-0)
third_party/popt/findme.c (+50/-0)
third_party/popt/findme.h (+20/-0)
third_party/popt/popt.c (+1249/-0)
third_party/popt/popt.h (+545/-0)
third_party/popt/poptconfig.c (+190/-0)
third_party/popt/popthelp.c (+741/-0)
third_party/popt/poptint.h (+116/-0)
third_party/popt/poptparse.c (+227/-0)
third_party/popt/system.h (+78/-0)
third_party/popt/wscript (+19/-0)
third_party/pyiso8601/.hgignore (+8/-0)
third_party/pyiso8601/.hgtags (+6/-0)
third_party/pyiso8601/LICENSE (+20/-0)
third_party/pyiso8601/MANIFEST.in (+2/-0)
third_party/pyiso8601/README.rst (+180/-0)
third_party/pyiso8601/dev-requirements.txt (+5/-0)
third_party/pyiso8601/docs/Makefile (+177/-0)
third_party/pyiso8601/docs/conf.py (+266/-0)
third_party/pyiso8601/docs/index.rst (+80/-0)
third_party/pyiso8601/docs/make.bat (+242/-0)
third_party/pyiso8601/iso8601/__init__.py (+1/-0)
third_party/pyiso8601/iso8601/iso8601.py (+214/-0)
third_party/pyiso8601/iso8601/test_iso8601.py (+97/-0)
third_party/pyiso8601/setup.py (+25/-0)
third_party/pyiso8601/tox.ini (+8/-0)
third_party/update.sh (+36/-0)
third_party/waf/wafadmin/3rdparty/ParallelDebug.py (+297/-0)
third_party/waf/wafadmin/3rdparty/batched_cc.py (+182/-0)
third_party/waf/wafadmin/3rdparty/boost.py (+342/-0)
third_party/waf/wafadmin/3rdparty/build_file_tracker.py (+53/-0)
third_party/waf/wafadmin/3rdparty/fluid.py (+26/-0)
third_party/waf/wafadmin/3rdparty/gccdeps.py (+127/-0)
third_party/waf/wafadmin/3rdparty/go.py (+110/-0)
third_party/waf/wafadmin/3rdparty/lru_cache.py (+96/-0)
third_party/waf/wafadmin/3rdparty/paranoid.py (+34/-0)
third_party/waf/wafadmin/3rdparty/prefork.py (+275/-0)
third_party/waf/wafadmin/3rdparty/print_commands.py (+25/-0)
third_party/waf/wafadmin/3rdparty/swig.py (+189/-0)
third_party/waf/wafadmin/3rdparty/valadoc.py (+112/-0)
third_party/waf/wafadmin/Build.py (+1036/-0)
third_party/waf/wafadmin/Configure.py (+442/-0)
third_party/waf/wafadmin/Constants.py (+75/-0)
third_party/waf/wafadmin/Environment.py (+209/-0)
third_party/waf/wafadmin/Logs.py (+133/-0)
third_party/waf/wafadmin/Node.py (+701/-0)
third_party/waf/wafadmin/Options.py (+287/-0)
third_party/waf/wafadmin/Runner.py (+235/-0)
third_party/waf/wafadmin/Scripting.py (+585/-0)
third_party/waf/wafadmin/Task.py (+1199/-0)
third_party/waf/wafadmin/TaskGen.py (+614/-0)
third_party/waf/wafadmin/Tools/__init__.py (+3/-0)
third_party/waf/wafadmin/Tools/ar.py (+34/-0)
third_party/waf/wafadmin/Tools/bison.py (+37/-0)
third_party/waf/wafadmin/Tools/cc.py (+99/-0)
third_party/waf/wafadmin/Tools/ccroot.py (+639/-0)
third_party/waf/wafadmin/Tools/compiler_cc.py (+66/-0)
third_party/waf/wafadmin/Tools/compiler_cxx.py (+61/-0)
third_party/waf/wafadmin/Tools/compiler_d.py (+32/-0)
third_party/waf/wafadmin/Tools/config_c.py (+754/-0)
third_party/waf/wafadmin/Tools/cs.py (+67/-0)
third_party/waf/wafadmin/Tools/cxx.py (+103/-0)
third_party/waf/wafadmin/Tools/d.py (+534/-0)
third_party/waf/wafadmin/Tools/dbus.py (+33/-0)
third_party/waf/wafadmin/Tools/dmd.py (+63/-0)
third_party/waf/wafadmin/Tools/flex.py (+24/-0)
third_party/waf/wafadmin/Tools/gas.py (+37/-0)
third_party/waf/wafadmin/Tools/gcc.py (+138/-0)
third_party/waf/wafadmin/Tools/gdc.py (+51/-0)
third_party/waf/wafadmin/Tools/glib2.py (+163/-0)
third_party/waf/wafadmin/Tools/gnome.py (+222/-0)
third_party/waf/wafadmin/Tools/gnu_dirs.py (+110/-0)
third_party/waf/wafadmin/Tools/gob2.py (+17/-0)
third_party/waf/wafadmin/Tools/gxx.py (+136/-0)
third_party/waf/wafadmin/Tools/icc.py (+37/-0)
third_party/waf/wafadmin/Tools/icpc.py (+35/-0)
third_party/waf/wafadmin/Tools/intltool.py (+138/-0)
third_party/waf/wafadmin/Tools/javaw.py (+254/-0)
third_party/waf/wafadmin/Tools/kde4.py (+73/-0)
third_party/waf/wafadmin/Tools/libtool.py (+329/-0)
third_party/waf/wafadmin/Tools/lua.py (+24/-0)
third_party/waf/wafadmin/Tools/misc.py (+429/-0)
third_party/waf/wafadmin/Tools/msvc.py (+796/-0)
third_party/waf/wafadmin/Tools/nasm.py (+48/-0)
third_party/waf/wafadmin/Tools/ocaml.py (+297/-0)
third_party/waf/wafadmin/Tools/osx.py (+187/-0)
third_party/waf/wafadmin/Tools/perl.py (+108/-0)
third_party/waf/wafadmin/Tools/preproc.py (+837/-0)
third_party/waf/wafadmin/Tools/python.py (+432/-0)
third_party/waf/wafadmin/Tools/qt4.py (+504/-0)
third_party/waf/wafadmin/Tools/ruby.py (+119/-0)
third_party/waf/wafadmin/Tools/suncc.py (+76/-0)
third_party/waf/wafadmin/Tools/suncxx.py (+75/-0)
third_party/waf/wafadmin/Tools/tex.py (+250/-0)
third_party/waf/wafadmin/Tools/unittestw.py (+308/-0)
third_party/waf/wafadmin/Tools/vala.py (+307/-0)
third_party/waf/wafadmin/Tools/winres.py (+44/-0)
third_party/waf/wafadmin/Tools/xlc.py (+78/-0)
third_party/waf/wafadmin/Tools/xlcxx.py (+78/-0)
third_party/waf/wafadmin/Utils.py (+747/-0)
third_party/waf/wafadmin/__init__.py (+3/-0)
third_party/waf/wafadmin/ansiterm.py (+235/-0)
third_party/waf/wafadmin/pproc.py (+619/-0)
third_party/waf/wafadmin/py3kfixes.py (+129/-0)
third_party/wscript (+77/-0)
third_party/zlib/ChangeLog (+855/-0)
third_party/zlib/FAQ (+339/-0)
third_party/zlib/INDEX (+51/-0)
third_party/zlib/Makefile (+154/-0)
third_party/zlib/Makefile.in (+154/-0)
third_party/zlib/README (+125/-0)
third_party/zlib/adler32.c (+148/-0)
third_party/zlib/algorithm.txt (+209/-0)
third_party/zlib/amiga/Makefile.pup (+66/-0)
third_party/zlib/amiga/Makefile.sas (+65/-0)
third_party/zlib/as400/bndsrc (+132/-0)
third_party/zlib/as400/compile.clp (+123/-0)
third_party/zlib/as400/readme.txt (+111/-0)
third_party/zlib/as400/zlib.inc (+331/-0)
third_party/zlib/compress.c (+78/-0)
third_party/zlib/contrib/README.contrib (+71/-0)
third_party/zlib/contrib/ada/buffer_demo.adb (+106/-0)
third_party/zlib/contrib/ada/mtest.adb (+156/-0)
third_party/zlib/contrib/ada/read.adb (+156/-0)
third_party/zlib/contrib/ada/readme.txt (+65/-0)
third_party/zlib/contrib/ada/test.adb (+463/-0)
third_party/zlib/contrib/ada/zlib-streams.adb (+225/-0)
third_party/zlib/contrib/ada/zlib-streams.ads (+114/-0)
third_party/zlib/contrib/ada/zlib-thin.adb (+141/-0)
third_party/zlib/contrib/ada/zlib-thin.ads (+450/-0)
third_party/zlib/contrib/ada/zlib.adb (+701/-0)
third_party/zlib/contrib/ada/zlib.ads (+328/-0)
third_party/zlib/contrib/ada/zlib.gpr (+20/-0)
third_party/zlib/contrib/asm586/README.586 (+43/-0)
third_party/zlib/contrib/asm586/match.S (+364/-0)
third_party/zlib/contrib/asm686/README.686 (+34/-0)
third_party/zlib/contrib/asm686/match.S (+329/-0)
third_party/zlib/contrib/blast/Makefile (+8/-0)
third_party/zlib/contrib/blast/README (+4/-0)
third_party/zlib/contrib/blast/blast.c (+444/-0)
third_party/zlib/contrib/blast/blast.h (+71/-0)
third_party/zlib/contrib/blast/test.txt (+1/-0)
third_party/zlib/contrib/delphi/ZLib.pas (+557/-0)
third_party/zlib/contrib/delphi/ZLibConst.pas (+11/-0)
third_party/zlib/contrib/delphi/readme.txt (+76/-0)
third_party/zlib/contrib/delphi/zlibd32.mak (+93/-0)
third_party/zlib/contrib/dotzlib/DotZLib.build (+33/-0)
third_party/zlib/contrib/dotzlib/DotZLib.sln (+21/-0)
third_party/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs (+58/-0)
third_party/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs (+202/-0)
third_party/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs (+83/-0)
third_party/zlib/contrib/dotzlib/DotZLib/CodecBase.cs (+198/-0)
third_party/zlib/contrib/dotzlib/DotZLib/Deflater.cs (+106/-0)
third_party/zlib/contrib/dotzlib/DotZLib/DotZLib.cs (+288/-0)
third_party/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj (+141/-0)
third_party/zlib/contrib/dotzlib/DotZLib/GZipStream.cs (+301/-0)
third_party/zlib/contrib/dotzlib/DotZLib/Inflater.cs (+105/-0)
third_party/zlib/contrib/dotzlib/DotZLib/UnitTests.cs (+274/-0)
third_party/zlib/contrib/dotzlib/LICENSE_1_0.txt (+23/-0)
third_party/zlib/contrib/dotzlib/readme.txt (+58/-0)
third_party/zlib/contrib/infback9/README (+1/-0)
third_party/zlib/contrib/infback9/infback9.c (+608/-0)
third_party/zlib/contrib/infback9/infback9.h (+37/-0)
third_party/zlib/contrib/infback9/inffix9.h (+107/-0)
third_party/zlib/contrib/infback9/inflate9.h (+47/-0)
third_party/zlib/contrib/infback9/inftree9.c (+323/-0)
third_party/zlib/contrib/infback9/inftree9.h (+55/-0)
third_party/zlib/contrib/inflate86/inffas86.c (+1157/-0)
third_party/zlib/contrib/inflate86/inffast.S (+1368/-0)
third_party/zlib/contrib/iostream/test.cpp (+24/-0)
third_party/zlib/contrib/iostream/zfstream.cpp (+329/-0)
third_party/zlib/contrib/iostream/zfstream.h (+128/-0)
third_party/zlib/contrib/iostream2/zstream.h (+307/-0)
third_party/zlib/contrib/iostream2/zstream_test.cpp (+25/-0)
third_party/zlib/contrib/iostream3/README (+35/-0)
third_party/zlib/contrib/iostream3/TODO (+17/-0)
third_party/zlib/contrib/iostream3/test.cc (+50/-0)
third_party/zlib/contrib/iostream3/zfstream.cc (+479/-0)
third_party/zlib/contrib/iostream3/zfstream.h (+466/-0)
third_party/zlib/contrib/masm686/match.asm (+413/-0)
third_party/zlib/contrib/masmx64/bld_ml64.bat (+2/-0)
third_party/zlib/contrib/masmx64/gvmat64.asm (+513/-0)
third_party/zlib/contrib/masmx64/inffas8664.c (+186/-0)
third_party/zlib/contrib/masmx64/inffasx64.asm (+392/-0)
third_party/zlib/contrib/masmx64/readme.txt (+28/-0)
third_party/zlib/contrib/masmx86/bld_ml32.bat (+2/-0)
third_party/zlib/contrib/masmx86/gvmat32.asm (+972/-0)
third_party/zlib/contrib/masmx86/gvmat32c.c (+62/-0)
third_party/zlib/contrib/masmx86/inffas32.asm (+1083/-0)
third_party/zlib/contrib/masmx86/mkasm.bat (+3/-0)
third_party/zlib/contrib/masmx86/readme.txt (+21/-0)
third_party/zlib/contrib/minizip/ChangeLogUnzip (+67/-0)
third_party/zlib/contrib/minizip/Makefile (+25/-0)
third_party/zlib/contrib/minizip/crypt.h (+132/-0)
third_party/zlib/contrib/minizip/ioapi.c (+177/-0)
third_party/zlib/contrib/minizip/ioapi.h (+75/-0)
third_party/zlib/contrib/minizip/iowin32.c (+270/-0)
third_party/zlib/contrib/minizip/iowin32.h (+21/-0)
third_party/zlib/contrib/minizip/miniunz.c (+585/-0)
third_party/zlib/contrib/minizip/minizip.c (+420/-0)
third_party/zlib/contrib/minizip/mztools.c (+281/-0)
third_party/zlib/contrib/minizip/mztools.h (+31/-0)
third_party/zlib/contrib/minizip/unzip.c (+1598/-0)
third_party/zlib/contrib/minizip/unzip.h (+354/-0)
third_party/zlib/contrib/minizip/zip.c (+1219/-0)
third_party/zlib/contrib/minizip/zip.h (+235/-0)
third_party/zlib/contrib/pascal/example.pas (+599/-0)
third_party/zlib/contrib/pascal/readme.txt (+76/-0)
third_party/zlib/contrib/pascal/zlibd32.mak (+93/-0)
third_party/zlib/contrib/pascal/zlibpas.pas (+236/-0)
third_party/zlib/contrib/puff/Makefile (+8/-0)
third_party/zlib/contrib/puff/README (+63/-0)
third_party/zlib/contrib/puff/puff.c (+837/-0)
third_party/zlib/contrib/puff/puff.h (+31/-0)
third_party/zlib/contrib/testzlib/testzlib.c (+275/-0)
third_party/zlib/contrib/testzlib/testzlib.txt (+10/-0)
third_party/zlib/contrib/untgz/Makefile (+14/-0)
third_party/zlib/contrib/untgz/Makefile.msc (+17/-0)
third_party/zlib/contrib/untgz/untgz.c (+674/-0)
third_party/zlib/contrib/vstudio/readme.txt (+73/-0)
third_party/zlib/contrib/vstudio/vc7/miniunz.vcproj (+126/-0)
third_party/zlib/contrib/vstudio/vc7/minizip.vcproj (+126/-0)
third_party/zlib/contrib/vstudio/vc7/testzlib.vcproj (+126/-0)
third_party/zlib/contrib/vstudio/vc7/zlib.rc (+32/-0)
third_party/zlib/contrib/vstudio/vc7/zlibstat.vcproj (+246/-0)
third_party/zlib/contrib/vstudio/vc7/zlibvc.def (+92/-0)
third_party/zlib/contrib/vstudio/vc7/zlibvc.sln (+78/-0)
third_party/zlib/contrib/vstudio/vc7/zlibvc.vcproj (+445/-0)
third_party/zlib/contrib/vstudio/vc8/miniunz.vcproj (+566/-0)
third_party/zlib/contrib/vstudio/vc8/minizip.vcproj (+563/-0)
third_party/zlib/contrib/vstudio/vc8/testzlib.vcproj (+948/-0)
third_party/zlib/contrib/vstudio/vc8/testzlibdll.vcproj (+567/-0)
third_party/zlib/contrib/vstudio/vc8/zlib.rc (+32/-0)
third_party/zlib/contrib/vstudio/vc8/zlibstat.vcproj (+870/-0)
third_party/zlib/contrib/vstudio/vc8/zlibvc.def (+92/-0)
third_party/zlib/contrib/vstudio/vc8/zlibvc.sln (+144/-0)
third_party/zlib/contrib/vstudio/vc8/zlibvc.vcproj (+1219/-0)
third_party/zlib/crc32.c (+423/-0)
third_party/zlib/crc32.h (+441/-0)
third_party/zlib/deflate.c (+1736/-0)
third_party/zlib/deflate.h (+331/-0)
third_party/zlib/example.c (+565/-0)
third_party/zlib/examples/README.examples (+42/-0)
third_party/zlib/examples/fitblk.c (+233/-0)
third_party/zlib/examples/gun.c (+693/-0)
third_party/zlib/examples/gzappend.c (+500/-0)
third_party/zlib/examples/gzjoin.c (+448/-0)
third_party/zlib/examples/gzlog.c (+413/-0)
third_party/zlib/examples/gzlog.h (+58/-0)
third_party/zlib/examples/zlib_how.html (+523/-0)
third_party/zlib/examples/zpipe.c (+191/-0)
third_party/zlib/examples/zran.c (+404/-0)
third_party/zlib/gzio.c (+1024/-0)
third_party/zlib/infback.c (+623/-0)
third_party/zlib/inffast.c (+318/-0)
third_party/zlib/inffast.h (+11/-0)
third_party/zlib/inffixed.h (+94/-0)
third_party/zlib/inflate.c (+1368/-0)
third_party/zlib/inflate.h (+115/-0)
third_party/zlib/inftrees.c (+329/-0)
third_party/zlib/inftrees.h (+55/-0)
third_party/zlib/make_vms.com (+461/-0)
third_party/zlib/minigzip.c (+322/-0)
third_party/zlib/msdos/Makefile.bor (+109/-0)
third_party/zlib/msdos/Makefile.dj2 (+104/-0)
third_party/zlib/msdos/Makefile.emx (+69/-0)
third_party/zlib/msdos/Makefile.msc (+106/-0)
third_party/zlib/msdos/Makefile.tc (+94/-0)
third_party/zlib/old/Makefile.riscos (+151/-0)
third_party/zlib/old/README (+3/-0)
third_party/zlib/old/descrip.mms (+48/-0)
third_party/zlib/old/os2/Makefile.os2 (+136/-0)
third_party/zlib/old/os2/zlib.def (+51/-0)
third_party/zlib/old/visual-basic.txt (+160/-0)
third_party/zlib/old/zlib.html (+971/-0)
third_party/zlib/projects/README.projects (+41/-0)
third_party/zlib/projects/visualc6/README.txt (+73/-0)
third_party/zlib/projects/visualc6/example.dsp (+278/-0)
third_party/zlib/projects/visualc6/minigzip.dsp (+278/-0)
third_party/zlib/projects/visualc6/zlib.dsp (+609/-0)
third_party/zlib/projects/visualc6/zlib.dsw (+59/-0)
third_party/zlib/qnx/package.qpg (+141/-0)
third_party/zlib/trees.c (+1219/-0)
third_party/zlib/trees.h (+128/-0)
third_party/zlib/uncompr.c (+60/-0)
third_party/zlib/win32/DLL_FAQ.txt (+397/-0)
third_party/zlib/win32/Makefile.bor (+107/-0)
third_party/zlib/win32/Makefile.emx (+69/-0)
third_party/zlib/win32/Makefile.gcc (+141/-0)
third_party/zlib/win32/Makefile.msc (+126/-0)
third_party/zlib/win32/VisualC.txt (+3/-0)
third_party/zlib/win32/zlib.def (+60/-0)
third_party/zlib/win32/zlib1.rc (+39/-0)
third_party/zlib/wscript (+17/-0)
third_party/zlib/zconf.h (+335/-0)
third_party/zlib/zconf.in.h (+332/-0)
third_party/zlib/zlib.h (+1374/-0)
third_party/zlib/zutil.c (+318/-0)
third_party/zlib/zutil.h (+269/-0)
wintest/README (+5/-0)
wintest/conf/abartlet-jesse.conf (+104/-0)
wintest/conf/abartlet.conf (+104/-0)
wintest/conf/bbaumbach.conf (+97/-0)
wintest/conf/tridge.conf (+95/-0)
wintest/conf/zahari-esxi.conf (+46/-0)
wintest/test-s3.py (+286/-0)
wintest/test-s4-howto.py (+719/-0)
wintest/wintest.py (+1000/-0)
wscript (+395/-0)
wscript_build (+161/-0)
wscript_build_embedded_heimdal (+4/-0)
wscript_build_system_heimdal (+4/-0)
wscript_build_system_mitkrb5 (+4/-0)
wscript_configure_system_mitkrb5 (+312/-0)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Needs Information
Canonical Server Pending
Canonical Server Core Reviewers Pending
Review via email: mp+353448@code.launchpad.net

Description of the change

Update samba in cosmic to 4.7.9, still inside the 4.7.x series. The 4.8.x branch/MP (https://code.launchpad.net/~ahasenack/ubuntu/+source/samba/+git/samba/+merge/348424) is still on hold pending that regression found by the test script.

We are again going ahead of debian here, who stopped releasing packages for the 4.7.x series. But we are behind in the 4.8.x series because of that regression.

To create the orig tarball, I used:
tar czf samba_4.7.9.orig.tar.gz --exclude=source4/heimdal/lib/wind/rfc*.txt' --exclude=source4/ldap_server/devdocs --exclude='*chm' samba-4.7.9

The list of exclusions was taken from debian/gbp.conf, and "samba-4.7.9" is a directory where I previously extracted the tarball I downloaded (and gpg verified) from:
https://download.samba.org/pub/samba/samba-4.7.9.tar.gz
https://download.samba.org/pub/samba/samba-4.7.9.tar.asc

Note: I got a gpg key expired warning. It expired just a few days ago.

The added changes were all taken from that stalled 4.8.x MP, and are already committed in debian.

Bileto ticket with ppa: https://bileto.ubuntu.com/#/ticket/3364

gvfs2 dep8 tests are giving me grief again :/

TODO: sort out gvfs2 tests
TODO: run qa-regression-tests on this package

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Being affected just as much as 4.8.x this isn't any better and should be abandoned right?

review: Needs Information

Unmerged commits

9ae0e3c... by Andreas Hasenack

changelog

93d89ed... by Andreas Hasenack

    - d/p/drop-aio-linux-manpage.patch: Drop the vfs_aio_linux manpage since the
      module isn't built (LP: #1778859)

652a631... by Andreas Hasenack

changelog

1f6e20f... by Andreas Hasenack

    - d/panic-action: Update panic-action script message, samba-dbg renamed to
      samba-dbgsym (LP: #1773679)

bcda1ea... by Andreas Hasenack

changelog

562e9a6... by Andreas Hasenack

    - d/samba.logrotate: only try to reload the services if they are running
      (LP: #1760855, Closes: #902149)

aba9b70... by Andreas Hasenack

changelog

9399696... by Andreas Hasenack

  * Added changes:
    - d/smb.conf: stop using the deprecated "syslog" and "syslog only"
      parameters in favor of "logging". This gets rid of testparm(1) warnings.

36484da... by Andreas Hasenack

changelog

05e57f0... by Andreas Hasenack

  * Dropped:
    - d/p/passdb_dont_return_ok_if_pinfo_not_filled.patch: dropped, applied
      upstream

Update scan failed

At least one of the branches involved have failed to scan. You can manually schedule a rescan if required.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/VERSION b/VERSION
2index 57dfd64..8348485 100644
3--- a/VERSION
4+++ b/VERSION
5@@ -25,7 +25,7 @@
6 ########################################################
7 SAMBA_VERSION_MAJOR=4
8 SAMBA_VERSION_MINOR=7
9-SAMBA_VERSION_RELEASE=6
10+SAMBA_VERSION_RELEASE=9
11
12 ########################################################
13 # If a official release has a serious bug #
14diff --git a/WHATSNEW.txt b/WHATSNEW.txt
15index 021f2e7..c812417 100644
16--- a/WHATSNEW.txt
17+++ b/WHATSNEW.txt
18@@ -1,4 +1,304 @@
19 =============================
20+ Release Notes for Samba 4.7.9
21+ August 14, 2018
22+ =============================
23+
24+
25+This is a security release in order to address the following defects:
26+
27+o CVE-2018-1139 (Weak authentication protocol allowed.)
28+o CVE-2018-10858 (Insufficient input validation on client directory
29+ listing in libsmbclient.)
30+o CVE-2018-10918 (Denial of Service Attack on AD DC DRSUAPI server.)
31+o CVE-2018-10919 (Confidential attribute disclosure from the AD LDAP
32+ server.)
33+
34+
35+=======
36+Details
37+=======
38+
39+o CVE-2018-1139:
40+ Vulnerability that allows authentication via NTLMv1 even if disabled.
41+
42+o CVE-2018-10858:
43+ A malicious server could return a directory entry that could corrupt
44+ libsmbclient memory.
45+
46+o CVE-2018-10918:
47+ Missing null pointer checks may crash the Samba AD DC, over the
48+ authenticated DRSUAPI RPC service.
49+
50+o CVE-2018-10919:
51+ Missing access control checks allow discovery of confidential attribute
52+ values via authenticated LDAP search expressions.
53+
54+
55+Changes since 4.7.8:
56+--------------------
57+
58+o Jeremy Allison <jra@samba.org>
59+ * BUG 13453: CVE-2018-10858: libsmb: Harden smbc_readdir_internal() against
60+ returns from malicious servers.
61+
62+o Andrew Bartlett <abartlet@samba.org>
63+ * BUG 13552: CVE-2018-10918: cracknames: Fix DoS (NULL pointer de-ref) when
64+ not servicePrincipalName is set on a user.
65+
66+o Tim Beale <timbeale@catalyst.net.nz>
67+ * BUG 13434: CVE-2018-10919: acl_read: Fix unauthorized attribute access via
68+ searches.
69+
70+o Günther Deschner <gd@samba.org>
71+ * BUG 13360: CVE-2018-1139 libcli/auth: Do not allow ntlmv1 over SMB1 when it
72+ is disabled via "ntlm auth".
73+
74+
75+#######################################
76+Reporting bugs & Development Discussion
77+#######################################
78+
79+Please discuss this release on the samba-technical mailing list or by
80+joining the #samba-technical IRC channel on irc.freenode.net.
81+
82+If you do report problems then please try to send high quality
83+feedback. If you don't provide vital information to help us track down
84+the problem then you will probably be ignored. All bug reports should
85+be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
86+database (https://bugzilla.samba.org/).
87+
88+
89+======================================================================
90+== Our Code, Our Bugs, Our Responsibility.
91+== The Samba Team
92+======================================================================
93+
94+
95+Release notes for older releases follow:
96+----------------------------------------
97+
98+ =============================
99+ Release Notes for Samba 4.7.8
100+ June 21, 2018
101+ =============================
102+
103+
104+This is the latest stable release of the Samba 4.7 release series.
105+
106+
107+Changes since 4.7.7:
108+--------------------
109+
110+o Jeremy Allison <jra@samba.org>
111+ * BUG 13380: s3: smbd: Generic fix for incorrect reporting of stream dos
112+ attributes on a directory.
113+ * BUG 13412: ceph: VFS: Add asynchronous fsync to ceph module, fake using
114+ synchronous call.
115+ * BUG 13419: s3: libsmbclient: Fix hard-coded connection error return of
116+ ETIMEDOUT.
117+ * BUG 13428: s3: smbd: Fix SMB2-FLUSH against directories.
118+ * BUG 13457: s3: smbd: printing: Re-implement delete-on-close semantics for
119+ print files missing since 3.5.x.
120+ * BUG 13474: python: Fix talloc frame use in make_simple_acl().
121+
122+o Andrew Bartlett <abartlet@samba.org>
123+ * BUG 13430: winbindd on the AD DC is slow for passdb queries.
124+ * BUG 13454: No Backtrace given by Samba's AD DC by default.
125+
126+o Ralph Boehme <slow@samba.org>
127+ * BUG 13332: winbindd doesn't recover loss of netlogon secure channel in
128+ case the peer DC is rebooted.
129+ * BUG 13432: s3:smbd: Fix interaction between chown and SD flags.
130+
131+o Günther Deschner <gd@samba.org>
132+ * BUG 13437: s4-heimdal: Fix the format-truncation errors.
133+
134+o David Disseldorp <ddiss@samba.org>
135+ * BUG 13425: vfs_ceph: Add fake async pwrite/pread send/recv hooks.
136+
137+o Björn Jacke <bjacke@samba.org>
138+ * BUG 13395: printing: Return the same error code as Windows does on upload
139+ failures.
140+
141+o Volker Lendecke <vl@samba.org>
142+ * BUG 13290: winbind: Improve child selection.
143+ * BUG 13292: winbind: Maintain a binding handle per domain and always go via
144+ wb_domain_request_send().
145+ * BUG 13332: winbindd doesn't recover loss of netlogon secure channel in
146+ case the peer DC is rebooted.
147+ * BUG 13369: Looking up the user using the UPN results in user name with the
148+ REALM instead of the DOMAIN.
149+ * BUG 13370: rpc_server: Init local_server_* in
150+ make_internal_rpc_pipe_socketpair.
151+ * BUG 13382: smbclient: Fix broken notify.
152+
153+o Stefan Metzmacher <metze@samba.org>
154+ * BUG 13273: libads: Fix the build --without-ads.
155+ * BUG 13279: winbindd: Don't split the rid for SID_NAME_DOMAIN sids in
156+ wb_lookupsids.
157+ * BUG 13280: winbindd: initialize type = SID_NAME_UNKNOWN in
158+ wb_lookupsids_single_done().
159+ * BUG 13289: s4:rpc_server: Fix call_id truncation in
160+ dcesrv_find_fragmented_call().
161+ * BUG 13290: A disconnecting winbind client can cause a problem in the
162+ winbind parent child communication.
163+ * BUG 13291: tevent: version 0.9.36
164+ - improve documentation of tevent_queue_add_optimize_empty()
165+ - add tevent_queue_entry_untrigger()
166+ * BUG 13292: winbind: Use one queue for all domain children.
167+ * BUG 13293: Minimize the lifetime of winbindd_cli_state->{pw,gr}ent_state.
168+ * BUG 13294: winbind should avoid using fstrcpy(domain->dcname,...) on a
169+ char *.
170+ * BUG 13295: The winbind parent should find the dc of a foreign domain via
171+ the primary domain.
172+ * BUG 13400: nsswitch: Fix memory leak in winbind_open_pipe_sock() when the
173+ privileged pipe is not accessable.
174+ * BUG 13427: Fix broken server side GENSEC_FEATURE_LDAP_STYLE handling
175+ (NTLMSSP NTLM2 packet check failed due to invalid signature!).
176+
177+o Vandana Rungta <vrungta@amazon.com>
178+ * BUG 13424: s3: VFS: Fix memory leak in vfs_ceph.
179+
180+o Christof Schmitt <cs@samba.org>
181+ * BUG 13407: rpc_server: Fix NetSessEnum with stale sessions.
182+ * BUG 13446: dfree cache returning incorrect data for sub directory mounts.
183+
184+o Andreas Schneider <asn@samba.org>
185+ * BUG 13369: Looking up the user using the UPN results in user name with the
186+ REALM instead of the DOMAIN.
187+ * BUG 13376: s3:passdb: Do not return OK if we don't have pinfo set up.
188+ * BUG 13440: s3:utils: Do not segfault on error in DoDNSUpdate().
189+
190+
191+#######################################
192+Reporting bugs & Development Discussion
193+#######################################
194+
195+Please discuss this release on the samba-technical mailing list or by
196+joining the #samba-technical IRC channel on irc.freenode.net.
197+
198+If you do report problems then please try to send high quality
199+feedback. If you don't provide vital information to help us track down
200+the problem then you will probably be ignored. All bug reports should
201+be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
202+database (https://bugzilla.samba.org/).
203+
204+
205+======================================================================
206+== Our Code, Our Bugs, Our Responsibility.
207+== The Samba Team
208+======================================================================
209+
210+
211+----------------------------------------------------------------------
212+
213+
214+ =============================
215+ Release Notes for Samba 4.7.7
216+ April 17, 2018
217+ =============================
218+
219+
220+This is the latest stable release of the Samba 4.7 release series.
221+
222+
223+Changes since 4.7.6:
224+--------------------
225+
226+o Jeremy Allison <jra@samba.org>
227+ * BUG 13206: s4:auth_sam: Allow logons with an empty domain name.
228+ * BUG 13244: s3: ldap: Ensure the ADS_STRUCT pointer doesn't get freed on
229+ error, we don't own it here.
230+ * BUG 13270: s3: smbd: Fix possible directory fd leak if the underlying
231+ OS doesn't support fdopendir().
232+ * BUG 13319: Round-tripping ACL get/set through vfs_fruit will increase
233+ the number of ACE entries without limit.
234+ * BUG 13347: s3: smbd: SMB2: Add DBGC_SMB2_CREDITS class to specifically
235+ debug credit issues.
236+ * BUG 13358: s3: smbd: Files or directories can't be opened DELETE_ON_CLOSE
237+ without delete access.
238+ * BUG 13372: s3: smbd: Fix memory leak in vfswrap_getwd().
239+ * BUG 13375: s3: smbd: Unix extensions attempts to change wrong field
240+ in fchown call.
241+
242+o Ralph Boehme <slow@samba.org>
243+ * BUG 13363: s3:smbd: Don't use the directory cache for SMB2/3.
244+
245+o Günther Deschner <gd@samba.org>
246+ * BUG 13277: build: Fix libceph-common detection.
247+
248+o David Disseldorp <ddiss@suse.de>
249+ * BUG 13250: build: Fix ceph_statx check when configured with libcephfs_dir.
250+
251+o Poornima G <pgurusid@redhat.com>
252+ * BUG 13297: vfs_glusterfs: Fix the wrong pointer being sent in
253+ glfs_fsync_async.
254+
255+o Amitay Isaacs <amitay@gmail.com>
256+ * BUG 13359: ctdb-scripts: Drop 'net serverid wipe' from 50.samba event
257+ script.
258+
259+o Lutz Justen <ljusten@google.com>
260+ * BUG 13368: s3: lib: messages: Don't use the result of sec_init() before
261+ calling sec_init().
262+
263+o Volker Lendecke <vl@samba.org>
264+ * BUG 13215: smbd can panic if the client-supplied channel sequence number
265+ wraps.
266+ * BUG 13367: dsdb: Fix CID 1034966 Uninitialized scalar variable.
267+
268+o Stefan Metzmacher <metze@samba.org>
269+ * BUG 13206: s3:libsmb: Allow -U"\\administrator" to work.
270+ * BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
271+
272+o David Mulder <dmulder@suse.com>
273+ * BUG 13050: smbc_opendir should not return EEXIST with invalid login
274+ credentials.
275+
276+o Anton Nefedov
277+ * BUG 13338: s3:smbd: map nterror on smb2_flush errorpath.
278+
279+o Dan Robertson <drobertson@tripwire.com>
280+ * BUG 13310: libsmb: Use smb2 tcon if conn_protocol >= SMB2_02.
281+
282+o Garming Sam <garming@catalyst.net.nz>
283+ * BUG 13031: subnet: Avoid a segfault when renaming subnet objects.
284+
285+o Christof Schmitt <cs@samba.org>
286+ * BUG 13312: 'wbinfo --name-to-sid' returns misleading result on invalid
287+ query.
288+
289+o Andreas Schneider <asn@samba.org>
290+ * BUG 13315: s3:smbd: Do not crash if we fail to init the session table.
291+
292+o Eric Vannier <evannier@google.com>
293+ * BUG 13302: Allow AESNI to be used on all processor supporting AESNI.
294+
295+
296+#######################################
297+Reporting bugs & Development Discussion
298+#######################################
299+
300+Please discuss this release on the samba-technical mailing list or by
301+joining the #samba-technical IRC channel on irc.freenode.net.
302+
303+If you do report problems then please try to send high quality
304+feedback. If you don't provide vital information to help us track down
305+the problem then you will probably be ignored. All bug reports should
306+be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
307+database (https://bugzilla.samba.org/).
308+
309+
310+======================================================================
311+== Our Code, Our Bugs, Our Responsibility.
312+== The Samba Team
313+======================================================================
314+
315+
316+----------------------------------------------------------------------
317+
318+
319+ =============================
320 Release Notes for Samba 4.7.6
321 March 13, 2018
322 =============================
323@@ -71,8 +371,8 @@ database (https://bugzilla.samba.org/).
324 ======================================================================
325
326
327-Release notes for older releases follow:
328-----------------------------------------
329+----------------------------------------------------------------------
330+
331
332 =============================
333 Release Notes for Samba 4.7.5
334diff --git a/auth/auth_sam_reply.c b/auth/auth_sam_reply.c
335index 15d17b0..bd69515 100644
336--- a/auth/auth_sam_reply.c
337+++ b/auth/auth_sam_reply.c
338@@ -333,6 +333,41 @@ NTSTATUS make_user_info_SamBaseInfo(TALLOC_CTX *mem_ctx,
339 return NT_STATUS_OK;
340 }
341
342+struct auth_user_info *auth_user_info_copy(TALLOC_CTX *mem_ctx,
343+ const struct auth_user_info *src)
344+{
345+ struct auth_user_info *dst = NULL;
346+
347+ dst = talloc_zero(mem_ctx, struct auth_user_info);
348+ if (dst == NULL) {
349+ return NULL;
350+ }
351+
352+ *dst = *src;
353+#define _COPY_STRING(_mem, _str) do { \
354+ if ((_str) != NULL) { \
355+ (_str) = talloc_strdup((_mem), (_str)); \
356+ if ((_str) == NULL) { \
357+ TALLOC_FREE(dst); \
358+ return NULL; \
359+ } \
360+ } \
361+} while(0)
362+ _COPY_STRING(dst, dst->account_name);
363+ _COPY_STRING(dst, dst->user_principal_name);
364+ _COPY_STRING(dst, dst->domain_name);
365+ _COPY_STRING(dst, dst->dns_domain_name);
366+ _COPY_STRING(dst, dst->full_name);
367+ _COPY_STRING(dst, dst->logon_script);
368+ _COPY_STRING(dst, dst->profile_path);
369+ _COPY_STRING(dst, dst->home_directory);
370+ _COPY_STRING(dst, dst->home_drive);
371+ _COPY_STRING(dst, dst->logon_server);
372+#undef _COPY_STRING
373+
374+ return dst;
375+}
376+
377 /**
378 * Make a user_info_dc struct from the info3 returned by a domain logon
379 */
380diff --git a/auth/auth_sam_reply.h b/auth/auth_sam_reply.h
381index 4aa3096..e4b26e9 100644
382--- a/auth/auth_sam_reply.h
383+++ b/auth/auth_sam_reply.h
384@@ -38,6 +38,9 @@ NTSTATUS make_user_info_SamBaseInfo(TALLOC_CTX *mem_ctx,
385 bool authenticated,
386 struct auth_user_info **_user_info);
387
388+struct auth_user_info *auth_user_info_copy(TALLOC_CTX *mem_ctx,
389+ const struct auth_user_info *src);
390+
391 NTSTATUS auth_convert_user_info_dc_saminfo6(TALLOC_CTX *mem_ctx,
392 const struct auth_user_info_dc *user_info_dc,
393 struct netr_SamInfo6 **_sam6);
394diff --git a/auth/credentials/tests/bind.py b/auth/credentials/tests/bind.py
395index 91e493d..4aa4498 100755
396--- a/auth/credentials/tests/bind.py
397+++ b/auth/credentials/tests/bind.py
398@@ -43,6 +43,7 @@ creds_machine = copy.deepcopy(creds)
399 creds_user1 = copy.deepcopy(creds)
400 creds_user2 = copy.deepcopy(creds)
401 creds_user3 = copy.deepcopy(creds)
402+creds_user4 = copy.deepcopy(creds)
403
404 class BindTests(samba.tests.TestCase):
405
406@@ -64,7 +65,7 @@ class BindTests(samba.tests.TestCase):
407 self.config_dn = self.info_dc["configurationNamingContext"][0]
408 self.computer_dn = "CN=centos53,CN=Computers,%s" % self.domain_dn
409 self.password = "P@ssw0rd"
410- self.username = "BindTestUser_" + time.strftime("%s", time.gmtime())
411+ self.username = "BindTestUser"
412
413 def tearDown(self):
414 super(BindTests, self).tearDown()
415@@ -113,6 +114,7 @@ unicodePwd:: """ + base64.b64encode("\"P@ssw0rd\"".encode('utf-16-le')) + """
416 expression="(samAccountName=%s)" % self.username)
417 self.assertEquals(len(ldb_res), 1)
418 user_dn = ldb_res[0]["dn"]
419+ self.addCleanup(delete_force, self.ldb, user_dn)
420
421 # do a simple bind and search with the user account in format user@realm
422 creds_user1.set_bind_dn(self.username + "@" + creds.get_realm())
423@@ -138,5 +140,27 @@ unicodePwd:: """ + base64.b64encode("\"P@ssw0rd\"".encode('utf-16-le')) + """
424 lp=lp, ldap_only=True)
425 res = ldb_user3.search(base="", expression="", scope=SCOPE_BASE, attrs=["*"])
426
427+ def test_user_account_bind_no_domain(self):
428+ # create user
429+ self.ldb.newuser(username=self.username, password=self.password)
430+ ldb_res = self.ldb.search(base=self.domain_dn,
431+ scope=SCOPE_SUBTREE,
432+ expression="(samAccountName=%s)" % self.username)
433+ self.assertEquals(len(ldb_res), 1)
434+ user_dn = ldb_res[0]["dn"]
435+ self.addCleanup(delete_force, self.ldb, user_dn)
436+
437+ creds_user4.set_username(self.username)
438+ creds_user4.set_password(self.password)
439+ creds_user4.set_domain('')
440+ creds_user4.set_workstation('')
441+ print "BindTest (no domain) with: " + self.username
442+ try:
443+ ldb_user4 = samba.tests.connect_samdb(host, credentials=creds_user4,
444+ lp=lp, ldap_only=True)
445+ except:
446+ self.fail("Failed to connect without the domain set")
447+
448+ res = ldb_user4.search(base="", expression="", scope=SCOPE_BASE, attrs=["*"])
449
450 TestProgram(module=__name__, opts=subunitopts)
451diff --git a/auth/ntlmssp/gensec_ntlmssp_server.c b/auth/ntlmssp/gensec_ntlmssp_server.c
452index 561c7cf..a8ca295 100644
453--- a/auth/ntlmssp/gensec_ntlmssp_server.c
454+++ b/auth/ntlmssp/gensec_ntlmssp_server.c
455@@ -176,25 +176,6 @@ NTSTATUS gensec_ntlmssp_server_start(struct gensec_security *gensec_security)
456 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN;
457 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SEAL;
458
459- if (gensec_security->want_features & GENSEC_FEATURE_SESSION_KEY) {
460- ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN;
461- }
462- if (gensec_security->want_features & GENSEC_FEATURE_SIGN) {
463- ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN;
464-
465- if (gensec_security->want_features & GENSEC_FEATURE_LDAP_STYLE) {
466- /*
467- * We need to handle NTLMSSP_NEGOTIATE_SIGN as
468- * NTLMSSP_NEGOTIATE_SEAL if GENSEC_FEATURE_LDAP_STYLE
469- * is requested.
470- */
471- ntlmssp_state->force_wrap_seal = true;
472- }
473- }
474- if (gensec_security->want_features & GENSEC_FEATURE_SEAL) {
475- ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN;
476- ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SEAL;
477- }
478
479 if (role == ROLE_STANDALONE) {
480 ntlmssp_state->server.is_standalone = true;
481diff --git a/auth/ntlmssp/ntlmssp_client.c b/auth/ntlmssp/ntlmssp_client.c
482index 5edd5f4..6e919cc 100644
483--- a/auth/ntlmssp/ntlmssp_client.c
484+++ b/auth/ntlmssp/ntlmssp_client.c
485@@ -862,13 +862,23 @@ NTSTATUS gensec_ntlmssp_client_start(struct gensec_security *gensec_security)
486 * is requested.
487 */
488 ntlmssp_state->force_wrap_seal = true;
489- /*
490- * We want also work against old Samba servers
491- * which didn't had GENSEC_FEATURE_LDAP_STYLE
492- * we negotiate SEAL too. We may remove this
493- * in a few years. As all servers should have
494- * GENSEC_FEATURE_LDAP_STYLE by then.
495- */
496+ }
497+ }
498+ if (ntlmssp_state->force_wrap_seal) {
499+ bool ret;
500+
501+ /*
502+ * We want also work against old Samba servers
503+ * which didn't had GENSEC_FEATURE_LDAP_STYLE
504+ * we negotiate SEAL too. We may remove this
505+ * in a few years. As all servers should have
506+ * GENSEC_FEATURE_LDAP_STYLE by then.
507+ */
508+ ret = gensec_setting_bool(gensec_security->settings,
509+ "ntlmssp_client",
510+ "ldap_style_send_seal",
511+ true);
512+ if (ret) {
513 ntlmssp_state->required_flags |= NTLMSSP_NEGOTIATE_SEAL;
514 }
515 }
516diff --git a/auth/ntlmssp/ntlmssp_server.c b/auth/ntlmssp/ntlmssp_server.c
517index e17074e..42f72ff 100644
518--- a/auth/ntlmssp/ntlmssp_server.c
519+++ b/auth/ntlmssp/ntlmssp_server.c
520@@ -976,6 +976,14 @@ static NTSTATUS ntlmssp_server_postauth(struct gensec_security *gensec_security,
521 data_blob_free(&ntlmssp_state->challenge_blob);
522
523 if (gensec_ntlmssp_have_feature(gensec_security, GENSEC_FEATURE_SIGN)) {
524+ if (gensec_security->want_features & GENSEC_FEATURE_LDAP_STYLE) {
525+ /*
526+ * We need to handle NTLMSSP_NEGOTIATE_SIGN as
527+ * NTLMSSP_NEGOTIATE_SEAL if GENSEC_FEATURE_LDAP_STYLE
528+ * is requested.
529+ */
530+ ntlmssp_state->force_wrap_seal = true;
531+ }
532 nt_status = ntlmssp_sign_init(ntlmssp_state);
533 }
534
535diff --git a/ctdb/config/events.d/50.samba b/ctdb/config/events.d/50.samba
536index 4c32e4e..f0d8e84 100755
537--- a/ctdb/config/events.d/50.samba
538+++ b/ctdb/config/events.d/50.samba
539@@ -53,8 +53,6 @@ service_start ()
540 # start Samba service. Start it reniced, as under very heavy load
541 # the number of smbd processes will mean that it leaves few cycles
542 # for anything else
543- net serverid wipe
544-
545 if [ -n "$CTDB_SERVICE_NMB" ] ; then
546 nice_service "$CTDB_SERVICE_NMB" start || die "Failed to start nmbd"
547 fi
548diff --git a/ctdb/doc/ctdb-etcd.7 b/ctdb/doc/ctdb-etcd.7
549index c42d293..1bf7f55 100644
550--- a/ctdb/doc/ctdb-etcd.7
551+++ b/ctdb/doc/ctdb-etcd.7
552@@ -2,12 +2,12 @@
553 .\" Title: ctdb-etcd
554 .\" Author:
555 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
556-.\" Date: 03/12/2018
557+.\" Date: 08/11/2018
558 .\" Manual: CTDB - clustered TDB database
559 .\" Source: ctdb
560 .\" Language: English
561 .\"
562-.TH "CTDB\-ETCD" "7" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
563+.TH "CTDB\-ETCD" "7" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
564 .\" -----------------------------------------------------------------
565 .\" * Define some portability stuff
566 .\" -----------------------------------------------------------------
567diff --git a/ctdb/doc/ctdb-statistics.7 b/ctdb/doc/ctdb-statistics.7
568index ddea173..8ab3fa9 100644
569--- a/ctdb/doc/ctdb-statistics.7
570+++ b/ctdb/doc/ctdb-statistics.7
571@@ -2,12 +2,12 @@
572 .\" Title: ctdb-statistics
573 .\" Author:
574 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
575-.\" Date: 03/12/2018
576+.\" Date: 08/11/2018
577 .\" Manual: CTDB - clustered TDB database
578 .\" Source: ctdb
579 .\" Language: English
580 .\"
581-.TH "CTDB\-STATISTICS" "7" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
582+.TH "CTDB\-STATISTICS" "7" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
583 .\" -----------------------------------------------------------------
584 .\" * Define some portability stuff
585 .\" -----------------------------------------------------------------
586diff --git a/ctdb/doc/ctdb-tunables.7 b/ctdb/doc/ctdb-tunables.7
587index deb9746..feb2d55 100644
588--- a/ctdb/doc/ctdb-tunables.7
589+++ b/ctdb/doc/ctdb-tunables.7
590@@ -2,12 +2,12 @@
591 .\" Title: ctdb-tunables
592 .\" Author:
593 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
594-.\" Date: 03/12/2018
595+.\" Date: 08/11/2018
596 .\" Manual: CTDB - clustered TDB database
597 .\" Source: ctdb
598 .\" Language: English
599 .\"
600-.TH "CTDB\-TUNABLES" "7" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
601+.TH "CTDB\-TUNABLES" "7" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
602 .\" -----------------------------------------------------------------
603 .\" * Define some portability stuff
604 .\" -----------------------------------------------------------------
605diff --git a/ctdb/doc/ctdb.1 b/ctdb/doc/ctdb.1
606index 39de8a5..4ef908e 100644
607--- a/ctdb/doc/ctdb.1
608+++ b/ctdb/doc/ctdb.1
609@@ -2,12 +2,12 @@
610 .\" Title: ctdb
611 .\" Author:
612 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
613-.\" Date: 03/12/2018
614+.\" Date: 08/11/2018
615 .\" Manual: CTDB - clustered TDB database
616 .\" Source: ctdb
617 .\" Language: English
618 .\"
619-.TH "CTDB" "1" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
620+.TH "CTDB" "1" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
621 .\" -----------------------------------------------------------------
622 .\" * Define some portability stuff
623 .\" -----------------------------------------------------------------
624diff --git a/ctdb/doc/ctdb.7 b/ctdb/doc/ctdb.7
625index 34c27da..5861284 100644
626--- a/ctdb/doc/ctdb.7
627+++ b/ctdb/doc/ctdb.7
628@@ -2,12 +2,12 @@
629 .\" Title: ctdb
630 .\" Author:
631 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
632-.\" Date: 03/12/2018
633+.\" Date: 08/11/2018
634 .\" Manual: CTDB - clustered TDB database
635 .\" Source: ctdb
636 .\" Language: English
637 .\"
638-.TH "CTDB" "7" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
639+.TH "CTDB" "7" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
640 .\" -----------------------------------------------------------------
641 .\" * Define some portability stuff
642 .\" -----------------------------------------------------------------
643diff --git a/ctdb/doc/ctdb_diagnostics.1 b/ctdb/doc/ctdb_diagnostics.1
644index cf0d79a..4e9aea8 100644
645--- a/ctdb/doc/ctdb_diagnostics.1
646+++ b/ctdb/doc/ctdb_diagnostics.1
647@@ -2,12 +2,12 @@
648 .\" Title: ctdb_diagnostics
649 .\" Author:
650 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
651-.\" Date: 03/12/2018
652+.\" Date: 08/11/2018
653 .\" Manual: CTDB - clustered TDB database
654 .\" Source: ctdb
655 .\" Language: English
656 .\"
657-.TH "CTDB_DIAGNOSTICS" "1" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
658+.TH "CTDB_DIAGNOSTICS" "1" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
659 .\" -----------------------------------------------------------------
660 .\" * Define some portability stuff
661 .\" -----------------------------------------------------------------
662diff --git a/ctdb/doc/ctdb_mutex_ceph_rados_helper.7 b/ctdb/doc/ctdb_mutex_ceph_rados_helper.7
663index 2b70f2d..749de8c 100644
664--- a/ctdb/doc/ctdb_mutex_ceph_rados_helper.7
665+++ b/ctdb/doc/ctdb_mutex_ceph_rados_helper.7
666@@ -2,12 +2,12 @@
667 .\" Title: Ceph RADOS Mutex
668 .\" Author:
669 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
670-.\" Date: 03/12/2018
671+.\" Date: 08/11/2018
672 .\" Manual: CTDB - clustered TDB database
673 .\" Source: ctdb
674 .\" Language: English
675 .\"
676-.TH "CEPH RADOS MUTEX" "7" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
677+.TH "CEPH RADOS MUTEX" "7" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
678 .\" -----------------------------------------------------------------
679 .\" * Define some portability stuff
680 .\" -----------------------------------------------------------------
681diff --git a/ctdb/doc/ctdbd.1 b/ctdb/doc/ctdbd.1
682index ff17e7e..cd6686a 100644
683--- a/ctdb/doc/ctdbd.1
684+++ b/ctdb/doc/ctdbd.1
685@@ -2,12 +2,12 @@
686 .\" Title: ctdbd
687 .\" Author:
688 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
689-.\" Date: 03/12/2018
690+.\" Date: 08/11/2018
691 .\" Manual: CTDB - clustered TDB database
692 .\" Source: ctdb
693 .\" Language: English
694 .\"
695-.TH "CTDBD" "1" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
696+.TH "CTDBD" "1" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
697 .\" -----------------------------------------------------------------
698 .\" * Define some portability stuff
699 .\" -----------------------------------------------------------------
700diff --git a/ctdb/doc/ctdbd.conf.5 b/ctdb/doc/ctdbd.conf.5
701index 0000429..b6bbb7e 100644
702--- a/ctdb/doc/ctdbd.conf.5
703+++ b/ctdb/doc/ctdbd.conf.5
704@@ -2,12 +2,12 @@
705 .\" Title: ctdbd.conf
706 .\" Author:
707 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
708-.\" Date: 03/12/2018
709+.\" Date: 08/11/2018
710 .\" Manual: CTDB - clustered TDB database
711 .\" Source: ctdb
712 .\" Language: English
713 .\"
714-.TH "CTDBD\&.CONF" "5" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
715+.TH "CTDBD\&.CONF" "5" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
716 .\" -----------------------------------------------------------------
717 .\" * Define some portability stuff
718 .\" -----------------------------------------------------------------
719diff --git a/ctdb/doc/ctdbd_wrapper.1 b/ctdb/doc/ctdbd_wrapper.1
720index 3781d8b..08f6359 100644
721--- a/ctdb/doc/ctdbd_wrapper.1
722+++ b/ctdb/doc/ctdbd_wrapper.1
723@@ -2,12 +2,12 @@
724 .\" Title: ctdbd_wrapper
725 .\" Author:
726 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
727-.\" Date: 03/12/2018
728+.\" Date: 08/11/2018
729 .\" Manual: CTDB - clustered TDB database
730 .\" Source: ctdb
731 .\" Language: English
732 .\"
733-.TH "CTDBD_WRAPPER" "1" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
734+.TH "CTDBD_WRAPPER" "1" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
735 .\" -----------------------------------------------------------------
736 .\" * Define some portability stuff
737 .\" -----------------------------------------------------------------
738diff --git a/ctdb/doc/ltdbtool.1 b/ctdb/doc/ltdbtool.1
739index 9c664b1..4efc296 100644
740--- a/ctdb/doc/ltdbtool.1
741+++ b/ctdb/doc/ltdbtool.1
742@@ -2,12 +2,12 @@
743 .\" Title: ltdbtool
744 .\" Author:
745 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
746-.\" Date: 03/12/2018
747+.\" Date: 08/11/2018
748 .\" Manual: CTDB - clustered TDB database
749 .\" Source: ctdb
750 .\" Language: English
751 .\"
752-.TH "LTDBTOOL" "1" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
753+.TH "LTDBTOOL" "1" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
754 .\" -----------------------------------------------------------------
755 .\" * Define some portability stuff
756 .\" -----------------------------------------------------------------
757diff --git a/ctdb/doc/onnode.1 b/ctdb/doc/onnode.1
758index 3537bcc..b686d3a 100644
759--- a/ctdb/doc/onnode.1
760+++ b/ctdb/doc/onnode.1
761@@ -2,12 +2,12 @@
762 .\" Title: onnode
763 .\" Author:
764 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
765-.\" Date: 03/12/2018
766+.\" Date: 08/11/2018
767 .\" Manual: CTDB - clustered TDB database
768 .\" Source: ctdb
769 .\" Language: English
770 .\"
771-.TH "ONNODE" "1" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
772+.TH "ONNODE" "1" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
773 .\" -----------------------------------------------------------------
774 .\" * Define some portability stuff
775 .\" -----------------------------------------------------------------
776diff --git a/ctdb/doc/ping_pong.1 b/ctdb/doc/ping_pong.1
777index c6ff0e8..55098e9 100644
778--- a/ctdb/doc/ping_pong.1
779+++ b/ctdb/doc/ping_pong.1
780@@ -2,12 +2,12 @@
781 .\" Title: ping_pong
782 .\" Author:
783 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
784-.\" Date: 03/12/2018
785+.\" Date: 08/11/2018
786 .\" Manual: CTDB - clustered TDB database
787 .\" Source: ctdb
788 .\" Language: English
789 .\"
790-.TH "PING_PONG" "1" "03/12/2018" "ctdb" "CTDB \- clustered TDB database"
791+.TH "PING_PONG" "1" "08/11/2018" "ctdb" "CTDB \- clustered TDB database"
792 .\" -----------------------------------------------------------------
793 .\" * Define some portability stuff
794 .\" -----------------------------------------------------------------
795diff --git a/debian/changelog b/debian/changelog
796index 539294e..0ae90b6 100644
797--- a/debian/changelog
798+++ b/debian/changelog
799@@ -1,3 +1,21 @@
800+samba (2:4.7.9+dfsg~ubuntu-0ubuntu1) cosmic; urgency=medium
801+
802+ * New upstream release: 4.7.9
803+ * Dropped:
804+ - d/p/passdb_dont_return_ok_if_pinfo_not_filled.patch: dropped, applied
805+ upstream
806+ * Added changes:
807+ - d/smb.conf: stop using the deprecated "syslog" and "syslog only"
808+ parameters in favor of "logging". This gets rid of testparm(1) warnings.
809+ - d/samba.logrotate: only try to reload the services if they are running
810+ (LP: #1760855, Closes: #902149)
811+ - d/panic-action: Update panic-action script message, samba-dbg renamed to
812+ samba-dbgsym (LP: #1773679)
813+ - d/p/drop-aio-linux-manpage.patch: Drop the vfs_aio_linux manpage since the
814+ module isn't built (LP: #1778859)
815+
816+ -- Andreas Hasenack <andreas@canonical.com> Mon, 20 Aug 2018 10:39:01 -0300
817+
818 samba (2:4.7.6+dfsg~ubuntu-0ubuntu3) cosmic; urgency=medium
819
820 * No change rebuild to link with new ldb 1.3.3
821diff --git a/debian/panic-action b/debian/panic-action
822index 3869c3c..7b73024 100644
823--- a/debian/panic-action
824+++ b/debian/panic-action
825@@ -46,7 +46,7 @@ type mail >/dev/null 2>&1 || exit 0
826 echo "files may contain additional information about the problem."
827 echo
828 echo "If the problem persists, you are encouraged to first install the"
829- echo "samba-dbg package, which contains the debugging symbols for the Samba"
830+ echo "samba-dbgsym package, which contains the debugging symbols for the Samba"
831 echo "binaries. Then submit the provided information as a bug report to"
832 if [ -x "`which lsb_release 2>/dev/null`" ] \
833 && [ "`lsb_release -s -i`" = "Ubuntu" ]
834diff --git a/debian/patches/drop-aio-linux-manpage.patch b/debian/patches/drop-aio-linux-manpage.patch
835new file mode 100644
836index 0000000..8cee838
837--- /dev/null
838+++ b/debian/patches/drop-aio-linux-manpage.patch
839@@ -0,0 +1,233 @@
840+Description: Drop the vfs_aio_linux manpage since the module isn't built
841+ The module itself is no longer built since 2:4.7.3+dfsg-1, but the manpage
842+ was still being shipped. This patch finishes the job by removing the manpage.
843+Author: Andreas Hasenack <andreas@canonical.com>
844+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1778859
845+Forwarded: not-needed
846+Applied-Upstream: https://github.com/samba-team/samba/commit/6381044c0270a647c20935d22fd23f235d19b328
847+Last-Update: 2018-08-20
848+---
849+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
850+diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build
851+index 3ff1ade69..edb71be5d 100644
852+--- a/docs-xml/wscript_build
853++++ b/docs-xml/wscript_build
854+@@ -50,7 +50,6 @@ manpages='''
855+ manpages/vfs_acl_tdb.8
856+ manpages/vfs_acl_xattr.8
857+ manpages/vfs_aio_fork.8
858+- manpages/vfs_aio_linux.8
859+ manpages/vfs_aio_pthread.8
860+ manpages/vfs_audit.8
861+ manpages/vfs_btrfs.8
862+diff --git a/docs/manpages/vfs_aio_linux.8 b/docs/manpages/vfs_aio_linux.8
863+deleted file mode 100644
864+index 27a66aa84..000000000
865+--- a/docs/manpages/vfs_aio_linux.8
866++++ /dev/null
867+@@ -1,84 +0,0 @@
868+-'\" t
869+-.\" Title: vfs_aio_linux
870+-.\" Author: [see the "AUTHOR" section]
871+-.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
872+-.\" Date: 08/11/2018
873+-.\" Manual: System Administration tools
874+-.\" Source: Samba 4.7
875+-.\" Language: English
876+-.\"
877+-.TH "VFS_AIO_LINUX" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
878+-.\" -----------------------------------------------------------------
879+-.\" * Define some portability stuff
880+-.\" -----------------------------------------------------------------
881+-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
882+-.\" http://bugs.debian.org/507673
883+-.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
884+-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
885+-.ie \n(.g .ds Aq \(aq
886+-.el .ds Aq '
887+-.\" -----------------------------------------------------------------
888+-.\" * set default formatting
889+-.\" -----------------------------------------------------------------
890+-.\" disable hyphenation
891+-.nh
892+-.\" disable justification (adjust text to left margin only)
893+-.ad l
894+-.\" -----------------------------------------------------------------
895+-.\" * MAIN CONTENT STARTS HERE *
896+-.\" -----------------------------------------------------------------
897+-.SH "NAME"
898+-vfs_aio_linux \- implement async I/O in Samba vfs using Linux kernel aio calls
899+-.SH "SYNOPSIS"
900+-.HP \w'\ 'u
901+-vfs objects = aio_linux
902+-.SH "DESCRIPTION"
903+-.PP
904+-This VFS module is part of the
905+-\fBsamba\fR(7)
906+-suite\&.
907+-.PP
908+-The
909+-aio_linux
910+-VFS module enables asynchronous I/O for Samba on Linux kernels that have the kernel AIO calls available without using the Posix AIO interface\&. Posix AIO can suffer from severe limitations\&. For example, on some Linux versions the real\-time signals that it uses are broken under heavy load\&. Other systems only allow AIO when special kernel modules are loaded or only allow a certain system\-wide amount of async requests being scheduled\&. Systems based on glibc (most Linux systems) only allow a single outstanding request per file descriptor which essentially makes Posix AIO useless on systems using the glibc implementation\&.
911+-.PP
912+-To work around all these limitations, the aio_linux module was written\&. It uses the Linux kernel AIO interface instead of the internal Posix AIO interface to allow read and write calls to be processed asynchronously\&. A queue size of 128 events is used by default\&. To change this limit set the "aio num events" parameter below\&.
913+-.PP
914+-Note that the smb\&.conf parameters
915+-aio read size
916+-and
917+-aio write size
918+-must also be set appropriately for this module to be active\&.
919+-.PP
920+-This module MUST be listed last in any module stack as the Samba VFS pread/pwrite interface is not thread\-safe\&. This module makes direct pread and pwrite system calls and does NOT call the Samba VFS pread and pwrite interfaces\&.
921+-.SH "EXAMPLES"
922+-.PP
923+-Straight forward use:
924+-.sp
925+-.if n \{\
926+-.RS 4
927+-.\}
928+-.nf
929+- \fI[cooldata]\fR
930+- \m[blue]\fBpath = /data/ice\fR\m[]
931+- \m[blue]\fBaio read size = 1024\fR\m[]
932+- \m[blue]\fBaio write size = 1024\fR\m[]
933+- \m[blue]\fBvfs objects = aio_linux\fR\m[]
934+-.fi
935+-.if n \{\
936+-.RE
937+-.\}
938+-.SH "OPTIONS"
939+-.PP
940+-aio_linux:aio num events = INTEGER
941+-.RS 4
942+-Set the maximum size of the event queue that is used to limit outstanding IO requests\&.
943+-.sp
944+-By default this is set to 128\&.
945+-.RE
946+-.SH "VERSION"
947+-.PP
948+-This man page is correct for version 4\&.0 of the Samba suite\&.
949+-.SH "AUTHOR"
950+-.PP
951+-The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
952+diff --git a/docs-xml/manpages/vfs_aio_linux.8.xml b/docs-xml/manpages/vfs_aio_linux.8.xml
953+deleted file mode 100644
954+index 3a0095018..000000000
955+--- a/docs-xml/manpages/vfs_aio_linux.8.xml
956++++ /dev/null
957+@@ -1,115 +0,0 @@
958+-<?xml version="1.0" encoding="iso-8859-1"?>
959+-<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
960+-<refentry id="vfs_aio_linux.8">
961+-
962+-<refmeta>
963+- <refentrytitle>vfs_aio_linux</refentrytitle>
964+- <manvolnum>8</manvolnum>
965+- <refmiscinfo class="source">Samba</refmiscinfo>
966+- <refmiscinfo class="manual">System Administration tools</refmiscinfo>
967+- <refmiscinfo class="version">4.7</refmiscinfo>
968+-</refmeta>
969+-
970+-
971+-<refnamediv>
972+- <refname>vfs_aio_linux</refname>
973+- <refpurpose>implement async I/O in Samba vfs using Linux kernel aio calls</refpurpose>
974+-</refnamediv>
975+-
976+-<refsynopsisdiv>
977+- <cmdsynopsis>
978+- <command>vfs objects = aio_linux</command>
979+- </cmdsynopsis>
980+-</refsynopsisdiv>
981+-
982+-<refsect1>
983+- <title>DESCRIPTION</title>
984+-
985+- <para>This VFS module is part of the
986+- <citerefentry><refentrytitle>samba</refentrytitle>
987+- <manvolnum>7</manvolnum></citerefentry> suite.</para>
988+-
989+- <para>The <command>aio_linux</command> VFS module enables asynchronous
990+- I/O for Samba on Linux kernels that have the kernel AIO calls available
991+- without using the Posix AIO interface. Posix AIO can suffer from severe
992+- limitations. For example, on some Linux versions the
993+- real-time signals that it uses are broken under heavy load.
994+- Other systems only allow AIO when special kernel modules are
995+- loaded or only allow a certain system-wide amount of async
996+- requests being scheduled. Systems based on glibc (most Linux
997+- systems) only allow a single outstanding request per file
998+- descriptor which essentially makes Posix AIO useless on systems
999+- using the glibc implementation.</para>
1000+-
1001+- <para>To work around all these limitations, the aio_linux module
1002+- was written. It uses the Linux kernel AIO interface instead of the
1003+- internal Posix AIO interface to allow read and write calls
1004+- to be processed asynchronously. A queue size of 128 events
1005+- is used by default. To change this limit set the "aio num events"
1006+- parameter below.
1007+- </para>
1008+-
1009+- <para>
1010+- Note that the smb.conf parameters <command>aio read size</command>
1011+- and <command>aio write size</command> must also be set appropriately
1012+- for this module to be active.
1013+- </para>
1014+-
1015+- <para>This module MUST be listed last in any module stack as
1016+- the Samba VFS pread/pwrite interface is not thread-safe. This
1017+- module makes direct pread and pwrite system calls and does
1018+- NOT call the Samba VFS pread and pwrite interfaces.</para>
1019+-
1020+-</refsect1>
1021+-
1022+-
1023+-<refsect1>
1024+- <title>EXAMPLES</title>
1025+-
1026+- <para>Straight forward use:</para>
1027+-
1028+-<programlisting>
1029+- <smbconfsection name="[cooldata]"/>
1030+- <smbconfoption name="path">/data/ice</smbconfoption>
1031+- <smbconfoption name="aio read size">1024</smbconfoption>
1032+- <smbconfoption name="aio write size">1024</smbconfoption>
1033+- <smbconfoption name="vfs objects">aio_linux</smbconfoption>
1034+-</programlisting>
1035+-
1036+-</refsect1>
1037+-
1038+-<refsect1>
1039+- <title>OPTIONS</title>
1040+-
1041+- <variablelist>
1042+-
1043+- <varlistentry>
1044+- <term>aio_linux:aio num events = INTEGER</term>
1045+- <listitem>
1046+- <para>Set the maximum size of the event queue
1047+- that is used to limit outstanding IO requests.
1048+- </para>
1049+- <para>By default this is set to 128.</para>
1050+- </listitem>
1051+- </varlistentry>
1052+-
1053+- </variablelist>
1054+-</refsect1>
1055+-<refsect1>
1056+- <title>VERSION</title>
1057+-
1058+- <para>This man page is correct for version 4.0 of the Samba suite.
1059+- </para>
1060+-</refsect1>
1061+-
1062+-<refsect1>
1063+- <title>AUTHOR</title>
1064+-
1065+- <para>The original Samba software and related utilities
1066+- were created by Andrew Tridgell. Samba is now developed
1067+- by the Samba Team as an Open Source project similar
1068+- to the way the Linux kernel is developed.</para>
1069+-
1070+-</refsect1>
1071+-
1072+-</refentry>
1073diff --git a/debian/patches/passdb_dont_return_ok_if_pinfo_not_filled.patch b/debian/patches/passdb_dont_return_ok_if_pinfo_not_filled.patch
1074deleted file mode 100644
1075index d4ac1bf..0000000
1076--- a/debian/patches/passdb_dont_return_ok_if_pinfo_not_filled.patch
1077+++ /dev/null
1078@@ -1,36 +0,0 @@
1079-From 8fb23665ddad8f65a6461c310ed5680d104fd9bf Mon Sep 17 00:00:00 2001
1080-From: Andreas Schneider <asn@samba.org>
1081-Date: Tue, 17 Apr 2018 08:55:23 +0200
1082-Subject: [PATCH] s3:passdb: Do not return OK if we don't have pinfo set up
1083-
1084-This prevents a crash in fill_mem_keytab_from_secrets()
1085-
1086-BUG: https://bugzilla.samba.org/show_bug.cgi?id=13376
1087-
1088-Signed-off-by: Andreas Schneider <asn@samba.org>
1089-Reviewed-by: Stefan Metzmacher <metze@samba.org>
1090-
1091-(cherry picked from commit 99859479fc6e12b2f74ce2dfa83da56d8b8f3d26)
1092-Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1761737
1093-Origin: https://attachments.samba.org/attachment.cgi?id=14159
1094-Last-Update: 2018-04-19
1095----
1096- source3/passdb/machine_account_secrets.c | 2 +-
1097- 1 file changed, 1 insertion(+), 1 deletion(-)
1098-
1099-diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c
1100-index 75f31cb04e2..d36fa268a4b 100644
1101---- a/source3/passdb/machine_account_secrets.c
1102-+++ b/source3/passdb/machine_account_secrets.c
1103-@@ -1317,7 +1317,7 @@ NTSTATUS secrets_fetch_or_upgrade_domain_info(const char *domain,
1104-
1105- last_set_time = secrets_fetch_pass_last_set_time(domain);
1106- if (last_set_time == 0) {
1107-- return NT_STATUS_OK;
1108-+ return NT_STATUS_CANT_ACCESS_DOMAIN_INFO;
1109- }
1110- unix_to_nt_time(&last_set_nt, last_set_time);
1111-
1112---
1113-2.16.3
1114-
1115diff --git a/debian/patches/series b/debian/patches/series
1116index 1aa159c..7e7041d 100644
1117--- a/debian/patches/series
1118+++ b/debian/patches/series
1119@@ -11,4 +11,4 @@ systemd-syslog.target-is-obsolete.patch
1120 Add-documentation-to-systemd-Unit-files.patch
1121 fix_kill_path_in_units.patch
1122 nmbd-requires-a-working-network.patch
1123-passdb_dont_return_ok_if_pinfo_not_filled.patch
1124+drop-aio-linux-manpage.patch
1125diff --git a/debian/samba.logrotate b/debian/samba.logrotate
1126index 8a9632b..7c9bdf3 100644
1127--- a/debian/samba.logrotate
1128+++ b/debian/samba.logrotate
1129@@ -3,7 +3,7 @@
1130 missingok
1131 rotate 7
1132 postrotate
1133- [ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol smbd reload-config
1134+ [ ! -x /usr/bin/smbcontrol ] || [ ! -f /var/run/samba/smbd.pid ] || /usr/bin/smbcontrol smbd reload-config
1135 endscript
1136 compress
1137 delaycompress
1138@@ -15,7 +15,7 @@
1139 missingok
1140 rotate 7
1141 postrotate
1142- [ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol nmbd reload-config
1143+ [ ! -x /usr/bin/smbcontrol ] || [ ! -f /var/run/samba/nmbd.pid ] || /usr/bin/smbcontrol nmbd reload-config
1144 endscript
1145 compress
1146 delaycompress
1147diff --git a/debian/smb.conf b/debian/smb.conf
1148index 486161d..74b6684 100644
1149--- a/debian/smb.conf
1150+++ b/debian/smb.conf
1151@@ -67,14 +67,10 @@
1152 # Cap the size of the individual log files (in KiB).
1153 max log size = 1000
1154
1155-# If you want Samba to only log through syslog then set the following
1156-# parameter to 'yes'.
1157-# syslog only = no
1158-
1159 # We want Samba to log a minimum amount of information to syslog. Everything
1160 # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
1161-# through syslog you should set the following parameter to something higher.
1162- syslog = 0
1163+# through syslog you should set the syslog @loglevel to something higher.
1164+ logging = syslog@0 file
1165
1166 # Do something sensible when Samba crashes: mail the admin a backtrace
1167 panic action = /usr/share/samba/panic-action %d
1168diff --git a/docs-xml/smbdotconf/logging/loglevel.xml b/docs-xml/smbdotconf/logging/loglevel.xml
1169index 1a3767d..d3b5c45 100644
1170--- a/docs-xml/smbdotconf/logging/loglevel.xml
1171+++ b/docs-xml/smbdotconf/logging/loglevel.xml
1172@@ -22,6 +22,8 @@
1173 <listitem><para><parameter moreinfo="none">printdrivers</parameter></para></listitem>
1174 <listitem><para><parameter moreinfo="none">lanman</parameter></para></listitem>
1175 <listitem><para><parameter moreinfo="none">smb</parameter></para></listitem>
1176+ <listitem><para><parameter moreinfo="none">smb2</parameter></para></listitem>
1177+ <listitem><para><parameter moreinfo="none">smb2_credits</parameter></para></listitem>
1178 <listitem><para><parameter moreinfo="none">rpc_parse</parameter></para></listitem>
1179 <listitem><para><parameter moreinfo="none">rpc_srv</parameter></para></listitem>
1180 <listitem><para><parameter moreinfo="none">rpc_cli</parameter></para></listitem>
1181diff --git a/docs-xml/smbdotconf/misc/directorynamecachesize.xml b/docs-xml/smbdotconf/misc/directorynamecachesize.xml
1182index 7a89bf2..22999a6 100644
1183--- a/docs-xml/smbdotconf/misc/directorynamecachesize.xml
1184+++ b/docs-xml/smbdotconf/misc/directorynamecachesize.xml
1185@@ -4,8 +4,9 @@
1186 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
1187 <description>
1188 <para>
1189- This parameter specifies the size of the directory name cache.
1190- It will be needed to turn this off for *BSD systems.
1191+ This parameter specifies the size of the directory name cache for SMB1
1192+ connections. It is not used for SMB2. It will be needed to turn this off
1193+ for *BSD systems.
1194 </para>
1195
1196 </description>
1197diff --git a/docs/manpages/cifsdd.8 b/docs/manpages/cifsdd.8
1198index d3b3c93..39ac0eb 100644
1199--- a/docs/manpages/cifsdd.8
1200+++ b/docs/manpages/cifsdd.8
1201@@ -2,12 +2,12 @@
1202 .\" Title: cifsdd
1203 .\" Author: [see the "AUTHOR" section]
1204 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1205-.\" Date: 03/12/2018
1206+.\" Date: 08/11/2018
1207 .\" Manual: System Administration tools
1208 .\" Source: Samba 4.7
1209 .\" Language: English
1210 .\"
1211-.TH "CIFSDD" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1212+.TH "CIFSDD" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1213 .\" -----------------------------------------------------------------
1214 .\" * Define some portability stuff
1215 .\" -----------------------------------------------------------------
1216diff --git a/docs/manpages/dbwrap_tool.1 b/docs/manpages/dbwrap_tool.1
1217index 50bb6ad..1e205b8 100644
1218--- a/docs/manpages/dbwrap_tool.1
1219+++ b/docs/manpages/dbwrap_tool.1
1220@@ -2,12 +2,12 @@
1221 .\" Title: dbwrap_tool
1222 .\" Author: [see the "AUTHOR" section]
1223 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1224-.\" Date: 03/12/2018
1225+.\" Date: 08/11/2018
1226 .\" Manual: System Administration tools
1227 .\" Source: Samba 4.7
1228 .\" Language: English
1229 .\"
1230-.TH "DBWRAP_TOOL" "1" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1231+.TH "DBWRAP_TOOL" "1" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1232 .\" -----------------------------------------------------------------
1233 .\" * Define some portability stuff
1234 .\" -----------------------------------------------------------------
1235diff --git a/docs/manpages/eventlogadm.8 b/docs/manpages/eventlogadm.8
1236index f1d8695..90a9241 100644
1237--- a/docs/manpages/eventlogadm.8
1238+++ b/docs/manpages/eventlogadm.8
1239@@ -2,12 +2,12 @@
1240 .\" Title: eventlogadm
1241 .\" Author: [see the "AUTHOR" section]
1242 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1243-.\" Date: 03/12/2018
1244+.\" Date: 08/11/2018
1245 .\" Manual: System Administration tools
1246 .\" Source: Samba 4.7
1247 .\" Language: English
1248 .\"
1249-.TH "EVENTLOGADM" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1250+.TH "EVENTLOGADM" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1251 .\" -----------------------------------------------------------------
1252 .\" * Define some portability stuff
1253 .\" -----------------------------------------------------------------
1254diff --git a/docs/manpages/findsmb.1 b/docs/manpages/findsmb.1
1255index 5380d57..73d65ae 100644
1256--- a/docs/manpages/findsmb.1
1257+++ b/docs/manpages/findsmb.1
1258@@ -2,12 +2,12 @@
1259 .\" Title: findsmb
1260 .\" Author: [see the "AUTHOR" section]
1261 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1262-.\" Date: 03/12/2018
1263+.\" Date: 08/11/2018
1264 .\" Manual: User Commands
1265 .\" Source: Samba 4.7
1266 .\" Language: English
1267 .\"
1268-.TH "FINDSMB" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1269+.TH "FINDSMB" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1270 .\" -----------------------------------------------------------------
1271 .\" * Define some portability stuff
1272 .\" -----------------------------------------------------------------
1273diff --git a/docs/manpages/idmap_ad.8 b/docs/manpages/idmap_ad.8
1274index 5f95cb9..7636800 100644
1275--- a/docs/manpages/idmap_ad.8
1276+++ b/docs/manpages/idmap_ad.8
1277@@ -2,12 +2,12 @@
1278 .\" Title: idmap_ad
1279 .\" Author: [see the "AUTHOR" section]
1280 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1281-.\" Date: 03/12/2018
1282+.\" Date: 08/11/2018
1283 .\" Manual: System Administration tools
1284 .\" Source: Samba 4.7
1285 .\" Language: English
1286 .\"
1287-.TH "IDMAP_AD" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1288+.TH "IDMAP_AD" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1289 .\" -----------------------------------------------------------------
1290 .\" * Define some portability stuff
1291 .\" -----------------------------------------------------------------
1292diff --git a/docs/manpages/idmap_autorid.8 b/docs/manpages/idmap_autorid.8
1293index e238171..fb5ae10 100644
1294--- a/docs/manpages/idmap_autorid.8
1295+++ b/docs/manpages/idmap_autorid.8
1296@@ -2,12 +2,12 @@
1297 .\" Title: idmap_autorid
1298 .\" Author: [see the "AUTHOR" section]
1299 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1300-.\" Date: 03/12/2018
1301+.\" Date: 08/11/2018
1302 .\" Manual: System Administration tools
1303 .\" Source: Samba 4.7
1304 .\" Language: English
1305 .\"
1306-.TH "IDMAP_AUTORID" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1307+.TH "IDMAP_AUTORID" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1308 .\" -----------------------------------------------------------------
1309 .\" * Define some portability stuff
1310 .\" -----------------------------------------------------------------
1311diff --git a/docs/manpages/idmap_hash.8 b/docs/manpages/idmap_hash.8
1312index 7137daa..6abe94e 100644
1313--- a/docs/manpages/idmap_hash.8
1314+++ b/docs/manpages/idmap_hash.8
1315@@ -2,12 +2,12 @@
1316 .\" Title: idmap_hash
1317 .\" Author: [see the "AUTHOR" section]
1318 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1319-.\" Date: 03/12/2018
1320+.\" Date: 08/11/2018
1321 .\" Manual: System Administration tools
1322 .\" Source: Samba 4.7
1323 .\" Language: English
1324 .\"
1325-.TH "IDMAP_HASH" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1326+.TH "IDMAP_HASH" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1327 .\" -----------------------------------------------------------------
1328 .\" * Define some portability stuff
1329 .\" -----------------------------------------------------------------
1330diff --git a/docs/manpages/idmap_ldap.8 b/docs/manpages/idmap_ldap.8
1331index df21c39..6c2027d 100644
1332--- a/docs/manpages/idmap_ldap.8
1333+++ b/docs/manpages/idmap_ldap.8
1334@@ -2,12 +2,12 @@
1335 .\" Title: idmap_ldap
1336 .\" Author: [see the "AUTHOR" section]
1337 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1338-.\" Date: 03/12/2018
1339+.\" Date: 08/11/2018
1340 .\" Manual: System Administration tools
1341 .\" Source: Samba 4.7
1342 .\" Language: English
1343 .\"
1344-.TH "IDMAP_LDAP" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1345+.TH "IDMAP_LDAP" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1346 .\" -----------------------------------------------------------------
1347 .\" * Define some portability stuff
1348 .\" -----------------------------------------------------------------
1349diff --git a/docs/manpages/idmap_nss.8 b/docs/manpages/idmap_nss.8
1350index 542b43b..37becf6 100644
1351--- a/docs/manpages/idmap_nss.8
1352+++ b/docs/manpages/idmap_nss.8
1353@@ -2,12 +2,12 @@
1354 .\" Title: idmap_nss
1355 .\" Author: [see the "AUTHOR" section]
1356 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1357-.\" Date: 03/12/2018
1358+.\" Date: 08/11/2018
1359 .\" Manual: System Administration tools
1360 .\" Source: Samba 4.7
1361 .\" Language: English
1362 .\"
1363-.TH "IDMAP_NSS" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1364+.TH "IDMAP_NSS" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1365 .\" -----------------------------------------------------------------
1366 .\" * Define some portability stuff
1367 .\" -----------------------------------------------------------------
1368diff --git a/docs/manpages/idmap_rfc2307.8 b/docs/manpages/idmap_rfc2307.8
1369index 2324c88..3ec65f2 100644
1370--- a/docs/manpages/idmap_rfc2307.8
1371+++ b/docs/manpages/idmap_rfc2307.8
1372@@ -2,12 +2,12 @@
1373 .\" Title: idmap_rfc2307
1374 .\" Author: [see the "AUTHOR" section]
1375 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1376-.\" Date: 03/12/2018
1377+.\" Date: 08/11/2018
1378 .\" Manual: System Administration tools
1379 .\" Source: Samba 4.7
1380 .\" Language: English
1381 .\"
1382-.TH "IDMAP_RFC2307" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1383+.TH "IDMAP_RFC2307" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1384 .\" -----------------------------------------------------------------
1385 .\" * Define some portability stuff
1386 .\" -----------------------------------------------------------------
1387diff --git a/docs/manpages/idmap_rid.8 b/docs/manpages/idmap_rid.8
1388index f5ccdfe..ffb364c 100644
1389--- a/docs/manpages/idmap_rid.8
1390+++ b/docs/manpages/idmap_rid.8
1391@@ -2,12 +2,12 @@
1392 .\" Title: idmap_rid
1393 .\" Author: [see the "AUTHOR" section]
1394 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1395-.\" Date: 03/12/2018
1396+.\" Date: 08/11/2018
1397 .\" Manual: System Administration tools
1398 .\" Source: Samba 4.7
1399 .\" Language: English
1400 .\"
1401-.TH "IDMAP_RID" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1402+.TH "IDMAP_RID" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1403 .\" -----------------------------------------------------------------
1404 .\" * Define some portability stuff
1405 .\" -----------------------------------------------------------------
1406diff --git a/docs/manpages/idmap_script.8 b/docs/manpages/idmap_script.8
1407index b611b83..f3cbde7 100644
1408--- a/docs/manpages/idmap_script.8
1409+++ b/docs/manpages/idmap_script.8
1410@@ -2,12 +2,12 @@
1411 .\" Title: idmap_script
1412 .\" Author: [see the "AUTHOR" section]
1413 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1414-.\" Date: 03/12/2018
1415+.\" Date: 08/11/2018
1416 .\" Manual: System Administration tools
1417 .\" Source: Samba 4.7
1418 .\" Language: English
1419 .\"
1420-.TH "IDMAP_SCRIPT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1421+.TH "IDMAP_SCRIPT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1422 .\" -----------------------------------------------------------------
1423 .\" * Define some portability stuff
1424 .\" -----------------------------------------------------------------
1425diff --git a/docs/manpages/idmap_tdb.8 b/docs/manpages/idmap_tdb.8
1426index 66b1bf8..0f42033 100644
1427--- a/docs/manpages/idmap_tdb.8
1428+++ b/docs/manpages/idmap_tdb.8
1429@@ -2,12 +2,12 @@
1430 .\" Title: idmap_tdb
1431 .\" Author: [see the "AUTHOR" section]
1432 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1433-.\" Date: 03/12/2018
1434+.\" Date: 08/11/2018
1435 .\" Manual: System Administration tools
1436 .\" Source: Samba 4.7
1437 .\" Language: English
1438 .\"
1439-.TH "IDMAP_TDB" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1440+.TH "IDMAP_TDB" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1441 .\" -----------------------------------------------------------------
1442 .\" * Define some portability stuff
1443 .\" -----------------------------------------------------------------
1444diff --git a/docs/manpages/idmap_tdb2.8 b/docs/manpages/idmap_tdb2.8
1445index b23d999..457de84 100644
1446--- a/docs/manpages/idmap_tdb2.8
1447+++ b/docs/manpages/idmap_tdb2.8
1448@@ -2,12 +2,12 @@
1449 .\" Title: idmap_tdb2
1450 .\" Author: [see the "AUTHOR" section]
1451 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1452-.\" Date: 03/12/2018
1453+.\" Date: 08/11/2018
1454 .\" Manual: System Administration tools
1455 .\" Source: Samba 4.7
1456 .\" Language: English
1457 .\"
1458-.TH "IDMAP_TDB2" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1459+.TH "IDMAP_TDB2" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1460 .\" -----------------------------------------------------------------
1461 .\" * Define some portability stuff
1462 .\" -----------------------------------------------------------------
1463diff --git a/docs/manpages/libsmbclient.7 b/docs/manpages/libsmbclient.7
1464index f21109a..d84263e 100644
1465--- a/docs/manpages/libsmbclient.7
1466+++ b/docs/manpages/libsmbclient.7
1467@@ -2,12 +2,12 @@
1468 .\" Title: libsmbclient
1469 .\" Author: [see the "AUTHOR" section]
1470 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1471-.\" Date: 03/12/2018
1472+.\" Date: 08/11/2018
1473 .\" Manual: 7
1474 .\" Source: Samba 4.7
1475 .\" Language: English
1476 .\"
1477-.TH "LIBSMBCLIENT" "7" "03/12/2018" "Samba 4\&.7" "7"
1478+.TH "LIBSMBCLIENT" "7" "08/11/2018" "Samba 4\&.7" "7"
1479 .\" -----------------------------------------------------------------
1480 .\" * Define some portability stuff
1481 .\" -----------------------------------------------------------------
1482diff --git a/docs/manpages/lmhosts.5 b/docs/manpages/lmhosts.5
1483index cfb5957..8864a07 100644
1484--- a/docs/manpages/lmhosts.5
1485+++ b/docs/manpages/lmhosts.5
1486@@ -2,12 +2,12 @@
1487 .\" Title: lmhosts
1488 .\" Author: [see the "AUTHOR" section]
1489 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1490-.\" Date: 03/12/2018
1491+.\" Date: 08/11/2018
1492 .\" Manual: File Formats and Conventions
1493 .\" Source: Samba 4.7
1494 .\" Language: English
1495 .\"
1496-.TH "LMHOSTS" "5" "03/12/2018" "Samba 4\&.7" "File Formats and Conventions"
1497+.TH "LMHOSTS" "5" "08/11/2018" "Samba 4\&.7" "File Formats and Conventions"
1498 .\" -----------------------------------------------------------------
1499 .\" * Define some portability stuff
1500 .\" -----------------------------------------------------------------
1501diff --git a/docs/manpages/log2pcap.1 b/docs/manpages/log2pcap.1
1502index 99dc3e4..4f9b414 100644
1503--- a/docs/manpages/log2pcap.1
1504+++ b/docs/manpages/log2pcap.1
1505@@ -2,12 +2,12 @@
1506 .\" Title: log2pcap
1507 .\" Author: [see the "AUTHOR" section]
1508 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1509-.\" Date: 03/12/2018
1510+.\" Date: 08/11/2018
1511 .\" Manual: User Commands
1512 .\" Source: Samba 4.7
1513 .\" Language: English
1514 .\"
1515-.TH "LOG2PCAP" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1516+.TH "LOG2PCAP" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1517 .\" -----------------------------------------------------------------
1518 .\" * Define some portability stuff
1519 .\" -----------------------------------------------------------------
1520diff --git a/docs/manpages/mvxattr.1 b/docs/manpages/mvxattr.1
1521index 75d3c03..a3be419 100644
1522--- a/docs/manpages/mvxattr.1
1523+++ b/docs/manpages/mvxattr.1
1524@@ -2,12 +2,12 @@
1525 .\" Title: mvxattr
1526 .\" Author: [see the "AUTHOR" section]
1527 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1528-.\" Date: 03/12/2018
1529+.\" Date: 08/11/2018
1530 .\" Manual: User Commands
1531 .\" Source: Samba 4.7
1532 .\" Language: English
1533 .\"
1534-.TH "MVXATTR" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1535+.TH "MVXATTR" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1536 .\" -----------------------------------------------------------------
1537 .\" * Define some portability stuff
1538 .\" -----------------------------------------------------------------
1539diff --git a/docs/manpages/net.8 b/docs/manpages/net.8
1540index 92ac99f..2308842 100644
1541--- a/docs/manpages/net.8
1542+++ b/docs/manpages/net.8
1543@@ -2,12 +2,12 @@
1544 .\" Title: net
1545 .\" Author: [see the "AUTHOR" section]
1546 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1547-.\" Date: 03/12/2018
1548+.\" Date: 08/11/2018
1549 .\" Manual: System Administration tools
1550 .\" Source: Samba 4.7
1551 .\" Language: English
1552 .\"
1553-.TH "NET" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1554+.TH "NET" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1555 .\" -----------------------------------------------------------------
1556 .\" * Define some portability stuff
1557 .\" -----------------------------------------------------------------
1558diff --git a/docs/manpages/nmbd.8 b/docs/manpages/nmbd.8
1559index bca9317..9384493 100644
1560--- a/docs/manpages/nmbd.8
1561+++ b/docs/manpages/nmbd.8
1562@@ -2,12 +2,12 @@
1563 .\" Title: nmbd
1564 .\" Author: [see the "AUTHOR" section]
1565 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1566-.\" Date: 03/12/2018
1567+.\" Date: 08/11/2018
1568 .\" Manual: System Administration tools
1569 .\" Source: Samba 4.7
1570 .\" Language: English
1571 .\"
1572-.TH "NMBD" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1573+.TH "NMBD" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1574 .\" -----------------------------------------------------------------
1575 .\" * Define some portability stuff
1576 .\" -----------------------------------------------------------------
1577diff --git a/docs/manpages/nmblookup.1 b/docs/manpages/nmblookup.1
1578index 78311f9..b8ca956 100644
1579--- a/docs/manpages/nmblookup.1
1580+++ b/docs/manpages/nmblookup.1
1581@@ -2,12 +2,12 @@
1582 .\" Title: nmblookup
1583 .\" Author: [see the "AUTHOR" section]
1584 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1585-.\" Date: 03/12/2018
1586+.\" Date: 08/11/2018
1587 .\" Manual: User Commands
1588 .\" Source: Samba 4.7
1589 .\" Language: English
1590 .\"
1591-.TH "NMBLOOKUP" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1592+.TH "NMBLOOKUP" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1593 .\" -----------------------------------------------------------------
1594 .\" * Define some portability stuff
1595 .\" -----------------------------------------------------------------
1596diff --git a/docs/manpages/ntlm_auth.1 b/docs/manpages/ntlm_auth.1
1597index 271236f..7f170a4 100644
1598--- a/docs/manpages/ntlm_auth.1
1599+++ b/docs/manpages/ntlm_auth.1
1600@@ -2,12 +2,12 @@
1601 .\" Title: ntlm_auth
1602 .\" Author: [see the "AUTHOR" section]
1603 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1604-.\" Date: 03/12/2018
1605+.\" Date: 08/11/2018
1606 .\" Manual: User Commands
1607 .\" Source: Samba 4.7
1608 .\" Language: English
1609 .\"
1610-.TH "NTLM_AUTH" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1611+.TH "NTLM_AUTH" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1612 .\" -----------------------------------------------------------------
1613 .\" * Define some portability stuff
1614 .\" -----------------------------------------------------------------
1615diff --git a/docs/manpages/pam_winbind.8 b/docs/manpages/pam_winbind.8
1616index 04945ba..6014c19 100644
1617--- a/docs/manpages/pam_winbind.8
1618+++ b/docs/manpages/pam_winbind.8
1619@@ -2,12 +2,12 @@
1620 .\" Title: pam_winbind
1621 .\" Author: [see the "AUTHOR" section]
1622 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1623-.\" Date: 03/12/2018
1624+.\" Date: 08/11/2018
1625 .\" Manual: 8
1626 .\" Source: Samba 4.7
1627 .\" Language: English
1628 .\"
1629-.TH "PAM_WINBIND" "8" "03/12/2018" "Samba 4\&.7" "8"
1630+.TH "PAM_WINBIND" "8" "08/11/2018" "Samba 4\&.7" "8"
1631 .\" -----------------------------------------------------------------
1632 .\" * Define some portability stuff
1633 .\" -----------------------------------------------------------------
1634diff --git a/docs/manpages/pam_winbind.conf.5 b/docs/manpages/pam_winbind.conf.5
1635index 6a32e3a..ea8943b 100644
1636--- a/docs/manpages/pam_winbind.conf.5
1637+++ b/docs/manpages/pam_winbind.conf.5
1638@@ -2,12 +2,12 @@
1639 .\" Title: pam_winbind.conf
1640 .\" Author: [see the "AUTHOR" section]
1641 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1642-.\" Date: 03/12/2018
1643+.\" Date: 08/11/2018
1644 .\" Manual: 5
1645 .\" Source: Samba 4.7
1646 .\" Language: English
1647 .\"
1648-.TH "PAM_WINBIND\&.CONF" "5" "03/12/2018" "Samba 4\&.7" "5"
1649+.TH "PAM_WINBIND\&.CONF" "5" "08/11/2018" "Samba 4\&.7" "5"
1650 .\" -----------------------------------------------------------------
1651 .\" * Define some portability stuff
1652 .\" -----------------------------------------------------------------
1653diff --git a/docs/manpages/pdbedit.8 b/docs/manpages/pdbedit.8
1654index 0fdf3a0..0362d0a 100644
1655--- a/docs/manpages/pdbedit.8
1656+++ b/docs/manpages/pdbedit.8
1657@@ -2,12 +2,12 @@
1658 .\" Title: pdbedit
1659 .\" Author: [see the "AUTHOR" section]
1660 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1661-.\" Date: 03/12/2018
1662+.\" Date: 08/11/2018
1663 .\" Manual: System Administration tools
1664 .\" Source: Samba 4.7
1665 .\" Language: English
1666 .\"
1667-.TH "PDBEDIT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1668+.TH "PDBEDIT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1669 .\" -----------------------------------------------------------------
1670 .\" * Define some portability stuff
1671 .\" -----------------------------------------------------------------
1672diff --git a/docs/manpages/profiles.1 b/docs/manpages/profiles.1
1673index c388e24..c0c6a36 100644
1674--- a/docs/manpages/profiles.1
1675+++ b/docs/manpages/profiles.1
1676@@ -2,12 +2,12 @@
1677 .\" Title: profiles
1678 .\" Author: [see the "AUTHOR" section]
1679 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1680-.\" Date: 03/12/2018
1681+.\" Date: 08/11/2018
1682 .\" Manual: User Commands
1683 .\" Source: Samba 4.7
1684 .\" Language: English
1685 .\"
1686-.TH "PROFILES" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1687+.TH "PROFILES" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1688 .\" -----------------------------------------------------------------
1689 .\" * Define some portability stuff
1690 .\" -----------------------------------------------------------------
1691diff --git a/docs/manpages/rpcclient.1 b/docs/manpages/rpcclient.1
1692index d8a110f..e34f270 100644
1693--- a/docs/manpages/rpcclient.1
1694+++ b/docs/manpages/rpcclient.1
1695@@ -2,12 +2,12 @@
1696 .\" Title: rpcclient
1697 .\" Author: [see the "AUTHOR" section]
1698 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1699-.\" Date: 03/12/2018
1700+.\" Date: 08/11/2018
1701 .\" Manual: User Commands
1702 .\" Source: Samba 4.7
1703 .\" Language: English
1704 .\"
1705-.TH "RPCCLIENT" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1706+.TH "RPCCLIENT" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1707 .\" -----------------------------------------------------------------
1708 .\" * Define some portability stuff
1709 .\" -----------------------------------------------------------------
1710diff --git a/docs/manpages/samba-regedit.8 b/docs/manpages/samba-regedit.8
1711index 2f664f3..7193fbb 100644
1712--- a/docs/manpages/samba-regedit.8
1713+++ b/docs/manpages/samba-regedit.8
1714@@ -2,12 +2,12 @@
1715 .\" Title: samba-regedit
1716 .\" Author: [see the "AUTHOR" section]
1717 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1718-.\" Date: 03/12/2018
1719+.\" Date: 08/11/2018
1720 .\" Manual: System Administration tools
1721 .\" Source: Samba 4.7
1722 .\" Language: English
1723 .\"
1724-.TH "SAMBA\-REGEDIT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1725+.TH "SAMBA\-REGEDIT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1726 .\" -----------------------------------------------------------------
1727 .\" * Define some portability stuff
1728 .\" -----------------------------------------------------------------
1729diff --git a/docs/manpages/samba-tool.8 b/docs/manpages/samba-tool.8
1730index 5b76028..f8e5a6a 100644
1731--- a/docs/manpages/samba-tool.8
1732+++ b/docs/manpages/samba-tool.8
1733@@ -2,12 +2,12 @@
1734 .\" Title: samba-tool
1735 .\" Author: [see the "AUTHOR" section]
1736 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1737-.\" Date: 03/12/2018
1738+.\" Date: 08/11/2018
1739 .\" Manual: System Administration tools
1740 .\" Source: Samba 4.7
1741 .\" Language: English
1742 .\"
1743-.TH "SAMBA\-TOOL" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1744+.TH "SAMBA\-TOOL" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1745 .\" -----------------------------------------------------------------
1746 .\" * Define some portability stuff
1747 .\" -----------------------------------------------------------------
1748diff --git a/docs/manpages/samba.7 b/docs/manpages/samba.7
1749index 45f4a24..66bedab 100644
1750--- a/docs/manpages/samba.7
1751+++ b/docs/manpages/samba.7
1752@@ -2,12 +2,12 @@
1753 .\" Title: samba
1754 .\" Author: [see the "AUTHOR" section]
1755 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1756-.\" Date: 03/12/2018
1757+.\" Date: 08/11/2018
1758 .\" Manual: Miscellanea
1759 .\" Source: Samba 4.7
1760 .\" Language: English
1761 .\"
1762-.TH "SAMBA" "7" "03/12/2018" "Samba 4\&.7" "Miscellanea"
1763+.TH "SAMBA" "7" "08/11/2018" "Samba 4\&.7" "Miscellanea"
1764 .\" -----------------------------------------------------------------
1765 .\" * Define some portability stuff
1766 .\" -----------------------------------------------------------------
1767diff --git a/docs/manpages/samba.8 b/docs/manpages/samba.8
1768index 34d5121..d0fefdf 100644
1769--- a/docs/manpages/samba.8
1770+++ b/docs/manpages/samba.8
1771@@ -2,12 +2,12 @@
1772 .\" Title: samba
1773 .\" Author: [see the "AUTHOR" section]
1774 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1775-.\" Date: 03/12/2018
1776+.\" Date: 08/11/2018
1777 .\" Manual: System Administration tools
1778 .\" Source: Samba 4.7
1779 .\" Language: English
1780 .\"
1781-.TH "SAMBA" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1782+.TH "SAMBA" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1783 .\" -----------------------------------------------------------------
1784 .\" * Define some portability stuff
1785 .\" -----------------------------------------------------------------
1786diff --git a/docs/manpages/sharesec.1 b/docs/manpages/sharesec.1
1787index d0cba13..4b6842d 100644
1788--- a/docs/manpages/sharesec.1
1789+++ b/docs/manpages/sharesec.1
1790@@ -2,12 +2,12 @@
1791 .\" Title: sharesec
1792 .\" Author: [see the "AUTHOR" section]
1793 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1794-.\" Date: 03/12/2018
1795+.\" Date: 08/11/2018
1796 .\" Manual: User Commands
1797 .\" Source: Samba 4.7
1798 .\" Language: English
1799 .\"
1800-.TH "SHARESEC" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1801+.TH "SHARESEC" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1802 .\" -----------------------------------------------------------------
1803 .\" * Define some portability stuff
1804 .\" -----------------------------------------------------------------
1805diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5
1806index 4491b87..0c2585d 100644
1807--- a/docs/manpages/smb.conf.5
1808+++ b/docs/manpages/smb.conf.5
1809@@ -2,12 +2,12 @@
1810 .\" Title: smb.conf
1811 .\" Author: [see the "AUTHOR" section]
1812 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1813-.\" Date: 03/12/2018
1814+.\" Date: 08/11/2018
1815 .\" Manual: File Formats and Conventions
1816 .\" Source: Samba 4.7
1817 .\" Language: English
1818 .\"
1819-.TH "SMB\&.CONF" "5" "03/12/2018" "Samba 4\&.7" "File Formats and Conventions"
1820+.TH "SMB\&.CONF" "5" "08/11/2018" "Samba 4\&.7" "File Formats and Conventions"
1821 .\" -----------------------------------------------------------------
1822 .\" * Define some portability stuff
1823 .\" -----------------------------------------------------------------
1824@@ -3081,7 +3081,7 @@ Example:
1825 directory name cache size (S)
1826 .PP
1827 .RS 4
1828-This parameter specifies the size of the directory name cache\&. It will be needed to turn this off for *BSD systems\&.
1829+This parameter specifies the size of the directory name cache for SMB1 connections\&. It is not used for SMB2\&. It will be needed to turn this off for *BSD systems\&.
1830 .sp
1831 Default:
1832 \fI\fIdirectory name cache size\fR\fR\fI = \fR\fI100\fR\fI \fR
1833@@ -5750,6 +5750,28 @@ This parameter has been extended since the 2\&.2\&.x series, now it allows one t
1834 .sp -1
1835 .IP \(bu 2.3
1836 .\}
1837+\fIsmb2\fR
1838+.RE
1839+.sp
1840+.RS 4
1841+.ie n \{\
1842+\h'-04'\(bu\h'+03'\c
1843+.\}
1844+.el \{\
1845+.sp -1
1846+.IP \(bu 2.3
1847+.\}
1848+\fIsmb2_credits\fR
1849+.RE
1850+.sp
1851+.RS 4
1852+.ie n \{\
1853+\h'-04'\(bu\h'+03'\c
1854+.\}
1855+.el \{\
1856+.sp -1
1857+.IP \(bu 2.3
1858+.\}
1859 \fIrpc_parse\fR
1860 .RE
1861 .sp
1862diff --git a/docs/manpages/smbcacls.1 b/docs/manpages/smbcacls.1
1863index 98efe28..7481721 100644
1864--- a/docs/manpages/smbcacls.1
1865+++ b/docs/manpages/smbcacls.1
1866@@ -2,12 +2,12 @@
1867 .\" Title: smbcacls
1868 .\" Author: [see the "AUTHOR" section]
1869 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1870-.\" Date: 03/12/2018
1871+.\" Date: 08/11/2018
1872 .\" Manual: User Commands
1873 .\" Source: Samba 4.7
1874 .\" Language: English
1875 .\"
1876-.TH "SMBCACLS" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1877+.TH "SMBCACLS" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1878 .\" -----------------------------------------------------------------
1879 .\" * Define some portability stuff
1880 .\" -----------------------------------------------------------------
1881diff --git a/docs/manpages/smbclient.1 b/docs/manpages/smbclient.1
1882index 9de2b73..c8e498a 100644
1883--- a/docs/manpages/smbclient.1
1884+++ b/docs/manpages/smbclient.1
1885@@ -2,12 +2,12 @@
1886 .\" Title: smbclient
1887 .\" Author: [see the "AUTHOR" section]
1888 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1889-.\" Date: 03/12/2018
1890+.\" Date: 08/11/2018
1891 .\" Manual: User Commands
1892 .\" Source: Samba 4.7
1893 .\" Language: English
1894 .\"
1895-.TH "SMBCLIENT" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1896+.TH "SMBCLIENT" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1897 .\" -----------------------------------------------------------------
1898 .\" * Define some portability stuff
1899 .\" -----------------------------------------------------------------
1900diff --git a/docs/manpages/smbcontrol.1 b/docs/manpages/smbcontrol.1
1901index 4581210..6b781d6 100644
1902--- a/docs/manpages/smbcontrol.1
1903+++ b/docs/manpages/smbcontrol.1
1904@@ -2,12 +2,12 @@
1905 .\" Title: smbcontrol
1906 .\" Author: [see the "AUTHOR" section]
1907 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1908-.\" Date: 03/12/2018
1909+.\" Date: 08/11/2018
1910 .\" Manual: User Commands
1911 .\" Source: Samba 4.7
1912 .\" Language: English
1913 .\"
1914-.TH "SMBCONTROL" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1915+.TH "SMBCONTROL" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1916 .\" -----------------------------------------------------------------
1917 .\" * Define some portability stuff
1918 .\" -----------------------------------------------------------------
1919diff --git a/docs/manpages/smbcquotas.1 b/docs/manpages/smbcquotas.1
1920index b84db6b..f1a2381 100644
1921--- a/docs/manpages/smbcquotas.1
1922+++ b/docs/manpages/smbcquotas.1
1923@@ -2,12 +2,12 @@
1924 .\" Title: smbcquotas
1925 .\" Author: [see the "AUTHOR" section]
1926 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1927-.\" Date: 03/12/2018
1928+.\" Date: 08/11/2018
1929 .\" Manual: User Commands
1930 .\" Source: Samba 4.7
1931 .\" Language: English
1932 .\"
1933-.TH "SMBCQUOTAS" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1934+.TH "SMBCQUOTAS" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1935 .\" -----------------------------------------------------------------
1936 .\" * Define some portability stuff
1937 .\" -----------------------------------------------------------------
1938diff --git a/docs/manpages/smbd.8 b/docs/manpages/smbd.8
1939index 36dc030..a99d5cc 100644
1940--- a/docs/manpages/smbd.8
1941+++ b/docs/manpages/smbd.8
1942@@ -2,12 +2,12 @@
1943 .\" Title: smbd
1944 .\" Author: [see the "AUTHOR" section]
1945 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1946-.\" Date: 03/12/2018
1947+.\" Date: 08/11/2018
1948 .\" Manual: System Administration tools
1949 .\" Source: Samba 4.7
1950 .\" Language: English
1951 .\"
1952-.TH "SMBD" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
1953+.TH "SMBD" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
1954 .\" -----------------------------------------------------------------
1955 .\" * Define some portability stuff
1956 .\" -----------------------------------------------------------------
1957diff --git a/docs/manpages/smbget.1 b/docs/manpages/smbget.1
1958index f9c837d..572a11c 100644
1959--- a/docs/manpages/smbget.1
1960+++ b/docs/manpages/smbget.1
1961@@ -2,12 +2,12 @@
1962 .\" Title: smbget
1963 .\" Author: [see the "AUTHOR" section]
1964 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1965-.\" Date: 03/12/2018
1966+.\" Date: 08/11/2018
1967 .\" Manual: User Commands
1968 .\" Source: Samba 4.7
1969 .\" Language: English
1970 .\"
1971-.TH "SMBGET" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
1972+.TH "SMBGET" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
1973 .\" -----------------------------------------------------------------
1974 .\" * Define some portability stuff
1975 .\" -----------------------------------------------------------------
1976diff --git a/docs/manpages/smbgetrc.5 b/docs/manpages/smbgetrc.5
1977index 1a1dc12..871e67d 100644
1978--- a/docs/manpages/smbgetrc.5
1979+++ b/docs/manpages/smbgetrc.5
1980@@ -2,12 +2,12 @@
1981 .\" Title: smbgetrc
1982 .\" Author: [see the "AUTHOR" section]
1983 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
1984-.\" Date: 03/12/2018
1985+.\" Date: 08/11/2018
1986 .\" Manual: File Formats and Conventions
1987 .\" Source: Samba 4.7
1988 .\" Language: English
1989 .\"
1990-.TH "SMBGETRC" "5" "03/12/2018" "Samba 4\&.7" "File Formats and Conventions"
1991+.TH "SMBGETRC" "5" "08/11/2018" "Samba 4\&.7" "File Formats and Conventions"
1992 .\" -----------------------------------------------------------------
1993 .\" * Define some portability stuff
1994 .\" -----------------------------------------------------------------
1995diff --git a/docs/manpages/smbpasswd.5 b/docs/manpages/smbpasswd.5
1996index 31099ba..b189b62 100644
1997--- a/docs/manpages/smbpasswd.5
1998+++ b/docs/manpages/smbpasswd.5
1999@@ -2,12 +2,12 @@
2000 .\" Title: smbpasswd
2001 .\" Author: [see the "AUTHOR" section]
2002 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2003-.\" Date: 03/12/2018
2004+.\" Date: 08/11/2018
2005 .\" Manual: File Formats and Conventions
2006 .\" Source: Samba 4.7
2007 .\" Language: English
2008 .\"
2009-.TH "SMBPASSWD" "5" "03/12/2018" "Samba 4\&.7" "File Formats and Conventions"
2010+.TH "SMBPASSWD" "5" "08/11/2018" "Samba 4\&.7" "File Formats and Conventions"
2011 .\" -----------------------------------------------------------------
2012 .\" * Define some portability stuff
2013 .\" -----------------------------------------------------------------
2014diff --git a/docs/manpages/smbpasswd.8 b/docs/manpages/smbpasswd.8
2015index e8f2a95..6b3b772 100644
2016--- a/docs/manpages/smbpasswd.8
2017+++ b/docs/manpages/smbpasswd.8
2018@@ -2,12 +2,12 @@
2019 .\" Title: smbpasswd
2020 .\" Author: [see the "AUTHOR" section]
2021 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2022-.\" Date: 03/12/2018
2023+.\" Date: 08/11/2018
2024 .\" Manual: System Administration tools
2025 .\" Source: Samba 4.7
2026 .\" Language: English
2027 .\"
2028-.TH "SMBPASSWD" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2029+.TH "SMBPASSWD" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2030 .\" -----------------------------------------------------------------
2031 .\" * Define some portability stuff
2032 .\" -----------------------------------------------------------------
2033diff --git a/docs/manpages/smbspool.8 b/docs/manpages/smbspool.8
2034index 9157755..242a3fb 100644
2035--- a/docs/manpages/smbspool.8
2036+++ b/docs/manpages/smbspool.8
2037@@ -2,12 +2,12 @@
2038 .\" Title: smbspool
2039 .\" Author: [see the "AUTHOR" section]
2040 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2041-.\" Date: 03/12/2018
2042+.\" Date: 08/11/2018
2043 .\" Manual: System Administration tools
2044 .\" Source: Samba 4.7
2045 .\" Language: English
2046 .\"
2047-.TH "SMBSPOOL" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2048+.TH "SMBSPOOL" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2049 .\" -----------------------------------------------------------------
2050 .\" * Define some portability stuff
2051 .\" -----------------------------------------------------------------
2052diff --git a/docs/manpages/smbspool_krb5_wrapper.8 b/docs/manpages/smbspool_krb5_wrapper.8
2053index 2e0c13c..1f8dc9b 100644
2054--- a/docs/manpages/smbspool_krb5_wrapper.8
2055+++ b/docs/manpages/smbspool_krb5_wrapper.8
2056@@ -2,12 +2,12 @@
2057 .\" Title: smbspool_krb5_wrapper
2058 .\" Author: [see the "AUTHOR" section]
2059 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2060-.\" Date: 03/12/2018
2061+.\" Date: 08/11/2018
2062 .\" Manual: System Administration tools
2063 .\" Source: Samba 4.7
2064 .\" Language: English
2065 .\"
2066-.TH "SMBSPOOL_KRB5_WRAPPE" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2067+.TH "SMBSPOOL_KRB5_WRAPPE" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2068 .\" -----------------------------------------------------------------
2069 .\" * Define some portability stuff
2070 .\" -----------------------------------------------------------------
2071diff --git a/docs/manpages/smbstatus.1 b/docs/manpages/smbstatus.1
2072index 07c3347..340f66f 100644
2073--- a/docs/manpages/smbstatus.1
2074+++ b/docs/manpages/smbstatus.1
2075@@ -2,12 +2,12 @@
2076 .\" Title: smbstatus
2077 .\" Author: [see the "AUTHOR" section]
2078 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2079-.\" Date: 03/12/2018
2080+.\" Date: 08/11/2018
2081 .\" Manual: User Commands
2082 .\" Source: Samba 4.7
2083 .\" Language: English
2084 .\"
2085-.TH "SMBSTATUS" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
2086+.TH "SMBSTATUS" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
2087 .\" -----------------------------------------------------------------
2088 .\" * Define some portability stuff
2089 .\" -----------------------------------------------------------------
2090diff --git a/docs/manpages/smbtar.1 b/docs/manpages/smbtar.1
2091index aa298d8..2cbe047 100644
2092--- a/docs/manpages/smbtar.1
2093+++ b/docs/manpages/smbtar.1
2094@@ -2,12 +2,12 @@
2095 .\" Title: smbtar
2096 .\" Author: [see the "AUTHOR" section]
2097 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2098-.\" Date: 03/12/2018
2099+.\" Date: 08/11/2018
2100 .\" Manual: User Commands
2101 .\" Source: Samba 4.7
2102 .\" Language: English
2103 .\"
2104-.TH "SMBTAR" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
2105+.TH "SMBTAR" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
2106 .\" -----------------------------------------------------------------
2107 .\" * Define some portability stuff
2108 .\" -----------------------------------------------------------------
2109diff --git a/docs/manpages/smbtree.1 b/docs/manpages/smbtree.1
2110index 143b1a5..b3762d5 100644
2111--- a/docs/manpages/smbtree.1
2112+++ b/docs/manpages/smbtree.1
2113@@ -2,12 +2,12 @@
2114 .\" Title: smbtree
2115 .\" Author: [see the "AUTHOR" section]
2116 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2117-.\" Date: 03/12/2018
2118+.\" Date: 08/11/2018
2119 .\" Manual: User Commands
2120 .\" Source: Samba 4.7
2121 .\" Language: English
2122 .\"
2123-.TH "SMBTREE" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
2124+.TH "SMBTREE" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
2125 .\" -----------------------------------------------------------------
2126 .\" * Define some portability stuff
2127 .\" -----------------------------------------------------------------
2128diff --git a/docs/manpages/testparm.1 b/docs/manpages/testparm.1
2129index f239f13..d6e39fd 100644
2130--- a/docs/manpages/testparm.1
2131+++ b/docs/manpages/testparm.1
2132@@ -2,12 +2,12 @@
2133 .\" Title: testparm
2134 .\" Author: [see the "AUTHOR" section]
2135 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2136-.\" Date: 03/12/2018
2137+.\" Date: 08/11/2018
2138 .\" Manual: User Commands
2139 .\" Source: Samba 4.7
2140 .\" Language: English
2141 .\"
2142-.TH "TESTPARM" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
2143+.TH "TESTPARM" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
2144 .\" -----------------------------------------------------------------
2145 .\" * Define some portability stuff
2146 .\" -----------------------------------------------------------------
2147diff --git a/docs/manpages/vfs_acl_tdb.8 b/docs/manpages/vfs_acl_tdb.8
2148index 22365be..318124b 100644
2149--- a/docs/manpages/vfs_acl_tdb.8
2150+++ b/docs/manpages/vfs_acl_tdb.8
2151@@ -2,12 +2,12 @@
2152 .\" Title: vfs_acl_tdb
2153 .\" Author: [see the "AUTHOR" section]
2154 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2155-.\" Date: 03/12/2018
2156+.\" Date: 08/11/2018
2157 .\" Manual: System Administration tools
2158 .\" Source: Samba 4.7
2159 .\" Language: English
2160 .\"
2161-.TH "VFS_ACL_TDB" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2162+.TH "VFS_ACL_TDB" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2163 .\" -----------------------------------------------------------------
2164 .\" * Define some portability stuff
2165 .\" -----------------------------------------------------------------
2166diff --git a/docs/manpages/vfs_acl_xattr.8 b/docs/manpages/vfs_acl_xattr.8
2167index 82d4ee8..d957c52 100644
2168--- a/docs/manpages/vfs_acl_xattr.8
2169+++ b/docs/manpages/vfs_acl_xattr.8
2170@@ -2,12 +2,12 @@
2171 .\" Title: vfs_acl_xattr
2172 .\" Author: [see the "AUTHOR" section]
2173 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2174-.\" Date: 03/12/2018
2175+.\" Date: 08/11/2018
2176 .\" Manual: System Administration tools
2177 .\" Source: Samba 4.7
2178 .\" Language: English
2179 .\"
2180-.TH "VFS_ACL_XATTR" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2181+.TH "VFS_ACL_XATTR" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2182 .\" -----------------------------------------------------------------
2183 .\" * Define some portability stuff
2184 .\" -----------------------------------------------------------------
2185diff --git a/docs/manpages/vfs_aio_fork.8 b/docs/manpages/vfs_aio_fork.8
2186index d26319a..5739c13 100644
2187--- a/docs/manpages/vfs_aio_fork.8
2188+++ b/docs/manpages/vfs_aio_fork.8
2189@@ -2,12 +2,12 @@
2190 .\" Title: vfs_aio_fork
2191 .\" Author: [see the "AUTHOR" section]
2192 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2193-.\" Date: 03/12/2018
2194+.\" Date: 08/11/2018
2195 .\" Manual: System Administration tools
2196 .\" Source: Samba 4.7
2197 .\" Language: English
2198 .\"
2199-.TH "VFS_AIO_FORK" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2200+.TH "VFS_AIO_FORK" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2201 .\" -----------------------------------------------------------------
2202 .\" * Define some portability stuff
2203 .\" -----------------------------------------------------------------
2204diff --git a/docs/manpages/vfs_aio_linux.8 b/docs/manpages/vfs_aio_linux.8
2205index db195fa..27a66aa 100644
2206--- a/docs/manpages/vfs_aio_linux.8
2207+++ b/docs/manpages/vfs_aio_linux.8
2208@@ -2,12 +2,12 @@
2209 .\" Title: vfs_aio_linux
2210 .\" Author: [see the "AUTHOR" section]
2211 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2212-.\" Date: 03/12/2018
2213+.\" Date: 08/11/2018
2214 .\" Manual: System Administration tools
2215 .\" Source: Samba 4.7
2216 .\" Language: English
2217 .\"
2218-.TH "VFS_AIO_LINUX" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2219+.TH "VFS_AIO_LINUX" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2220 .\" -----------------------------------------------------------------
2221 .\" * Define some portability stuff
2222 .\" -----------------------------------------------------------------
2223diff --git a/docs/manpages/vfs_aio_pthread.8 b/docs/manpages/vfs_aio_pthread.8
2224index 5f6025c..569b0c7 100644
2225--- a/docs/manpages/vfs_aio_pthread.8
2226+++ b/docs/manpages/vfs_aio_pthread.8
2227@@ -2,12 +2,12 @@
2228 .\" Title: vfs_aio_pthread
2229 .\" Author: [see the "AUTHOR" section]
2230 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2231-.\" Date: 03/12/2018
2232+.\" Date: 08/11/2018
2233 .\" Manual: System Administration tools
2234 .\" Source: Samba 4.7
2235 .\" Language: English
2236 .\"
2237-.TH "VFS_AIO_PTHREAD" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2238+.TH "VFS_AIO_PTHREAD" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2239 .\" -----------------------------------------------------------------
2240 .\" * Define some portability stuff
2241 .\" -----------------------------------------------------------------
2242diff --git a/docs/manpages/vfs_audit.8 b/docs/manpages/vfs_audit.8
2243index 72be387..d00b132 100644
2244--- a/docs/manpages/vfs_audit.8
2245+++ b/docs/manpages/vfs_audit.8
2246@@ -2,12 +2,12 @@
2247 .\" Title: vfs_audit
2248 .\" Author: [see the "AUTHOR" section]
2249 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2250-.\" Date: 03/12/2018
2251+.\" Date: 08/11/2018
2252 .\" Manual: System Administration tools
2253 .\" Source: Samba 4.7
2254 .\" Language: English
2255 .\"
2256-.TH "VFS_AUDIT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2257+.TH "VFS_AUDIT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2258 .\" -----------------------------------------------------------------
2259 .\" * Define some portability stuff
2260 .\" -----------------------------------------------------------------
2261diff --git a/docs/manpages/vfs_btrfs.8 b/docs/manpages/vfs_btrfs.8
2262index f076453..672a55e 100644
2263--- a/docs/manpages/vfs_btrfs.8
2264+++ b/docs/manpages/vfs_btrfs.8
2265@@ -2,12 +2,12 @@
2266 .\" Title: vfs_btrfs
2267 .\" Author: [see the "AUTHOR" section]
2268 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2269-.\" Date: 03/12/2018
2270+.\" Date: 08/11/2018
2271 .\" Manual: System Administration tools
2272 .\" Source: Samba 4.7
2273 .\" Language: English
2274 .\"
2275-.TH "VFS_BTRFS" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2276+.TH "VFS_BTRFS" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2277 .\" -----------------------------------------------------------------
2278 .\" * Define some portability stuff
2279 .\" -----------------------------------------------------------------
2280diff --git a/docs/manpages/vfs_cacheprime.8 b/docs/manpages/vfs_cacheprime.8
2281index d3cb963..7809550 100644
2282--- a/docs/manpages/vfs_cacheprime.8
2283+++ b/docs/manpages/vfs_cacheprime.8
2284@@ -2,12 +2,12 @@
2285 .\" Title: vfs_cacheprime
2286 .\" Author: [see the "AUTHOR" section]
2287 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2288-.\" Date: 03/12/2018
2289+.\" Date: 08/11/2018
2290 .\" Manual: System Administration tools
2291 .\" Source: Samba 4.7
2292 .\" Language: English
2293 .\"
2294-.TH "VFS_CACHEPRIME" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2295+.TH "VFS_CACHEPRIME" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2296 .\" -----------------------------------------------------------------
2297 .\" * Define some portability stuff
2298 .\" -----------------------------------------------------------------
2299diff --git a/docs/manpages/vfs_cap.8 b/docs/manpages/vfs_cap.8
2300index f5d128d..3b7b10f 100644
2301--- a/docs/manpages/vfs_cap.8
2302+++ b/docs/manpages/vfs_cap.8
2303@@ -2,12 +2,12 @@
2304 .\" Title: vfs_cap
2305 .\" Author: [see the "AUTHOR" section]
2306 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2307-.\" Date: 03/12/2018
2308+.\" Date: 08/11/2018
2309 .\" Manual: System Administration tools
2310 .\" Source: Samba 4.7
2311 .\" Language: English
2312 .\"
2313-.TH "VFS_CAP" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2314+.TH "VFS_CAP" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2315 .\" -----------------------------------------------------------------
2316 .\" * Define some portability stuff
2317 .\" -----------------------------------------------------------------
2318diff --git a/docs/manpages/vfs_catia.8 b/docs/manpages/vfs_catia.8
2319index 2188141..e99ccba 100644
2320--- a/docs/manpages/vfs_catia.8
2321+++ b/docs/manpages/vfs_catia.8
2322@@ -2,12 +2,12 @@
2323 .\" Title: vfs_catia
2324 .\" Author: [see the "AUTHOR" section]
2325 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2326-.\" Date: 03/12/2018
2327+.\" Date: 08/11/2018
2328 .\" Manual: System Administration tools
2329 .\" Source: Samba 4.7
2330 .\" Language: English
2331 .\"
2332-.TH "VFS_CATIA" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2333+.TH "VFS_CATIA" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2334 .\" -----------------------------------------------------------------
2335 .\" * Define some portability stuff
2336 .\" -----------------------------------------------------------------
2337diff --git a/docs/manpages/vfs_ceph.8 b/docs/manpages/vfs_ceph.8
2338index 0b3948d..f654871 100644
2339--- a/docs/manpages/vfs_ceph.8
2340+++ b/docs/manpages/vfs_ceph.8
2341@@ -2,12 +2,12 @@
2342 .\" Title: vfs_ceph
2343 .\" Author: [see the "AUTHOR" section]
2344 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2345-.\" Date: 03/12/2018
2346+.\" Date: 08/11/2018
2347 .\" Manual: System Administration tools
2348 .\" Source: Samba 4.7
2349 .\" Language: English
2350 .\"
2351-.TH "VFS_CEPH" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2352+.TH "VFS_CEPH" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2353 .\" -----------------------------------------------------------------
2354 .\" * Define some portability stuff
2355 .\" -----------------------------------------------------------------
2356diff --git a/docs/manpages/vfs_commit.8 b/docs/manpages/vfs_commit.8
2357index 9251c77..fc18d69 100644
2358--- a/docs/manpages/vfs_commit.8
2359+++ b/docs/manpages/vfs_commit.8
2360@@ -2,12 +2,12 @@
2361 .\" Title: vfs_commit
2362 .\" Author: [see the "AUTHOR" section]
2363 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2364-.\" Date: 03/12/2018
2365+.\" Date: 08/11/2018
2366 .\" Manual: System Administration tools
2367 .\" Source: Samba 4.7
2368 .\" Language: English
2369 .\"
2370-.TH "VFS_COMMIT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2371+.TH "VFS_COMMIT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2372 .\" -----------------------------------------------------------------
2373 .\" * Define some portability stuff
2374 .\" -----------------------------------------------------------------
2375diff --git a/docs/manpages/vfs_crossrename.8 b/docs/manpages/vfs_crossrename.8
2376index df99432..0ea96c5 100644
2377--- a/docs/manpages/vfs_crossrename.8
2378+++ b/docs/manpages/vfs_crossrename.8
2379@@ -2,12 +2,12 @@
2380 .\" Title: vfs_crossrename
2381 .\" Author: [see the "AUTHOR" section]
2382 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2383-.\" Date: 03/12/2018
2384+.\" Date: 08/11/2018
2385 .\" Manual: System Administration tools
2386 .\" Source: Samba 4.7
2387 .\" Language: English
2388 .\"
2389-.TH "VFS_CROSSRENAME" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2390+.TH "VFS_CROSSRENAME" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2391 .\" -----------------------------------------------------------------
2392 .\" * Define some portability stuff
2393 .\" -----------------------------------------------------------------
2394diff --git a/docs/manpages/vfs_default_quota.8 b/docs/manpages/vfs_default_quota.8
2395index c4ed338..b3a8b2e 100644
2396--- a/docs/manpages/vfs_default_quota.8
2397+++ b/docs/manpages/vfs_default_quota.8
2398@@ -2,12 +2,12 @@
2399 .\" Title: vfs_default_quota
2400 .\" Author: [see the "AUTHOR" section]
2401 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2402-.\" Date: 03/12/2018
2403+.\" Date: 08/11/2018
2404 .\" Manual: System Administration tools
2405 .\" Source: Samba 4.7
2406 .\" Language: English
2407 .\"
2408-.TH "VFS_DEFAULT_QUOTA" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2409+.TH "VFS_DEFAULT_QUOTA" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2410 .\" -----------------------------------------------------------------
2411 .\" * Define some portability stuff
2412 .\" -----------------------------------------------------------------
2413diff --git a/docs/manpages/vfs_dirsort.8 b/docs/manpages/vfs_dirsort.8
2414index 5cef31f..1c7de5f 100644
2415--- a/docs/manpages/vfs_dirsort.8
2416+++ b/docs/manpages/vfs_dirsort.8
2417@@ -2,12 +2,12 @@
2418 .\" Title: vfs_dirsort
2419 .\" Author: [see the "AUTHOR" section]
2420 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2421-.\" Date: 03/12/2018
2422+.\" Date: 08/11/2018
2423 .\" Manual: System Administration tools
2424 .\" Source: Samba 4.7
2425 .\" Language: English
2426 .\"
2427-.TH "VFS_DIRSORT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2428+.TH "VFS_DIRSORT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2429 .\" -----------------------------------------------------------------
2430 .\" * Define some portability stuff
2431 .\" -----------------------------------------------------------------
2432diff --git a/docs/manpages/vfs_extd_audit.8 b/docs/manpages/vfs_extd_audit.8
2433index 3ec17e6..b0a8932 100644
2434--- a/docs/manpages/vfs_extd_audit.8
2435+++ b/docs/manpages/vfs_extd_audit.8
2436@@ -2,12 +2,12 @@
2437 .\" Title: vfs_extd_audit
2438 .\" Author: [see the "AUTHOR" section]
2439 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2440-.\" Date: 03/12/2018
2441+.\" Date: 08/11/2018
2442 .\" Manual: System Administration tools
2443 .\" Source: Samba 4.7
2444 .\" Language: English
2445 .\"
2446-.TH "VFS_EXTD_AUDIT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2447+.TH "VFS_EXTD_AUDIT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2448 .\" -----------------------------------------------------------------
2449 .\" * Define some portability stuff
2450 .\" -----------------------------------------------------------------
2451diff --git a/docs/manpages/vfs_fake_perms.8 b/docs/manpages/vfs_fake_perms.8
2452index aa1ef53..77ca27b 100644
2453--- a/docs/manpages/vfs_fake_perms.8
2454+++ b/docs/manpages/vfs_fake_perms.8
2455@@ -2,12 +2,12 @@
2456 .\" Title: vfs_fake_perms
2457 .\" Author: [see the "AUTHOR" section]
2458 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2459-.\" Date: 03/12/2018
2460+.\" Date: 08/11/2018
2461 .\" Manual: System Administration tools
2462 .\" Source: Samba 4.7
2463 .\" Language: English
2464 .\"
2465-.TH "VFS_FAKE_PERMS" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2466+.TH "VFS_FAKE_PERMS" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2467 .\" -----------------------------------------------------------------
2468 .\" * Define some portability stuff
2469 .\" -----------------------------------------------------------------
2470diff --git a/docs/manpages/vfs_fileid.8 b/docs/manpages/vfs_fileid.8
2471index d3af320..ca5a189 100644
2472--- a/docs/manpages/vfs_fileid.8
2473+++ b/docs/manpages/vfs_fileid.8
2474@@ -2,12 +2,12 @@
2475 .\" Title: vfs_fileid
2476 .\" Author: [see the "AUTHOR" section]
2477 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2478-.\" Date: 03/12/2018
2479+.\" Date: 08/11/2018
2480 .\" Manual: System Administration tools
2481 .\" Source: Samba 4.7
2482 .\" Language: English
2483 .\"
2484-.TH "VFS_FILEID" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2485+.TH "VFS_FILEID" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2486 .\" -----------------------------------------------------------------
2487 .\" * Define some portability stuff
2488 .\" -----------------------------------------------------------------
2489diff --git a/docs/manpages/vfs_fruit.8 b/docs/manpages/vfs_fruit.8
2490index 9a500d1..62e7bb0 100644
2491--- a/docs/manpages/vfs_fruit.8
2492+++ b/docs/manpages/vfs_fruit.8
2493@@ -2,12 +2,12 @@
2494 .\" Title: vfs_fruit
2495 .\" Author: [see the "AUTHOR" section]
2496 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2497-.\" Date: 03/12/2018
2498+.\" Date: 08/11/2018
2499 .\" Manual: System Administration tools
2500 .\" Source: Samba 4.7
2501 .\" Language: English
2502 .\"
2503-.TH "VFS_FRUIT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2504+.TH "VFS_FRUIT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2505 .\" -----------------------------------------------------------------
2506 .\" * Define some portability stuff
2507 .\" -----------------------------------------------------------------
2508diff --git a/docs/manpages/vfs_full_audit.8 b/docs/manpages/vfs_full_audit.8
2509index cc3388b..796f03c 100644
2510--- a/docs/manpages/vfs_full_audit.8
2511+++ b/docs/manpages/vfs_full_audit.8
2512@@ -2,12 +2,12 @@
2513 .\" Title: vfs_full_audit
2514 .\" Author: [see the "AUTHOR" section]
2515 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2516-.\" Date: 03/12/2018
2517+.\" Date: 08/11/2018
2518 .\" Manual: System Administration tools
2519 .\" Source: Samba 4.7
2520 .\" Language: English
2521 .\"
2522-.TH "VFS_FULL_AUDIT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2523+.TH "VFS_FULL_AUDIT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2524 .\" -----------------------------------------------------------------
2525 .\" * Define some portability stuff
2526 .\" -----------------------------------------------------------------
2527diff --git a/docs/manpages/vfs_glusterfs.8 b/docs/manpages/vfs_glusterfs.8
2528index 6fe699f..539ec5d 100644
2529--- a/docs/manpages/vfs_glusterfs.8
2530+++ b/docs/manpages/vfs_glusterfs.8
2531@@ -2,12 +2,12 @@
2532 .\" Title: vfs_glusterfs
2533 .\" Author: [see the "AUTHOR" section]
2534 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2535-.\" Date: 03/12/2018
2536+.\" Date: 08/11/2018
2537 .\" Manual: System Administration tools
2538 .\" Source: Samba 4.7
2539 .\" Language: English
2540 .\"
2541-.TH "VFS_GLUSTERFS" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2542+.TH "VFS_GLUSTERFS" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2543 .\" -----------------------------------------------------------------
2544 .\" * Define some portability stuff
2545 .\" -----------------------------------------------------------------
2546diff --git a/docs/manpages/vfs_gpfs.8 b/docs/manpages/vfs_gpfs.8
2547index 7ddc285..eb41b76 100644
2548--- a/docs/manpages/vfs_gpfs.8
2549+++ b/docs/manpages/vfs_gpfs.8
2550@@ -2,12 +2,12 @@
2551 .\" Title: vfs_gpfs
2552 .\" Author: [see the "AUTHOR" section]
2553 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2554-.\" Date: 03/12/2018
2555+.\" Date: 08/11/2018
2556 .\" Manual: System Administration tools
2557 .\" Source: Samba 4.7
2558 .\" Language: English
2559 .\"
2560-.TH "VFS_GPFS" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2561+.TH "VFS_GPFS" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2562 .\" -----------------------------------------------------------------
2563 .\" * Define some portability stuff
2564 .\" -----------------------------------------------------------------
2565diff --git a/docs/manpages/vfs_linux_xfs_sgid.8 b/docs/manpages/vfs_linux_xfs_sgid.8
2566index 07d7580..fce2e30 100644
2567--- a/docs/manpages/vfs_linux_xfs_sgid.8
2568+++ b/docs/manpages/vfs_linux_xfs_sgid.8
2569@@ -2,12 +2,12 @@
2570 .\" Title: vfs_syncops
2571 .\" Author: [see the "AUTHOR" section]
2572 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2573-.\" Date: 03/12/2018
2574+.\" Date: 08/11/2018
2575 .\" Manual: System Administration tools
2576 .\" Source: Samba 4.7
2577 .\" Language: English
2578 .\"
2579-.TH "VFS_SYNCOPS" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2580+.TH "VFS_SYNCOPS" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2581 .\" -----------------------------------------------------------------
2582 .\" * Define some portability stuff
2583 .\" -----------------------------------------------------------------
2584diff --git a/docs/manpages/vfs_media_harmony.8 b/docs/manpages/vfs_media_harmony.8
2585index 629dac1..a2731cb 100644
2586--- a/docs/manpages/vfs_media_harmony.8
2587+++ b/docs/manpages/vfs_media_harmony.8
2588@@ -2,12 +2,12 @@
2589 .\" Title: vfs_media_harmony
2590 .\" Author: [see the "AUTHOR" section]
2591 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2592-.\" Date: 03/12/2018
2593+.\" Date: 08/11/2018
2594 .\" Manual: System Administration tools
2595 .\" Source: Samba 4.7
2596 .\" Language: English
2597 .\"
2598-.TH "VFS_MEDIA_HARMONY" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2599+.TH "VFS_MEDIA_HARMONY" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2600 .\" -----------------------------------------------------------------
2601 .\" * Define some portability stuff
2602 .\" -----------------------------------------------------------------
2603diff --git a/docs/manpages/vfs_netatalk.8 b/docs/manpages/vfs_netatalk.8
2604index 821d596..00d5cec 100644
2605--- a/docs/manpages/vfs_netatalk.8
2606+++ b/docs/manpages/vfs_netatalk.8
2607@@ -2,12 +2,12 @@
2608 .\" Title: vfs_netatalk
2609 .\" Author: [see the "AUTHOR" section]
2610 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2611-.\" Date: 03/12/2018
2612+.\" Date: 08/11/2018
2613 .\" Manual: System Administration tools
2614 .\" Source: Samba 4.7
2615 .\" Language: English
2616 .\"
2617-.TH "VFS_NETATALK" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2618+.TH "VFS_NETATALK" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2619 .\" -----------------------------------------------------------------
2620 .\" * Define some portability stuff
2621 .\" -----------------------------------------------------------------
2622diff --git a/docs/manpages/vfs_offline.8 b/docs/manpages/vfs_offline.8
2623index 340fa8b..a6cfe9d 100644
2624--- a/docs/manpages/vfs_offline.8
2625+++ b/docs/manpages/vfs_offline.8
2626@@ -2,12 +2,12 @@
2627 .\" Title: vfs_offline
2628 .\" Author: [see the "AUTHOR" section]
2629 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2630-.\" Date: 03/12/2018
2631+.\" Date: 08/11/2018
2632 .\" Manual: System Administration tools
2633 .\" Source: Samba 4.7
2634 .\" Language: English
2635 .\"
2636-.TH "VFS_OFFLINE" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2637+.TH "VFS_OFFLINE" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2638 .\" -----------------------------------------------------------------
2639 .\" * Define some portability stuff
2640 .\" -----------------------------------------------------------------
2641diff --git a/docs/manpages/vfs_prealloc.8 b/docs/manpages/vfs_prealloc.8
2642index 2ad22b2..0e0679c 100644
2643--- a/docs/manpages/vfs_prealloc.8
2644+++ b/docs/manpages/vfs_prealloc.8
2645@@ -2,12 +2,12 @@
2646 .\" Title: vfs_prealloc
2647 .\" Author: [see the "AUTHOR" section]
2648 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2649-.\" Date: 03/12/2018
2650+.\" Date: 08/11/2018
2651 .\" Manual: System Administration tools
2652 .\" Source: Samba 4.7
2653 .\" Language: English
2654 .\"
2655-.TH "VFS_PREALLOC" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2656+.TH "VFS_PREALLOC" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2657 .\" -----------------------------------------------------------------
2658 .\" * Define some portability stuff
2659 .\" -----------------------------------------------------------------
2660diff --git a/docs/manpages/vfs_preopen.8 b/docs/manpages/vfs_preopen.8
2661index 0731345..d7f3496 100644
2662--- a/docs/manpages/vfs_preopen.8
2663+++ b/docs/manpages/vfs_preopen.8
2664@@ -2,12 +2,12 @@
2665 .\" Title: vfs_preopen
2666 .\" Author: [see the "AUTHOR" section]
2667 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2668-.\" Date: 03/12/2018
2669+.\" Date: 08/11/2018
2670 .\" Manual: System Administration tools
2671 .\" Source: Samba 4.7
2672 .\" Language: English
2673 .\"
2674-.TH "VFS_PREOPEN" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2675+.TH "VFS_PREOPEN" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2676 .\" -----------------------------------------------------------------
2677 .\" * Define some portability stuff
2678 .\" -----------------------------------------------------------------
2679diff --git a/docs/manpages/vfs_readahead.8 b/docs/manpages/vfs_readahead.8
2680index a5aaeb5..85f5836 100644
2681--- a/docs/manpages/vfs_readahead.8
2682+++ b/docs/manpages/vfs_readahead.8
2683@@ -2,12 +2,12 @@
2684 .\" Title: vfs_readahead
2685 .\" Author: [see the "AUTHOR" section]
2686 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2687-.\" Date: 03/12/2018
2688+.\" Date: 08/11/2018
2689 .\" Manual: System Administration tools
2690 .\" Source: Samba 4.7
2691 .\" Language: English
2692 .\"
2693-.TH "VFS_READAHEAD" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2694+.TH "VFS_READAHEAD" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2695 .\" -----------------------------------------------------------------
2696 .\" * Define some portability stuff
2697 .\" -----------------------------------------------------------------
2698diff --git a/docs/manpages/vfs_readonly.8 b/docs/manpages/vfs_readonly.8
2699index dd4a290..530e8f0 100644
2700--- a/docs/manpages/vfs_readonly.8
2701+++ b/docs/manpages/vfs_readonly.8
2702@@ -2,12 +2,12 @@
2703 .\" Title: vfs_readonly
2704 .\" Author: [see the "AUTHOR" section]
2705 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2706-.\" Date: 03/12/2018
2707+.\" Date: 08/11/2018
2708 .\" Manual: System Administration tools
2709 .\" Source: Samba 4.7
2710 .\" Language: English
2711 .\"
2712-.TH "VFS_READONLY" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2713+.TH "VFS_READONLY" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2714 .\" -----------------------------------------------------------------
2715 .\" * Define some portability stuff
2716 .\" -----------------------------------------------------------------
2717diff --git a/docs/manpages/vfs_recycle.8 b/docs/manpages/vfs_recycle.8
2718index 956a3db..93c4397 100644
2719--- a/docs/manpages/vfs_recycle.8
2720+++ b/docs/manpages/vfs_recycle.8
2721@@ -2,12 +2,12 @@
2722 .\" Title: vfs_recycle
2723 .\" Author: [see the "AUTHOR" section]
2724 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2725-.\" Date: 03/12/2018
2726+.\" Date: 08/11/2018
2727 .\" Manual: System Administration tools
2728 .\" Source: Samba 4.7
2729 .\" Language: English
2730 .\"
2731-.TH "VFS_RECYCLE" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2732+.TH "VFS_RECYCLE" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2733 .\" -----------------------------------------------------------------
2734 .\" * Define some portability stuff
2735 .\" -----------------------------------------------------------------
2736diff --git a/docs/manpages/vfs_shadow_copy.8 b/docs/manpages/vfs_shadow_copy.8
2737index 8f036cb..c179e13 100644
2738--- a/docs/manpages/vfs_shadow_copy.8
2739+++ b/docs/manpages/vfs_shadow_copy.8
2740@@ -2,12 +2,12 @@
2741 .\" Title: vfs_shadow_copy
2742 .\" Author: [see the "AUTHOR" section]
2743 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2744-.\" Date: 03/12/2018
2745+.\" Date: 08/11/2018
2746 .\" Manual: System Administration tools
2747 .\" Source: Samba 4.7
2748 .\" Language: English
2749 .\"
2750-.TH "VFS_SHADOW_COPY" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2751+.TH "VFS_SHADOW_COPY" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2752 .\" -----------------------------------------------------------------
2753 .\" * Define some portability stuff
2754 .\" -----------------------------------------------------------------
2755diff --git a/docs/manpages/vfs_shadow_copy2.8 b/docs/manpages/vfs_shadow_copy2.8
2756index d3431c0..03729ad 100644
2757--- a/docs/manpages/vfs_shadow_copy2.8
2758+++ b/docs/manpages/vfs_shadow_copy2.8
2759@@ -2,12 +2,12 @@
2760 .\" Title: vfs_shadow_copy2
2761 .\" Author: [see the "AUTHOR" section]
2762 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2763-.\" Date: 03/12/2018
2764+.\" Date: 08/11/2018
2765 .\" Manual: System Administration tools
2766 .\" Source: Samba 4.7
2767 .\" Language: English
2768 .\"
2769-.TH "VFS_SHADOW_COPY2" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2770+.TH "VFS_SHADOW_COPY2" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2771 .\" -----------------------------------------------------------------
2772 .\" * Define some portability stuff
2773 .\" -----------------------------------------------------------------
2774diff --git a/docs/manpages/vfs_shell_snap.8 b/docs/manpages/vfs_shell_snap.8
2775index cf838d9..96b4199 100644
2776--- a/docs/manpages/vfs_shell_snap.8
2777+++ b/docs/manpages/vfs_shell_snap.8
2778@@ -2,12 +2,12 @@
2779 .\" Title: vfs_shell_snap
2780 .\" Author: [see the "AUTHOR" section]
2781 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2782-.\" Date: 03/12/2018
2783+.\" Date: 08/11/2018
2784 .\" Manual: System Administration tools
2785 .\" Source: Samba 4.7
2786 .\" Language: English
2787 .\"
2788-.TH "VFS_SHELL_SNAP" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2789+.TH "VFS_SHELL_SNAP" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2790 .\" -----------------------------------------------------------------
2791 .\" * Define some portability stuff
2792 .\" -----------------------------------------------------------------
2793diff --git a/docs/manpages/vfs_snapper.8 b/docs/manpages/vfs_snapper.8
2794index 936d042..a3c313e 100644
2795--- a/docs/manpages/vfs_snapper.8
2796+++ b/docs/manpages/vfs_snapper.8
2797@@ -2,12 +2,12 @@
2798 .\" Title: vfs_snapper
2799 .\" Author: [see the "AUTHOR" section]
2800 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2801-.\" Date: 03/12/2018
2802+.\" Date: 08/11/2018
2803 .\" Manual: System Administration tools
2804 .\" Source: Samba 4.7
2805 .\" Language: English
2806 .\"
2807-.TH "VFS_SNAPPER" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2808+.TH "VFS_SNAPPER" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2809 .\" -----------------------------------------------------------------
2810 .\" * Define some portability stuff
2811 .\" -----------------------------------------------------------------
2812diff --git a/docs/manpages/vfs_streams_depot.8 b/docs/manpages/vfs_streams_depot.8
2813index 95f49c8..d74a488 100644
2814--- a/docs/manpages/vfs_streams_depot.8
2815+++ b/docs/manpages/vfs_streams_depot.8
2816@@ -2,12 +2,12 @@
2817 .\" Title: vfs_streams_depot
2818 .\" Author: [see the "AUTHOR" section]
2819 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2820-.\" Date: 03/12/2018
2821+.\" Date: 08/11/2018
2822 .\" Manual: System Administration tools
2823 .\" Source: Samba 4.7
2824 .\" Language: English
2825 .\"
2826-.TH "VFS_STREAMS_DEPOT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2827+.TH "VFS_STREAMS_DEPOT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2828 .\" -----------------------------------------------------------------
2829 .\" * Define some portability stuff
2830 .\" -----------------------------------------------------------------
2831diff --git a/docs/manpages/vfs_streams_xattr.8 b/docs/manpages/vfs_streams_xattr.8
2832index 1a4bc86..6b05f3a 100644
2833--- a/docs/manpages/vfs_streams_xattr.8
2834+++ b/docs/manpages/vfs_streams_xattr.8
2835@@ -2,12 +2,12 @@
2836 .\" Title: vfs_streams_xattr
2837 .\" Author: [see the "AUTHOR" section]
2838 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2839-.\" Date: 03/12/2018
2840+.\" Date: 08/11/2018
2841 .\" Manual: System Administration tools
2842 .\" Source: Samba 4.7
2843 .\" Language: English
2844 .\"
2845-.TH "VFS_STREAMS_XATTR" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2846+.TH "VFS_STREAMS_XATTR" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2847 .\" -----------------------------------------------------------------
2848 .\" * Define some portability stuff
2849 .\" -----------------------------------------------------------------
2850diff --git a/docs/manpages/vfs_syncops.8 b/docs/manpages/vfs_syncops.8
2851index e5ebc7c..2de9a09 100644
2852--- a/docs/manpages/vfs_syncops.8
2853+++ b/docs/manpages/vfs_syncops.8
2854@@ -2,12 +2,12 @@
2855 .\" Title: vfs_syncops
2856 .\" Author: [see the "AUTHOR" section]
2857 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2858-.\" Date: 03/12/2018
2859+.\" Date: 08/11/2018
2860 .\" Manual: System Administration tools
2861 .\" Source: Samba 4.7
2862 .\" Language: English
2863 .\"
2864-.TH "VFS_SYNCOPS" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2865+.TH "VFS_SYNCOPS" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2866 .\" -----------------------------------------------------------------
2867 .\" * Define some portability stuff
2868 .\" -----------------------------------------------------------------
2869diff --git a/docs/manpages/vfs_time_audit.8 b/docs/manpages/vfs_time_audit.8
2870index de3deab..2f712b9 100644
2871--- a/docs/manpages/vfs_time_audit.8
2872+++ b/docs/manpages/vfs_time_audit.8
2873@@ -2,12 +2,12 @@
2874 .\" Title: vfs_time_audit
2875 .\" Author: [see the "AUTHOR" section]
2876 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2877-.\" Date: 03/12/2018
2878+.\" Date: 08/11/2018
2879 .\" Manual: System Administration tools
2880 .\" Source: Samba 4.7
2881 .\" Language: English
2882 .\"
2883-.TH "VFS_TIME_AUDIT" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2884+.TH "VFS_TIME_AUDIT" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2885 .\" -----------------------------------------------------------------
2886 .\" * Define some portability stuff
2887 .\" -----------------------------------------------------------------
2888diff --git a/docs/manpages/vfs_tsmsm.8 b/docs/manpages/vfs_tsmsm.8
2889index b6ab847..88fa69c 100644
2890--- a/docs/manpages/vfs_tsmsm.8
2891+++ b/docs/manpages/vfs_tsmsm.8
2892@@ -2,12 +2,12 @@
2893 .\" Title: vfs_tsmsm
2894 .\" Author: [see the "AUTHOR" section]
2895 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2896-.\" Date: 03/12/2018
2897+.\" Date: 08/11/2018
2898 .\" Manual: System Administration tools
2899 .\" Source: Samba 4.7
2900 .\" Language: English
2901 .\"
2902-.TH "VFS_TSMSM" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2903+.TH "VFS_TSMSM" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2904 .\" -----------------------------------------------------------------
2905 .\" * Define some portability stuff
2906 .\" -----------------------------------------------------------------
2907diff --git a/docs/manpages/vfs_unityed_media.8 b/docs/manpages/vfs_unityed_media.8
2908index de2bcf7..2644fd9 100644
2909--- a/docs/manpages/vfs_unityed_media.8
2910+++ b/docs/manpages/vfs_unityed_media.8
2911@@ -2,12 +2,12 @@
2912 .\" Title: vfs_unityed_media
2913 .\" Author: [see the "AUTHOR" section]
2914 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2915-.\" Date: 03/12/2018
2916+.\" Date: 08/11/2018
2917 .\" Manual: System Administration tools
2918 .\" Source: Samba 4.7
2919 .\" Language: English
2920 .\"
2921-.TH "VFS_UNITYED_MEDIA" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2922+.TH "VFS_UNITYED_MEDIA" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2923 .\" -----------------------------------------------------------------
2924 .\" * Define some portability stuff
2925 .\" -----------------------------------------------------------------
2926diff --git a/docs/manpages/vfs_worm.8 b/docs/manpages/vfs_worm.8
2927index a732310..44e384c 100644
2928--- a/docs/manpages/vfs_worm.8
2929+++ b/docs/manpages/vfs_worm.8
2930@@ -2,12 +2,12 @@
2931 .\" Title: vfs_worm
2932 .\" Author: [see the "AUTHOR" section]
2933 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2934-.\" Date: 03/12/2018
2935+.\" Date: 08/11/2018
2936 .\" Manual: System Administration tools
2937 .\" Source: Samba 4.7
2938 .\" Language: English
2939 .\"
2940-.TH "VFS_WORM" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2941+.TH "VFS_WORM" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2942 .\" -----------------------------------------------------------------
2943 .\" * Define some portability stuff
2944 .\" -----------------------------------------------------------------
2945diff --git a/docs/manpages/vfs_xattr_tdb.8 b/docs/manpages/vfs_xattr_tdb.8
2946index bfca2b0..5931c5a 100644
2947--- a/docs/manpages/vfs_xattr_tdb.8
2948+++ b/docs/manpages/vfs_xattr_tdb.8
2949@@ -2,12 +2,12 @@
2950 .\" Title: vfs_xattr_tdb
2951 .\" Author: [see the "AUTHOR" section]
2952 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2953-.\" Date: 03/12/2018
2954+.\" Date: 08/11/2018
2955 .\" Manual: System Administration tools
2956 .\" Source: Samba 4.7
2957 .\" Language: English
2958 .\"
2959-.TH "VFS_XATTR_TDB" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2960+.TH "VFS_XATTR_TDB" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2961 .\" -----------------------------------------------------------------
2962 .\" * Define some portability stuff
2963 .\" -----------------------------------------------------------------
2964diff --git a/docs/manpages/vfs_zfsacl.8 b/docs/manpages/vfs_zfsacl.8
2965index 4bc43f0..c4b7ee8 100644
2966--- a/docs/manpages/vfs_zfsacl.8
2967+++ b/docs/manpages/vfs_zfsacl.8
2968@@ -2,12 +2,12 @@
2969 .\" Title: vfs_zfsacl
2970 .\" Author: [see the "AUTHOR" section]
2971 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2972-.\" Date: 03/12/2018
2973+.\" Date: 08/11/2018
2974 .\" Manual: System Administration tools
2975 .\" Source: Samba 4.7
2976 .\" Language: English
2977 .\"
2978-.TH "VFS_ZFSACL" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
2979+.TH "VFS_ZFSACL" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
2980 .\" -----------------------------------------------------------------
2981 .\" * Define some portability stuff
2982 .\" -----------------------------------------------------------------
2983diff --git a/docs/manpages/vfstest.1 b/docs/manpages/vfstest.1
2984index ca5adbf..0f9cdf7 100644
2985--- a/docs/manpages/vfstest.1
2986+++ b/docs/manpages/vfstest.1
2987@@ -2,12 +2,12 @@
2988 .\" Title: vfstest
2989 .\" Author: [see the "AUTHOR" section]
2990 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2991-.\" Date: 03/12/2018
2992+.\" Date: 08/11/2018
2993 .\" Manual: User Commands
2994 .\" Source: Samba 4.7
2995 .\" Language: English
2996 .\"
2997-.TH "VFSTEST" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
2998+.TH "VFSTEST" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
2999 .\" -----------------------------------------------------------------
3000 .\" * Define some portability stuff
3001 .\" -----------------------------------------------------------------
3002diff --git a/docs/manpages/wbinfo.1 b/docs/manpages/wbinfo.1
3003index eb917a8..71edaf4 100644
3004--- a/docs/manpages/wbinfo.1
3005+++ b/docs/manpages/wbinfo.1
3006@@ -2,12 +2,12 @@
3007 .\" Title: wbinfo
3008 .\" Author: [see the "AUTHOR" section]
3009 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
3010-.\" Date: 03/12/2018
3011+.\" Date: 08/11/2018
3012 .\" Manual: User Commands
3013 .\" Source: Samba 4.7
3014 .\" Language: English
3015 .\"
3016-.TH "WBINFO" "1" "03/12/2018" "Samba 4\&.7" "User Commands"
3017+.TH "WBINFO" "1" "08/11/2018" "Samba 4\&.7" "User Commands"
3018 .\" -----------------------------------------------------------------
3019 .\" * Define some portability stuff
3020 .\" -----------------------------------------------------------------
3021diff --git a/docs/manpages/winbind_krb5_locator.7 b/docs/manpages/winbind_krb5_locator.7
3022index cb1c213..9cbc1e6 100644
3023--- a/docs/manpages/winbind_krb5_locator.7
3024+++ b/docs/manpages/winbind_krb5_locator.7
3025@@ -2,12 +2,12 @@
3026 .\" Title: winbind_krb5_locator
3027 .\" Author: [see the "AUTHOR" section]
3028 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
3029-.\" Date: 03/12/2018
3030+.\" Date: 08/11/2018
3031 .\" Manual: 7
3032 .\" Source: Samba 4.7
3033 .\" Language: English
3034 .\"
3035-.TH "WINBIND_KRB5_LOCATOR" "7" "03/12/2018" "Samba 4\&.7" "7"
3036+.TH "WINBIND_KRB5_LOCATOR" "7" "08/11/2018" "Samba 4\&.7" "7"
3037 .\" -----------------------------------------------------------------
3038 .\" * Define some portability stuff
3039 .\" -----------------------------------------------------------------
3040diff --git a/docs/manpages/winbindd.8 b/docs/manpages/winbindd.8
3041index 9be021b..aa07467 100644
3042--- a/docs/manpages/winbindd.8
3043+++ b/docs/manpages/winbindd.8
3044@@ -2,12 +2,12 @@
3045 .\" Title: winbindd
3046 .\" Author: [see the "AUTHOR" section]
3047 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
3048-.\" Date: 03/12/2018
3049+.\" Date: 08/11/2018
3050 .\" Manual: System Administration tools
3051 .\" Source: Samba 4.7
3052 .\" Language: English
3053 .\"
3054-.TH "WINBINDD" "8" "03/12/2018" "Samba 4\&.7" "System Administration tools"
3055+.TH "WINBINDD" "8" "08/11/2018" "Samba 4\&.7" "System Administration tools"
3056 .\" -----------------------------------------------------------------
3057 .\" * Define some portability stuff
3058 .\" -----------------------------------------------------------------
3059diff --git a/lib/async_req/async_connect_send_test.c b/lib/async_req/async_connect_send_test.c
3060index 34ea6b7..d570c60 100644
3061--- a/lib/async_req/async_connect_send_test.c
3062+++ b/lib/async_req/async_connect_send_test.c
3063@@ -17,7 +17,7 @@
3064 */
3065
3066 #include "replace.h"
3067-#include "lib/tevent/tevent.h"
3068+#include <tevent.h>
3069 #include "lib/async_req/async_sock.h"
3070 #include <stdio.h>
3071 #include <string.h>
3072diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c
3073index db3916e..0a8a333 100644
3074--- a/lib/async_req/async_sock.c
3075+++ b/lib/async_req/async_sock.c
3076@@ -738,6 +738,7 @@ static void accept_handler(struct tevent_context *ev, struct tevent_fd *fde,
3077 tevent_req_error(req, errno);
3078 return;
3079 }
3080+ smb_set_close_on_exec(ret);
3081 state->sock = ret;
3082 tevent_req_done(req);
3083 }
3084diff --git a/lib/crypto/aes.c b/lib/crypto/aes.c
3085index c226ac1..d16d715 100644
3086--- a/lib/crypto/aes.c
3087+++ b/lib/crypto/aes.c
3088@@ -66,22 +66,6 @@ static bool has_intel_aes_instructions(void)
3089 return (bool)has_aes_instructions;
3090 }
3091
3092- __cpuid(cpuid_results, 0);
3093- /*
3094- * MSB LSB
3095- * EBX = 'u' 'n' 'e' 'G'
3096- * EDX = 'I' 'e' 'n' 'i'
3097- * ECX = 'l' 'e' 't' 'n'
3098- */
3099- if (memcmp((unsigned char *)&cpuid_results[1], "Genu", 4) != 0 ||
3100- memcmp((unsigned char *)&cpuid_results[3],
3101- "ineI", 4) != 0 ||
3102- memcmp((unsigned char *)&cpuid_results[2],
3103- "ntel", 4) != 0) {
3104- has_aes_instructions = 0;
3105- return (bool)has_aes_instructions;
3106- }
3107-
3108 __cpuid(cpuid_results, 1);
3109 has_aes_instructions = !!(cpuid_results[2] & (1 << 25));
3110 return (bool)has_aes_instructions;
3111diff --git a/lib/tevent/ABI/tevent-0.9.35.sigs b/lib/tevent/ABI/tevent-0.9.35.sigs
3112new file mode 100644
3113index 0000000..7a6a236
3114--- /dev/null
3115+++ b/lib/tevent/ABI/tevent-0.9.35.sigs
3116@@ -0,0 +1,99 @@
3117+_tevent_add_fd: struct tevent_fd *(struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *)
3118+_tevent_add_signal: struct tevent_signal *(struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *)
3119+_tevent_add_timer: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
3120+_tevent_create_immediate: struct tevent_immediate *(TALLOC_CTX *, const char *)
3121+_tevent_loop_once: int (struct tevent_context *, const char *)
3122+_tevent_loop_until: int (struct tevent_context *, bool (*)(void *), void *, const char *)
3123+_tevent_loop_wait: int (struct tevent_context *, const char *)
3124+_tevent_queue_create: struct tevent_queue *(TALLOC_CTX *, const char *, const char *)
3125+_tevent_req_callback_data: void *(struct tevent_req *)
3126+_tevent_req_cancel: bool (struct tevent_req *, const char *)
3127+_tevent_req_create: struct tevent_req *(TALLOC_CTX *, void *, size_t, const char *, const char *)
3128+_tevent_req_data: void *(struct tevent_req *)
3129+_tevent_req_done: void (struct tevent_req *, const char *)
3130+_tevent_req_error: bool (struct tevent_req *, uint64_t, const char *)
3131+_tevent_req_nomem: bool (const void *, struct tevent_req *, const char *)
3132+_tevent_req_notify_callback: void (struct tevent_req *, const char *)
3133+_tevent_req_oom: void (struct tevent_req *, const char *)
3134+_tevent_schedule_immediate: void (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *)
3135+_tevent_threaded_schedule_immediate: void (struct tevent_threaded_context *, struct tevent_immediate *, tevent_immediate_handler_t, void *, const char *, const char *)
3136+tevent_backend_list: const char **(TALLOC_CTX *)
3137+tevent_cleanup_pending_signal_handlers: void (struct tevent_signal *)
3138+tevent_common_add_fd: struct tevent_fd *(struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *)
3139+tevent_common_add_signal: struct tevent_signal *(struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *)
3140+tevent_common_add_timer: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
3141+tevent_common_add_timer_v2: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
3142+tevent_common_check_signal: int (struct tevent_context *)
3143+tevent_common_context_destructor: int (struct tevent_context *)
3144+tevent_common_fd_destructor: int (struct tevent_fd *)
3145+tevent_common_fd_get_flags: uint16_t (struct tevent_fd *)
3146+tevent_common_fd_set_close_fn: void (struct tevent_fd *, tevent_fd_close_fn_t)
3147+tevent_common_fd_set_flags: void (struct tevent_fd *, uint16_t)
3148+tevent_common_have_events: bool (struct tevent_context *)
3149+tevent_common_loop_immediate: bool (struct tevent_context *)
3150+tevent_common_loop_timer_delay: struct timeval (struct tevent_context *)
3151+tevent_common_loop_wait: int (struct tevent_context *, const char *)
3152+tevent_common_schedule_immediate: void (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *)
3153+tevent_common_threaded_activate_immediate: void (struct tevent_context *)
3154+tevent_common_wakeup: int (struct tevent_context *)
3155+tevent_common_wakeup_fd: int (int)
3156+tevent_common_wakeup_init: int (struct tevent_context *)
3157+tevent_context_init: struct tevent_context *(TALLOC_CTX *)
3158+tevent_context_init_byname: struct tevent_context *(TALLOC_CTX *, const char *)
3159+tevent_context_init_ops: struct tevent_context *(TALLOC_CTX *, const struct tevent_ops *, void *)
3160+tevent_debug: void (struct tevent_context *, enum tevent_debug_level, const char *, ...)
3161+tevent_fd_get_flags: uint16_t (struct tevent_fd *)
3162+tevent_fd_set_auto_close: void (struct tevent_fd *)
3163+tevent_fd_set_close_fn: void (struct tevent_fd *, tevent_fd_close_fn_t)
3164+tevent_fd_set_flags: void (struct tevent_fd *, uint16_t)
3165+tevent_get_trace_callback: void (struct tevent_context *, tevent_trace_callback_t *, void *)
3166+tevent_loop_allow_nesting: void (struct tevent_context *)
3167+tevent_loop_set_nesting_hook: void (struct tevent_context *, tevent_nesting_hook, void *)
3168+tevent_num_signals: size_t (void)
3169+tevent_queue_add: bool (struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
3170+tevent_queue_add_entry: struct tevent_queue_entry *(struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
3171+tevent_queue_add_optimize_empty: struct tevent_queue_entry *(struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
3172+tevent_queue_length: size_t (struct tevent_queue *)
3173+tevent_queue_running: bool (struct tevent_queue *)
3174+tevent_queue_start: void (struct tevent_queue *)
3175+tevent_queue_stop: void (struct tevent_queue *)
3176+tevent_queue_wait_recv: bool (struct tevent_req *)
3177+tevent_queue_wait_send: struct tevent_req *(TALLOC_CTX *, struct tevent_context *, struct tevent_queue *)
3178+tevent_re_initialise: int (struct tevent_context *)
3179+tevent_register_backend: bool (const char *, const struct tevent_ops *)
3180+tevent_req_default_print: char *(struct tevent_req *, TALLOC_CTX *)
3181+tevent_req_defer_callback: void (struct tevent_req *, struct tevent_context *)
3182+tevent_req_is_error: bool (struct tevent_req *, enum tevent_req_state *, uint64_t *)
3183+tevent_req_is_in_progress: bool (struct tevent_req *)
3184+tevent_req_poll: bool (struct tevent_req *, struct tevent_context *)
3185+tevent_req_post: struct tevent_req *(struct tevent_req *, struct tevent_context *)
3186+tevent_req_print: char *(TALLOC_CTX *, struct tevent_req *)
3187+tevent_req_received: void (struct tevent_req *)
3188+tevent_req_reset_endtime: void (struct tevent_req *)
3189+tevent_req_set_callback: void (struct tevent_req *, tevent_req_fn, void *)
3190+tevent_req_set_cancel_fn: void (struct tevent_req *, tevent_req_cancel_fn)
3191+tevent_req_set_cleanup_fn: void (struct tevent_req *, tevent_req_cleanup_fn)
3192+tevent_req_set_endtime: bool (struct tevent_req *, struct tevent_context *, struct timeval)
3193+tevent_req_set_print_fn: void (struct tevent_req *, tevent_req_print_fn)
3194+tevent_sa_info_queue_count: size_t (void)
3195+tevent_set_abort_fn: void (void (*)(const char *))
3196+tevent_set_debug: int (struct tevent_context *, void (*)(void *, enum tevent_debug_level, const char *, va_list), void *)
3197+tevent_set_debug_stderr: int (struct tevent_context *)
3198+tevent_set_default_backend: void (const char *)
3199+tevent_set_trace_callback: void (struct tevent_context *, tevent_trace_callback_t, void *)
3200+tevent_signal_support: bool (struct tevent_context *)
3201+tevent_thread_proxy_create: struct tevent_thread_proxy *(struct tevent_context *)
3202+tevent_thread_proxy_schedule: void (struct tevent_thread_proxy *, struct tevent_immediate **, tevent_immediate_handler_t, void *)
3203+tevent_threaded_context_create: struct tevent_threaded_context *(TALLOC_CTX *, struct tevent_context *)
3204+tevent_timeval_add: struct timeval (const struct timeval *, uint32_t, uint32_t)
3205+tevent_timeval_compare: int (const struct timeval *, const struct timeval *)
3206+tevent_timeval_current: struct timeval (void)
3207+tevent_timeval_current_ofs: struct timeval (uint32_t, uint32_t)
3208+tevent_timeval_is_zero: bool (const struct timeval *)
3209+tevent_timeval_set: struct timeval (uint32_t, uint32_t)
3210+tevent_timeval_until: struct timeval (const struct timeval *, const struct timeval *)
3211+tevent_timeval_zero: struct timeval (void)
3212+tevent_trace_point_callback: void (struct tevent_context *, enum tevent_trace_point)
3213+tevent_update_timer: void (struct tevent_timer *, struct timeval)
3214+tevent_wakeup_recv: bool (struct tevent_req *)
3215+tevent_wakeup_send: struct tevent_req *(TALLOC_CTX *, struct tevent_context *, struct timeval)
3216diff --git a/lib/tevent/ABI/tevent-0.9.36.sigs b/lib/tevent/ABI/tevent-0.9.36.sigs
3217new file mode 100644
3218index 0000000..8a579c8
3219--- /dev/null
3220+++ b/lib/tevent/ABI/tevent-0.9.36.sigs
3221@@ -0,0 +1,100 @@
3222+_tevent_add_fd: struct tevent_fd *(struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *)
3223+_tevent_add_signal: struct tevent_signal *(struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *)
3224+_tevent_add_timer: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
3225+_tevent_create_immediate: struct tevent_immediate *(TALLOC_CTX *, const char *)
3226+_tevent_loop_once: int (struct tevent_context *, const char *)
3227+_tevent_loop_until: int (struct tevent_context *, bool (*)(void *), void *, const char *)
3228+_tevent_loop_wait: int (struct tevent_context *, const char *)
3229+_tevent_queue_create: struct tevent_queue *(TALLOC_CTX *, const char *, const char *)
3230+_tevent_req_callback_data: void *(struct tevent_req *)
3231+_tevent_req_cancel: bool (struct tevent_req *, const char *)
3232+_tevent_req_create: struct tevent_req *(TALLOC_CTX *, void *, size_t, const char *, const char *)
3233+_tevent_req_data: void *(struct tevent_req *)
3234+_tevent_req_done: void (struct tevent_req *, const char *)
3235+_tevent_req_error: bool (struct tevent_req *, uint64_t, const char *)
3236+_tevent_req_nomem: bool (const void *, struct tevent_req *, const char *)
3237+_tevent_req_notify_callback: void (struct tevent_req *, const char *)
3238+_tevent_req_oom: void (struct tevent_req *, const char *)
3239+_tevent_schedule_immediate: void (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *)
3240+_tevent_threaded_schedule_immediate: void (struct tevent_threaded_context *, struct tevent_immediate *, tevent_immediate_handler_t, void *, const char *, const char *)
3241+tevent_backend_list: const char **(TALLOC_CTX *)
3242+tevent_cleanup_pending_signal_handlers: void (struct tevent_signal *)
3243+tevent_common_add_fd: struct tevent_fd *(struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *)
3244+tevent_common_add_signal: struct tevent_signal *(struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *)
3245+tevent_common_add_timer: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
3246+tevent_common_add_timer_v2: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
3247+tevent_common_check_signal: int (struct tevent_context *)
3248+tevent_common_context_destructor: int (struct tevent_context *)
3249+tevent_common_fd_destructor: int (struct tevent_fd *)
3250+tevent_common_fd_get_flags: uint16_t (struct tevent_fd *)
3251+tevent_common_fd_set_close_fn: void (struct tevent_fd *, tevent_fd_close_fn_t)
3252+tevent_common_fd_set_flags: void (struct tevent_fd *, uint16_t)
3253+tevent_common_have_events: bool (struct tevent_context *)
3254+tevent_common_loop_immediate: bool (struct tevent_context *)
3255+tevent_common_loop_timer_delay: struct timeval (struct tevent_context *)
3256+tevent_common_loop_wait: int (struct tevent_context *, const char *)
3257+tevent_common_schedule_immediate: void (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *)
3258+tevent_common_threaded_activate_immediate: void (struct tevent_context *)
3259+tevent_common_wakeup: int (struct tevent_context *)
3260+tevent_common_wakeup_fd: int (int)
3261+tevent_common_wakeup_init: int (struct tevent_context *)
3262+tevent_context_init: struct tevent_context *(TALLOC_CTX *)
3263+tevent_context_init_byname: struct tevent_context *(TALLOC_CTX *, const char *)
3264+tevent_context_init_ops: struct tevent_context *(TALLOC_CTX *, const struct tevent_ops *, void *)
3265+tevent_debug: void (struct tevent_context *, enum tevent_debug_level, const char *, ...)
3266+tevent_fd_get_flags: uint16_t (struct tevent_fd *)
3267+tevent_fd_set_auto_close: void (struct tevent_fd *)
3268+tevent_fd_set_close_fn: void (struct tevent_fd *, tevent_fd_close_fn_t)
3269+tevent_fd_set_flags: void (struct tevent_fd *, uint16_t)
3270+tevent_get_trace_callback: void (struct tevent_context *, tevent_trace_callback_t *, void *)
3271+tevent_loop_allow_nesting: void (struct tevent_context *)
3272+tevent_loop_set_nesting_hook: void (struct tevent_context *, tevent_nesting_hook, void *)
3273+tevent_num_signals: size_t (void)
3274+tevent_queue_add: bool (struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
3275+tevent_queue_add_entry: struct tevent_queue_entry *(struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
3276+tevent_queue_add_optimize_empty: struct tevent_queue_entry *(struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
3277+tevent_queue_entry_untrigger: void (struct tevent_queue_entry *)
3278+tevent_queue_length: size_t (struct tevent_queue *)
3279+tevent_queue_running: bool (struct tevent_queue *)
3280+tevent_queue_start: void (struct tevent_queue *)
3281+tevent_queue_stop: void (struct tevent_queue *)
3282+tevent_queue_wait_recv: bool (struct tevent_req *)
3283+tevent_queue_wait_send: struct tevent_req *(TALLOC_CTX *, struct tevent_context *, struct tevent_queue *)
3284+tevent_re_initialise: int (struct tevent_context *)
3285+tevent_register_backend: bool (const char *, const struct tevent_ops *)
3286+tevent_req_default_print: char *(struct tevent_req *, TALLOC_CTX *)
3287+tevent_req_defer_callback: void (struct tevent_req *, struct tevent_context *)
3288+tevent_req_is_error: bool (struct tevent_req *, enum tevent_req_state *, uint64_t *)
3289+tevent_req_is_in_progress: bool (struct tevent_req *)
3290+tevent_req_poll: bool (struct tevent_req *, struct tevent_context *)
3291+tevent_req_post: struct tevent_req *(struct tevent_req *, struct tevent_context *)
3292+tevent_req_print: char *(TALLOC_CTX *, struct tevent_req *)
3293+tevent_req_received: void (struct tevent_req *)
3294+tevent_req_reset_endtime: void (struct tevent_req *)
3295+tevent_req_set_callback: void (struct tevent_req *, tevent_req_fn, void *)
3296+tevent_req_set_cancel_fn: void (struct tevent_req *, tevent_req_cancel_fn)
3297+tevent_req_set_cleanup_fn: void (struct tevent_req *, tevent_req_cleanup_fn)
3298+tevent_req_set_endtime: bool (struct tevent_req *, struct tevent_context *, struct timeval)
3299+tevent_req_set_print_fn: void (struct tevent_req *, tevent_req_print_fn)
3300+tevent_sa_info_queue_count: size_t (void)
3301+tevent_set_abort_fn: void (void (*)(const char *))
3302+tevent_set_debug: int (struct tevent_context *, void (*)(void *, enum tevent_debug_level, const char *, va_list), void *)
3303+tevent_set_debug_stderr: int (struct tevent_context *)
3304+tevent_set_default_backend: void (const char *)
3305+tevent_set_trace_callback: void (struct tevent_context *, tevent_trace_callback_t, void *)
3306+tevent_signal_support: bool (struct tevent_context *)
3307+tevent_thread_proxy_create: struct tevent_thread_proxy *(struct tevent_context *)
3308+tevent_thread_proxy_schedule: void (struct tevent_thread_proxy *, struct tevent_immediate **, tevent_immediate_handler_t, void *)
3309+tevent_threaded_context_create: struct tevent_threaded_context *(TALLOC_CTX *, struct tevent_context *)
3310+tevent_timeval_add: struct timeval (const struct timeval *, uint32_t, uint32_t)
3311+tevent_timeval_compare: int (const struct timeval *, const struct timeval *)
3312+tevent_timeval_current: struct timeval (void)
3313+tevent_timeval_current_ofs: struct timeval (uint32_t, uint32_t)
3314+tevent_timeval_is_zero: bool (const struct timeval *)
3315+tevent_timeval_set: struct timeval (uint32_t, uint32_t)
3316+tevent_timeval_until: struct timeval (const struct timeval *, const struct timeval *)
3317+tevent_timeval_zero: struct timeval (void)
3318+tevent_trace_point_callback: void (struct tevent_context *, enum tevent_trace_point)
3319+tevent_update_timer: void (struct tevent_timer *, struct timeval)
3320+tevent_wakeup_recv: bool (struct tevent_req *)
3321+tevent_wakeup_send: struct tevent_req *(TALLOC_CTX *, struct tevent_context *, struct timeval)
3322diff --git a/lib/tevent/echo_server.c b/lib/tevent/echo_server.c
3323index 6e7f181..f93d8bc 100644
3324--- a/lib/tevent/echo_server.c
3325+++ b/lib/tevent/echo_server.c
3326@@ -118,6 +118,7 @@ static void accept_handler(struct tevent_context *ev, struct tevent_fd *fde,
3327 tevent_req_error(req, errno);
3328 return;
3329 }
3330+ smb_set_close_on_exec(ret);
3331 state->sock = ret;
3332 tevent_req_done(req);
3333 }
3334diff --git a/lib/tevent/testsuite.c b/lib/tevent/testsuite.c
3335index ee29e5b..e508452 100644
3336--- a/lib/tevent/testsuite.c
3337+++ b/lib/tevent/testsuite.c
3338@@ -25,7 +25,7 @@
3339 */
3340
3341 #include "includes.h"
3342-#include "lib/tevent/tevent.h"
3343+#include "tevent.h"
3344 #include "system/filesys.h"
3345 #include "system/select.h"
3346 #include "system/network.h"
3347diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
3348index 728cf62..7bb9c61 100644
3349--- a/lib/tevent/tevent.h
3350+++ b/lib/tevent/tevent.h
3351@@ -936,8 +936,8 @@ void tevent_req_set_cancel_fn(struct tevent_req *req, tevent_req_cancel_fn fn);
3352 *
3353 * @param[in] req The request to use.
3354 *
3355- * @return This function returns true is the request is cancelable,
3356- * othererwise false is returned.
3357+ * @return This function returns true if the request is
3358+ * cancelable, otherwise false is returned.
3359 *
3360 * @note Even if the function returns true, the caller need to wait
3361 * for the function to complete normally.
3362@@ -1611,6 +1611,9 @@ struct tevent_queue_entry *tevent_queue_add_entry(
3363 * already called tevent_req_notify_callback(), tevent_req_error(),
3364 * tevent_req_done() or a similar function.
3365 *
3366+ * The trigger function has no chance to see the returned
3367+ * queue_entry in the optimized case.
3368+ *
3369 * The request can be removed from the queue by calling talloc_free()
3370 * (or a similar function) on the returned queue entry.
3371 *
3372@@ -1641,6 +1644,28 @@ struct tevent_queue_entry *tevent_queue_add_optimize_empty(
3373 void *private_data);
3374
3375 /**
3376+ * @brief Untrigger an already triggered queue entry.
3377+ *
3378+ * If a trigger function detects that it needs to remain
3379+ * in the queue, it needs to call tevent_queue_stop()
3380+ * followed by tevent_queue_entry_untrigger().
3381+ *
3382+ * @note In order to call tevent_queue_entry_untrigger()
3383+ * the queue must be already stopped and the given queue_entry
3384+ * must be the first one in the queue! Otherwise it calls abort().
3385+ *
3386+ * @note You can't use this together with tevent_queue_add_optimize_empty()
3387+ * because the trigger function don't have access to the quene entry
3388+ * in the case of an empty queue.
3389+ *
3390+ * @param[in] queue_entry The queue entry to rearm.
3391+ *
3392+ * @see tevent_queue_add_entry()
3393+ * @see tevent_queue_stop()
3394+ */
3395+void tevent_queue_entry_untrigger(struct tevent_queue_entry *entry);
3396+
3397+/**
3398 * @brief Start a tevent queue.
3399 *
3400 * The queue is started by default.
3401diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h
3402index 47ea39b..ec3955e 100644
3403--- a/lib/tevent/tevent_internal.h
3404+++ b/lib/tevent/tevent_internal.h
3405@@ -235,7 +235,6 @@ struct tevent_threaded_context {
3406 pthread_mutex_t event_ctx_mutex;
3407 #endif
3408 struct tevent_context *event_ctx;
3409- int wakeup_fd;
3410 };
3411
3412 struct tevent_debug_ops {
3413diff --git a/lib/tevent/tevent_queue.c b/lib/tevent/tevent_queue.c
3414index 5516c6c..9c3973b 100644
3415--- a/lib/tevent/tevent_queue.c
3416+++ b/lib/tevent/tevent_queue.c
3417@@ -266,6 +266,19 @@ struct tevent_queue_entry *tevent_queue_add_optimize_empty(
3418 trigger, private_data, true);
3419 }
3420
3421+void tevent_queue_entry_untrigger(struct tevent_queue_entry *entry)
3422+{
3423+ if (entry->queue->running) {
3424+ abort();
3425+ }
3426+
3427+ if (entry->queue->list != entry) {
3428+ abort();
3429+ }
3430+
3431+ entry->triggered = false;
3432+}
3433+
3434 void tevent_queue_start(struct tevent_queue *queue)
3435 {
3436 if (queue->running) {
3437diff --git a/lib/tevent/tevent_threads.c b/lib/tevent/tevent_threads.c
3438index 2e83f1b..2c6e66b 100644
3439--- a/lib/tevent/tevent_threads.c
3440+++ b/lib/tevent/tevent_threads.c
3441@@ -424,7 +424,6 @@ struct tevent_threaded_context *tevent_threaded_context_create(
3442 return NULL;
3443 }
3444 tctx->event_ctx = ev;
3445- tctx->wakeup_fd = ev->wakeup_fd;
3446
3447 ret = pthread_mutex_init(&tctx->event_ctx_mutex, NULL);
3448 if (ret != 0) {
3449@@ -489,14 +488,13 @@ void _tevent_threaded_schedule_immediate(struct tevent_threaded_context *tctx,
3450 }
3451
3452 DLIST_ADD_END(ev->scheduled_immediates, im);
3453+ wakeup_fd = ev->wakeup_fd;
3454
3455 ret = pthread_mutex_unlock(&ev->scheduled_mutex);
3456 if (ret != 0) {
3457 abort();
3458 }
3459
3460- wakeup_fd = tctx->wakeup_fd;
3461-
3462 ret = pthread_mutex_unlock(&tctx->event_ctx_mutex);
3463 if (ret != 0) {
3464 abort();
3465diff --git a/lib/tevent/wscript b/lib/tevent/wscript
3466index 31f7ee7..94d190f 100644
3467--- a/lib/tevent/wscript
3468+++ b/lib/tevent/wscript
3469@@ -1,7 +1,7 @@
3470 #!/usr/bin/env python
3471
3472 APPNAME = 'tevent'
3473-VERSION = '0.9.34'
3474+VERSION = '0.9.36'
3475
3476 blddir = 'bin'
3477
3478diff --git a/lib/util/debug.c b/lib/util/debug.c
3479index 8b28002..135cdb6 100644
3480--- a/lib/util/debug.c
3481+++ b/lib/util/debug.c
3482@@ -541,6 +541,8 @@ static const char *default_classname_table[] = {
3483 [DBGC_AUTH_AUDIT_JSON] = "auth_json_audit",
3484 [DBGC_KERBEROS] = "kerberos",
3485 [DBGC_DRS_REPL] = "drs_repl",
3486+ [DBGC_SMB2] = "smb2",
3487+ [DBGC_SMB2_CREDITS] = "smb2_credits",
3488 };
3489
3490 /*
3491diff --git a/lib/util/debug.h b/lib/util/debug.h
3492index e82553a..1e184b4 100644
3493--- a/lib/util/debug.h
3494+++ b/lib/util/debug.h
3495@@ -93,6 +93,8 @@ bool dbghdr( int level, const char *location, const char *func);
3496 #define DBGC_AUTH_AUDIT_JSON 25
3497 #define DBGC_KERBEROS 26
3498 #define DBGC_DRS_REPL 27
3499+#define DBGC_SMB2 28
3500+#define DBGC_SMB2_CREDITS 29
3501
3502 /* So you can define DBGC_CLASS before including debug.h */
3503 #ifndef DBGC_CLASS
3504@@ -216,6 +218,14 @@ extern int *DEBUGLEVEL_CLASS;
3505 && (dbgtext("%s: ", __func__)) \
3506 && (dbgtext body) )
3507
3508+/* Prefix messages with the function name - class specific */
3509+#define DBGC_PREFIX(dbgc_class, level, body ) \
3510+ (void)( ((level) <= MAX_DEBUG_LEVEL) && \
3511+ unlikely(DEBUGLEVEL_CLASS[ dbgc_class ] >= (level)) \
3512+ && (dbghdrclass(level, dbgc_class, __location__, __func__ )) \
3513+ && (dbgtext("%s: ", __func__)) \
3514+ && (dbgtext body) )
3515+
3516 /*
3517 * Debug levels matching RFC 3164
3518 */
3519@@ -231,12 +241,34 @@ extern int *DEBUGLEVEL_CLASS;
3520 #define DBG_INFO(...) DBG_PREFIX(DBGLVL_INFO, (__VA_ARGS__))
3521 #define DBG_DEBUG(...) DBG_PREFIX(DBGLVL_DEBUG, (__VA_ARGS__))
3522
3523+#define DBGC_ERR(dbgc_class, ...) DBGC_PREFIX(dbgc_class, \
3524+ DBGLVL_ERR, (__VA_ARGS__))
3525+#define DBGC_WARNING(dbgc_class, ...) DBGC_PREFIX(dbgc_class, \
3526+ DBGLVL_WARNING, (__VA_ARGS__))
3527+#define DBGC_NOTICE(dbgc_class, ...) DBGC_PREFIX(dbgc_class, \
3528+ DBGLVL_NOTICE, (__VA_ARGS__))
3529+#define DBGC_INFO(dbgc_class, ...) DBGC_PREFIX(dbgc_class, \
3530+ DBGLVL_INFO, (__VA_ARGS__))
3531+#define DBGC_DEBUG(dbgc_class, ...) DBGC_PREFIX(dbgc_class, \
3532+ DBGLVL_DEBUG, (__VA_ARGS__))
3533+
3534 #define D_ERR(...) DEBUG(DBGLVL_ERR, (__VA_ARGS__))
3535 #define D_WARNING(...) DEBUG(DBGLVL_WARNING, (__VA_ARGS__))
3536 #define D_NOTICE(...) DEBUG(DBGLVL_NOTICE, (__VA_ARGS__))
3537 #define D_INFO(...) DEBUG(DBGLVL_INFO, (__VA_ARGS__))
3538 #define D_DEBUG(...) DEBUG(DBGLVL_DEBUG, (__VA_ARGS__))
3539
3540+#define DC_ERR(...) DEBUGC(dbgc_class, \
3541+ DBGLVL_ERR, (__VA_ARGS__))
3542+#define DC_WARNING(...) DEBUGC(dbgc_class, \
3543+ DBGLVL_WARNING, (__VA_ARGS__))
3544+#define DC_NOTICE(...) DEBUGC(dbgc_class, \
3545+ DBGLVL_NOTICE, (__VA_ARGS__))
3546+#define DC_INFO(...) DEBUGC(dbgc_class, \
3547+ DBGLVL_INFO, (__VA_ARGS__))
3548+#define DC_DEBUG(...) DEBUGC(dbgc_class, \
3549+ DBGLVL_DEBUG, (__VA_ARGS__))
3550+
3551 /* The following definitions come from lib/debug.c */
3552
3553 /** Possible destinations for the debug log (in order of precedence -
3554diff --git a/lib/util/fault.c b/lib/util/fault.c
3555index 54d8471..1b56361 100644
3556--- a/lib/util/fault.c
3557+++ b/lib/util/fault.c
3558@@ -3,6 +3,7 @@
3559 Critical Fault handling
3560 Copyright (C) Andrew Tridgell 1992-1998
3561 Copyright (C) Tim Prouty 2009
3562+ Copyright (C) James Peach 2006
3563
3564 This program is free software; you can redistribute it and/or modify
3565 it under the terms of the GNU General Public License as published by
3566@@ -123,6 +124,10 @@ _PUBLIC_ const char *panic_action = NULL;
3567 static void smb_panic_default(const char *why) _NORETURN_;
3568 static void smb_panic_default(const char *why)
3569 {
3570+ DBG_ERR("PANIC (pid %llu): %s\n",
3571+ (unsigned long long)getpid(), why);
3572+ log_stack_trace();
3573+
3574 #if defined(HAVE_PRCTL) && defined(PR_SET_PTRACER)
3575 /*
3576 * Make sure all children can attach a debugger.
3577@@ -148,7 +153,6 @@ static void smb_panic_default(const char *why)
3578 WEXITSTATUS(result)));
3579 }
3580 }
3581- DEBUG(0,("PANIC: %s\n", why));
3582
3583 #ifdef SIGABRT
3584 CatchSignal(SIGABRT, SIG_DFL);
3585@@ -168,3 +172,104 @@ _PUBLIC_ void smb_panic(const char *why)
3586 }
3587 smb_panic_default(why);
3588 }
3589+
3590+/*******************************************************************
3591+ Print a backtrace of the stack to the debug log. This function
3592+ DELIBERATELY LEAKS MEMORY. The expectation is that you should
3593+ exit shortly after calling it.
3594+********************************************************************/
3595+
3596+/* Buffer size to use when printing backtraces */
3597+#define BACKTRACE_STACK_SIZE 64
3598+
3599+
3600+#ifdef HAVE_LIBUNWIND_H
3601+#include <libunwind.h>
3602+#endif
3603+
3604+#ifdef HAVE_EXECINFO_H
3605+#include <execinfo.h>
3606+#endif
3607+
3608+void log_stack_trace(void)
3609+{
3610+#ifdef HAVE_LIBUNWIND
3611+ /* Try to use libunwind before any other technique since on ia64
3612+ * libunwind correctly walks the stack in more circumstances than
3613+ * backtrace.
3614+ */
3615+ unw_cursor_t cursor;
3616+ unw_context_t uc;
3617+ unsigned i = 0;
3618+
3619+ char procname[256];
3620+ unw_word_t ip, sp, off;
3621+
3622+ procname[sizeof(procname) - 1] = '\0';
3623+
3624+ if (unw_getcontext(&uc) != 0) {
3625+ goto libunwind_failed;
3626+ }
3627+
3628+ if (unw_init_local(&cursor, &uc) != 0) {
3629+ goto libunwind_failed;
3630+ }
3631+
3632+ DEBUG(0, ("BACKTRACE:\n"));
3633+
3634+ do {
3635+ ip = sp = 0;
3636+ unw_get_reg(&cursor, UNW_REG_IP, &ip);
3637+ unw_get_reg(&cursor, UNW_REG_SP, &sp);
3638+
3639+ switch (unw_get_proc_name(&cursor,
3640+ procname, sizeof(procname) - 1, &off) ) {
3641+ case 0:
3642+ /* Name found. */
3643+ case -UNW_ENOMEM:
3644+ /* Name truncated. */
3645+ DEBUGADD(0, (" #%u %s + %#llx [ip=%#llx] [sp=%#llx]\n",
3646+ i, procname, (long long)off,
3647+ (long long)ip, (long long) sp));
3648+ break;
3649+ default:
3650+ /* case -UNW_ENOINFO: */
3651+ /* case -UNW_EUNSPEC: */
3652+ /* No symbol name found. */
3653+ DEBUGADD(0, (" #%u %s [ip=%#llx] [sp=%#llx]\n",
3654+ i, "<unknown symbol>",
3655+ (long long)ip, (long long) sp));
3656+ }
3657+ ++i;
3658+ } while (unw_step(&cursor) > 0);
3659+
3660+ return;
3661+
3662+libunwind_failed:
3663+ DEBUG(0, ("unable to produce a stack trace with libunwind\n"));
3664+
3665+#elif HAVE_BACKTRACE_SYMBOLS
3666+ void *backtrace_stack[BACKTRACE_STACK_SIZE];
3667+ size_t backtrace_size;
3668+ char **backtrace_strings;
3669+
3670+ /* get the backtrace (stack frames) */
3671+ backtrace_size = backtrace(backtrace_stack,BACKTRACE_STACK_SIZE);
3672+ backtrace_strings = backtrace_symbols(backtrace_stack, backtrace_size);
3673+
3674+ DEBUG(0, ("BACKTRACE: %lu stack frames:\n",
3675+ (unsigned long)backtrace_size));
3676+
3677+ if (backtrace_strings) {
3678+ int i;
3679+
3680+ for (i = 0; i < backtrace_size; i++)
3681+ DEBUGADD(0, (" #%u %s\n", i, backtrace_strings[i]));
3682+
3683+ /* Leak the backtrace_strings, rather than risk what free() might do */
3684+ }
3685+
3686+#else
3687+ DEBUG(0, ("unable to produce a stack trace on this platform\n"));
3688+#endif
3689+}
3690diff --git a/lib/util/fault.h b/lib/util/fault.h
3691index 0ac6cb9..dfa339b 100644
3692--- a/lib/util/fault.h
3693+++ b/lib/util/fault.h
3694@@ -53,5 +53,6 @@ void fault_setup(void);
3695 void fault_setup_disable(void);
3696 _NORETURN_ void smb_panic(const char *reason);
3697
3698+void log_stack_trace(void);
3699
3700 #endif /* _SAMBA_FAULT_H_ */
3701diff --git a/lib/util/memcache.h b/lib/util/memcache.h
3702index b87746b..c6a5b86 100644
3703--- a/lib/util/memcache.h
3704+++ b/lib/util/memcache.h
3705@@ -44,7 +44,8 @@ enum memcache_number {
3706 SINGLETON_CACHE_TALLOC, /* talloc */
3707 SINGLETON_CACHE,
3708 SMB1_SEARCH_OFFSET_MAP,
3709- SHARE_MODE_LOCK_CACHE /* talloc */
3710+ SHARE_MODE_LOCK_CACHE, /* talloc */
3711+ DFREE_CACHE,
3712 };
3713
3714 /*
3715diff --git a/lib/util/strv.c b/lib/util/strv.c
3716index 99ce76f..83d84d9 100644
3717--- a/lib/util/strv.c
3718+++ b/lib/util/strv.c
3719@@ -62,54 +62,61 @@ int strv_append(TALLOC_CTX *mem_ctx, char **strv, const char *src)
3720 return _strv_append(mem_ctx, strv, src, talloc_array_length(src));
3721 }
3722
3723-static bool strv_valid_entry(const char *strv, const char *entry,
3724- size_t *strv_len, size_t *entry_len)
3725+static bool strv_valid_entry(const char *strv, size_t strv_len,
3726+ const char *entry, size_t *entry_len)
3727 {
3728- size_t len;
3729-
3730- len = talloc_array_length(strv);
3731- if (len == 0) {
3732+ if (strv_len == 0) {
3733 return false;
3734 }
3735- if (strv[len-1] != '\0') {
3736+ if (strv[strv_len-1] != '\0') {
3737 return false;
3738 }
3739
3740 if (entry < strv) {
3741 return false;
3742 }
3743- if (entry >= (strv+len)) {
3744+ if (entry >= (strv+strv_len)) {
3745 return false;
3746 }
3747
3748- *strv_len = len;
3749- *entry_len = strlen(entry);
3750+ if (entry_len != NULL) {
3751+ *entry_len = strlen(entry);
3752+ }
3753
3754 return true;
3755 }
3756
3757-char *strv_next(char *strv, const char *entry)
3758+const char *strv_len_next(const char *strv, size_t strv_len,
3759+ const char *entry)
3760 {
3761- size_t len, entry_len;
3762- char *result;
3763+ size_t entry_len;
3764
3765 if (entry == NULL) {
3766- if (strv_valid_entry(strv, strv, &len, &entry_len)) {
3767+ if (strv_valid_entry(strv, strv_len, strv, NULL)) {
3768 return strv;
3769 }
3770 return NULL;
3771 }
3772
3773- if (!strv_valid_entry(strv, entry, &len, &entry_len)) {
3774+ if (!strv_valid_entry(strv, strv_len, entry, &entry_len)) {
3775 return NULL;
3776 }
3777- result = &strv[entry - strv]; /* avoid const problems with this stmt */
3778- result += entry_len + 1;
3779
3780- if (result >= (strv + len)) {
3781+ entry += entry_len+1;
3782+
3783+ if (entry >= (strv + strv_len)) {
3784 return NULL;
3785 }
3786- return result;
3787+ return entry;
3788+}
3789+
3790+char *strv_next(char *strv, const char *entry)
3791+{
3792+ size_t len = talloc_array_length(strv);
3793+ const char *result;
3794+
3795+ result = strv_len_next(strv, len, entry);
3796+ return discard_const_p(char, result);
3797 }
3798
3799 size_t strv_count(char *strv)
3800@@ -139,13 +146,14 @@ char *strv_find(char *strv, const char *entry)
3801
3802 void strv_delete(char **strv, char *entry)
3803 {
3804- size_t len, entry_len;
3805+ size_t len = talloc_array_length(*strv);
3806+ size_t entry_len;
3807
3808 if (entry == NULL) {
3809 return;
3810 }
3811
3812- if (!strv_valid_entry(*strv, entry, &len, &entry_len)) {
3813+ if (!strv_valid_entry(*strv, len, entry, &entry_len)) {
3814 return;
3815 }
3816 entry_len += 1;
3817diff --git a/lib/util/strv.h b/lib/util/strv.h
3818index 398e8ea..89f0402 100644
3819--- a/lib/util/strv.h
3820+++ b/lib/util/strv.h
3821@@ -26,6 +26,8 @@ int strv_add(TALLOC_CTX *mem_ctx, char **strv, const char *string);
3822 int strv_addn(TALLOC_CTX *mem_ctx, char **strv, const char *src, size_t srclen);
3823 int strv_append(TALLOC_CTX *mem_ctx, char **strv, const char *src);
3824 char *strv_next(char *strv, const char *entry);
3825+const char *strv_len_next(const char *strv, size_t strv_len,
3826+ const char *entry);
3827 char *strv_find(char *strv, const char *entry);
3828 size_t strv_count(char *strv);
3829 void strv_delete(char **strv, char *entry);
3830diff --git a/lib/util/tests/tfork.c b/lib/util/tests/tfork.c
3831index bf642fe..9bcdc2f 100644
3832--- a/lib/util/tests/tfork.c
3833+++ b/lib/util/tests/tfork.c
3834@@ -32,7 +32,6 @@
3835 #include "lib/util/sys_rw.h"
3836 #ifdef HAVE_PTHREAD
3837 #include <pthread.h>
3838-#include <sys/syscall.h>
3839 #endif
3840
3841 static bool test_tfork_simple(struct torture_context *tctx)
3842diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure
3843index 7c17633..afc06c1 100644
3844--- a/lib/util/wscript_configure
3845+++ b/lib/util/wscript_configure
3846@@ -6,6 +6,7 @@ if Options.options.disable_fault_handling:
3847
3848 # backtrace could be in libexecinfo or in libc
3849 conf.CHECK_FUNCS_IN('backtrace backtrace_symbols', 'execinfo', checklibc=True, headers='execinfo.h')
3850+conf.CHECK_HEADERS('execinfo.h libunwind.h')
3851
3852 conf.CHECK_STRUCTURE_MEMBER('struct statvfs', 'f_frsize', define='HAVE_FRSIZE', headers='sys/statvfs.h')
3853
3854diff --git a/libcli/auth/ntlm_check.c b/libcli/auth/ntlm_check.c
3855index 3b02adc..b68e9c8 100644
3856--- a/libcli/auth/ntlm_check.c
3857+++ b/libcli/auth/ntlm_check.c
3858@@ -224,7 +224,7 @@ NTSTATUS hash_password_check(TALLOC_CTX *mem_ctx,
3859 const struct samr_Password *stored_nt)
3860 {
3861 if (stored_nt == NULL) {
3862- DEBUG(3,("ntlm_password_check: NO NT password stored for user %s.\n",
3863+ DEBUG(3,("hash_password_check: NO NT password stored for user %s.\n",
3864 username));
3865 }
3866
3867@@ -232,14 +232,14 @@ NTSTATUS hash_password_check(TALLOC_CTX *mem_ctx,
3868 if (memcmp(client_nt->hash, stored_nt->hash, sizeof(stored_nt->hash)) == 0) {
3869 return NT_STATUS_OK;
3870 } else {
3871- DEBUG(3,("ntlm_password_check: Interactive logon: NT password check failed for user %s\n",
3872+ DEBUG(3,("hash_password_check: Interactive logon: NT password check failed for user %s\n",
3873 username));
3874 return NT_STATUS_WRONG_PASSWORD;
3875 }
3876
3877 } else if (client_lanman && stored_lanman) {
3878 if (!lanman_auth) {
3879- DEBUG(3,("ntlm_password_check: Interactive logon: only LANMAN password supplied for user %s, and LM passwords are disabled!\n",
3880+ DEBUG(3,("hash_password_check: Interactive logon: only LANMAN password supplied for user %s, and LM passwords are disabled!\n",
3881 username));
3882 return NT_STATUS_WRONG_PASSWORD;
3883 }
3884@@ -250,7 +250,7 @@ NTSTATUS hash_password_check(TALLOC_CTX *mem_ctx,
3885 if (memcmp(client_lanman->hash, stored_lanman->hash, sizeof(stored_lanman->hash)) == 0) {
3886 return NT_STATUS_OK;
3887 } else {
3888- DEBUG(3,("ntlm_password_check: Interactive logon: LANMAN password check failed for user %s\n",
3889+ DEBUG(3,("hash_password_check: Interactive logon: LANMAN password check failed for user %s\n",
3890 username));
3891 return NT_STATUS_WRONG_PASSWORD;
3892 }
3893@@ -572,7 +572,7 @@ NTSTATUS ntlm_password_check(TALLOC_CTX *mem_ctx,
3894 - I think this is related to Win9X pass-though authentication
3895 */
3896 DEBUG(4,("ntlm_password_check: Checking NT MD4 password in LM field\n"));
3897- if (ntlm_auth) {
3898+ if (ntlm_auth == NTLM_AUTH_ON) {
3899 if (smb_pwd_check_ntlmv1(mem_ctx,
3900 lm_response,
3901 stored_nt->hash, challenge,
3902diff --git a/libcli/auth/tests/ntlm_check.c b/libcli/auth/tests/ntlm_check.c
3903new file mode 100644
3904index 0000000..e87a0a2
3905--- /dev/null
3906+++ b/libcli/auth/tests/ntlm_check.c
3907@@ -0,0 +1,413 @@
3908+/*
3909+ * Unit tests for the ntlm_check password hash check library.
3910+ *
3911+ * Copyright (C) Andrew Bartlett <abartlet@samba.org> 2018
3912+ *
3913+ * This program is free software; you can redistribute it and/or modify
3914+ * it under the terms of the GNU General Public License as published by
3915+ * the Free Software Foundation; either version 3 of the License, or
3916+ * (at your option) any later version.
3917+ *
3918+ * This program is distributed in the hope that it will be useful,
3919+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3920+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3921+ * GNU General Public License for more details.
3922+ *
3923+ * You should have received a copy of the GNU General Public License
3924+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
3925+ *
3926+ */
3927+
3928+/*
3929+ * from cmocka.c:
3930+ * These headers or their equivalents should be included prior to
3931+ * including
3932+ * this header file.
3933+ *
3934+ * #include <stdarg.h>
3935+ * #include <stddef.h>
3936+ * #include <setjmp.h>
3937+ *
3938+ * This allows test applications to use custom definitions of C standard
3939+ * library functions and types.
3940+ *
3941+ */
3942+
3943+/*
3944+ * Note that the messaging routines (audit_message_send and get_event_server)
3945+ * are not tested by these unit tests. Currently they are for integration
3946+ * test support, and as such are exercised by the integration tests.
3947+ */
3948+#include <stdarg.h>
3949+#include <stddef.h>
3950+#include <setjmp.h>
3951+#include <cmocka.h>
3952+
3953+#include "includes.h"
3954+#include "../lib/crypto/crypto.h"
3955+#include "librpc/gen_ndr/netlogon.h"
3956+#include "libcli/auth/libcli_auth.h"
3957+#include "auth/credentials/credentials.h"
3958+
3959+struct ntlm_state {
3960+ const char *username;
3961+ const char *domain;
3962+ DATA_BLOB challenge;
3963+ DATA_BLOB ntlm;
3964+ DATA_BLOB lm;
3965+ DATA_BLOB ntlm_key;
3966+ DATA_BLOB lm_key;
3967+ const struct samr_Password *nt_hash;
3968+};
3969+
3970+static int test_ntlm_setup_with_options(void **state,
3971+ int flags, bool upn)
3972+{
3973+ NTSTATUS status;
3974+ DATA_BLOB challenge = {
3975+ .data = discard_const_p(uint8_t, "I am a teapot"),
3976+ .length = 8
3977+ };
3978+ struct ntlm_state *ntlm_state = talloc(NULL, struct ntlm_state);
3979+ DATA_BLOB target_info = NTLMv2_generate_names_blob(ntlm_state,
3980+ NULL,
3981+ "serverdom");
3982+ struct cli_credentials *creds = cli_credentials_init(ntlm_state);
3983+ cli_credentials_set_username(creds,
3984+ "testuser",
3985+ CRED_SPECIFIED);
3986+ cli_credentials_set_domain(creds,
3987+ "testdom",
3988+ CRED_SPECIFIED);
3989+ cli_credentials_set_workstation(creds,
3990+ "testwksta",
3991+ CRED_SPECIFIED);
3992+ cli_credentials_set_password(creds,
3993+ "testpass",
3994+ CRED_SPECIFIED);
3995+
3996+ if (upn) {
3997+ cli_credentials_set_principal(creds,
3998+ "testuser@samba.org",
3999+ CRED_SPECIFIED);
4000+ }
4001+
4002+ cli_credentials_get_ntlm_username_domain(creds,
4003+ ntlm_state,
4004+ &ntlm_state->username,
4005+ &ntlm_state->domain);
4006+
4007+ status = cli_credentials_get_ntlm_response(creds,
4008+ ntlm_state,
4009+ &flags,
4010+ challenge,
4011+ NULL,
4012+ target_info,
4013+ &ntlm_state->lm,
4014+ &ntlm_state->ntlm,
4015+ &ntlm_state->lm_key,
4016+ &ntlm_state->ntlm_key);
4017+ ntlm_state->challenge = challenge;
4018+
4019+ ntlm_state->nt_hash = cli_credentials_get_nt_hash(creds,
4020+ ntlm_state);
4021+
4022+ if (!NT_STATUS_IS_OK(status)) {
4023+ return -1;
4024+ }
4025+
4026+ *state = ntlm_state;
4027+ return 0;
4028+}
4029+
4030+static int test_ntlm_setup(void **state) {
4031+ return test_ntlm_setup_with_options(state, 0, false);
4032+}
4033+
4034+static int test_ntlm_and_lm_setup(void **state) {
4035+ return test_ntlm_setup_with_options(state,
4036+ CLI_CRED_LANMAN_AUTH,
4037+ false);
4038+}
4039+
4040+static int test_ntlm2_setup(void **state) {
4041+ return test_ntlm_setup_with_options(state,
4042+ CLI_CRED_NTLM2,
4043+ false);
4044+}
4045+
4046+static int test_ntlmv2_setup(void **state) {
4047+ return test_ntlm_setup_with_options(state,
4048+ CLI_CRED_NTLMv2_AUTH,
4049+ false);
4050+}
4051+
4052+static int test_ntlm_teardown(void **state)
4053+{
4054+ struct ntlm_state *ntlm_state
4055+ = talloc_get_type_abort(*state,
4056+ struct ntlm_state);
4057+ TALLOC_FREE(ntlm_state);
4058+ *state = NULL;
4059+ return 0;
4060+}
4061+
4062+static void test_ntlm_allowed(void **state)
4063+{
4064+ DATA_BLOB user_sess_key, lm_sess_key;
4065+ struct ntlm_state *ntlm_state
4066+ = talloc_get_type_abort(*state,
4067+ struct ntlm_state);
4068+ NTSTATUS status;
4069+ status = ntlm_password_check(ntlm_state,
4070+ false,
4071+ NTLM_AUTH_ON,
4072+ 0,
4073+ &ntlm_state->challenge,
4074+ &ntlm_state->lm,
4075+ &ntlm_state->ntlm,
4076+ ntlm_state->username,
4077+ ntlm_state->username,
4078+ ntlm_state->domain,
4079+ NULL,
4080+ ntlm_state->nt_hash,
4081+ &user_sess_key,
4082+ &lm_sess_key);
4083+
4084+ assert_int_equal(NT_STATUS_V(status), NT_STATUS_V(NT_STATUS_OK));
4085+}
4086+
4087+static void test_ntlm_allowed_lm_supplied(void **state)
4088+{
4089+ return test_ntlm_allowed(state);
4090+}
4091+
4092+static void test_ntlm_disabled(void **state)
4093+{
4094+ DATA_BLOB user_sess_key, lm_sess_key;
4095+ struct ntlm_state *ntlm_state
4096+ = talloc_get_type_abort(*state,
4097+ struct ntlm_state);
4098+ NTSTATUS status;
4099+ status = ntlm_password_check(ntlm_state,
4100+ false,
4101+ NTLM_AUTH_DISABLED,
4102+ 0,
4103+ &ntlm_state->challenge,
4104+ &ntlm_state->lm,
4105+ &ntlm_state->ntlm,
4106+ ntlm_state->username,
4107+ ntlm_state->username,
4108+ ntlm_state->domain,
4109+ NULL,
4110+ ntlm_state->nt_hash,
4111+ &user_sess_key,
4112+ &lm_sess_key);
4113+
4114+ assert_int_equal(NT_STATUS_V(status), NT_STATUS_V(NT_STATUS_NTLM_BLOCKED));
4115+}
4116+
4117+static void test_ntlm2(void **state)
4118+{
4119+ DATA_BLOB user_sess_key, lm_sess_key;
4120+ struct ntlm_state *ntlm_state
4121+ = talloc_get_type_abort(*state,
4122+ struct ntlm_state);
4123+ NTSTATUS status;
4124+ status = ntlm_password_check(ntlm_state,
4125+ false,
4126+ NTLM_AUTH_ON,
4127+ 0,
4128+ &ntlm_state->challenge,
4129+ &ntlm_state->lm,
4130+ &ntlm_state->ntlm,
4131+ ntlm_state->username,
4132+ ntlm_state->username,
4133+ ntlm_state->domain,
4134+ NULL,
4135+ ntlm_state->nt_hash,
4136+ &user_sess_key,
4137+ &lm_sess_key);
4138+
4139+ /*
4140+ * NTLM2 session security (where the real challenge is the
4141+ * MD5(challenge, client-challenge) (in the first 8 bytes of
4142+ * the lm) isn't decoded by ntlm_password_check(), it must
4143+ * first be converted back into normal NTLM by the NTLMSSP
4144+ * layer
4145+ */
4146+ assert_int_equal(NT_STATUS_V(status),
4147+ NT_STATUS_V(NT_STATUS_WRONG_PASSWORD));
4148+}
4149+
4150+static void test_ntlm_mschapv2_only_allowed(void **state)
4151+{
4152+ DATA_BLOB user_sess_key, lm_sess_key;
4153+ struct ntlm_state *ntlm_state
4154+ = talloc_get_type_abort(*state,
4155+ struct ntlm_state);
4156+ NTSTATUS status;
4157+ status = ntlm_password_check(ntlm_state,
4158+ false,
4159+ NTLM_AUTH_MSCHAPv2_NTLMV2_ONLY,
4160+ MSV1_0_ALLOW_MSVCHAPV2,
4161+ &ntlm_state->challenge,
4162+ &ntlm_state->lm,
4163+ &ntlm_state->ntlm,
4164+ ntlm_state->username,
4165+ ntlm_state->username,
4166+ ntlm_state->domain,
4167+ NULL,
4168+ ntlm_state->nt_hash,
4169+ &user_sess_key,
4170+ &lm_sess_key);
4171+
4172+ assert_int_equal(NT_STATUS_V(status), NT_STATUS_V(NT_STATUS_OK));
4173+}
4174+
4175+static void test_ntlm_mschapv2_only_denied(void **state)
4176+{
4177+ DATA_BLOB user_sess_key, lm_sess_key;
4178+ struct ntlm_state *ntlm_state
4179+ = talloc_get_type_abort(*state,
4180+ struct ntlm_state);
4181+ NTSTATUS status;
4182+ status = ntlm_password_check(ntlm_state,
4183+ false,
4184+ NTLM_AUTH_MSCHAPv2_NTLMV2_ONLY,
4185+ 0,
4186+ &ntlm_state->challenge,
4187+ &ntlm_state->lm,
4188+ &ntlm_state->ntlm,
4189+ ntlm_state->username,
4190+ ntlm_state->username,
4191+ ntlm_state->domain,
4192+ NULL,
4193+ ntlm_state->nt_hash,
4194+ &user_sess_key,
4195+ &lm_sess_key);
4196+
4197+ assert_int_equal(NT_STATUS_V(status),
4198+ NT_STATUS_V(NT_STATUS_WRONG_PASSWORD));
4199+}
4200+
4201+static void test_ntlmv2_only_ntlmv2(void **state)
4202+{
4203+ DATA_BLOB user_sess_key, lm_sess_key;
4204+ struct ntlm_state *ntlm_state
4205+ = talloc_get_type_abort(*state,
4206+ struct ntlm_state);
4207+ NTSTATUS status;
4208+ status = ntlm_password_check(ntlm_state,
4209+ false,
4210+ NTLM_AUTH_NTLMV2_ONLY,
4211+ 0,
4212+ &ntlm_state->challenge,
4213+ &ntlm_state->lm,
4214+ &ntlm_state->ntlm,
4215+ ntlm_state->username,
4216+ ntlm_state->username,
4217+ ntlm_state->domain,
4218+ NULL,
4219+ ntlm_state->nt_hash,
4220+ &user_sess_key,
4221+ &lm_sess_key);
4222+
4223+ assert_int_equal(NT_STATUS_V(status), NT_STATUS_V(NT_STATUS_OK));
4224+}
4225+
4226+static void test_ntlmv2_only_ntlm(void **state)
4227+{
4228+ DATA_BLOB user_sess_key, lm_sess_key;
4229+ struct ntlm_state *ntlm_state
4230+ = talloc_get_type_abort(*state,
4231+ struct ntlm_state);
4232+ NTSTATUS status;
4233+ status = ntlm_password_check(ntlm_state,
4234+ false,
4235+ NTLM_AUTH_NTLMV2_ONLY,
4236+ 0,
4237+ &ntlm_state->challenge,
4238+ &ntlm_state->lm,
4239+ &ntlm_state->ntlm,
4240+ ntlm_state->username,
4241+ ntlm_state->username,
4242+ ntlm_state->domain,
4243+ NULL,
4244+ ntlm_state->nt_hash,
4245+ &user_sess_key,
4246+ &lm_sess_key);
4247+
4248+ assert_int_equal(NT_STATUS_V(status),
4249+ NT_STATUS_V(NT_STATUS_WRONG_PASSWORD));
4250+}
4251+
4252+static void test_ntlmv2_only_ntlm_and_lanman(void **state)
4253+{
4254+ return test_ntlmv2_only_ntlm(state);
4255+}
4256+
4257+static void test_ntlmv2_only_ntlm_once(void **state)
4258+{
4259+ DATA_BLOB user_sess_key, lm_sess_key;
4260+ struct ntlm_state *ntlm_state
4261+ = talloc_get_type_abort(*state,
4262+ struct ntlm_state);
4263+ NTSTATUS status;
4264+ status = ntlm_password_check(ntlm_state,
4265+ false,
4266+ NTLM_AUTH_NTLMV2_ONLY,
4267+ 0,
4268+ &ntlm_state->challenge,
4269+ &data_blob_null,
4270+ &ntlm_state->ntlm,
4271+ ntlm_state->username,
4272+ ntlm_state->username,
4273+ ntlm_state->domain,
4274+ NULL,
4275+ ntlm_state->nt_hash,
4276+ &user_sess_key,
4277+ &lm_sess_key);
4278+
4279+ assert_int_equal(NT_STATUS_V(status),
4280+ NT_STATUS_V(NT_STATUS_WRONG_PASSWORD));
4281+}
4282+
4283+int main(int argc, const char **argv)
4284+{
4285+ const struct CMUnitTest tests[] = {
4286+ cmocka_unit_test_setup_teardown(test_ntlm_allowed,
4287+ test_ntlm_setup,
4288+ test_ntlm_teardown),
4289+ cmocka_unit_test_setup_teardown(test_ntlm_allowed_lm_supplied,
4290+ test_ntlm_and_lm_setup,
4291+ test_ntlm_teardown),
4292+ cmocka_unit_test_setup_teardown(test_ntlm_disabled,
4293+ test_ntlm_setup,
4294+ test_ntlm_teardown),
4295+ cmocka_unit_test_setup_teardown(test_ntlm2,
4296+ test_ntlm2_setup,
4297+ test_ntlm_teardown),
4298+ cmocka_unit_test_setup_teardown(test_ntlm_mschapv2_only_allowed,
4299+ test_ntlm_setup,
4300+ test_ntlm_teardown),
4301+ cmocka_unit_test_setup_teardown(test_ntlm_mschapv2_only_denied,
4302+ test_ntlm_setup,
4303+ test_ntlm_teardown),
4304+ cmocka_unit_test_setup_teardown(test_ntlmv2_only_ntlm,
4305+ test_ntlm_setup,
4306+ test_ntlm_teardown),
4307+ cmocka_unit_test_setup_teardown(test_ntlmv2_only_ntlm_and_lanman,
4308+ test_ntlm_and_lm_setup,
4309+ test_ntlm_teardown),
4310+ cmocka_unit_test_setup_teardown(test_ntlmv2_only_ntlm_once,
4311+ test_ntlm_setup,
4312+ test_ntlm_teardown),
4313+ cmocka_unit_test_setup_teardown(test_ntlmv2_only_ntlmv2,
4314+ test_ntlmv2_setup,
4315+ test_ntlm_teardown)
4316+ };
4317+
4318+ cmocka_set_message_output(CM_OUTPUT_SUBUNIT);
4319+ return cmocka_run_group_tests(tests, NULL, NULL);
4320+}
4321diff --git a/libcli/auth/wscript_build b/libcli/auth/wscript_build
4322index 475b7d6..d319d9b 100644
4323--- a/libcli/auth/wscript_build
4324+++ b/libcli/auth/wscript_build
4325@@ -41,3 +41,16 @@ bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
4326 bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
4327 source='spnego_parse.c',
4328 deps='asn1util')
4329+
4330+bld.SAMBA_BINARY(
4331+ 'test_ntlm_check',
4332+ source='tests/ntlm_check.c',
4333+ deps='''
4334+ NTLM_CHECK
4335+ CREDENTIALS_NTLM
4336+ samba-credentials
4337+ cmocka
4338+ talloc
4339+ ''',
4340+ install=False
4341+ )
4342diff --git a/libcli/security/access_check.c b/libcli/security/access_check.c
4343index b4c850b..03a7dca 100644
4344--- a/libcli/security/access_check.c
4345+++ b/libcli/security/access_check.c
4346@@ -375,6 +375,81 @@ static const struct GUID *get_ace_object_type(struct security_ace *ace)
4347 }
4348
4349 /**
4350+ * Evaluates access rights specified in a object-specific ACE for an AD object.
4351+ * This logic corresponds to MS-ADTS 5.1.3.3.3 Checking Object-Specific Access.
4352+ * @param[in] ace - the ACE being processed
4353+ * @param[in/out] tree - remaining_access gets updated for the tree
4354+ * @param[out] grant_access - set to true if the ACE grants sufficient access
4355+ * rights to the object/attribute
4356+ * @returns NT_STATUS_OK, unless access was denied
4357+ */
4358+static NTSTATUS check_object_specific_access(struct security_ace *ace,
4359+ struct object_tree *tree,
4360+ bool *grant_access)
4361+{
4362+ struct object_tree *node = NULL;
4363+ const struct GUID *type = NULL;
4364+
4365+ *grant_access = false;
4366+
4367+ /* if no tree was supplied, we can't do object-specific access checks */
4368+ if (!tree) {
4369+ return NT_STATUS_OK;
4370+ }
4371+
4372+ /* Get the ObjectType GUID this ACE applies to */
4373+ type = get_ace_object_type(ace);
4374+
4375+ /*
4376+ * If the ACE doesn't have a type, then apply it to the whole tree, i.e.
4377+ * treat 'OA' ACEs as 'A' and 'OD' as 'D'
4378+ */
4379+ if (!type) {
4380+ node = tree;
4381+ } else {
4382+
4383+ /* skip it if the ACE's ObjectType GUID is not in the tree */
4384+ node = get_object_tree_by_GUID(tree, type);
4385+ if (!node) {
4386+ return NT_STATUS_OK;
4387+ }
4388+ }
4389+
4390+ if (ace->type == SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT) {
4391+
4392+ /* apply the access rights to this node, and any children */
4393+ object_tree_modify_access(node, ace->access_mask);
4394+
4395+ /*
4396+ * Currently all nodes in the tree request the same access mask,
4397+ * so we can use any node to check if processing this ACE now
4398+ * means the requested access has been granted
4399+ */
4400+ if (node->remaining_access == 0) {
4401+ *grant_access = true;
4402+ return NT_STATUS_OK;
4403+ }
4404+
4405+ /*
4406+ * As per 5.1.3.3.4 Checking Control Access Right-Based Access,
4407+ * if the CONTROL_ACCESS right is present, then we can grant
4408+ * access and stop any further access checks
4409+ */
4410+ if (ace->access_mask & SEC_ADS_CONTROL_ACCESS) {
4411+ *grant_access = true;
4412+ return NT_STATUS_OK;
4413+ }
4414+ } else {
4415+
4416+ /* this ACE denies access to the requested object/attribute */
4417+ if (node->remaining_access & ace->access_mask){
4418+ return NT_STATUS_ACCESS_DENIED;
4419+ }
4420+ }
4421+ return NT_STATUS_OK;
4422+}
4423+
4424+/**
4425 * @brief Perform directoryservice (DS) related access checks for a given user
4426 *
4427 * Perform DS access checks for the user represented by its security_token, on
4428@@ -405,8 +480,6 @@ NTSTATUS sec_access_check_ds(const struct security_descriptor *sd,
4429 {
4430 uint32_t i;
4431 uint32_t bits_remaining;
4432- struct object_tree *node;
4433- const struct GUID *type;
4434 struct dom_sid self_sid;
4435
4436 dom_sid_parse(SID_NT_SELF, &self_sid);
4437@@ -456,6 +529,8 @@ NTSTATUS sec_access_check_ds(const struct security_descriptor *sd,
4438 for (i=0; bits_remaining && i < sd->dacl->num_aces; i++) {
4439 struct dom_sid *trustee;
4440 struct security_ace *ace = &sd->dacl->aces[i];
4441+ NTSTATUS status;
4442+ bool grant_access = false;
4443
4444 if (ace->flags & SEC_ACE_FLAG_INHERIT_ONLY) {
4445 continue;
4446@@ -486,34 +561,15 @@ NTSTATUS sec_access_check_ds(const struct security_descriptor *sd,
4447 break;
4448 case SEC_ACE_TYPE_ACCESS_DENIED_OBJECT:
4449 case SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT:
4450- /*
4451- * check only in case we have provided a tree,
4452- * the ACE has an object type and that type
4453- * is in the tree
4454- */
4455- type = get_ace_object_type(ace);
4456-
4457- if (!tree) {
4458- continue;
4459- }
4460+ status = check_object_specific_access(ace, tree,
4461+ &grant_access);
4462
4463- if (!type) {
4464- node = tree;
4465- } else {
4466- if (!(node = get_object_tree_by_GUID(tree, type))) {
4467- continue;
4468- }
4469+ if (!NT_STATUS_IS_OK(status)) {
4470+ return status;
4471 }
4472
4473- if (ace->type == SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT) {
4474- object_tree_modify_access(node, ace->access_mask);
4475- if (node->remaining_access == 0) {
4476- return NT_STATUS_OK;
4477- }
4478- } else {
4479- if (node->remaining_access & ace->access_mask){
4480- return NT_STATUS_ACCESS_DENIED;
4481- }
4482+ if (grant_access) {
4483+ return NT_STATUS_OK;
4484 }
4485 break;
4486 default: /* Other ACE types not handled/supported */
4487diff --git a/libcli/security/session.c b/libcli/security/session.c
4488index 0fbb87d..f17e884 100644
4489--- a/libcli/security/session.c
4490+++ b/libcli/security/session.c
4491@@ -26,6 +26,9 @@
4492 enum security_user_level security_session_user_level(struct auth_session_info *session_info,
4493 const struct dom_sid *domain_sid)
4494 {
4495+ bool authenticated = false;
4496+ bool guest = false;
4497+
4498 if (!session_info) {
4499 return SECURITY_ANONYMOUS;
4500 }
4501@@ -38,8 +41,13 @@ enum security_user_level security_session_user_level(struct auth_session_info *s
4502 return SECURITY_ANONYMOUS;
4503 }
4504
4505- if (security_token_has_builtin_guests(session_info->security_token)) {
4506- return SECURITY_GUEST;
4507+ authenticated = security_token_has_nt_authenticated_users(session_info->security_token);
4508+ guest = security_token_has_builtin_guests(session_info->security_token);
4509+ if (!authenticated) {
4510+ if (guest) {
4511+ return SECURITY_GUEST;
4512+ }
4513+ return SECURITY_ANONYMOUS;
4514 }
4515
4516 if (security_token_has_builtin_administrators(session_info->security_token)) {
4517@@ -60,9 +68,5 @@ enum security_user_level security_session_user_level(struct auth_session_info *s
4518 return SECURITY_DOMAIN_CONTROLLER;
4519 }
4520
4521- if (security_token_has_nt_authenticated_users(session_info->security_token)) {
4522- return SECURITY_USER;
4523- }
4524-
4525- return SECURITY_ANONYMOUS;
4526+ return SECURITY_USER;
4527 }
4528diff --git a/libcli/smb/smb2cli_notify.c b/libcli/smb/smb2cli_notify.c
4529new file mode 100644
4530index 0000000..34329ba
4531--- /dev/null
4532+++ b/libcli/smb/smb2cli_notify.c
4533@@ -0,0 +1,214 @@
4534+/*
4535+ Unix SMB/CIFS implementation.
4536+ smb2 lib
4537+ Copyright (C) Volker Lendecke 2017
4538+
4539+ This program is free software; you can redistribute it and/or modify
4540+ it under the terms of the GNU General Public License as published by
4541+ the Free Software Foundation; either version 3 of the License, or
4542+ (at your option) any later version.
4543+
4544+ This program is distributed in the hope that it will be useful,
4545+ but WITHOUT ANY WARRANTY; without even the implied warranty of
4546+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4547+ GNU General Public License for more details.
4548+
4549+ You should have received a copy of the GNU General Public License
4550+ along with this program. If not, see <http://www.gnu.org/licenses/>.
4551+*/
4552+
4553+#include "includes.h"
4554+#include "system/network.h"
4555+#include "lib/util/tevent_ntstatus.h"
4556+#include "smb_common.h"
4557+#include "smbXcli_base.h"
4558+#include "librpc/gen_ndr/ndr_notify.h"
4559+
4560+struct smb2cli_notify_state {
4561+ uint8_t fixed[32];
4562+
4563+ struct iovec *recv_iov;
4564+ uint8_t *data;
4565+ uint32_t data_length;
4566+
4567+ struct tevent_req *subreq;
4568+};
4569+
4570+static void smb2cli_notify_done(struct tevent_req *subreq);
4571+static void smb2cli_notify_timedout(struct tevent_req *subreq);
4572+
4573+struct tevent_req *smb2cli_notify_send(TALLOC_CTX *mem_ctx,
4574+ struct tevent_context *ev,
4575+ struct smbXcli_conn *conn,
4576+ uint32_t timeout_msec,
4577+ struct smbXcli_session *session,
4578+ struct smbXcli_tcon *tcon,
4579+ uint32_t output_buffer_length,
4580+ uint64_t fid_persistent,
4581+ uint64_t fid_volatile,
4582+ uint32_t completion_filter,
4583+ bool recursive)
4584+{
4585+ struct tevent_req *req, *subreq;
4586+ struct smb2cli_notify_state *state;
4587+ uint8_t *fixed;
4588+
4589+ req = tevent_req_create(mem_ctx, &state,
4590+ struct smb2cli_notify_state);
4591+ if (req == NULL) {
4592+ return NULL;
4593+ }
4594+ fixed = state->fixed;
4595+ SSVAL(fixed, 0, 32);
4596+ SSVAL(fixed, 2, recursive ? SMB2_WATCH_TREE : 0);
4597+ SIVAL(fixed, 4, output_buffer_length);
4598+ SBVAL(fixed, 8, fid_persistent);
4599+ SBVAL(fixed, 16, fid_volatile);
4600+ SIVAL(fixed, 24, completion_filter);
4601+ SIVAL(fixed, 28, 0); /* reserved */
4602+
4603+ state->subreq = smb2cli_req_send(state, ev, conn, SMB2_OP_NOTIFY,
4604+ 0, 0, /* flags */
4605+ 0, /* timeout_msec */
4606+ tcon,
4607+ session,
4608+ state->fixed, sizeof(state->fixed),
4609+ NULL, 0, /* dyn* */
4610+ 0); /* max_dyn_len */
4611+ if (tevent_req_nomem(state->subreq, req)) {
4612+ return tevent_req_post(req, ev);
4613+ }
4614+ tevent_req_set_callback(state->subreq, smb2cli_notify_done, req);
4615+
4616+ subreq = tevent_wakeup_send(state, ev,
4617+ timeval_current_ofs_msec(timeout_msec));
4618+ if (tevent_req_nomem(subreq, req)) {
4619+ return tevent_req_post(req, ev);
4620+ }
4621+ tevent_req_set_callback(subreq, smb2cli_notify_timedout, req);
4622+
4623+ return req;
4624+}
4625+
4626+static void smb2cli_notify_timedout(struct tevent_req *subreq)
4627+{
4628+ struct tevent_req *req = tevent_req_callback_data(
4629+ subreq, struct tevent_req);
4630+ struct smb2cli_notify_state *state = tevent_req_data(
4631+ req, struct smb2cli_notify_state);
4632+ bool ok;
4633+
4634+ ok = tevent_wakeup_recv(subreq);
4635+ if (!ok) {
4636+ tevent_req_nterror(req, NT_STATUS_INTERNAL_ERROR);
4637+ return;
4638+ }
4639+
4640+ ok = tevent_req_cancel(state->subreq);
4641+ if (!ok) {
4642+ tevent_req_nterror(req, NT_STATUS_INTERNAL_ERROR);
4643+ return;
4644+ }
4645+}
4646+
4647+static void smb2cli_notify_done(struct tevent_req *subreq)
4648+{
4649+ struct tevent_req *req = tevent_req_callback_data(
4650+ subreq, struct tevent_req);
4651+ struct smb2cli_notify_state *state = tevent_req_data(
4652+ req, struct smb2cli_notify_state);
4653+ NTSTATUS status;
4654+ struct iovec *iov;
4655+ uint16_t data_offset;
4656+ static const struct smb2cli_req_expected_response expected[] = {
4657+ {
4658+ .status = NT_STATUS_OK,
4659+ .body_size = 0x09
4660+ }
4661+ };
4662+
4663+ status = smb2cli_req_recv(subreq, state, &iov,
4664+ expected, ARRAY_SIZE(expected));
4665+ TALLOC_FREE(subreq);
4666+
4667+ if (NT_STATUS_EQUAL(status, NT_STATUS_CANCELLED)) {
4668+ status = NT_STATUS_IO_TIMEOUT;
4669+ }
4670+ if (tevent_req_nterror(req, status)) {
4671+ return;
4672+ }
4673+
4674+ data_offset = SVAL(iov[1].iov_base, 2);
4675+ state->data_length = IVAL(iov[1].iov_base, 4);
4676+
4677+ if ((data_offset != SMB2_HDR_BODY + 8) ||
4678+ (state->data_length > iov[2].iov_len)) {
4679+ tevent_req_nterror(req, NT_STATUS_INVALID_NETWORK_RESPONSE);
4680+ return;
4681+ }
4682+
4683+ state->recv_iov = iov;
4684+ state->data = (uint8_t *)iov[2].iov_base;
4685+ tevent_req_done(req);
4686+}
4687+
4688+NTSTATUS smb2cli_notify_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
4689+ uint8_t **data, uint32_t *data_length)
4690+{
4691+ struct smb2cli_notify_state *state = tevent_req_data(
4692+ req, struct smb2cli_notify_state);
4693+ NTSTATUS status;
4694+
4695+ if (tevent_req_is_nterror(req, &status)) {
4696+ return status;
4697+ }
4698+ talloc_steal(mem_ctx, state->recv_iov);
4699+ *data_length = state->data_length;
4700+ *data = state->data;
4701+ return NT_STATUS_OK;
4702+}
4703+
4704+NTSTATUS smb2cli_notify(struct smbXcli_conn *conn,
4705+ uint32_t timeout_msec,
4706+ struct smbXcli_session *session,
4707+ struct smbXcli_tcon *tcon,
4708+ uint32_t output_buffer_length,
4709+ uint64_t fid_persistent,
4710+ uint64_t fid_volatile,
4711+ uint32_t completion_filter,
4712+ bool recursive,
4713+ TALLOC_CTX *mem_ctx,
4714+ uint8_t **data,
4715+ uint32_t *data_length)
4716+{
4717+ TALLOC_CTX *frame = talloc_stackframe();
4718+ struct tevent_context *ev;
4719+ struct tevent_req *req;
4720+ NTSTATUS status = NT_STATUS_NO_MEMORY;
4721+
4722+ if (smbXcli_conn_has_async_calls(conn)) {
4723+ /*
4724+ * Can't use sync call while an async call is in flight
4725+ */
4726+ status = NT_STATUS_INVALID_PARAMETER;
4727+ goto fail;
4728+ }
4729+ ev = samba_tevent_context_init(frame);
4730+ if (ev == NULL) {
4731+ goto fail;
4732+ }
4733+ req = smb2cli_notify_send(frame, ev, conn, timeout_msec,
4734+ session, tcon, output_buffer_length,
4735+ fid_persistent, fid_volatile,
4736+ completion_filter, recursive);
4737+ if (req == NULL) {
4738+ goto fail;
4739+ }
4740+ if (!tevent_req_poll_ntstatus(req, ev, &status)) {
4741+ goto fail;
4742+ }
4743+ status = smb2cli_notify_recv(req, mem_ctx, data, data_length);
4744+ fail:
4745+ TALLOC_FREE(frame);
4746+ return status;
4747+}
4748diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c
4749index 7322380..f1f90d9 100644
4750--- a/libcli/smb/smbXcli_base.c
4751+++ b/libcli/smb/smbXcli_base.c
4752@@ -138,6 +138,8 @@ struct smbXcli_conn {
4753
4754 uint8_t io_priority;
4755
4756+ bool force_channel_sequence;
4757+
4758 uint8_t preauth_sha512[64];
4759 } smb2;
4760
4761@@ -549,6 +551,17 @@ const struct GUID *smbXcli_conn_server_guid(struct smbXcli_conn *conn)
4762 return &conn->smb1.server.guid;
4763 }
4764
4765+bool smbXcli_conn_get_force_channel_sequence(struct smbXcli_conn *conn)
4766+{
4767+ return conn->smb2.force_channel_sequence;
4768+}
4769+
4770+void smbXcli_conn_set_force_channel_sequence(struct smbXcli_conn *conn,
4771+ bool v)
4772+{
4773+ conn->smb2.force_channel_sequence = v;
4774+}
4775+
4776 struct smbXcli_conn_samba_suicide_state {
4777 struct smbXcli_conn *conn;
4778 struct iovec iov;
4779@@ -2899,7 +2912,7 @@ struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx,
4780 uint32_t flags = 0;
4781 uint32_t tid = 0;
4782 uint64_t uid = 0;
4783- bool use_channel_sequence = false;
4784+ bool use_channel_sequence = conn->smb2.force_channel_sequence;
4785 uint16_t channel_sequence = 0;
4786 bool use_replay_flag = false;
4787
4788diff --git a/libcli/smb/smbXcli_base.h b/libcli/smb/smbXcli_base.h
4789index 6d9198a..20ef26e 100644
4790--- a/libcli/smb/smbXcli_base.h
4791+++ b/libcli/smb/smbXcli_base.h
4792@@ -59,6 +59,10 @@ uint16_t smbXcli_conn_max_requests(struct smbXcli_conn *conn);
4793 NTTIME smbXcli_conn_server_system_time(struct smbXcli_conn *conn);
4794 const DATA_BLOB *smbXcli_conn_server_gss_blob(struct smbXcli_conn *conn);
4795 const struct GUID *smbXcli_conn_server_guid(struct smbXcli_conn *conn);
4796+bool smbXcli_conn_get_force_channel_sequence(struct smbXcli_conn *conn);
4797+void smbXcli_conn_set_force_channel_sequence(struct smbXcli_conn *conn,
4798+ bool v);
4799+
4800
4801 struct tevent_req *smbXcli_conn_samba_suicide_send(TALLOC_CTX *mem_ctx,
4802 struct tevent_context *ev,
4803@@ -807,6 +811,32 @@ NTSTATUS smb2cli_query_directory(struct smbXcli_conn *conn,
4804 uint8_t **data,
4805 uint32_t *data_length);
4806
4807+struct tevent_req *smb2cli_notify_send(TALLOC_CTX *mem_ctx,
4808+ struct tevent_context *ev,
4809+ struct smbXcli_conn *conn,
4810+ uint32_t timeout_msec,
4811+ struct smbXcli_session *session,
4812+ struct smbXcli_tcon *tcon,
4813+ uint32_t output_buffer_length,
4814+ uint64_t fid_persistent,
4815+ uint64_t fid_volatile,
4816+ uint32_t completion_filter,
4817+ bool recursive);
4818+NTSTATUS smb2cli_notify_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
4819+ uint8_t **data, uint32_t *data_length);
4820+NTSTATUS smb2cli_notify(struct smbXcli_conn *conn,
4821+ uint32_t timeout_msec,
4822+ struct smbXcli_session *session,
4823+ struct smbXcli_tcon *tcon,
4824+ uint32_t output_buffer_length,
4825+ uint64_t fid_persistent,
4826+ uint64_t fid_volatile,
4827+ uint32_t completion_filter,
4828+ bool recursive,
4829+ TALLOC_CTX *mem_ctx,
4830+ uint8_t **data,
4831+ uint32_t *data_length);
4832+
4833 struct tevent_req *smb2cli_ioctl_send(TALLOC_CTX *mem_ctx,
4834 struct tevent_context *ev,
4835 struct smbXcli_conn *conn,
4836diff --git a/libcli/smb/wscript b/libcli/smb/wscript
4837index e662826..53a5c21 100644
4838--- a/libcli/smb/wscript
4839+++ b/libcli/smb/wscript
4840@@ -39,6 +39,7 @@ def build(bld):
4841 smb2cli_flush.c
4842 smb2cli_set_info.c
4843 smb2cli_query_info.c
4844+ smb2cli_notify.c
4845 smb2cli_query_directory.c
4846 smb2cli_ioctl.c
4847 smb2cli_echo.c
4848diff --git a/librpc/idl/messaging.idl b/librpc/idl/messaging.idl
4849index b962ab1..969e227 100644
4850--- a/librpc/idl/messaging.idl
4851+++ b/librpc/idl/messaging.idl
4852@@ -124,6 +124,7 @@ interface messaging
4853 MSG_WINBIND_DOMAIN_ONLINE = 0x040B,
4854 MSG_WINBIND_DOMAIN_OFFLINE = 0x040C,
4855 MSG_WINBIND_NEW_TRUSTED_DOMAIN = 0x040D,
4856+ MSG_WINBIND_DISCONNECT_DC = 0x040E,
4857
4858 /* event messages */
4859 MSG_DUMP_EVENT_LIST = 0x0500,
4860diff --git a/nsswitch/libwbclient/tests/wbclient.c b/nsswitch/libwbclient/tests/wbclient.c
4861index e80afc4..d107942 100644
4862--- a/nsswitch/libwbclient/tests/wbclient.c
4863+++ b/nsswitch/libwbclient/tests/wbclient.c
4864@@ -296,6 +296,7 @@ static bool test_wbc_users(struct torture_context *tctx)
4865 char *name = NULL;
4866 char *sid_string = NULL;
4867 wbcErr ret = false;
4868+ char separator;
4869
4870 torture_assert_wbc_ok(tctx, wbcInterfaceDetails(&details),
4871 "%s", "wbcInterfaceDetails failed");
4872@@ -306,6 +307,7 @@ static bool test_wbc_users(struct torture_context *tctx)
4873 ret,
4874 fail,
4875 "Failed to allocate domain_name");
4876+ separator = details->winbind_separator;
4877 wbcFreeMemory(details);
4878 details = NULL;
4879
4880@@ -323,9 +325,38 @@ static bool test_wbc_users(struct torture_context *tctx)
4881 struct wbcDomainSid sid;
4882 enum wbcSidType name_type;
4883 uint32_t num_sids;
4884+ const char *user;
4885+ char *c;
4886+
4887+ c = strchr(users[i], separator);
4888+
4889+ if (c == NULL) {
4890+ /*
4891+ * NT4 DC
4892+ * user name does not contain DOMAIN SEPARATOR prefix.
4893+ */
4894+
4895+ user = users[i];
4896+ } else {
4897+ /*
4898+ * AD DC
4899+ * user name starts with DOMAIN SEPARATOR prefix.
4900+ */
4901+ const char *dom;
4902+
4903+ *c = '\0';
4904+ dom = users[i];
4905+ user = c + 1;
4906+
4907+ torture_assert_str_equal_goto(tctx, dom, domain_name,
4908+ ret, fail, "Domain part "
4909+ "of user name does not "
4910+ "match domain name.\n");
4911+ }
4912
4913 torture_assert_wbc_ok_goto_fail(tctx,
4914- wbcLookupName(domain_name, users[i], &sid, &name_type),
4915+ wbcLookupName(domain_name, user,
4916+ &sid, &name_type),
4917 "wbcLookupName of %s failed",
4918 users[i]);
4919 torture_assert_int_equal_goto(tctx,
4920@@ -399,6 +430,7 @@ static bool test_wbc_groups(struct torture_context *tctx)
4921 char *domain = NULL;
4922 char *name = NULL;
4923 char *sid_string = NULL;
4924+ char separator;
4925
4926 torture_assert_wbc_ok(tctx, wbcInterfaceDetails(&details),
4927 "%s", "wbcInterfaceDetails failed");
4928@@ -409,6 +441,7 @@ static bool test_wbc_groups(struct torture_context *tctx)
4929 ret,
4930 fail,
4931 "Failed to allocate domain_name");
4932+ separator = details->winbind_separator;
4933 wbcFreeMemory(details);
4934 details = NULL;
4935
4936@@ -425,10 +458,39 @@ static bool test_wbc_groups(struct torture_context *tctx)
4937 for (i=0; i < MIN(num_groups,100); i++) {
4938 struct wbcDomainSid sid;
4939 enum wbcSidType name_type;
4940+ const char *group;
4941+ char *c;
4942+
4943+ c = strchr(groups[i], separator);
4944+
4945+ if (c == NULL) {
4946+ /*
4947+ * NT4 DC
4948+ * group name does not contain DOMAIN SEPARATOR prefix.
4949+ */
4950+
4951+ group = groups[i];
4952+ } else {
4953+ /*
4954+ * AD DC
4955+ * group name starts with DOMAIN SEPARATOR prefix.
4956+ */
4957+ const char *dom;
4958+
4959+
4960+ *c = '\0';
4961+ dom = groups[i];
4962+ group = c + 1;
4963+
4964+ torture_assert_str_equal_goto(tctx, dom, domain_name,
4965+ ret, fail, "Domain part "
4966+ "of group name does not "
4967+ "match domain name.\n");
4968+ }
4969
4970 torture_assert_wbc_ok_goto_fail(tctx,
4971 wbcLookupName(domain_name,
4972- groups[i],
4973+ group,
4974 &sid,
4975 &name_type),
4976 "wbcLookupName for %s failed",
4977diff --git a/nsswitch/tests/test_idmap_nss.sh b/nsswitch/tests/test_idmap_nss.sh
4978index 5072a0d..1bbc177 100755
4979--- a/nsswitch/tests/test_idmap_nss.sh
4980+++ b/nsswitch/tests/test_idmap_nss.sh
4981@@ -13,8 +13,8 @@ failed=0
4982
4983 . `dirname $0`/../../testprogs/blackbox/subunit.sh
4984
4985-testit "wbinfo returns domain SID" $wbinfo -n "@$DOMAIN" || exit 1
4986-DOMAIN_SID=$($wbinfo -n "@$DOMAIN" | cut -f 1 -d " ")
4987+testit "wbinfo returns domain SID" $wbinfo -n "$DOMAIN/" || exit 1
4988+DOMAIN_SID=$($wbinfo -n "$DOMAIN/" | cut -f 1 -d " ")
4989 echo "Domain $DOMAIN has SID $DOMAIN_SID"
4990
4991 # Find an unused uid and SID
4992diff --git a/nsswitch/tests/test_idmap_rid.sh b/nsswitch/tests/test_idmap_rid.sh
4993index 7fb5985..8209a50 100755
4994--- a/nsswitch/tests/test_idmap_rid.sh
4995+++ b/nsswitch/tests/test_idmap_rid.sh
4996@@ -16,7 +16,7 @@ failed=0
4997
4998 . `dirname $0`/../../testprogs/blackbox/subunit.sh
4999
5000-DOMAIN_SID=$($wbinfo -n "@$DOMAIN" | cut -f 1 -d " ")
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches