jra/samba/.git
16 years agor13424: Don't attempt to use cc -O2. This breaks the solaris build.
James Peach [Fri, 10 Feb 2006 02:26:46 +0000 (02:26 +0000)]
r13424: Don't attempt to use cc -O2. This breaks the solaris build.
(This used to be commit 341d554e2f7a117c7098633b24cb18c7ff25a011)

16 years agor13423: Write wrapper functions (and configure tests) so we can
Jeremy Allison [Fri, 10 Feb 2006 01:43:33 +0000 (01:43 +0000)]
r13423: Write wrapper functions (and configure tests) so we can
always assume we can get a struct timespec out of a stat
struct. This will allow us to portably move to nsec timestamps
on files and directories in the file server code in future.
Jeremy.
(This used to be commit 07132d8796a08aa71d6719cb07b5b2c999930632)

16 years agor13420: Support profile-guided optimisation in the build system. This is
James Peach [Thu, 9 Feb 2006 23:55:01 +0000 (23:55 +0000)]
r13420: Support profile-guided optimisation in the build system. This is
implemented for gcc 3.x, gcc 4.x and MIPSPro compilers.
(This used to be commit 5e57021723f091a33021c30557cace2b70acf172)

16 years agor13418: Formalise support for checking compiler options.
James Peach [Thu, 9 Feb 2006 23:04:38 +0000 (23:04 +0000)]
r13418: Formalise support for checking compiler options.
(This used to be commit eb3ba826ef465b95f9597043ee156ad9d7ca16a0)

16 years agor13417: Add .2 to the SONAME as version suffix if we link the nss modules on
Lars Müller [Thu, 9 Feb 2006 21:26:32 +0000 (21:26 +0000)]
r13417: Add .2 to the SONAME as version suffix if we link the nss modules on
linux.

Heads up: This might be required on other OS using glibc too.
(This used to be commit b28e43427b43994404f109ce7da467461af12200)

16 years agor13416: Remove superfluous -lc while linking libnss_wins.so and pam_winbind.so.
Lars Müller [Thu, 9 Feb 2006 21:21:34 +0000 (21:21 +0000)]
r13416: Remove superfluous -lc while linking libnss_wins.so and pam_winbind.so.
(This used to be commit e64134a8599364dc0fa298c7106a7ccf471c5322)

16 years agor13412: Don't use arbitrary uint32 size for uid and gid storage. Use
Jeremy Allison [Thu, 9 Feb 2006 18:18:51 +0000 (18:18 +0000)]
r13412: Don't use arbitrary uint32 size for uid and gid storage. Use
correct system size. Fixed a bug that was accidentally introduced
by use of uint32 - uid was stored twice, not uid and gid.
Jeremy.
(This used to be commit 89db006997588c6523ce8f2470d67f3136042256)

16 years agor13411: Sync with the latest fix I've made to package 3.0.21b
Simo Sorce [Thu, 9 Feb 2006 14:06:29 +0000 (14:06 +0000)]
r13411: Sync with the latest fix I've made to package 3.0.21b
(This used to be commit 46f9f7a6f0352329b2e57030b2af4bc0dc72c580)

16 years agor13410: Dump a netbootGUID as a GUID.
Günther Deschner [Thu, 9 Feb 2006 10:24:27 +0000 (10:24 +0000)]
r13410: Dump a netbootGUID as a GUID.

Guenther
(This used to be commit 9b19a68456c7b576750aaf64c178ba5323d9a95e)

16 years agor13409: No functional changes, just some DEBUG cleanup.
Günther Deschner [Thu, 9 Feb 2006 10:17:38 +0000 (10:17 +0000)]
r13409: No functional changes, just some DEBUG cleanup.

Guenther
(This used to be commit 286f6fc2339cf4ef232c16466b8dffdcddbe343f)

