Andrew Tridgell
8d2d0ef0eb
lib: removed a spurios declaration of 'logfile'
...
we don't have a global logfile variable any more
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 06:17:03 +02:00
Jeremy Allison
bae14fba52
Remove two unused labels.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Mar 29 02:23:02 CEST 2011 on sn-devel-104
2011-03-29 02:23:02 +02:00
David Disseldorp
db966efe8a
=?UTF-8?q?alpha=5Fstrcpy()=20is=20a=20utility=20function=20which=20reportedly:
...
=20Strips=20out=20all=20but=20'a-Z0-9'=20and=20the=20character=20in=20other=5Fsafe=5Fchars=20and
=20replaces=20with=20'=5F'.
=20This=20statement=20does=20not=20currently=20hold=20true=20in=20all=20cases=20(e.g.=20src=20=3D
=20"=D0=A2=D0=90=D0=9D=D0=A6=D0=95=D0=92=D0=90=D0=A2=D0=AC").?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
2011-03-29 01:35:23 +02:00
Michael Adam
e0681441af
s3:rpc_client: fix argument order of call to lsa_open_policy2 in rpccli_lsa_open_policy2
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Mar 29 01:34:28 CEST 2011 on sn-devel-104
2011-03-29 01:34:28 +02:00
Andrew Bartlett
2c0d80259a
s3-selftest Fix test_smbclient_auth.sh
...
The -N in the command line meant that all the logins were as the
guest, not as the user specified.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Mar 29 00:47:50 CEST 2011 on sn-devel-104
2011-03-29 00:47:50 +02:00
Andrew Bartlett
29fabfd3ea
s3-selftest Allow LM passwords and turn of NTLMv2 for security=share test
2011-03-29 00:00:23 +02:00
Andrew Bartlett
c8bc7089f5
s3-selftest Add tests for security=server
...
Andrew Bartlett
2011-03-29 00:00:23 +02:00
Andrew Bartlett
2839391c7d
s3-selftest unconditionaly include subunit.sh
...
we no longer . this file into other shell scripts, so we don't need
this check any more.
Andrew Bartlett
2011-03-29 00:00:23 +02:00
Andrew Bartlett
53ddac3f27
wintest New snapshot for my wintest VMs
2011-03-29 00:00:23 +02:00
Andrew Tridgell
ef44794097
s4-fsmo: say which role is being transferred
...
this is particularly useful for "samba-tool fsmo transfer --role=all"
2011-03-29 00:00:23 +02:00
Andrew Tridgell
3600f2e250
s4-fsmo: samba-tool fsmo transfer now gets full error code
...
We now wait for the transfer to succeed or fail
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
b32f155bae
s4-dsdb: perform FSMO transfers asynchronously
...
this gives the administrator a proper error message on the command
line
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
358892e836
s4-fsmo: make rootDSE modify for FSMO transfer async
...
this gives the ldap client the error code from the transfer
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
f4e3ccfe9e
s4-fsmo: nicer error messages on failed FSMO transfers
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
07b6f75bc1
s4-drs: default hostname in samba-tool drs command
...
default to our hostname
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
fdd9540187
s4-dsdb: only allow administrators to trigger FSMO role transfers
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
f4d581468c
s4-fsmo: samba-tool fsmo takes a URL, not a hostname
...
better to call the option --url
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
9eb9b11bfd
wintest: added a "ipconfig /flushdns"
...
w2k3 doesn't flush its DNS cache on a dynamic update
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
22cbd04fd7
wintest: fixed syntax highlighting with emacs
2011-03-29 00:00:22 +02:00
Andrew Tridgell
b85bb3e386
wintest: ensure we startup the w2k3 DC VM
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Jeremy Allison
67aa53a1e1
Be a little clearer about when and when not to set this option.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Mar 28 23:59:47 CEST 2011 on sn-devel-104
2011-03-28 23:59:47 +02:00
Jeremy Allison
52602e4f5a
Fix inspired by work done by David Disseldorp for bug #8040 - smbclient segfaults when a Cyrillic netbios name or workgroup is configured.
...
Change msrpc_gen to return NTSTATUS and ensure everywhere this is
used it is correctly checked to return that status.
Jeremy.
2011-03-28 23:12:07 +02:00
Volker Lendecke
fbe19ba398
s3: Fix Coverity ID 2143: DEADCODE
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 28 12:06:19 CEST 2011 on sn-devel-104
2011-03-28 12:06:19 +02:00
Volker Lendecke
05dac2b7e6
s3: Fix Coverity ID 2143: DEADCODE
2011-03-28 11:16:55 +02:00
Volker Lendecke
6e9b69fb07
s3: Fix Coverity ID 2173: FORWARD_NULL
2011-03-28 11:16:55 +02:00
Stefan Metzmacher
dc36d75d5f
Revert "Change strict allocate to default to true.
...
This reverts commit ecf48af135
.
This makes Samba unusable on systems without Linux and
a modern Filesystem.
This was discussed with Jeremy on IRC:
http://irclog.samba.org/2011/01/20110126-Wed.log
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Mar 28 09:00:09 CEST 2011 on sn-devel-104
2011-03-28 09:00:09 +02:00
Volker Lendecke
a414356075
s3: Fix Coverity ID 2188: MISSING_BREAK
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 27 23:11:10 CEST 2011 on sn-devel-104
2011-03-27 23:11:10 +02:00
Volker Lendecke
ba92c45787
s3: Fix Coverity ID 2189: MISSING_BREAK
2011-03-27 22:22:12 +02:00
Volker Lendecke
25397de589
tdb: Fix Coverity ID 2192: NO_EFFECT
...
(ret < 0) can never be true
2011-03-27 22:22:12 +02:00
Volker Lendecke
261d6b0e9b
s3: Fix Coverity ID 2195: NO_EFFECT
...
level is unsigned
2011-03-27 22:22:12 +02:00
Volker Lendecke
8d9cbc7c22
librpc: Add some error checking to dcerpc_floor_pack_rhs_if_version_data
2011-03-27 22:22:12 +02:00
Volker Lendecke
9370c28425
librpc: Fix Coverity ID 2198: NULL_RETURNS
2011-03-27 22:22:12 +02:00
Volker Lendecke
240aeeb588
s3: Fix Coverity ID 2200: NULL_RETURNS (cut&paste error)
2011-03-27 22:22:11 +02:00
Volker Lendecke
6bee354377
s3: Fix Coverity ID 2228: RESOURCE_LEAK
...
Holger, please check!
2011-03-27 22:22:11 +02:00
Volker Lendecke
7e6030a495
s3: Fix Coverity ID 2226: RESOURCE_LEAK
...
Holger, please check!
2011-03-27 22:22:11 +02:00
Volker Lendecke
c07be5f747
s3: Fix Coverity ID 976: BAD_SIZEOF
2011-03-27 22:22:10 +02:00
Volker Lendecke
a431394ce3
s3: Fix Coverity ID 958: BAD_SIZEOF
...
This is supposed to wipe out the md5 context, not only the first bytes of it.
Others, please check!
2011-03-27 22:22:10 +02:00
Volker Lendecke
8db0374251
s3: Fix Coverity ID 682: NEGATIVE_RETURNS
2011-03-27 22:22:10 +02:00
Volker Lendecke
1a1675bbfe
s3: Fix Coverity ID 590: DEADCODE
2011-03-27 22:22:10 +02:00
Volker Lendecke
30085eb792
s3: Fix Coverity ID 585: NEGATIVE_RETURNS
2011-03-27 22:22:10 +02:00
Volker Lendecke
08e4e7fef7
s3: Fix Coverity ID 513: UNINIT
2011-03-27 22:22:10 +02:00
Volker Lendecke
7c868e6174
s3: Fix Coverity ID 83: RESOURCE_LEAK
2011-03-27 22:22:10 +02:00
Volker Lendecke
592c669d9d
s3: Convert cli_raw_tcon to cli_smb
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 27 19:50:21 CEST 2011 on sn-devel-104
2011-03-27 19:50:21 +02:00
Volker Lendecke
13c1c8ef3d
s3: Fix a memleak
2011-03-27 19:04:11 +02:00
Volker Lendecke
c83ce65ad0
s3: Replace a use of cli_errstr
2011-03-27 19:04:11 +02:00
Volker Lendecke
ffef3aa809
s3: Replace cli_negprot_sendsync() by cli_negprot_send()
2011-03-27 19:04:11 +02:00
Volker Lendecke
a60ba54618
s3: Remove a pointless static
2011-03-27 19:04:10 +02:00
Volker Lendecke
5d9075c049
s3: Remove a use of cli_send_smb
2011-03-27 19:04:10 +02:00
Volker Lendecke
b47b4c9e3d
s3: Remove two calls to cli_errstr
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 27 13:17:47 CEST 2011 on sn-devel-104
2011-03-27 13:17:47 +02:00
Volker Lendecke
8cd262240e
s3: Fix Coverity ID 2296: UNUSED_VALUE
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 27 12:12:35 CEST 2011 on sn-devel-104
2011-03-27 12:12:35 +02:00