Jeremy Allison [Thu, 1 May 2008 15:49:18 +0000 (08:49 -0700)]
Tidyup to ensure '\n' is treated identically in all
cases. Karolin please pull for 3.2-stable.
Jeremy.
Jeremy Allison [Thu, 1 May 2008 15:40:30 +0000 (08:40 -0700)]
Fix bug #5434 found by Ted Percival <ted@midg3t.net>.
Introduced by me in the strlcpy cleanup. Ensure the
loaded password doesn't contain the '\n' at the end.
Karolin - please pull for 3.2 stable !
Jeremy.
Günther Deschner [Wed, 30 Apr 2008 16:23:26 +0000 (18:23 +0200)]
pam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).
Guenther
(cherry picked from commit
5b65df6245c1458ca21cc602df11c49aa97a25c5)
Jeremy Allison [Wed, 30 Apr 2008 16:28:42 +0000 (09:28 -0700)]
Fix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be AF_INET6 in this case.
Karolin, please pull for 3.2-stable.
Jeremy.
Gerald W. Carter [Wed, 30 Apr 2008 15:09:43 +0000 (10:09 -0500)]
Winbind: Prevent cycle in children list when reaping dead child processes.
Thanks to Glenn Curtis and Kyle Stemen @ Likewise. Their explanation is:
In winbindd_dual.c, there is a list of children processes that
is maintained using macros DTLIST_ADD and DTLIST_REMOVE. In the
case when a scheduled_async_request fails, the particular child
was located in the list, and its attributes were cleared out
and it was reused for a subsequent async request. The bug was that
the new request would queue the same node into the doubly-linked
list and would result in list->next pointing to the same node as
list itself. This would set up an infinite loop in the processing of
the for loop when the list of children was referenced.
Solution was to fully remove the child node from the list, such that
it could be inserted without risk of being inserted twice.
Note that the child is re-added to the list in fork_domain_child() again.
(cherry picked from commit
b379b5b5d8a6daccc69aaf2be6d9a6e276e7dd78)
Gerald W. Carter [Wed, 30 Apr 2008 14:57:15 +0000 (09:57 -0500)]
BUG 5107: Fix handling of large DNS replies on AIX and Solaris.
On AIX, Solaris, and possibly some older glibc systems (e.g. SLES8)
truncated replies never give back a resp_len > buflen
which ends up causing DNS resolve failures on large tcp DNS replies.
Also add more debug lines about processing the DNS reply.
(cherry picked from commit
5ed9b92097460cd8180db806a08213e97cfb8daa)
Gerald W. Carter [Wed, 30 Apr 2008 14:43:00 +0000 (09:43 -0500)]
BUG 5429: Clarify log msgs re: failure to create BUILTIN\{Administrators,Users}
Raise the debug msgs from Lvl 0 in the create_builtin_XX() functions
to prevent unnecessary panic from people reading the logs.
(cherry picked from commit
2983b9dc790e0f90ec1e6add131438c6bfd361b4)
Jeremy Allison [Mon, 28 Apr 2008 22:06:14 +0000 (15:06 -0700)]
Fix bug found by Igor Mammedov <niallain@gmail.com> where we are
not returning a directory value for a QPATHINFO on a msdfs link
with a non-dfs path. Windows does this.
Jeremy.
Karolin Seeger [Mon, 28 Apr 2008 13:26:57 +0000 (15:26 +0200)]
man smbcacls: Correct possible flag values.
This patch fixes bug #620.
Thanks to Satoh Fumiyasu <fumiyas@osstech.co.jp>!
Karolin
(cherry picked from commit
70f6966099788f4bdb0298a68d4cb0b90964dd8f)
Karolin Seeger [Mon, 28 Apr 2008 08:01:12 +0000 (10:01 +0200)]
WHATSNEW: Add changes from Steven Danneman.
Karolin
Karolin Seeger [Mon, 28 Apr 2008 07:19:41 +0000 (09:19 +0200)]
WHATSNEW: Preparation for 3.2.0rc1.
Karolin
Volker Lendecke [Sun, 27 Apr 2008 10:16:23 +0000 (12:16 +0200)]
Next round fixing bug 5420, build on IRIX
The IRIX make does not like lines with only whitespace. With LIBNETAPI_LIBS
evaluating to nothing this happens there.
Volker Lendecke [Sat, 26 Apr 2008 07:48:17 +0000 (09:48 +0200)]
Attempt to fix the build on IRIX: Bug 5420
Steven Danneman [Sat, 26 Apr 2008 01:34:46 +0000 (18:34 -0700)]
Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s of entries
The ads_do_search_all_args() function attempts to string together several
LDAPMessage structures, returned across several paged ldap requests, into a
single LDAPMessage structure. It does this by pulling entries off the second
LDAPMessage structure and appending them to the first via the OpenLDAP specific
ldap_add_result_entry() call.
The problem with this approach is it skips non-entry messages such as the
result, and controls. These messages are leaked.
The short term solution as suggested by Volker is to replace the ads_*_entry()
calls with ads_*_message() calls so we don't leak any messages.
This fixes the leak but doesn't remove the dependence on the OpenLDAP specific
implementation of ldap_add_result_entry().
Jeremy Allison [Fri, 25 Apr 2008 15:29:08 +0000 (08:29 -0700)]
Remove hard coded sizes.
Jeremy.
Volker Lendecke [Fri, 25 Apr 2008 15:04:44 +0000 (17:04 +0200)]
Revert "mount.cifs: Zero mountpassword content before freeing."
This reverts commit
d99a31848bd2172c15500dd61ce30fef963c1ac6.
Volker Lendecke [Fri, 25 Apr 2008 14:48:00 +0000 (16:48 +0200)]
Revert "Make some fns static"
This reverts commit
e04fc36f223d8d905a930c077a6cf6c48ee57af7.
Volker Lendecke [Fri, 25 Apr 2008 14:45:17 +0000 (16:45 +0200)]
Revert "Remove a redundant TALLOC_FREE"
This reverts commit
8e348ab8652e1893be78384404f57df1dbbcea48.
Volker Lendecke [Fri, 25 Apr 2008 14:43:30 +0000 (16:43 +0200)]
Revert "Enable multiple fd events on a single file descriptor"
This reverts commit
61503f822b60f98dd1f7549707ec89b48e32caeb.
Volker Lendecke [Fri, 25 Apr 2008 14:42:27 +0000 (16:42 +0200)]
Revert "Remove some write-only fstrings"
This reverts commit
aacb07b1b0f674b8cb92347ef4b4dd1e7808dde8.
Volker Lendecke [Fri, 25 Apr 2008 14:42:15 +0000 (16:42 +0200)]
Revert "Remove namedpipe_transact fn pointer from smb_np_struct"
This reverts commit
d1f82b7e67a791e19d08c682b607d82ae649feb4.
Volker Lendecke [Fri, 25 Apr 2008 14:35:23 +0000 (16:35 +0200)]
Revert "Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internal"
This reverts commit
b90062e33cbde7de4961414fd35a3a588760d002.
Volker Lendecke [Fri, 25 Apr 2008 14:35:10 +0000 (16:35 +0200)]
Revert "Refactoring: Make struct rpc_pipe_client its own talloc parent"
This reverts commit
a6d74a5a562b54f0b36934965f545fdeb1e8b34a.
Volker Lendecke [Fri, 25 Apr 2008 14:35:05 +0000 (16:35 +0200)]
Revert "Add "desthost" to rpc_pipe_client"
This reverts commit
783afab9c891dd7bcb78895b2a639b6f3a0edf5b.
Volker Lendecke [Fri, 25 Apr 2008 14:34:59 +0000 (16:34 +0200)]
Revert "Fix two "ignoring asprintf result" warnings"
This reverts commit
1d261e78b38e8080ca7122037d33c8ef913a4558.
Volker Lendecke [Fri, 25 Apr 2008 14:34:30 +0000 (16:34 +0200)]
Revert "Move srv_name_slash from cli_state to rpc_pipe_client"
This reverts commit
a9061e52e1ff8e31aa480f4a30cda64c9d93214e.
Volker Lendecke [Fri, 25 Apr 2008 14:34:18 +0000 (16:34 +0200)]
Revert "Introduce rpccli_set_timeout()"
This reverts commit
2e4c1ba38963cffe4c3f25ab24bc28975f2fc291.
Volker Lendecke [Fri, 25 Apr 2008 14:34:11 +0000 (16:34 +0200)]
Revert "Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name"
This reverts commit
3f6c5b99664a75a6f490ee3b6980b89cacf7f579.
Volker Lendecke [Fri, 25 Apr 2008 14:34:05 +0000 (16:34 +0200)]
Revert "Remove some unused code referencing pipe_names[]"
This reverts commit
d8a04b798c44c26a91a37fa7090dd071a1909166.
Volker Lendecke [Fri, 25 Apr 2008 14:33:54 +0000 (16:33 +0200)]
Revert "Remove the pipe_idx variable from rpc_pipe_client"
This reverts commit
4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6.
Volker Lendecke [Fri, 25 Apr 2008 14:33:47 +0000 (16:33 +0200)]
Revert "Refactoring: Move stuff around for creating a pipe"
This reverts commit
45be749ed69f8c1ad3ebe8ea1f35c806db2ed5d0.
Volker Lendecke [Fri, 25 Apr 2008 14:33:35 +0000 (16:33 +0200)]
Revert "Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct"
This reverts commit
99fc3283c4ecc791f5a242bd1983b4352ce3e6cf.
Volker Lendecke [Fri, 25 Apr 2008 14:33:30 +0000 (16:33 +0200)]
Revert "Remove a redundant reference to rpc_pipe_state->cli from srv_spoolss"
This reverts commit
7331c4c2781bf7904942c119f1a8de8eda00ae7e.
Volker Lendecke [Fri, 25 Apr 2008 14:33:23 +0000 (16:33 +0200)]
Revert "Introduce rpc_pipe_np_smb_conn()"
This reverts commit
c56e1c08cef107ff33a34346ceeca3475a102b19.
Volker Lendecke [Fri, 25 Apr 2008 14:33:15 +0000 (16:33 +0200)]
Revert "Make convert_samr_dispinfo_to_NET_DISPLAY() static"
This reverts commit
a30a26d471a572167ee13bf10be1a275a6592851.
Volker Lendecke [Fri, 25 Apr 2008 14:33:01 +0000 (16:33 +0200)]
Revert "Fix some empty lines with just spaces"
This reverts commit
f8fb9b7e3759bec7fbcf93b27438ca6b03202ddb.
Volker Lendecke [Fri, 25 Apr 2008 14:32:44 +0000 (16:32 +0200)]
Revert "Remove the "pwd" struct from rpc_pipe_client"
This reverts commit
3d8c2a47e677a4c4aacf4abf148b1bd8163c3351.
Volker Lendecke [Fri, 25 Apr 2008 14:31:31 +0000 (16:31 +0200)]
Revert "Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client"
This reverts commit
f665afaaa3eff9ef54112e08ed034a6e1bb30edc.
Volker Lendecke [Fri, 25 Apr 2008 14:31:25 +0000 (16:31 +0200)]
Revert "Move user/domain from rpc_pipe_client to cli_pipe_auth_data"
This reverts commit
42de50d2cd43e760d776694f7b5f003ba51d7f84.
Volker Lendecke [Fri, 25 Apr 2008 14:31:14 +0000 (16:31 +0200)]
Revert "Create rpccli_xxx_bind_data functions"
This reverts commit
630b9c241cb6db758f8290420a38af452569e903.
Volker Lendecke [Fri, 25 Apr 2008 14:31:08 +0000 (16:31 +0200)]
Revert "Make use of rpccli_xxx_bind_data"
This reverts commit
f9bc336affd2ce21a3c62880ecea2622f35653d1.
Volker Lendecke [Fri, 25 Apr 2008 14:31:00 +0000 (16:31 +0200)]
Revert "cli_rpc_pipe_open_noauth must take the user/domain from the smb session"
This reverts commit
6f08128cf2722618e74b603e180e7e2a83d7d07a.
Volker Lendecke [Fri, 25 Apr 2008 14:30:55 +0000 (16:30 +0200)]
Revert "Introduce rpccli_pipe_txt(), describing a pipe for debug messages"
This reverts commit
83892d51de0dcdaeae18bc34d03eefefc95ff601.
Volker Lendecke [Fri, 25 Apr 2008 14:30:50 +0000 (16:30 +0200)]
Revert "Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client"
This reverts commit
3433f430b0c1f7d350a40eac783385a2d30d905c.
Volker Lendecke [Fri, 25 Apr 2008 14:30:45 +0000 (16:30 +0200)]
Revert "Add basic ncacn_ip_tcp client infrastructure"
This reverts commit
11072ccc7aeb6e087e78cea83959a2f6e0b2f837.
Volker Lendecke [Fri, 25 Apr 2008 14:30:39 +0000 (16:30 +0200)]
Revert "Attempt to fix the non-krb build"
This reverts commit
31d80a476701c89bf236997f2ab68bd2765579bd.
Günther Deschner [Fri, 25 Apr 2008 12:49:02 +0000 (14:49 +0200)]
IDL: Add autogenerated drsuapi files.
Guenther
Günther Deschner [Thu, 24 Apr 2008 20:19:23 +0000 (22:19 +0200)]
errors: add WERR_INVALID_DOMAINNAME.
Guenther
Michael Adam [Fri, 25 Apr 2008 12:08:10 +0000 (14:08 +0200)]
docs: fix the manpage output of parameters list in smb.conf.5.
There were some newlines missing in the template for samba:parameters.
Michael
Michael Adam [Fri, 25 Apr 2008 12:01:57 +0000 (14:01 +0200)]
docs: fix indentation in expand-smbxonfdoc.
Michael
Karolin Seeger [Fri, 25 Apr 2008 10:07:28 +0000 (12:07 +0200)]
mount.cifs: Zero mountpassword content before freeing.
Karolin
Volker Lendecke [Fri, 25 Apr 2008 10:36:39 +0000 (12:36 +0200)]
Attempt to fix the non-krb build
Volker Lendecke [Thu, 24 Apr 2008 20:24:20 +0000 (22:24 +0200)]
Add basic ncacn_ip_tcp client infrastructure
Volker Lendecke [Thu, 24 Apr 2008 18:42:32 +0000 (20:42 +0200)]
Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client
Should be no functional change, just a change in the data structure
Volker Lendecke [Thu, 24 Apr 2008 18:24:37 +0000 (20:24 +0200)]
Introduce rpccli_pipe_txt(), describing a pipe for debug messages
Volker Lendecke [Tue, 22 Apr 2008 16:17:01 +0000 (18:17 +0200)]
cli_rpc_pipe_open_noauth must take the user/domain from the smb session
Volker Lendecke [Tue, 22 Apr 2008 12:31:35 +0000 (14:31 +0200)]
Make use of rpccli_xxx_bind_data
Volker Lendecke [Tue, 22 Apr 2008 11:03:06 +0000 (13:03 +0200)]
Create rpccli_xxx_bind_data functions
These functions create the auth data for the later bind
Volker Lendecke [Mon, 21 Apr 2008 20:27:29 +0000 (22:27 +0200)]
Move user/domain from rpc_pipe_client to cli_pipe_auth_data
Volker Lendecke [Mon, 21 Apr 2008 08:39:37 +0000 (10:39 +0200)]
Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client
Jeremy Allison [Thu, 24 Apr 2008 22:02:23 +0000 (15:02 -0700)]
Fix from Martin Zielinski <mz@seh.de>. Don't delete files when
they're in use by other drivers.
Jeremy.
Jeremy Allison [Thu, 24 Apr 2008 21:04:47 +0000 (14:04 -0700)]
The first of Martin Zielinski <mz@seh.de> Vista printing patches.
Jerry will test and should get into 3.2 final (and the next 3.0.x
release).
Jeremy.
Günther Deschner [Thu, 24 Apr 2008 19:53:55 +0000 (21:53 +0200)]
mailslot/dsgetdcname: do what XP does and request nt_version 11.
This allows dsgetdcname to query for a flat, non-dns domain name and
come back with all information about the DC (site names, guid, forest,
etc.) based on a mailslot reply. The version 11 request is downgraded
to version 1 in case we do a query against NT4.
Guenther
Günther Deschner [Thu, 24 Apr 2008 19:37:42 +0000 (21:37 +0200)]
mailslot: allow to give back struct nbt_ntlogon_packet.
Guenther
Günther Deschner [Thu, 24 Apr 2008 19:29:48 +0000 (21:29 +0200)]
mailslot: make sure we are looking at the correct reply structure.
Guenther
Günther Deschner [Thu, 24 Apr 2008 19:28:03 +0000 (21:28 +0200)]
mailslot: allow to define nt_version in send_getdc_request().
Guenther
Günther Deschner [Wed, 23 Apr 2008 08:55:26 +0000 (10:55 +0200)]
rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().
Guenther
Alexander Bokovoy [Thu, 24 Apr 2008 19:46:01 +0000 (23:46 +0400)]
Fix yet another set of documentation links
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Alexander Bokovoy [Thu, 24 Apr 2008 19:41:35 +0000 (23:41 +0400)]
Ignore intermediary documentation files in git
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Alexander Bokovoy [Thu, 24 Apr 2008 19:40:51 +0000 (23:40 +0400)]
Fix documentation build: manpages, links in the HTML documents.
Fixed manpages generation to properly create handle smb.conf parameters' titles
Changed HTML generator to include links for every smb.conf parameter.
Now we have correct linking between different HTML documents.
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Jeremy Allison [Thu, 24 Apr 2008 17:24:05 +0000 (10:24 -0700)]
Make mount.cifs.c consistent with other Samba code usage w.r.t
SAFE_FREE. Use #define constants not arbitrary numbers. Stevef
please check. Karolyn, once Steve has checked please pull for
3.2-stable.
Jeremy.
Michael Adam [Thu, 24 Apr 2008 09:24:23 +0000 (11:24 +0200)]
manpages: describe special meaning of "include = registry" in description of "include"
Michael
Michael Adam [Thu, 24 Apr 2008 09:23:36 +0000 (11:23 +0200)]
manpages: update the section about registry configuration in smb.conf.5
Michael
Volker Lendecke [Wed, 23 Apr 2008 15:13:50 +0000 (17:13 +0200)]
Fix CLEAR_IF_FIRST handling of messages.tdb
We now open messages.tdb even before we do the become_daemon. become_daemon()
involves a fork and an immediate exit of the parent, thus the
parent_is_longlived argument must be set to false in this case. The parent is
not really long lived :-)
Gerald W. Carter [Wed, 23 Apr 2008 16:26:35 +0000 (11:26 -0500)]
Use wbinfo --online-status in make test rather than --sequence
Gerald W. Carter [Tue, 22 Apr 2008 20:29:53 +0000 (15:29 -0500)]
Mark a domain offline in the wbcDomainInfo structure using the domain_flags.
Use the existing domain_flags fiueld in wbcDomainInfo to set a bit if the
domain is marked as offline by Winbind.
Gerald W. Carter [Tue, 22 Apr 2008 17:22:59 +0000 (12:22 -0500)]
Rename WBC_DOMAIN_XXX domain flags to WBC_DOMINFO_DOMAIN_XXX
Better consistency with the othre classes of WBC_DOMINDO_XXX_YYYY flags.
Gerald W. Carter [Tue, 22 Apr 2008 15:31:22 +0000 (10:31 -0500)]
Adding DTD from svn:externals link in samba-docs SVN repo
Gerald W. Carter [Tue, 22 Apr 2008 15:09:40 +0000 (10:09 -0500)]
Moving docs tree to docs-xml to make room for generated docs in the release tarball.
Alexander Bokovoy [Tue, 15 Apr 2008 14:53:18 +0000 (14:53 +0000)]
Next update of VFS modules development guide
Alexander Bokovoy [Tue, 15 Apr 2008 07:37:36 +0000 (07:37 +0000)]
Use title from a linked item to show up as text of the link if there is no endterm or content in the link itself
Alexander Bokovoy [Tue, 15 Apr 2008 07:35:29 +0000 (07:35 +0000)]
Use indexterm instead of term in expansion xslts
Alexander Bokovoy [Tue, 15 Apr 2008 07:26:30 +0000 (07:26 +0000)]
Fix numbering in the Samba3 developer's guide
Alexander Bokovoy [Mon, 14 Apr 2008 15:39:30 +0000 (15:39 +0000)]
Switch to SVG and Inkscape to generate pictures instead of Dia.
This was discussed months ago and with Inkscape getting better and more clear in SVG processing
it is now a preffered tool to create and process vector images.
Alexander Bokovoy [Mon, 14 Apr 2008 15:37:20 +0000 (15:37 +0000)]
Remove smbconfexample check from test index.xml, it is not used anymore
Alexander Bokovoy [Mon, 14 Apr 2008 15:36:39 +0000 (15:36 +0000)]
Prettify attributions
Alexander Bokovoy [Mon, 14 Apr 2008 15:35:45 +0000 (15:35 +0000)]
Add small preface to a VFS guide. More to come.
Alexander Bokovoy [Sun, 13 Apr 2008 20:11:27 +0000 (20:11 +0000)]
Add first cut at networkless build instructions for samba-docs
Alexander Bokovoy [Sun, 13 Apr 2008 19:54:15 +0000 (19:54 +0000)]
Attempt to add DTDs as svn external repository for build
Karolin Seeger [Mon, 7 Apr 2008 15:36:23 +0000 (15:36 +0000)]
Correct usage of multiple LDAP servers as passdb backend. Patch from Björn Jacke <bj@sernet.de>
Karolin Seeger [Mon, 7 Apr 2008 15:10:14 +0000 (15:10 +0000)]
Correct description of cups options. Patch from Björn Jacke <bj@sernet.de>.
Alexander Bokovoy [Mon, 7 Apr 2008 11:08:19 +0000 (11:08 +0000)]
Forgot to add these macros to a samba-docs repository
Alexander Bokovoy [Mon, 7 Apr 2008 05:43:55 +0000 (05:43 +0000)]
Fix more entries with back slashes that need to use literal formatting
Alexander Bokovoy [Sun, 6 Apr 2008 20:55:25 +0000 (20:55 +0000)]
Fix typo
Alexander Bokovoy [Sun, 6 Apr 2008 20:54:09 +0000 (20:54 +0000)]
Insert space inside this very long string. It is arguable how to fix it properly but at least man pages good now
Alexander Bokovoy [Sun, 6 Apr 2008 20:29:06 +0000 (20:29 +0000)]
Refresh our XSL templates to work with current docbook xslt for manpages
Alexander Bokovoy [Sun, 6 Apr 2008 20:26:45 +0000 (20:26 +0000)]
Add man page metadata fields that are used by temprorary manpages XSLT
Gerald Carter [Mon, 31 Mar 2008 20:40:24 +0000 (20:40 +0000)]
Document --verbose option to wbinfo
Gerald Carter [Mon, 31 Mar 2008 20:38:37 +0000 (20:38 +0000)]
Adding WinXP64 and Vista as documented values for %a in smb.conf(5)
Simo Sorce [Mon, 31 Mar 2008 20:13:01 +0000 (20:13 +0000)]
Better doc mount.cifs.
Original commit msg from Jeff:
This patch adds a section to the mount.cifs manpage to clarify how
mount.cifs treats delimiters and when it autoconverts them from one
type to another. It also has it state that the use of forward slash
as a delimiter is preferred and why.
Signed-off-by: Jeff Layton <jlayton@redhat.com>