16 years agor13408: Remove C++ comments (# 3494)
Günther Deschner [Thu, 9 Feb 2006 10:09:32 +0000 (10:09 +0000)]
r13408: Remove C++ comments (# 3494)

Guenther
(This used to be commit cf86d4c9f0c48e7234945694a4722c35dd33657c)

16 years agor13407: Change the credentials code to be more like the Samba4 structure,
Jeremy Allison [Thu, 9 Feb 2006 07:03:23 +0000 (07:03 +0000)]
r13407: Change the credentials code to be more like the Samba4 structure,
makes fixes much easier to port. Fix the size of dc->sess_key to
be 16 bytes, not 8 bytes - only store 8 bytes in the inter-smbd
store in secrets.tdb though. Should fix some uses of the dc->sess_key
where we where assuming we could read 16 bytes.
Jeremy.
(This used to be commit 5b3c2e63c73fee8949108abe19ac7a448a033a7f)

16 years agor13399: Get closer to passing RPC-SCHANNEL test.
Jeremy Allison [Thu, 9 Feb 2006 00:23:40 +0000 (00:23 +0000)]
r13399: Get closer to passing RPC-SCHANNEL test.
Jeremy.
(This used to be commit 8ae70122b79fbe682c227ec2c4e5a72bf58d76de)

16 years agor13396: Add in userinfo26, re-enable userinfo25 - took the knowledge
Jeremy Allison [Wed, 8 Feb 2006 22:16:03 +0000 (22:16 +0000)]
r13396: Add in userinfo26, re-enable userinfo25 - took the knowledge
from Samba4 on how to decode the 532 byte password buffers.
Getting closer to passing samba4 RPC-SCHANNEL test.
Jeremy.
(This used to be commit 205db6968a26c43dec64c14d8053d8e66807086f)

16 years agor13394: Fix rpcclient to obey the -W parameter. Not that I *like* the smbclient
Volker Lendecke [Wed, 8 Feb 2006 19:28:25 +0000 (19:28 +0000)]
r13394: Fix rpcclient to obey the -W parameter. Not that I *like* the smbclient
solution, but it does this particular job... :-)

Volker
(This used to be commit df6d67cd10c0045f3c6f73381716300221cecf18)

16 years agor13393: Do not initialize the lp_svcctl_list() value since it is handled
Gerald Carter [Wed, 8 Feb 2006 15:09:09 +0000 (15:09 +0000)]
r13393: Do not initialize the lp_svcctl_list() value since it is handled
internally in services_db.c now.  This prevents internal services from
being listed twice (one internal and one external) when no
'svcctl list' parameter is explcitly set in smb.conf
(This used to be commit 6c4ede6cee7e1d25a6357e959972e8d390c27fe3)

16 years agor13392: check gcc version before trying 'make pch'. remove some historical actions
Gerald Carter [Wed, 8 Feb 2006 14:18:05 +0000 (14:18 +0000)]
r13392: check gcc version before trying 'make pch'.  remove some historical actions
(This used to be commit e0c4e5cfded7d22e37aab7c14d3c0fa4263e7983)

16 years agor13391: Only fall into password change when ACB_PWNOEXP is not set
Günther Deschner [Wed, 8 Feb 2006 11:57:38 +0000 (11:57 +0000)]
r13391: Only fall into password change when ACB_PWNOEXP is not set

(got it wrong the first time as administrator has this flag set by
default).

Guenther
(This used to be commit e9ccebf45a5db8964793084950fbb2c23b2469a3)

16 years agor13389: get_ldap_filter is only used once, make it static
Volker Lendecke [Wed, 8 Feb 2006 10:36:13 +0000 (10:36 +0000)]
r13389: get_ldap_filter is only used once, make it static
(This used to be commit d3b66fb8712e41a331ccfb0f52f187382769b41e)

16 years agor13386: Fix parsing of SAMR_Q_CONNECT_ANON.
Jeremy Allison [Wed, 8 Feb 2006 04:46:43 +0000 (04:46 +0000)]
r13386: Fix parsing of SAMR_Q_CONNECT_ANON.
Jeremy.
(This used to be commit 6f8334ad31ac773f5c13335f5d8c5bed62987466)

16 years agor13384: Adding in some more SuSE patches
Gerald Carter [Wed, 8 Feb 2006 04:11:08 +0000 (04:11 +0000)]
r13384: Adding in some more SuSE patches

* uninitialized-variables.diff
* samba-smbadduser.diff
* samba-implicit_decl.patch
(This used to be commit 064338c6f5644d1ceddf341d4ba5619a3d68ffa7)

16 years agor13383: pulling in swat-welcome patch from SuSE packaging
Gerald Carter [Wed, 8 Feb 2006 04:05:34 +0000 (04:05 +0000)]
r13383: pulling in swat-welcome patch from SuSE packaging
(This used to be commit 1b955bbf59e5b11014405d888d58fefbc055ad38)

16 years agor13382: added server affinity cache stores for 'net rpc join' and trusted domain...
Gerald Carter [Wed, 8 Feb 2006 04:03:47 +0000 (04:03 +0000)]
r13382: added server affinity cache stores for 'net rpc join' and trusted domain code
(This used to be commit 9eb743584d32cdb67e0512ac915c34565bce1c01)

16 years agor13379: Andrew correctly noted that this breaks -s. Not sure what to do...
Volker Lendecke [Tue, 7 Feb 2006 23:30:31 +0000 (23:30 +0000)]
r13379: Andrew correctly noted that this breaks -s. Not sure what to do...
(This used to be commit 5f9f772c2539112b17ebd13d7d3f4f7ab6fb141b)

16 years agor13378: Not sure what this breaks, but we have to do the popt processing after the
Volker Lendecke [Tue, 7 Feb 2006 22:38:29 +0000 (22:38 +0000)]
r13378: Not sure what this breaks, but we have to do the popt processing after the
lp_load, because otherwise the lp_load overwrites the -W setting again.

Volker
(This used to be commit c7cc625d6360c1df2e4465d1d5ae792ff63a80de)

16 years agor13377: Fix from Volker: Make offline authentication work with NT4 as well
Günther Deschner [Tue, 7 Feb 2006 17:55:17 +0000 (17:55 +0000)]
r13377: Fix from Volker: Make offline authentication work with NT4 as well
(handle no ACB_NORMAL flag and save name2sid as early as possible).

Guenther
(This used to be commit a04a5e40b774b7fe535e9cbbabddf94ee5578005)

16 years agor13376: break docs out to a separate package; cleanup /var/cache/samba -> /var/lib...
Gerald Carter [Tue, 7 Feb 2006 17:21:20 +0000 (17:21 +0000)]
r13376: break docs out to a separate package; cleanup /var/cache/samba -> /var/lib/samba
(This used to be commit 9cb372605cf0ccd7837e8fe71c597748a9d8ab24)

16 years agor13375: Match XP behaviour: Don't force 'Administrator' to change an expired
Günther Deschner [Tue, 7 Feb 2006 17:18:29 +0000 (17:18 +0000)]
r13375: Match XP behaviour: Don't force 'Administrator' to change an expired
password on logon. (this might be true for all domain admins as well).

Guenther
(This used to be commit 24c6b9fecb521380008cb44e6d987a6f495027dc)

16 years agor13374: new revision of the snprintf replace code
Simo Sorce [Tue, 7 Feb 2006 00:50:38 +0000 (00:50 +0000)]
r13374: new revision of the snprintf replace code

still missing a configure test to make us
substitute our snprintf to system one when
the system one does not have positional parameters support
(This used to be commit e9bcc24b13c0e264d1d4aaf31a56e38cb3fec830)

16 years agor13371: Remove an unused function
Volker Lendecke [Mon, 6 Feb 2006 22:19:30 +0000 (22:19 +0000)]
r13371: Remove an unused function
(This used to be commit dde8322b5c26b04222eefd3c1d450852f849079f)

16 years agor13368: I must write out 1000 times, "Don't use C++ reserved words..."
Jeremy Allison [Mon, 6 Feb 2006 18:03:57 +0000 (18:03 +0000)]
r13368: I must write out 1000 times, "Don't use C++ reserved words..."
Jeremy.
(This used to be commit b1ebc12b5043a7d7a85378f0d3f1d4f6cb83c411)

16 years agor13366: Add popt to the include path for examples/VFS. The modules themselves don't
Volker Lendecke [Mon, 6 Feb 2006 13:39:34 +0000 (13:39 +0000)]
r13366: Add popt to the include path for examples/VFS. The modules themselves don't
use that, but includes.h fails in environments where there's no system popt
around. As the modules don't need that anyway, porting the check whether to
use the system one or our own seems a bit overkill.

Thanks to Michael Adam <ma@SerNet.DE>.

Volker
(This used to be commit 04cbde59566f814cfba5a008e12496795544ad05)

16 years agor13364: Continue not enabling valgrind on 64-bit Linux (see also rev 8510).
James Peach [Mon, 6 Feb 2006 06:22:20 +0000 (06:22 +0000)]
r13364: Continue not enabling valgrind on 64-bit Linux (see also rev 8510).
(This used to be commit 13766b03e806528cdd34c9452f42ae4e71869671)

16 years agor13363: Honour the $(DESTDIR) Makefile variable when installing Python
Tim Potter [Mon, 6 Feb 2006 06:16:35 +0000 (06:16 +0000)]
r13363: Honour the $(DESTDIR) Makefile variable when installing Python
extensions.  Fix from Vladimir Lettiev.
(This used to be commit 7ca75d9060f7ae5a1fe0517ec6889f6bc940c6b2)

16 years agor13351: Fix copyright
Volker Lendecke [Sat, 4 Feb 2006 22:01:30 +0000 (22:01 +0000)]
r13351: Fix copyright
(This used to be commit 70114f509c821a4bc932ff76d9fc19a7d4ad1e84)

16 years agor13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)
Volker Lendecke [Sat, 4 Feb 2006 21:44:57 +0000 (21:44 +0000)]
r13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)

