Karolin Seeger [Thu, 12 Jun 2008 07:34:15 +0000 (09:34 +0200)]
man pages: Fix indentation in smb.conf section about 'map readonly'.
Christoph Zauner [Wed, 11 Jun 2008 13:15:22 +0000 (15:15 +0200)]
man pages: Added improvements.
Karolin Seeger [Thu, 12 Jun 2008 07:26:32 +0000 (09:26 +0200)]
man pages: Fix typo in smb.conf section about the 'deleteprinter command'.
Karolin
Christoph Zauner [Wed, 11 Jun 2008 13:17:21 +0000 (15:17 +0200)]
man pages: Fix typos.
Christoph Zauner [Wed, 11 Jun 2008 12:49:30 +0000 (14:49 +0200)]
Samba3-HOWTO: Fix typos.
Christoph Zauner [Wed, 11 Jun 2008 12:05:47 +0000 (14:05 +0200)]
Fix typos.
Volker Lendecke [Wed, 11 Jun 2008 16:56:20 +0000 (18:56 +0200)]
Fix max_fd calculation in event_loop_once
For some bugs I really wonder how they can go undetected for so long.
Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.
Volker
(cherry picked from commit
82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
Günther Deschner [Wed, 11 Jun 2008 08:44:47 +0000 (10:44 +0200)]
rpc_client: fix some valgrind warnings.
Guenther
Günther Deschner [Tue, 10 Jun 2008 18:50:53 +0000 (20:50 +0200)]
re-run make idl.
Guenther
Günther Deschner [Tue, 10 Jun 2008 18:50:25 +0000 (20:50 +0200)]
idl: fix drsuapi_DsGetNCChanges.
Guenther
Günther Deschner [Tue, 10 Jun 2008 22:56:44 +0000 (00:56 +0200)]
net: remove some dead code.
Guenther
Günther Deschner [Wed, 11 Jun 2008 07:52:56 +0000 (09:52 +0200)]
pam_winbind: Update cached creds during password change.
Fix is from Bo Yang @ Novell.
Thanks!
Günther Deschner [Tue, 10 Jun 2008 19:34:23 +0000 (21:34 +0200)]
rpcclient: add more useful comments what sign/seal commands are doing.
Guenther
Volker Lendecke [Tue, 10 Jun 2008 14:14:30 +0000 (16:14 +0200)]
Correctly find a [u]int32_t replacement
(cherry picked from commit
346375cda557a675f8f882ca2ae8edffec725a72)
Volker Lendecke [Tue, 10 Jun 2008 12:15:01 +0000 (14:15 +0200)]
Fix some scary FC9 warnings
(cherry picked from commit
6b0fed09ea34409d1c61bae9121bdb38d4c68d62)
Karolin Seeger [Tue, 10 Jun 2008 13:30:19 +0000 (15:30 +0200)]
man pages: Don't refer to numbered chapter of the HOWTO collection.
This fixes bug #5527.
Thanks to the Debian package maintainers for reporting!
Karolin
Stefan Metzmacher [Tue, 10 Jun 2008 06:33:24 +0000 (08:33 +0200)]
socket_wrapper: truncate packets to a 1500 byte payload
Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes
so that're getting a correctly formatted pcap file and the result
look more like real network traffic.
metze
(cherry picked from commit
5b01206f1bb2e62c08bda34b45904ec4f83ac5de)
Stefan Metzmacher [Tue, 10 Jun 2008 07:21:05 +0000 (09:21 +0200)]
socket_wrapper: sync missing stuff from v4-0-test
metze
Jelmer Vernooij [Tue, 19 Feb 2008 22:53:04 +0000 (23:53 +0100)]
Factor out IP marshalling into separate function.
(cherry picked from commit
2548c2a1e7dab8abc00f8f49374a08cc0b427552)
Stefan Metzmacher [Thu, 1 Nov 2007 12:10:59 +0000 (13:10 +0100)]
r25783: socket_wrapper: don't include "includes.h"
metze
(cherry picked from commit
47f865165e772540334dcbcf80cfc1999b0132fa)
Stefan Metzmacher [Mon, 11 Jun 2007 14:41:14 +0000 (14:41 +0000)]
r23420: try to make the IBM checker happy
metze
(cherry picked from commit
96f1a0dfaa18a432fca4b5432d929d8daed0abb1)
Stefan Metzmacher [Tue, 10 Jun 2008 07:00:37 +0000 (09:00 +0200)]
r22236: Update to Heimdal's socket_wrapper, which supports IPv6.
To make this pass, I needed to add support for 6 and 17 as valid
protocol values to socket().
Andrew Bartlett
(partly cherry picked from commit
2254e61a1e5b29a64c5a24aac029ace193057e24)
metze
Jelmer Vernooij [Tue, 6 Mar 2007 23:03:34 +0000 (23:03 +0000)]
r21729: Some more tests
(cherry picked from commit
d2baa8218cf504d6631d610f9fd393ad8c61574c)
Stefan Metzmacher [Tue, 10 Jun 2008 06:53:34 +0000 (08:53 +0200)]
r21671: Add initial simple tests for socket wrapper
(partly cherry picked from commit
872e2ad541478597191ca9e31872d5c8e2bbb832)
metze
Love Hörnquist Åstrand [Thu, 19 Oct 2006 04:56:21 +0000 (04:56 +0000)]
r19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
depend on namespace pollution)
(cherry picked from commit
5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
Love Hörnquist Åstrand [Tue, 17 Oct 2006 09:35:45 +0000 (09:35 +0000)]
r19367: Solaris needs <sys/filio.h> for FIONREAD.
(cherry picked from commit
e2866ce78851a84c937408c0781fcc1e7107f663)
Karolin Seeger [Tue, 10 Jun 2008 08:54:21 +0000 (10:54 +0200)]
man pages: Fix broken smb.conf section about the 'get quota command'.
This fixes bug #5422.
Thanks to the Debian package maintainers for reporting!
Karolin
Kai Blin [Sat, 7 Jun 2008 00:25:08 +0000 (02:25 +0200)]
net: Rename functable3 to functable, get rid of old functables
Kai Blin [Sat, 7 Jun 2008 00:13:52 +0000 (02:13 +0200)]
net: Make "net sam" use functable3
Kai Blin [Fri, 6 Jun 2008 23:27:41 +0000 (01:27 +0200)]
net: Make "net rpc registry" use functable3
Kai Blin [Fri, 6 Jun 2008 23:10:59 +0000 (01:10 +0200)]
net: Make "net registry" use functable3
Kai Blin [Fri, 6 Jun 2008 23:02:13 +0000 (01:02 +0200)]
net: Make "net conf" use a functable similar to functable3
Kai Blin [Fri, 6 Jun 2008 09:07:04 +0000 (11:07 +0200)]
net: Use d_printf() instead of printf() in net_ads_gpo.c
Kai Blin [Wed, 21 May 2008 08:37:10 +0000 (10:37 +0200)]
net: Make "net rpc service" use functable3
Kai Blin [Wed, 21 May 2008 08:34:34 +0000 (10:34 +0200)]
net: Make "net rpc rights" use functable3
Kai Blin [Wed, 21 May 2008 08:31:14 +0000 (10:31 +0200)]
net: Make "net rpc audit" use functable3
Kai Blin [Wed, 21 May 2008 08:27:59 +0000 (10:27 +0200)]
net: Make "net rpc" use functable3
Kai Blin [Wed, 21 May 2008 07:05:35 +0000 (09:05 +0200)]
net: Make "net rap" use functable3
Kai Blin [Wed, 21 May 2008 06:28:15 +0000 (08:28 +0200)]
net: Make "net ads gpo" use functable3
Kai Blin [Tue, 20 May 2008 11:35:04 +0000 (13:35 +0200)]
net: Make "net ads" use functable3
Kai Blin [Mon, 19 May 2008 14:36:18 +0000 (16:36 +0200)]
net: Make "net usershare" use functable3
Kai Blin [Thu, 5 Jun 2008 20:14:38 +0000 (22:14 +0200)]
net: Fix comment for net_time_zone()
Kai Blin [Mon, 19 May 2008 14:19:37 +0000 (16:19 +0200)]
net: Make "net time" use functable3
Kai Blin [Mon, 19 May 2008 14:10:07 +0000 (16:10 +0200)]
net: Make "net idmap" use functable3
Kai Blin [Mon, 19 May 2008 13:55:34 +0000 (15:55 +0200)]
net: Make "net groupmap" use functable3
Kai Blin [Mon, 19 May 2008 13:46:57 +0000 (15:46 +0200)]
net: Make "net dom" use functable3
Kai Blin [Mon, 19 May 2008 13:40:50 +0000 (15:40 +0200)]
net: Make "net cache" use functable3
Kai Blin [Mon, 19 May 2008 13:35:36 +0000 (15:35 +0200)]
net: Make "net afs" use functable3
Kai Blin [Mon, 19 May 2008 13:30:30 +0000 (15:30 +0200)]
net: Make "net status" use functable3
Kai Blin [Sun, 18 May 2008 22:33:02 +0000 (00:33 +0200)]
net: Don't try to look up a server if net time is called with a command.
Kai Blin [Thu, 5 Jun 2008 21:22:19 +0000 (23:22 +0200)]
net: Add net_display_usage_from_functable()
Kai Blin [Sun, 18 May 2008 22:19:18 +0000 (00:19 +0200)]
net: Autogenerate "net help" output from net's functable.
Kai Blin [Sun, 25 May 2008 20:41:58 +0000 (22:41 +0200)]
net: Use functable3
Kai Blin [Sun, 18 May 2008 17:12:24 +0000 (19:12 +0200)]
net: Use functable2 to give a short help text for top-level functions.
Kai Blin [Thu, 22 May 2008 07:41:21 +0000 (09:41 +0200)]
net: Add net_run_function3
Kai Blin [Sun, 18 May 2008 08:56:32 +0000 (10:56 +0200)]
net: Move net_run_function/net_run_function2 to net_util.c
Kai Blin [Wed, 21 May 2008 08:47:59 +0000 (10:47 +0200)]
net: Move includes to net.h
Jim McDonough [Mon, 9 Jun 2008 15:45:39 +0000 (11:45 -0400)]
Don't reset password last set time just because the expired flag
is set to 0. If the account wasn't expired but autolocked,
using "net user /dom <username> /active:y" would clear this,
incorrectly setting the current time as the new "password last set"
time.
Volker Lendecke [Mon, 9 Jun 2008 14:07:57 +0000 (16:07 +0200)]
shrink ldbtools
Thanks to Björn Jacke for noticing :-)
(cherry picked from commit
8faee1cee829d749835a66d219170ccfd85151d0)
Karolin Seeger [Fri, 23 May 2008 12:12:05 +0000 (14:12 +0200)]
man pages: Fix typo.
Karolin
(cherry picked from commit
87bcff8dde4302f7b473933f8fddfb98b3c024db)
Karolin Seeger [Mon, 9 Jun 2008 13:05:26 +0000 (15:05 +0200)]
man pages: Fix synonyms.
Karolin
Karolin Seeger [Mon, 9 Jun 2008 13:03:12 +0000 (15:03 +0200)]
man pages: Remove wrong synonym.
Karolin
Volker Lendecke [Mon, 9 Jun 2008 13:34:51 +0000 (15:34 +0200)]
Fix the compile on NetBSD -- missing prototypes
(cherry picked from commit
11236d266e3703eb3aca4b96e2ed9da76614ec12)
Volker Lendecke [Mon, 9 Jun 2008 13:33:28 +0000 (15:33 +0200)]
Fix the compile on NetBSD -- readlink and read are macros there
(cherry picked from commit
435b80a9a2e9324cc20594d922b3d8d6418c27af)
Stefan Metzmacher [Mon, 9 Jun 2008 08:39:48 +0000 (10:39 +0200)]
libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required
This fixes ./autogen.sh with autoconf-2.62
metze
(cherry picked from commit
72bb01dda4d425528e28cd96e249595dc6c1952f)
Stefan Metzmacher [Mon, 9 Jun 2008 08:38:09 +0000 (10:38 +0200)]
libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
67e43860b4973a458676b36785570bb4a66e046a)
Stefan Metzmacher [Mon, 9 Jun 2008 08:43:48 +0000 (10:43 +0200)]
configure: we require autoconf 2.54
I've tested with autoconf from 2.53 to 2.62.
metze
Stefan Metzmacher [Mon, 9 Jun 2008 08:27:12 +0000 (10:27 +0200)]
configure: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
Stefan Metzmacher [Mon, 9 Jun 2008 08:23:27 +0000 (10:23 +0200)]
configure: fix warnings with autoconf-2.62 rename samba_stat_hires => samba_cv_stat_hires
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
Stefan Metzmacher [Mon, 9 Jun 2008 08:19:21 +0000 (10:19 +0200)]
configure: fix warnings with autoconf-2.62 rename smb_krb5_ => smb_krb5_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
Jeremy Allison [Sun, 8 Jun 2008 21:19:44 +0000 (14:19 -0700)]
Bugfix noticed by Herb. On using the again: tag as a
goto target we were not reinitializing the array counts.
From Herb:
This is in the file nsswitch/winbindd_cm.c (samba-3.0.30) line 1236
We have a label again: where we keep trying to find the name of the DC
from the list of IPs returned by get_dcs. If we fail to figure out the
name we do a goto again at the end of the function. The problem is we
don't reset the num_dcs, num_addrs, etc and free the memory in the
various arrays. This seems wrong to me. I have a winbindd core where
I have 9 IPs returned for the DCs but at the time of the crash num_dcs
is 87 and if I look through the array dcs it keeps repeating entries
from the same group of 9
Jerry, Volker and Guenther please check.
Jeremy.
Volker Lendecke [Sat, 7 Jun 2008 07:04:03 +0000 (09:04 +0200)]
Add STREAMINFO op to vfs_full_audit
Fix Coverity ID 552 and 553
Volker Lendecke [Sat, 7 Jun 2008 06:51:35 +0000 (08:51 +0200)]
Fix a memleak in secrets_fetch_afs_key
Coverity ID 570
Volker Lendecke [Sat, 7 Jun 2008 06:50:02 +0000 (08:50 +0200)]
Fix a memleak in secrets_fetch_trust_account_password_legacy
Coverity ID 571
Volker Lendecke [Sat, 7 Jun 2008 06:48:13 +0000 (08:48 +0200)]
Fix a memleak in fetch_ldap_pw
Fix Coverity ID 572, also fix the error check for secrets_fetch failing
Volker Lendecke [Thu, 5 Jun 2008 07:36:34 +0000 (09:36 +0200)]
Fix a crash in add_failed_connection_entry
Volker Lendecke [Thu, 5 Jun 2008 07:36:13 +0000 (09:36 +0200)]
Add prototype for delete_negative_conn_cache
Volker Lendecke [Thu, 5 Jun 2008 07:00:37 +0000 (09:00 +0200)]
Make the gencache based conncache use talloc_tos()
Marc VanHeyningen [Wed, 4 Jun 2008 22:22:50 +0000 (15:22 -0700)]
Negative conn cache uses gencache
Günther Deschner [Fri, 6 Jun 2008 13:59:52 +0000 (15:59 +0200)]
pam_winbind: fix pam_sm_chauthtok for storing modified cached creds.
Thanks to Bo Yang for pointing this out.
Guenther
Günther Deschner [Fri, 6 Jun 2008 11:52:51 +0000 (13:52 +0200)]
netapi: use NetGroupSetInfo() for "net rpc group rename".
Guenther
Jeremy Allison [Thu, 5 Jun 2008 21:27:26 +0000 (14:27 -0700)]
More correct fix (hopefully :-) for any memory leaks.
Jerry promised to check :-). Vl also please review.
Jeremy.
Günther Deschner [Thu, 5 Jun 2008 17:04:31 +0000 (19:04 +0200)]
netdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.
Now that libnetjoin reloads configuration after joining, we can rely on the
NetGetJoinInformation() output and use it for displaying the new domain name and
type.
Guenther
Günther Deschner [Thu, 5 Jun 2008 17:02:09 +0000 (19:02 +0200)]
netdomjoin-gui: fix more gtk runtime warnings.
Guenther
Günther Deschner [Thu, 5 Jun 2008 17:00:05 +0000 (19:00 +0200)]
libnetjoin: add libnet_join_rollback().
This is required now if the join verify failed and we already
modified the local configuration.
Guenther
Günther Deschner [Thu, 5 Jun 2008 16:58:27 +0000 (18:58 +0200)]
libnetjoin: First store configuration and then verify the join.
Jerry, this fixes the issues while joining with "config backend = registry".
Guenther
Günther Deschner [Thu, 5 Jun 2008 16:54:14 +0000 (18:54 +0200)]
mailslot: always pull a command 25 type reply.
Guenther
Günther Deschner [Thu, 5 Jun 2008 16:40:26 +0000 (18:40 +0200)]
net: fix debuglevel handling.
Kai, that one actually needs to stay a global external variable in order to
support debuglevel definition only on the commandline for net.
Guenther
Karolin Seeger [Thu, 5 Jun 2008 13:18:41 +0000 (15:18 +0200)]
Samba3-HOWTO: Add improvements/fixes.
These improvements/fixes were reported by
Pete Boyd <petes-bugs@thegoldenear.org> in bug #4203.
Karolin
Volker Lendecke [Thu, 5 Jun 2008 08:38:58 +0000 (10:38 +0200)]
Fix a memleak caused by a crappy get_sorted_dc_list() API
Volker Lendecke [Thu, 5 Jun 2008 08:25:02 +0000 (10:25 +0200)]
Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails
This is really not a proper place to fix this, but as get_gc_list() and friends
are about to be replaced anyway, just work around the broken existing API
Günther Deschner [Wed, 4 Jun 2008 23:11:23 +0000 (01:11 +0200)]
netdomjoin-gui: disable annoying "reboot now" dialog.
Guenther
Günther Deschner [Wed, 4 Jun 2008 16:05:15 +0000 (18:05 +0200)]
libnetjoin: correctly copy returned lsa policy sid.
Guenther
Günther Deschner [Tue, 3 Jun 2008 13:19:46 +0000 (15:19 +0200)]
netdomjoin-gui: some minor fixes + hunting down typecast bugs.
Guenther
Günther Deschner [Wed, 4 Jun 2008 00:44:24 +0000 (02:44 +0200)]
net: fix popt context memleak.
Guenther
Günther Deschner [Wed, 4 Jun 2008 00:43:41 +0000 (02:43 +0200)]
libnetjoin: only close existing policy handles while unjoining.
Guenther
Günther Deschner [Tue, 3 Jun 2008 23:32:15 +0000 (01:32 +0200)]
libnetjoin: delete possible "realm" leftover parameter.
Guenther
Günther Deschner [Tue, 3 Jun 2008 23:30:37 +0000 (01:30 +0200)]
net: print NBT_SERVER_X_SECRET_DOMAIN_6 flags in "net ads lookup".
Guenther
Günther Deschner [Tue, 3 Jun 2008 23:29:22 +0000 (01:29 +0200)]
util_str: add talloc_asprintf_strlower_m().
Guenther
Günther Deschner [Tue, 3 Jun 2008 18:42:58 +0000 (20:42 +0200)]
netapi: remove unrequired headers.
Guenther