Michael Adam [Sat, 27 Sep 2008 20:08:02 +0000 (22:08 +0200)]
[s3]build: build the new test_lp_load command.
Michael
Michael Adam [Sat, 27 Sep 2008 20:06:27 +0000 (22:06 +0200)]
[s3]loadparm: add a command test_lp_load to test the lp_load function.
This is not like testparm, just a simple tool that runs
lp_load_with_registry_shares the requested number of times.
Michael
Jeremy Allison [Sat, 27 Sep 2008 01:39:03 +0000 (18:39 -0700)]
Second part of the fix for bug #5790 - samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition call.
This was my fault. I use a singleton cache (positive and negative) to speed up pathname based qfileinfo/setfileinfo lookups for alternate fsp's open on the same path. I only invalidated the negative cache on adding a new file fsp, as I incorrectly imagined the new fsp was put at the *end* of the open files list. DLIST_ADD puts it at the start, meaning any subsequent open wasn't seen once the cache was set. Doh !
Jeremy.
Stefan Metzmacher [Fri, 26 Sep 2008 23:49:22 +0000 (01:49 +0200)]
s4:provision: don't do the full provision in the become_dc
metze
Günther Deschner [Fri, 26 Sep 2008 23:15:07 +0000 (01:15 +0200)]
libwbclient: fix doxygen warnings.
Guenther
Günther Deschner [Fri, 26 Sep 2008 22:55:42 +0000 (00:55 +0200)]
libgpo: add gpext_security module build to configure.
Guenther
Günther Deschner [Fri, 26 Sep 2008 22:38:26 +0000 (00:38 +0200)]
libgpo: fix copyright.
Guenther
Günther Deschner [Fri, 26 Sep 2008 22:36:45 +0000 (00:36 +0200)]
libgpo: add security CSE skeleton.
Guenther
Jeremy Allison [Fri, 26 Sep 2008 22:20:27 +0000 (15:20 -0700)]
Add test to show you can open for delete a readonly file.
Jeremy.
Jeremy Allison [Fri, 26 Sep 2008 22:17:14 +0000 (15:17 -0700)]
Fix bug #5797 - Moving readonly files fails. Reported by infomail@lordb.de.
We don't need to deny a DELETE open on a readonly file (I'm also adding a s4
torture test for this), the set_file_disposition call will return
NT_STATUS_CANNOT_DELETE if the delete-on-close bit is set
on a readonly file (and we already do this).
Jeremy.
Günther Deschner [Fri, 26 Sep 2008 21:39:32 +0000 (23:39 +0200)]
libgpo: fix invalid cast in scripts CSE.
Guenther
Kai Blin [Wed, 24 Sep 2008 21:23:01 +0000 (23:23 +0200)]
net: Make share type lookup a function.
Günther Deschner [Thu, 25 Sep 2008 23:32:16 +0000 (01:32 +0200)]
s3-srvsvc: fix _srvsvc_NetShareAdd segfault.
parm_err is not a ref pointer.
Guenther
Jeremy Allison [Thu, 25 Sep 2008 19:02:22 +0000 (12:02 -0700)]
Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (this
needs changing to talloc_sprintf) and fix file descriptor resource leaks
in error paths. Jim and Holger please check !
Jeremy.
Günther Deschner [Tue, 16 Sep 2008 15:53:06 +0000 (17:53 +0200)]
netapi: start supporting NetUserSetInfo level 3.
Guenther
Günther Deschner [Wed, 24 Sep 2008 09:06:39 +0000 (11:06 +0200)]
s3-nbt: further cleanup of dsgetdcname().
Guenther
Günther Deschner [Wed, 24 Sep 2008 07:05:37 +0000 (09:05 +0200)]
s3-nbt: remove double nbt netlogon opcodes.
Guenther
Gerald W. Carter [Thu, 25 Sep 2008 17:43:56 +0000 (10:43 -0700)]
idmap: Fix typo is gid2sid() that was caching using idmap_cache_set_sid2uid()
Jeremy Allison [Thu, 25 Sep 2008 17:07:44 +0000 (10:07 -0700)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 25 Sep 2008 17:06:11 +0000 (10:06 -0700)]
Remove these no longer used include files.
Jeremy.
Gerald W. Carter [Thu, 25 Sep 2008 16:41:49 +0000 (09:41 -0700)]
idmap_hash: Fix the nss_info link during "make install"
Gerald W. Carter [Thu, 25 Sep 2008 16:14:58 +0000 (09:14 -0700)]
idmap_adex: Fix the nss_info install link.
Gerald W. Carter [Tue, 23 Sep 2008 18:43:05 +0000 (11:43 -0700)]
Document the new hash and adex idmap/nss_info plugins.
(cherry picked from commit
77bc0be0536bcd6a3ce8283a708828bebbbffee3)
Gerald W. Carter [Tue, 23 Sep 2008 18:40:28 +0000 (11:40 -0700)]
Document how to enable the name aliasing support in Winbind.
(cherry picked from commit
6dc81eb85b11851794619a1f2769d68cd9a54fb6)
Stefan Metzmacher [Thu, 25 Sep 2008 01:52:04 +0000 (18:52 -0700)]
s3:lib/ldb: Don't return already freed pointer on error.
metze
Signed-off-by: Karolin Seeger <kseeger@samba.org>
Andrew Tridgell [Thu, 25 Sep 2008 01:58:38 +0000 (18:58 -0700)]
we need different error handling for truncated packets in NETPROT and
other SMB2 operations.
Andrew Tridgell [Thu, 25 Sep 2008 01:28:58 +0000 (18:28 -0700)]
fixed expansion of $USERNAME in signing tests
Andrew Tridgell [Thu, 25 Sep 2008 00:58:15 +0000 (17:58 -0700)]
empty access mask is only denied on SMB2
Andrew Tridgell [Thu, 25 Sep 2008 00:45:48 +0000 (17:45 -0700)]
we should terminate the connection on a bad negprot packet size
Andrew Tridgell [Thu, 25 Sep 2008 00:41:36 +0000 (17:41 -0700)]
for use in python we need to use global_loadparm
Andrew Tridgell [Thu, 25 Sep 2008 00:36:24 +0000 (17:36 -0700)]
- add reserved field in basic_information level
- use INVALID_PARAMETER for info length mismatch to match windows
behaviour
- added parsing of LINK_INFORMATION level
Andrew Tridgell [Thu, 25 Sep 2008 00:34:58 +0000 (17:34 -0700)]
record highest seq number in SMB2 to check for seqnum going backwards
Andrew Tridgell [Thu, 25 Sep 2008 00:34:35 +0000 (17:34 -0700)]
log stream termination
Andrew Tridgell [Thu, 25 Sep 2008 00:34:04 +0000 (17:34 -0700)]
cope with body_size zero in SMB2 receive
Andrew Tridgell [Thu, 25 Sep 2008 00:33:15 +0000 (17:33 -0700)]
check for a 0 byte in the buffer in SMB2 read
Andrew Tridgell [Thu, 25 Sep 2008 00:32:47 +0000 (17:32 -0700)]
the offset is 16 bits in SMB2 fileinfo
Andrew Tridgell [Thu, 25 Sep 2008 00:31:57 +0000 (17:31 -0700)]
zero access mask should give ACCESS_DENIED
Andrew Tridgell [Thu, 25 Sep 2008 00:28:58 +0000 (17:28 -0700)]
- SMB2 uses INVALID_PARAMETER not BUFFER_TOO_SMALL for buffer size
errors
- added a s32o16 buffer function
Andrew Tridgell [Thu, 25 Sep 2008 00:26:42 +0000 (17:26 -0700)]
- use the current dialect first, for servers that only look at the
first dialect
- allow override of SMB2 port in client code
Andrew Tridgell [Thu, 25 Sep 2008 00:20:28 +0000 (17:20 -0700)]
added the structure for LINK_INFORMATION setfileinfo call
Andrew Tridgell [Thu, 25 Sep 2008 00:19:36 +0000 (17:19 -0700)]
be friendlier in smb2_deltree to some of the SMB2 implementations that
don't handle SEC_FLAG_MAXIMUM_ALLOWED
Andrew Tridgell [Thu, 25 Sep 2008 00:18:29 +0000 (17:18 -0700)]
check error code for zero desired_access in SMB2 create
Andrew Tridgell [Thu, 25 Sep 2008 00:17:41 +0000 (17:17 -0700)]
fixed setpathinfo in gentest to not zero the filename/handle
Andrew Tridgell [Wed, 24 Sep 2008 22:40:55 +0000 (15:40 -0700)]
fixed uninitialised variable bug
Andrew Tridgell [Wed, 24 Sep 2008 18:28:58 +0000 (11:28 -0700)]
support NT_STATUS_XX:NT_STATUS_YY syntax in ignore files
Andrew Tridgell [Wed, 24 Sep 2008 15:58:16 +0000 (08:58 -0700)]
fixed error code for bad keepalive
Andrew Tridgell [Wed, 24 Sep 2008 03:01:06 +0000 (20:01 -0700)]
stricter checking of SMB2 echo body (per the spec)
thanks to the bluearc test suite
Jim McDonough [Thu, 25 Sep 2008 00:47:03 +0000 (20:47 -0400)]
Fix the new vfs_smb_traffic_analyzer build for static links
Simo Sorce [Wed, 24 Sep 2008 23:22:39 +0000 (19:22 -0400)]
Temporary build fix for the merged build
Holger Hetterich [Wed, 24 Sep 2008 23:01:00 +0000 (19:01 -0400)]
SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>
Used to gather data to feed to a database for live and historical
analysis of usage per user, per share, etc.
Helper apps to read the data still to come. This one still needs to be
made ipv6 enabled (connection is made to the helper app).
Jelmer Vernooij [Wed, 24 Sep 2008 21:59:59 +0000 (23:59 +0200)]
Revert LDB return code patches from Matthias.
Jeremy Allison [Wed, 24 Sep 2008 21:28:18 +0000 (14:28 -0700)]
Fix bug #5790 samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition.
We were checking that fd != -1 in file_find_di_XXX calls which is no longer
needed due to a change in internal semantics.
Jeremy.
Stefan Metzmacher [Wed, 24 Sep 2008 20:49:05 +0000 (22:49 +0200)]
build: fix the libcryptosrcdir for the merged build
metze
Stefan Metzmacher [Tue, 23 Sep 2008 08:34:06 +0000 (10:34 +0200)]
s3:configure: add -L./bin also for the merged build
metze
Jelmer Vernooij [Wed, 24 Sep 2008 18:14:17 +0000 (20:14 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Karolin Seeger [Wed, 24 Sep 2008 16:53:21 +0000 (09:53 -0700)]
printing: Rename new parameter "cups timeout" to "cups connection timeout".
Karolin
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 15:37:33 +0000 (17:37 +0200)]
Cosmetic corrections for the KERBEROS library
This commit applies some cosmetic corrections for the KERBEROS library.
Matthias Dieter Wallnöfer [Thu, 18 Sep 2008 13:34:58 +0000 (15:34 +0200)]
Kerberos cosmetic changes: Revert a part of the patch
Reverts a part of the patch because it changes the function of the code (suggested by Jelmer).
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 15:37:33 +0000 (17:37 +0200)]
Cosmetic corrections for the KERBEROS library
This commit applies some cosmetic corrections for the KERBEROS library.
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 15:36:52 +0000 (17:36 +0200)]
Cosmetic corrections for the LDB library
This commit applies some cosmetic corrections for the LDB library.
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 15:36:14 +0000 (17:36 +0200)]
Cosmetic corrections for the LDB backend modules
This commit applies some cosmetic corrections for the LDB backend modules.
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 15:06:13 +0000 (17:06 +0200)]
Cosmetic corrections for the DSDB module
This commit applies some cosmetic corrections for the DSDB (Directory Server Database).
Jelmer Vernooij [Wed, 24 Sep 2008 17:27:09 +0000 (19:27 +0200)]
Use loadparm since it's required by some modules.
Jelmer Vernooij [Wed, 24 Sep 2008 16:49:58 +0000 (18:49 +0200)]
Add separate header file for arcfour.
Jelmer Vernooij [Wed, 24 Sep 2008 14:46:02 +0000 (16:46 +0200)]
Use common crc32 implementation.
Jelmer Vernooij [Wed, 24 Sep 2008 14:11:13 +0000 (16:11 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypto
Jelmer Vernooij [Wed, 24 Sep 2008 14:10:53 +0000 (16:10 +0200)]
Fix include paths.
Jelmer Vernooij [Wed, 24 Sep 2008 14:10:34 +0000 (16:10 +0200)]
Clean .o files in lib/ and libcli/ too.
Jelmer Vernooij [Wed, 24 Sep 2008 13:44:34 +0000 (15:44 +0200)]
Use shared copy of hmac5 implementation.
Jelmer Vernooij [Wed, 24 Sep 2008 13:37:15 +0000 (15:37 +0200)]
Use common md4 implementation.
Jelmer Vernooij [Wed, 24 Sep 2008 13:34:30 +0000 (15:34 +0200)]
Use common MD5.
Jelmer Vernooij [Wed, 24 Sep 2008 13:30:23 +0000 (15:30 +0200)]
Move source4/lib/crypto to lib/crypto.
Simo Sorce [Wed, 24 Sep 2008 05:37:16 +0000 (01:37 -0400)]
Fix nasty bug that would come up only if a client connection to a remote
ldap server suddenly dies.
We were creating a wrong talloc hierarchy, so the event.fde was not
freed automatically as expected. This in turn made the event system call
the ldap io handlers with a null packet structure, causing a segfault.
Fix also the ordering in ldap_connection_dead()
Thanks to Metze for the huge help in tracking down this one.
Simo Sorce [Wed, 24 Sep 2008 05:34:10 +0000 (01:34 -0400)]
Fix python test, we can't check only the first member, because the order
is not guaranteed
Jelmer Vernooij [Wed, 24 Sep 2008 02:41:30 +0000 (04:41 +0200)]
Use new binary name in merged build.
Jelmer Vernooij [Wed, 24 Sep 2008 02:34:54 +0000 (04:34 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Stefan Metzmacher [Wed, 24 Sep 2008 01:59:53 +0000 (03:59 +0200)]
s4:libcli/smb_composite: we only check the signature when the server return OK
We need to manually free the request, otherwise the timeout handler is
triggered later.
metze
Günther Deschner [Wed, 24 Sep 2008 01:51:25 +0000 (03:51 +0200)]
libcli: add nbt_proto.h that is no longer autogenerated.
Guenther
Günther Deschner [Wed, 24 Sep 2008 00:44:34 +0000 (02:44 +0200)]
s3: fix idmap_adex.
Guenther
Günther Deschner [Tue, 23 Sep 2008 23:16:10 +0000 (01:16 +0200)]
libcli: add some basic debugging functions for netlogon helper.
Guenther
Günther Deschner [Tue, 23 Sep 2008 20:21:52 +0000 (22:21 +0200)]
s3-nbt: use the new generated nbt.
Guenther
Günther Deschner [Tue, 23 Sep 2008 20:16:15 +0000 (22:16 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Tue, 23 Sep 2008 20:15:38 +0000 (22:15 +0200)]
s3-nbt: full merge of s4 nbt idl.
Guenther
Günther Deschner [Wed, 24 Sep 2008 00:25:34 +0000 (02:25 +0200)]
s3: fix merged_build.
Guenther
Jelmer Vernooij [Wed, 24 Sep 2008 01:16:15 +0000 (03:16 +0200)]
Rename smbd -> samba.
This reverts commit
05ea5e23cf4e70de0bd658b1c5c0ead133967091.
Conflicts:
source4/smbd/server.c
Karolin Seeger [Tue, 23 Sep 2008 23:54:05 +0000 (16:54 -0700)]
printing: Add new parameter "cups timeout".
The default timeout for connections to CUPS servers is set
to 5 minutes in the CUPS libraries. The smbd hangs on startup
until the timeout is reached if the CUPS server is unreachable.
This parameter makes the timeout configurable. The default value
is set to 30 seconds.
Karolin
Günther Deschner [Tue, 23 Sep 2008 23:40:13 +0000 (01:40 +0200)]
s3: fix make everything.
Guenther
Jeremy Allison [Tue, 23 Sep 2008 23:39:57 +0000 (16:39 -0700)]
Fix winbindd crash in an unusual failure mode. Bug #5737. Based on original patch from shargagan@novell.com
Jeremy.
Günther Deschner [Tue, 23 Sep 2008 23:13:51 +0000 (01:13 +0200)]
libcli: add autogenerated libcli netlogon helper protos.
Guenther
Günther Deschner [Tue, 23 Sep 2008 23:11:38 +0000 (01:11 +0200)]
s4: remove autogeneration of libcli/netlogon protos.
we do need to have them around for samba3.
Guenther
Simo Sorce [Tue, 23 Sep 2008 18:30:06 +0000 (14:30 -0400)]
Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
Jeremy Allison [Tue, 23 Sep 2008 22:05:45 +0000 (15:05 -0700)]
Fix bug #5783 FindFirst fails where search pattern == mangled filename.
That was an old and subtle bug.
Jeremy.
Günther Deschner [Tue, 23 Sep 2008 21:41:39 +0000 (23:41 +0200)]
pam_winbind: attempt to fix build issue on solaris, bug #5784
Guenther
Günther Deschner [Tue, 23 Sep 2008 18:43:41 +0000 (20:43 +0200)]
s3-ndr: add stub smb_iconv_convenience to some ndr_ functions.
Guenther
Günther Deschner [Tue, 23 Sep 2008 18:59:30 +0000 (20:59 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Tue, 23 Sep 2008 19:00:09 +0000 (21:00 +0200)]
pidl: fix samba3 server wrt to samba4 ndr_pull_init_blob protype.
this is in preparation for the final nbt merge.
Guenther
Günther Deschner [Tue, 23 Sep 2008 19:08:25 +0000 (21:08 +0200)]
s3: fix NETLOGON_NT_VERSION version flags.
Guenther
Günther Deschner [Tue, 23 Sep 2008 19:07:56 +0000 (21:07 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Tue, 23 Sep 2008 20:35:16 +0000 (22:35 +0200)]
s3-nbt: start merging from samba4 idl.
Guenther
Günther Deschner [Tue, 23 Sep 2008 21:14:40 +0000 (23:14 +0200)]
s4-nbt: use moved libcli netlogon helpers.
Guenther