Implement 'net rpc shell account' -- An editor for account policies

nt_time_to_unix_abs changed its argument which to me seems wrong, and I could
not find a caller that depends on this. So I changed it. Applied some more
const in time.c.

Volker
(This used to be commit fc73690a7000d5a3f0f5ad34461c1f3a87edeac5)

16 years agor13343: More sql cleanup
Volker Lendecke [Sat, 4 Feb 2006 10:01:56 +0000 (10:01 +0000)]
r13343: More sql cleanup
(This used to be commit bd1be2388ebdc332c00289f10f0af17e6cd8b44a)

16 years agor13338: Remove the experimental pdb modules
Volker Lendecke [Sat, 4 Feb 2006 09:36:10 +0000 (09:36 +0000)]
r13338: Remove the experimental pdb modules
(This used to be commit a3bc4f51144bcd711ae1869d60a15d24be6ad992)

16 years agor13337: Attempt to fix the AIX build
Volker Lendecke [Sat, 4 Feb 2006 09:04:14 +0000 (09:04 +0000)]
r13337: Attempt to fix the AIX build
(This used to be commit b129b4f94f6ff1d963ac316cf180662f5cecf9f6)

16 years agor13331: No I didn't have to change the interface version...
Jeremy Allison [Sat, 4 Feb 2006 06:36:02 +0000 (06:36 +0000)]
r13331: No I didn't have to change the interface version...
Jeremy.
(This used to be commit 2aed5b36409e05ac25b4492669f47d50be988f2c)

16 years agor13329: Fix libsmbsharemodes.so to work with the stored delete token.
Jeremy Allison [Sat, 4 Feb 2006 06:31:04 +0000 (06:31 +0000)]
r13329: Fix libsmbsharemodes.so to work with the stored delete token.
Less trouble than I thought plus it didn't need an interface
change (thank goodness !).
Jeremy.
(This used to be commit dbe2572d1c713f46b0d1d0c405f88456c9336297)

16 years agor13327: Update install.html location & fix typo.
John Terpstra [Sat, 4 Feb 2006 05:42:29 +0000 (05:42 +0000)]
r13327: Update install.html location & fix typo.
(This used to be commit 77fb6998510ceab502548ea3b20541136b37b952)

16 years agor13326: fix bad path in RHEL spec file; going to have to rebuild Fedora packages
Gerald Carter [Sat, 4 Feb 2006 04:05:25 +0000 (04:05 +0000)]
r13326: fix bad path in RHEL spec file; going to have to rebuild Fedora packages
(This used to be commit 18800eab03b7b1c3cf6734b71f462f2fd7b8f24a)

16 years agor13322: Fix warning time_t != int.
Jeremy Allison [Fri, 3 Feb 2006 23:31:56 +0000 (23:31 +0000)]
r13322: Fix warning time_t != int.
Jeremy.
(This used to be commit 6196446a03abeb4100bac1721977488ae5843f42)

16 years agor13318: remove an unused file
Gerald Carter [Fri, 3 Feb 2006 22:42:49 +0000 (22:42 +0000)]
r13318: remove an unused file
(This used to be commit 5d373133cbed8fa40e3a9dcd08d27c35ddff96af)

16 years agor13316: Let the carnage begin....
Gerald Carter [Fri, 3 Feb 2006 22:19:41 +0000 (22:19 +0000)]
r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)

16 years agor13314: This code has been causing problems since 1.9.x I think.
Jeremy Allison [Fri, 3 Feb 2006 22:10:37 +0000 (22:10 +0000)]
r13314: This code has been causing problems since 1.9.x I think.
Remove check_for_pipe() - Volker was completely correct.
If it gets re-added it will be in a old open call path, not
in the generic code path.
Jeremy.
(This used to be commit 50c894a6e949d4d3579926650674f381a821a671)

16 years agor13310: first round of server affinity patches for winbindd & net ads join
Gerald Carter [Fri, 3 Feb 2006 21:19:24 +0000 (21:19 +0000)]
r13310: first round of server affinity patches for winbindd & net ads join
(This used to be commit 6c3480f9aecc061660ad5c06347b8f1d3e11a330)

16 years agor13309: If the sid in the winbind name2sid cache is not valid (NT_STATUS_NONE_MAPPED),
Volker Lendecke [Fri, 3 Feb 2006 19:24:52 +0000 (19:24 +0000)]
r13309: If the sid in the winbind name2sid cache is not valid (NT_STATUS_NONE_MAPPED),
we have S-0-0 as a SID in the cache. This leads to ugly level 0 messages from
string_to_sid. Avoid them.

Volker
(This used to be commit d62da3e9875592af91469bf75ca32be77a40ea59)

16 years agor13306: Do not call netbios_setup() if this file is sourced by sh or bash.
Lars Müller [Fri, 3 Feb 2006 15:39:07 +0000 (15:39 +0000)]
r13306: Do not call netbios_setup() if this file is sourced by sh or bash.
(This used to be commit 72c6432ae8b8bf2330fc1a8019d332ab95b57e4e)

16 years agor13299: From testing W2K3 and W2K the delete on close bit seems to be always
Jeremy Allison [Fri, 3 Feb 2006 02:16:35 +0000 (02:16 +0000)]
r13299: From testing W2K3 and W2K the delete on close bit seems to be always
honored (ie. the file gets deleted) for derectories when set at open
time - even though it doesn't show in the qfileinfo call. This is not
true of files.... (if anyone from the EU is listening, it's stuff like
this that makes CIFS non-documentable :-).
Jeremy.
(This used to be commit e2fc8a196a06f76aa47fabc30872c701a2f7ccec)

16 years agor13296: Align trunk with branches/SAMBA_3_0.
Lars Müller [Thu, 2 Feb 2006 21:34:40 +0000 (21:34 +0000)]
r13296: Align trunk with branches/SAMBA_3_0.

Add missing '\' in branches/SAMBA_3_0.
(This used to be commit a60aed7a38ab5d4401db207d52925e59f1e445f3)

16 years agor13294: Fix basic delete on close tests - don't forget to tell
Jeremy Allison [Thu, 2 Feb 2006 21:29:49 +0000 (21:29 +0000)]
r13294: Fix basic delete on close tests - don't forget to tell
the data struct how big the token is... :-).
Jeremy.
(This used to be commit f259de8b69f94ae8b5f4553180f245234bffd397)

16 years agor13293: Rather a big patch I'm afraid, but this should fix bug #3347
Jeremy Allison [Thu, 2 Feb 2006 20:44:50 +0000 (20:44 +0000)]
r13293: Rather a big patch I'm afraid, but this should fix bug #3347
by saving the UNIX token used to set a delete on close flag,
and using it when doing the delete. libsmbsharemodes.so still
needs updating to cope with this change.
Samba4 torture tests to follow.
Jeremy.
(This used to be commit 23f16cbc2e8cde97c486831e26bcafd4ab4a9654)

16 years agor13291: NT checks the minimum password age dynamically. That means we have to ignore
Volker Lendecke [Thu, 2 Feb 2006 16:38:37 +0000 (16:38 +0000)]
r13291: NT checks the minimum password age dynamically. That means we have to ignore
the sambapwdmustchange field if we can access the corresponding account
policy and calculate it dynamically based on the pwdlastset field.

Volker
(This used to be commit b02b1d3ef3bceec1957d025c642e306a65310d22)

16 years agor13290: Adding Account Policy LDAP attributes for eDirectory schema.
Günther Deschner [Thu, 2 Feb 2006 16:25:58 +0000 (16:25 +0000)]
r13290: Adding Account Policy LDAP attributes for eDirectory schema.

Guenther
(This used to be commit de012e33a75e0aa72fbfe2cf1258689e0d7680e2)

16 years agor13288: readding readme file
Gerald Carter [Wed, 1 Feb 2006 20:31:28 +0000 (20:31 +0000)]
r13288: readding readme file
(This used to be commit f1ab089b19fa631d38b81230466b0e2b7aa49a8d)

16 years agor13287: removning readme file
Gerald Carter [Wed, 1 Feb 2006 20:30:46 +0000 (20:30 +0000)]
r13287: removning readme file
(This used to be commit c20ad9d8c03a15afc670dc74921e9e9530174ff6)

16 years agor13286: changing target file in another branch
Gerald Carter [Wed, 1 Feb 2006 20:29:41 +0000 (20:29 +0000)]
r13286: changing target file in another branch
(This used to be commit 91384c703cadce9ae262503958dba42389b34321)

16 years agor13274: Fix for bug #3467. Not a show stopper.
Jeremy Allison [Wed, 1 Feb 2006 04:14:07 +0000 (04:14 +0000)]
r13274: Fix for bug #3467. Not a show stopper.
jason qian <jason@infrant.com> was a *fantastic*
help in tracking this down.
Jeremy.
(This used to be commit 9f4a9c70fa232047868e5d8a3f132a2dd6bfee82)

16 years agor13262: Arrgggg. Fix smbstatus and swat status to ignore
Jeremy Allison [Tue, 31 Jan 2006 21:54:24 +0000 (21:54 +0000)]
r13262: Arrgggg. Fix smbstatus and swat status to ignore
bloody placeholder share mode entries (I hate
these - I've had to add this filter code now to too
many places :-).
Jeremy.
(This used to be commit 815340e1a413f98c1c36aacc1c34041e9160d0e3)

16 years agor13260: Fix stupid bug Volker found for big-endian machines.
Jeremy Allison [Tue, 31 Jan 2006 18:34:51 +0000 (18:34 +0000)]
r13260: Fix stupid bug Volker found for big-endian machines.
Jeremy.
(This used to be commit 31903cf25d4075b8518e370b7618de41510f7995)

16 years agor13257: Fix python build with older python versions (e.g. 2.2.1) like in United ...
Lars Müller [Tue, 31 Jan 2006 10:39:45 +0000 (10:39 +0000)]
r13257: Fix python build with older python versions (e.g. 2.2.1) like in United         Linux 1 (UL) aka SuSE Linux Enterprise Server (SLES) 8.
(This used to be commit 4602cb5f53f05404f10c69b01dd8fd5ac492c5c5)

16 years agor13238: Fix from Qiao Yang <qyang@stbernard.com> to ensure we
Jeremy Allison [Mon, 30 Jan 2006 20:20:17 +0000 (20:20 +0000)]
r13238: Fix from Qiao Yang <qyang@stbernard.com> to ensure we
always update the failed time when we are adding a failed
connection.
Jeremy.
(This used to be commit 6f5af1dd413d07430ead9382422dda14acf3464d)

16 years agor13235: fixing RedHat 7.x packaging
Gerald Carter [Mon, 30 Jan 2006 19:23:32 +0000 (19:23 +0000)]
r13235: fixing RedHat 7.x packaging
(This used to be commit dcdae7f483f642605e158b405939178587971bec)

16 years agor13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now
Gerald Carter [Mon, 30 Jan 2006 18:38:18 +0000 (18:38 +0000)]
r13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now
(This used to be commit 51fe6bd845f33139654f641947cffeaaf8e88124)

16 years agor13232: defensive programming in an attempt to prevent crashes due to a PDC rebooting
Gerald Carter [Mon, 30 Jan 2006 17:47:24 +0000 (17:47 +0000)]
r13232: defensive programming in an attempt to prevent crashes due to a PDC rebooting
(This used to be commit 994794383361cfe5d58098ae494489fb0164e1df)

16 years agor13231: apparently strncat() is converted to strcat() on RH7.3 and similar systems...
Gerald Carter [Mon, 30 Jan 2006 17:42:42 +0000 (17:42 +0000)]
r13231: apparently strncat() is converted to strcat() on RH7.3 and similar systems.  Fix the build on those boxes
(This used to be commit 0b8ed8136b5c5b9b7bb5615dc8dc27eec7c49506)

16 years agor13229: * fix bad comparison caught by the AIX compiler in wbinfo code
Gerald Carter [Mon, 30 Jan 2006 13:32:41 +0000 (13:32 +0000)]
r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
(This used to be commit 485f0370942880a71095da5096e414b28193b150)

16 years agor13224: better to cast the return too
Simo Sorce [Sun, 29 Jan 2006 18:43:52 +0000 (18:43 +0000)]
r13224: better to cast the return too
(This used to be commit c068df483f44a23ad813acd10d583be863128382)

16 years agor13222: Never assume mode_t is of type int.
Simo Sorce [Sun, 29 Jan 2006 18:22:39 +0000 (18:22 +0000)]
r13222: Never assume mode_t is of type int.
We were trashing the stack on machines that define mode_t as uint16_t
(This used to be commit 6c15af31bcee1e82578b61cae10423b37c285f10)

16 years agor13216: r12422@cabra: derrell | 2006-01-28 23:57:35 -0500
Derrell Lipman [Sun, 29 Jan 2006 04:57:42 +0000 (04:57 +0000)]
r13216:  r12422@cabra:  derrell | 2006-01-28 23:57:35 -0500
 Fix cli_setpathinfo() to actually do what it's supposed to.

 Also, get rid of some apparently drug-induced code to deal with create time
 which isn't being manipulated anyway.
(This used to be commit aa25dc1248b15e8e1b39cf8a98496e5aba475c4a)

16 years agor13214: r12420@cabra: derrell | 2006-01-28 19:10:58 -0500
Derrell Lipman [Sun, 29 Jan 2006 00:11:34 +0000 (00:11 +0000)]
r13214:  r12420@cabra:  derrell | 2006-01-28 19:10:58 -0500
 This should fix bug #3446.

 - The authentication domain provided an an SMB URL was being ignored.  This
   patch fixes that.

 - There were a number of places where string copies were not being confirmed to
   be properly null-terminated.  Now, all string copies in libsmbclient.c are
   properly null-terminated.
(This used to be commit 5fbc2fbb461f02ad6c889de2ce9929c605a44e24)

16 years agor13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
Derrell Lipman [Sat, 28 Jan 2006 22:53:04 +0000 (22:53 +0000)]
r13212:  r12414@cabra:  derrell | 2006-01-28 17:52:17 -0500
 lp_load() could not be called multiple times to modify parameter settings based
 on reading from multiple configuration settings.  Each time, it initialized all
 of the settings back to their defaults before reading the specified
 configuration file.

 This patch adds a parameter to lp_load() specifying whether the settings should
 be initialized.  It does, however, still force the settings to be initialized
 the first time, even if the request was to not initialize them.  (Not doing so
 could wreak havoc due to uninitialized values.)
(This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)

16 years agor13211: Fix remote password changing if password must change is set
Volker Lendecke [Sat, 28 Jan 2006 22:49:25 +0000 (22:49 +0000)]
r13211: Fix remote password changing if password must change is set

The problem was that the ntlmssp bind silently failed in that case, we have to
do it anonymously. Or does anybody have a better idea?

Give a better error message if something else is wrong with the account.

Volker
(This used to be commit 0e24c701ce3755d71de7fdccb9f4564b381bf996)

16 years agor13209: Make smbpasswd -a work again if passdb did not exist.
Volker Lendecke [Sat, 28 Jan 2006 17:08:24 +0000 (17:08 +0000)]
r13209: Make smbpasswd -a work again if passdb did not exist.

Volker
(This used to be commit e747ea7250b3ff19aee49072a2cf95840ff50b85)

16 years agor13202: Fix the build for --with-aio-support. Sorry.
Volker Lendecke [Sat, 28 Jan 2006 11:30:43 +0000 (11:30 +0000)]
r13202: Fix the build for --with-aio-support. Sorry.

Jeremy, configure.in decides whether aio support works quite early in the
sequence of checks. Wouldn't it be better to only use aio support if really
all necessary functions actually are around?

Volker
(This used to be commit 246b5b43566f15732091ec9a775b864399f9418d)

16 years agor13198: Fix issues exposed by Jerry's testing on 64-bit Solaris
Jeremy Allison [Fri, 27 Jan 2006 23:30:30 +0000 (23:30 +0000)]
r13198: Fix issues exposed by Jerry's testing on 64-bit Solaris
(I hope). Separate 3.0.21b patch sent to Jerry.
Jeremy.
(This used to be commit 837e7ea7e40cedc6b01e023445feb4a90c4bf8b9)

16 years agor13197: Add -k switch to dump the data of a single key.
Lars Müller [Fri, 27 Jan 2006 21:49:01 +0000 (21:49 +0000)]
r13197: Add -k switch to dump the data of a single key.
(This used to be commit 23503ff45f2a377728bc5ebb1e6db2755bb5ca2b)

16 years agor13194: Don't do extra memcpy's unless we're asked to.
Jeremy Allison [Fri, 27 Jan 2006 19:59:48 +0000 (19:59 +0000)]
r13194: Don't do extra memcpy's unless we're asked to.
Jeremy.
(This used to be commit f93e1e75563679dc07958168b283dfc0eb2de5b0)

16 years agor13192: Fix up alignment issues when printing share mode
Jeremy Allison [Fri, 27 Jan 2006 19:54:39 +0000 (19:54 +0000)]
r13192: Fix up alignment issues when printing share mode
entries. Add paranioa to debug so we know when an
entry is unused.
Jeremy.
(This used to be commit fa5fab313e3728ff49c00ca1097242039506f83e)

16 years agor13190: Fix #3458 from Andriy Gapon <avg@icyb.net.ua>. Don't
Jeremy Allison [Fri, 27 Jan 2006 19:24:37 +0000 (19:24 +0000)]
r13190: Fix #3458 from Andriy Gapon <avg@icyb.net.ua>. Don't
access free'd memory.
Jerry please pick up for 3.0.21b !
Jeremy.
(This used to be commit c0ba64297a00d75cd537693425c6b544e70578c1)

16 years agor13187: IBM Tivoli Directory Server schema updates from John Janosik
Jim McDonough [Fri, 27 Jan 2006 15:14:55 +0000 (15:14 +0000)]
r13187: IBM Tivoli Directory Server schema updates from John Janosik
<jpjanosi@us.ibm.com>
(This used to be commit d45cc5e4f38bd1aa69d5c3ae8d19e2ea98976fac)

16 years agor13176: Fix show-stopper bug for 3.0.21b where 4 leg NTLMSSP SPNEGO
Jeremy Allison [Fri, 27 Jan 2006 02:35:08 +0000 (02:35 +0000)]
r13176: Fix show-stopper bug for 3.0.21b where 4 leg NTLMSSP SPNEGO
auth was not generating the correct auth header on the 4th
packet. This may fix a lot of Windows client complaints and
is essential for release.
Jeremy.
(This used to be commit 48dd8c732b890e3fd3d8e80ace765487601cfb26)

16 years agor13175: Actually make adding a new user into an empty pdbtdb
Jeremy Allison [Fri, 27 Jan 2006 00:09:03 +0000 (00:09 +0000)]
r13175: Actually make adding a new user into an empty pdbtdb
file create the file.
Jeremy.
(This used to be commit 31b3201f537220ec82d6fecbb4c457bfe3dbb9c9)

16 years agor13172: Fix incorrect error message when new tdb not created correctly.
Jeremy Allison [Thu, 26 Jan 2006 23:55:26 +0000 (23:55 +0000)]
r13172: Fix incorrect error message when new tdb not created correctly.
Jeremy.
(This used to be commit e5f19ad5ac1b728de4ca5a6c37c0d79b0752f536)

16 years agor13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.
Günther Deschner [Thu, 26 Jan 2006 12:04:43 +0000 (12:04 +0000)]
r13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.

Guenther
(This used to be commit e52b77b0a4e29387d2333a340868e839683df729)

16 years agor13148: Fix bug: #3413
Simo Sorce [Thu, 26 Jan 2006 00:14:25 +0000 (00:14 +0000)]
r13148: Fix bug: #3413
Check that ldap admin dn is defined in smb.conf before
setting the ldap password in secrets.tdb

Based on patch by William Jojo <jojowil@hvcc.edu>

Simo.
(This used to be commit c2c004a620ecbd895786dc6f16fb6a616f354a0a)

16 years agor13147: Raise creds_server_step fail log messages to debug level 2.
Jeremy Allison [Wed, 25 Jan 2006 23:00:07 +0000 (23:00 +0000)]
r13147: Raise creds_server_step fail log messages to debug level 2.
These can happen in normal operation (I think - not 100%
sure) and don't want to alarm admins. Jerry please add this
to 3.0.21b.
Jeremy.
(This used to be commit 47178b1b5ad06905f345a0f6b6267701d8aefddb)

16 years agor13140: Fix swat - make sure it can list running services (ensure loopback_ip)
Jeremy Allison [Wed, 25 Jan 2006 21:58:06 +0000 (21:58 +0000)]
r13140: Fix swat - make sure it can list running services (ensure loopback_ip)
is defined. Jerry - this needs to be in 3.0.21b.
Jeremy.
(This used to be commit 417ef5bffaefee698cbea4b06aff691f01ac56d1)

16 years agor13138: old fix I forgot to commit
Simo Sorce [Wed, 25 Jan 2006 21:29:36 +0000 (21:29 +0000)]
r13138: old fix I forgot to commit
need to access info when using the ldap backend
(This used to be commit 80c0625667f28253e9b6f1ac1a5c88aa8261f9b0)

16 years agor13137: make cleare where long ifdefs ends
Simo Sorce [Wed, 25 Jan 2006 21:25:25 +0000 (21:25 +0000)]
r13137: make cleare where long ifdefs ends
(This used to be commit 58e48fef450f71ac15219f73897801c5a66a2c44)

16 years agor13136: Fix handling user sid and user gid
Simo Sorce [Wed, 25 Jan 2006 21:24:51 +0000 (21:24 +0000)]
r13136: Fix handling user sid and user gid
(This used to be commit 65d5abda68fa0cacbff489ea1e4bfeffd58c83cb)

16 years agor13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping server...
Gerald Carter [Wed, 25 Jan 2006 15:43:15 +0000 (15:43 +0000)]
r13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping server role when calling 'testparm -s' (BUG 1336)
(This used to be commit a4c6eceaaeeeaa6f0af2ae0689631710d36dbd59)

16 years agor13132: Old fix from Lars
Simo Sorce [Wed, 25 Jan 2006 15:12:18 +0000 (15:12 +0000)]
r13132: Old fix from Lars
tx
(This used to be commit 4488e1debb00f6e3b53c71826a91bae001250902)

16 years agor13127: more spec file fixes for RHEL
Gerald Carter [Wed, 25 Jan 2006 05:27:23 +0000 (05:27 +0000)]
r13127: more spec file fixes for RHEL
(This used to be commit 8217809d86567fb4f8eb57a4d634b21c3a4c67e5)

16 years agor13125: Very well spotted crash bug fix for #3343 from
Jeremy Allison [Wed, 25 Jan 2006 05:04:08 +0000 (05:04 +0000)]
r13125: Very well spotted crash bug fix for #3343 from
SATOH Fumiyasu <fumiyas@miraclelinux.com>
Jerry please pick this up for 3.0.21b.
Jeremy.
(This used to be commit 3f5860b8fb37e854ccf5d9a80848ef759154f88c)

16 years agor13124: working on RHEL/Fedora packaging for 64-bit platforms and general cleanup
Gerald Carter [Wed, 25 Jan 2006 04:56:32 +0000 (04:56 +0000)]
r13124: working on RHEL/Fedora packaging for 64-bit platforms and general cleanup
(This used to be commit 4a8e457846a49647c751ae09365539acb5c02ce2)

16 years agor13119: Fix for #1779 from William Jojo <jojowil@hvcc.edu>
Jeremy Allison [Tue, 24 Jan 2006 20:15:08 +0000 (20:15 +0000)]
r13119: Fix for #1779 from William Jojo <jojowil@hvcc.edu>
Jeremy.
(This used to be commit 103cac7dd314117b15e27fd263a64beeb36ed6e6)

16 years agor13110: remove an invalid debug message about call get_share_mode_lock() with a NULL...
Gerald Carter [Tue, 24 Jan 2006 17:27:30 +0000 (17:27 +0000)]
r13110: remove an invalid debug message about call get_share_mode_lock() with a NULL service path and fname (we do it all the time internally)
(This used to be commit e1f75ea63780f4a1661f19554d18bbd73b069c1b)