sfrench/samba-autobuild/.git
13 years agor2331: check password script code and example from trunk
Simo Sorce [Tue, 14 Sep 2004 00:21:11 +0000 (00:21 +0000)]
r2331: check password script code and example from trunk
(This used to be commit f836be323a233f3a28cbaa04c532e83ea98ead89)

13 years agor2317: Fixup error messages and reformat.
Jeremy Allison [Mon, 13 Sep 2004 08:52:24 +0000 (08:52 +0000)]
r2317: Fixup error messages and reformat.
Jeremy.
(This used to be commit 8ae10c74ec45f1493aa15ee812ff37b86c8fc439)

13 years agor2312: Fix for bugid #1667, smbpasswd file could be left locked on
Jeremy Allison [Mon, 13 Sep 2004 08:04:04 +0000 (08:04 +0000)]
r2312: Fix for bugid #1667, smbpasswd file could be left locked on
some error exits.
Jeremy.
(This used to be commit e2b0b9fb72559a9629b116a7e063de08a12e9eb1)

13 years agor2292: changing version to 3.0.8pre1
Gerald Carter [Sun, 12 Sep 2004 04:08:20 +0000 (04:08 +0000)]
r2292: changing version to 3.0.8pre1
(This used to be commit 98799dc78236a76506d2848b7434bd521c9aca8f)

13 years agor2279: Clarification changes only.
John Terpstra [Fri, 10 Sep 2004 16:15:29 +0000 (16:15 +0000)]
r2279: Clarification changes only.
(This used to be commit 6ed4d26b08f0fde400c37042f6012a25d095594d)

13 years agor2269: Copied from SAMBA_3_RELEASE 3.0.7 branch.
John Terpstra [Thu, 9 Sep 2004 16:06:21 +0000 (16:06 +0000)]
r2269: Copied from SAMBA_3_RELEASE 3.0.7 branch.
(This used to be commit c48151d013b81cbcd172d0259b1b653cba800716)

13 years agor2265: Volkers change to HEAD looks very good. Commit message
Jeremy Allison [Thu, 9 Sep 2004 10:02:44 +0000 (10:02 +0000)]
r2265: Volkers change to HEAD looks very good. Commit message
from HEAD follows :
While torturing winbind a bit I found the following unfortunate behaviour:

Sending multiple requests at a high rate for a slow operation exposed that no
response comes back until the last request in the queue has been
processed. This is an unfortunate result of serially going through all sockets> that have shown to be readable or writable. All client sockets become readable> at the same time, none of them is writable. We go through them, read the
request, process the complete request. Before we enter the select system call
the next time all requests have to have completed.

This patch optimizes this by first looking at the sockets for writability. A
write on a socket that came back from select does not block, so this
additional loop might have a non-zero cost, but it can't prevent other
operations from proceeding.

After a possibly long-running winbindd_process() we directly start select()
again. To avoid starvation the currently processed client is demoted to be the> last one in the list of clients.

Jeremy.
(This used to be commit bfdeb22c69d09eb73305b6034fa6d0ec67275789)

13 years agor2264: Fix for #1741. Define a struct nss_groupsbymem (thanks lukeh!) for
Tim Potter [Thu, 9 Sep 2004 03:40:27 +0000 (03:40 +0000)]
r2264: Fix for #1741.  Define a struct nss_groupsbymem (thanks lukeh!) for
HPUX 11 which doesn't have one of its own.
(This used to be commit 3d275d1eee9644651dcbb61a342648e878fe3506)

13 years agor2263: When testing whether building shared libraries actually works, use
Tim Potter [Thu, 9 Sep 2004 03:36:05 +0000 (03:36 +0000)]
r2263: When testing whether building shared libraries actually works, use
$SHLD and $LDSHFLAGS instead of $CC, $CPPFLAGS and $CFLAGS as this is
more likely to actually work.  Bugzilla #1731.

I'm checking this in to 3.0 so it can hit the build farm and flush out
any problems with other architectures.  With a bit of luck this should
go in to Samba 3.0.8.
(This used to be commit a754f29ef819e1cf7ea31c117e5ef1487cb5cb5e)

13 years agor2261: fix getdc mailslot checks; testing with Windows 98se, WinME, WinNT 4.0/200x/XP
Gerald Carter [Thu, 9 Sep 2004 01:46:20 +0000 (01:46 +0000)]
r2261: fix getdc mailslot checks; testing with Windows 98se, WinME, WinNT 4.0/200x/XP
(This used to be commit 8ad147508ac653698ebacf9fd19fc5eb5863db28)

13 years agor2258: Attempt to fix Bug 1715. Not sure if all of ldapsam_compat works now, but...
Volker Lendecke [Wed, 8 Sep 2004 18:30:00 +0000 (18:30 +0000)]
r2258: Attempt to fix Bug 1715. Not sure if all of ldapsam_compat works now, but this
definitely fixes two segfaults.

Volker
(This used to be commit 270740189995c56c4d0341aeded364efffec86f2)

13 years agor2248: Merge of tridge's PRINTF_ATTRIBUTE fixes from samba4.
Tim Potter [Wed, 8 Sep 2004 02:48:27 +0000 (02:48 +0000)]
r2248: Merge of tridge's PRINTF_ATTRIBUTE fixes from samba4.
(This used to be commit 53bfb76608efa347d5fe154c5583a5e8e3d53740)

13 years agor2246: Some good fixes for HPUX from JBravo on #samba-technical:
Tim Potter [Tue, 7 Sep 2004 23:30:27 +0000 (23:30 +0000)]
r2246: Some good fixes for HPUX from JBravo on #samba-technical:

  - Fix linker options so that stuff actually builds (oops - part of this
    commit was accidentally made in -r2245)

  - Add some preprocessor magic to avoid warnings being printed for every
    single C file being compiled.  This was due to a bug in the HPUX system
    header files.

This should make the HPUX build farm machine build again.
(This used to be commit 46b9d6dcb5bdd47ea82f904d8fac4efe8dc94c9f)

13 years agor2245: Typo fix from trunk.
Tim Potter [Tue, 7 Sep 2004 23:22:09 +0000 (23:22 +0000)]
r2245: Typo fix from trunk.
(This used to be commit 93ddf001e3e079fd1d17096afd91eb93ae17474f)

13 years agor2239: Fixup formatting errors in TDB_LOG calls. Add printf attribute support to
Jim McDonough [Tue, 7 Sep 2004 13:51:03 +0000 (13:51 +0000)]
r2239: Fixup formatting errors in TDB_LOG calls.  Add printf attribute support to
tdb log functions.
(This used to be commit 67c737118faaeae9bd723516ea60657046e135a8)

13 years agor2233: fixed 3 places where == is mistakenly used instead of = in bourne
Andrew Tridgell [Mon, 6 Sep 2004 10:22:03 +0000 (10:22 +0000)]
r2233: fixed 3 places where == is mistakenly used instead of = in bourne
shell script statements in configure.
(This used to be commit 8470968cc6884605cdf2587a2c7f9ecf7b46ded6)

13 years agor2231: Fix iconv.c to use the Samba-supplied uint8 type not the uint8_t type, which...
Paul Green [Mon, 6 Sep 2004 00:24:28 +0000 (00:24 +0000)]
r2231: Fix iconv.c to use the Samba-supplied uint8 type not the uint8_t type, which does not exist on all platforms.
(This used to be commit acc793ead7e61f1eb87864b676d26f5791367228)

13 years agor2224: Make nmbd more robust against bad netbios packets.
Jeremy Allison [Sat, 4 Sep 2004 01:57:16 +0000 (01:57 +0000)]
r2224: Make nmbd more robust against bad netbios packets.
Jeremy.
(This used to be commit dd9b17abd6b32c090840c1a0b797fd774711cb3a)

13 years agor2219: Remember to count bad_components only on pathname boundaries.
Jeremy Allison [Fri, 3 Sep 2004 20:30:31 +0000 (20:30 +0000)]
r2219: Remember to count bad_components only on pathname boundaries.
Jeremy.
(This used to be commit ee8ac9e51a0aefd41df56de4d6deac522bdee4a3)

13 years agor2215: I think I'm really close now. The key is to count the number of
Jeremy Allison [Fri, 3 Sep 2004 20:05:29 +0000 (20:05 +0000)]
r2215: I think I'm really close now. The key is to count the number of
bad components once you've hit one, and keep track of how many
there are (going up a level removes one - maybe it needs to be ./
in order to be removed, need to check). And remember to change the error
code return depending on whether you're called from ff or chkpath.
Jeremy.
(This used to be commit beda1aee795971fa600af65caa749694bb0dfea5)

13 years agor2213: Optimisation. Passes masktest against W2K3.
Jeremy Allison [Fri, 3 Sep 2004 17:44:27 +0000 (17:44 +0000)]
r2213: Optimisation. Passes masktest against W2K3.
Jeremy.
(This used to be commit 5dc3324c4f1ae10c96b6d385531369e0eeee4c40)

13 years agor2210: Fix misleading comment found by Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
Simo Sorce [Fri, 3 Sep 2004 13:42:02 +0000 (13:42 +0000)]
r2210: Fix misleading comment found by Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
(This used to be commit 3a88ee4c444c7b953c9f88b19998a5d84fc5e17c)

13 years agor2198: Correct fix for #1360. Need to use -Wl when passing flags to the linker.
Tim Potter [Thu, 2 Sep 2004 22:51:12 +0000 (22:51 +0000)]
r2198: Correct fix for #1360.  Need to use -Wl when passing flags to the linker.
(This used to be commit 274a1eda7863368a0d46aed6600c29ec5e30f406)

13 years agor2196: This error code change is incorrect. Still working on it...
Jeremy Allison [Thu, 2 Sep 2004 22:48:35 +0000 (22:48 +0000)]
r2196: This error code change is incorrect. Still working on it...
Jeremy.
(This used to be commit 3dbd822f5e4a241ac12fa6c75de93013f80f00f4)

13 years agor2194: Here is the efforts of much pain reproducing W2K3 pathname
Jeremy Allison [Thu, 2 Sep 2004 22:35:36 +0000 (22:35 +0000)]
r2194: Here is the efforts of much pain reproducing W2K3 pathname
parsing. :-(. One more check for CreateFile() needed.
Jeremy.
(This used to be commit 294e2021b34c806900ec65ecbf17d9038ac6229a)

13 years agor2191: ensure that we assign our pid to print jobs (and not our parent's pid); ensure...
Gerald Carter [Thu, 2 Sep 2004 21:52:35 +0000 (21:52 +0000)]
r2191: ensure that we assign our pid to print jobs (and not our parent's pid); ensures that spooling jobs from dead smbds are removed from the tdb
(This used to be commit 9e42d016e1fee9ac999dadc383eb5db45ed79b00)

13 years agor2190: disable 'winbind enable local accounts' by default (had to be done doctor)
Gerald Carter [Thu, 2 Sep 2004 20:51:12 +0000 (20:51 +0000)]
r2190: disable 'winbind enable local accounts' by default (had to be done doctor)
(This used to be commit 1f71295801c7af554fba293069e52666083d7bc5)

13 years agor2189: adding some comments to the schema file
Gerald Carter [Thu, 2 Sep 2004 15:26:36 +0000 (15:26 +0000)]
r2189: adding some comments to the schema file
(This used to be commit 1438c2960f1213ddf98e7e874e1d060f2d57089c)

13 years agor2188: adding some initial checks for DragonFly (same as FreeBSD 4.1)
Gerald Carter [Thu, 2 Sep 2004 14:18:17 +0000 (14:18 +0000)]
r2188: adding some initial checks for DragonFly (same as FreeBSD 4.1)
(This used to be commit dd84bedaca9c8e802fc4cae5b73128c94f38c086)

13 years agor2177: use the correct counter when copying group rids from the user_info3 struct...
Gerald Carter [Wed, 1 Sep 2004 21:28:42 +0000 (21:28 +0000)]
r2177: use the correct counter when copying group rids from the user_info3 struct; patch from Dimitri van der Spek <dwspek@aboveit.nl>
(This used to be commit aa89806deb9d4c9cbd23ccdd41bb98346e395078)

13 years agor2175: Fix for #1546 from fumiya@samba.gr.jp. Preserve errno in MB strupper_m/strlower_m.
Jeremy Allison [Wed, 1 Sep 2004 17:39:27 +0000 (17:39 +0000)]
r2175: Fix for #1546 from fumiya@samba.gr.jp. Preserve errno in MB strupper_m/strlower_m.
Jeremy.
(This used to be commit 615aa6e914e6bc3691156a3b80244fc98d8ecc56)

13 years agor2163: converted samba3 to use the new utf-16 aware iconv code. Also changed
Andrew Tridgell [Wed, 1 Sep 2004 05:17:40 +0000 (05:17 +0000)]
r2163: converted samba3 to use the new utf-16 aware iconv code. Also changed
iconv to recognise UCS-2LE and UTF-16LE as synonyms, which means this
change should be more robust when applied in trees that treat UCS-2LE
or UTF-16LE as correct.
(This used to be commit 92c9fcaec4299ddc16f9d6568a695b1fe161be33)

13 years agor2160: fixed the uuid pack/unpack routines (they could go past the end of the UUID...
Andrew Tridgell [Wed, 1 Sep 2004 04:46:15 +0000 (04:46 +0000)]
r2160: fixed the uuid pack/unpack routines (they could go past the end of the UUID structure)
(This used to be commit 43cf57e86bfae3ab68e97c2238338581411eb2ff)

13 years agor2157: This parameter in loadparm appears compleatly unused.
Andrew Bartlett [Wed, 1 Sep 2004 02:13:48 +0000 (02:13 +0000)]
r2157: This parameter in loadparm appears compleatly unused.

Andrew Bartlett
(This used to be commit 3dabe879f74d2ea3b379a00a3778ee76051a359a)

13 years agor2155: Reformat, plus steal from Samba4 :-).
Jeremy Allison [Wed, 1 Sep 2004 01:33:55 +0000 (01:33 +0000)]
r2155: Reformat, plus steal from Samba4 :-).
tridge:
the lp_use_mmap() in map_file() is inappropriate for 2 reasons, so I have removed it.

 - lp_use_mmap() is really meant to cope with systems that have broken
   mmap coherence, but map_file() doesn't need coherence, as its maps
   read only

 - map_file() is used to map the charset files before loadparm has
   loaded, so lp_use_mmap() is always returning false for the major
   use of map_file()

Jeremy.
(This used to be commit 3716dbc0cb9a8ca4027217b24dbf62a62f44e9f6)

13 years agor2152: Fix for bug #1674, move the symlinks checks into reduce_name().
Jeremy Allison [Tue, 31 Aug 2004 22:52:05 +0000 (22:52 +0000)]
r2152: Fix for bug #1674, move the symlinks checks into reduce_name().
Jeremy.
(This used to be commit 341771857fecf9ef72a436c42e0571d486fa0dde)

13 years agor2150: Fix parsing of names ending in dot and a few other error returns
Jeremy Allison [Tue, 31 Aug 2004 21:29:50 +0000 (21:29 +0000)]
r2150: Fix parsing of names ending in dot and a few other error returns
(commit to Samba4 smbtorture will exercise these fixes).
Jeremy.
(This used to be commit ff20dacc68c78b8d30993712366af30a64e960aa)

13 years agor2147: Fix utility name in error message (pre-emptivly merged to trunk ;-)
Andrew Bartlett [Tue, 31 Aug 2004 20:36:55 +0000 (20:36 +0000)]
r2147: Fix utility name in error message (pre-emptivly merged to trunk ;-)

Andrew Bartlett
(This used to be commit 657bb14789bcec65668d072fec0f954d1e5322ef)

13 years agor2137: This is a patch I've been running at Hawker for a while.
Andrew Bartlett [Tue, 31 Aug 2004 19:56:16 +0000 (19:56 +0000)]
r2137: This is a patch I've been running at Hawker for a while.

The purpose of this patch is to avoid changing the machine account
password, when it has 'already been changed'.  This occours in
situations where the secure channel between the workstation and the DC
breaks down, such as occoured in the MS04-11 security patch.  This
avoids LDAP replication load issues, due to the client changing the
password repeatedly.

We also now set the LM password to NULL explicitly, rather than the NT
password value, as this is what we get out of a vampire, or when a
long password is set (as XP seems to do these days).

Andrew Bartlett
(This used to be commit 1ad1317a815898b52b1803211ab7b502e331e782)

13 years agor2135: BUG 1464: make sure that printing commands are initialized even if the 'printi...
Gerald Carter [Tue, 31 Aug 2004 18:34:52 +0000 (18:34 +0000)]
r2135: BUG 1464: make sure that printing commands are initialized even if the 'printing' parameter is not explicitly set
(This used to be commit 8ae57a8e8d7334bc0feb2c8afb673bd5c53bffca)

13 years agor2133: Several fixes:
Gerald Carter [Tue, 31 Aug 2004 15:11:41 +0000 (15:11 +0000)]
r2133: Several fixes:

* BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 and 5.1
  patch from Olaf Flebbe <o.flebbe@science-computing.de>.
  Will need to watch this one in the build farm.

* Fix bug found by rwf@loonybin.net where the PRINT_ATTRIBUTE_PUBLISHED
  was getting reset by attempts to sanitize the defined attributes
  (PRINTER_ATTRIBUTE_SAMBA)

* Resolve name conflict on DEC OSF-5.1 (inspired by patch from
  Adharsh Praveen <rprav@india.hp.com>)

* Work around parsing error in the print change notify code
  (not that the alignment bug is still there but reording the
   entries in the array works around it).

* remove duplicate declaration of getprintprocdir from rpcclient.
(This used to be commit 7474c6a446037f3ca2546cb6984d800bfc524029)

13 years agor2131: Fixup format string. The magic value format specifier was missing, so
Jim McDonough [Tue, 31 Aug 2004 12:06:37 +0000 (12:06 +0000)]
r2131: Fixup format string.  The magic value format specifier was missing, so
the logged offset was really the magic value, and the true offset was
never displayed.
(This used to be commit 30da4e777191c557226d5615cee5a9e28b198a8b)

13 years agor2116: Ensure statcache has large enough tdb memory hash size (1031).
Jeremy Allison [Mon, 30 Aug 2004 22:25:36 +0000 (22:25 +0000)]
r2116: Ensure statcache has large enough tdb memory hash size (1031).
Jeremy.
(This used to be commit dad4d65787df7bd28351cb8f8724d3ae5387ca12)

13 years agor2114: Shameless theft of iconv commit from Samba4 to keep the two libs more in sync...
Jeremy Allison [Mon, 30 Aug 2004 21:35:43 +0000 (21:35 +0000)]
r2114: Shameless theft of iconv commit from Samba4 to keep the two libs more in sync :-).
try to cope with a wider range of UTF-16 characters when we are using
an external libiconv library.
Jeremy.
(This used to be commit 5d04cd6804f6fc3b556e7c3b53fa0d7af39797c1)

13 years agor2112: Simplify the mangle hash code to use an in-memory tdb.
Jeremy Allison [Mon, 30 Aug 2004 20:19:40 +0000 (20:19 +0000)]
r2112: Simplify the mangle hash code to use an in-memory tdb.
Should be ready for the new directory code now...
Jeremy.
(This used to be commit c2eff8ef1b65570d2e590f62f026cc18f9142652)

13 years agor2111: Fix memleak with valid names.
Jeremy Allison [Mon, 30 Aug 2004 18:27:07 +0000 (18:27 +0000)]
r2111: Fix memleak with valid names.
Jeremy.
(This used to be commit 3f0707132afc66109701766528cb0bd1e1c7cd8c)

13 years agor2093: Fix for Bug 1416. This must have been a cut&paste error from add_gid....
Volker Lendecke [Sat, 28 Aug 2004 10:12:23 +0000 (10:12 +0000)]
r2093: Fix for Bug 1416. This must have been a cut&paste error from add_gid....

Thanks to Jonas Olsson for the bug report & fix.

Volker
(This used to be commit de0eaf7be7d0c3aaf4e17b63653ca68b4332c982)

13 years agor2091: only use sAMAccountName and not userPrincipalName since the breaks winbindd...
Gerald Carter [Fri, 27 Aug 2004 16:15:23 +0000 (16:15 +0000)]
r2091: only use sAMAccountName and not userPrincipalName since the breaks winbindd (lookup_name() only works with the sAMAccountName) -- *please* test this change.  My tests all pass but there is probably something I missed
(This used to be commit 2bf08aaa37f41681b3154514792bf29a3abfdbfd)

13 years agor2090: fix formatting that was bugging me
Gerald Carter [Fri, 27 Aug 2004 16:13:50 +0000 (16:13 +0000)]
r2090: fix formatting that was bugging me
(This used to be commit 5d3ba1fac0ccb7024b72fd3a672e14fab062ef0b)

13 years agor2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling in the...
Gerald Carter [Fri, 27 Aug 2004 13:39:09 +0000 (13:39 +0000)]
r2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling in the username in the user_info3
(This used to be commit 4703a71fa88dff8bdc932f6c9af3a9d25a88938f)

13 years agor2083: Fix memleak on return code path.
Jeremy Allison [Fri, 27 Aug 2004 01:16:25 +0000 (01:16 +0000)]
r2083: Fix memleak on return code path.
Jeremy.
(This used to be commit b0af241fd1fc58c1cbaadcbf6832b608923382ff)

13 years agor2082: lp_path should be lp_pathname.
Jeremy Allison [Thu, 26 Aug 2004 21:39:10 +0000 (21:39 +0000)]
r2082: lp_path should be lp_pathname.
Paranoia fix on mangle prefix.
Jeremy.
(This used to be commit cc91bbe20d9cb26e52ad417f279e2d60c85af2dc)

13 years agor2080: Remove last traces of static migration to localhost. Needed to allow a
Günther Deschner [Thu, 26 Aug 2004 21:37:20 +0000 (21:37 +0000)]
r2080: Remove last traces of static migration to localhost. Needed to allow a
local netbios-alias bound to non-loopback interface as a migration target.

It's now possible to migrate printers|shares|files from Server A to
Server B while running the net-command on client C.

Guenther
(This used to be commit 0cfd2866dfe5e959ede169a77c39480790300de3)

13 years agor2079: Clear the publish-bit from the attributes-mask when migrating
Günther Deschner [Thu, 26 Aug 2004 21:32:49 +0000 (21:32 +0000)]
r2079: Clear the publish-bit from the attributes-mask when migrating
printer-settings. publishing-info is not handled yet.

Guenther
(This used to be commit 1d76adb93c98857ed3460db241847e423c021a99)

13 years agor2077: fix logic bug in the check for creating a user's home directory in register_vu...
Gerald Carter [Thu, 26 Aug 2004 20:47:58 +0000 (20:47 +0000)]
r2077: fix logic bug in the check for creating a user's home directory in register_vuid(); add a few extra debug lines
(This used to be commit 02571e7f5040a577840c969ff9c46a1e533edc21)

13 years agor2076: Removed old dir caching code - not being used now we have the
Jeremy Allison [Wed, 25 Aug 2004 23:20:47 +0000 (23:20 +0000)]
r2076: Removed old dir caching code - not being used now we have the
statcache anyway. New dir caching will be done on nanosecond
timestamps.
Jeremy.
(This used to be commit ba473a580245430009245a4c8b8dcaf9fc4b6406)

13 years agor2073: Adding getprinter level 7 to rpcclient.
Günther Deschner [Wed, 25 Aug 2004 21:26:37 +0000 (21:26 +0000)]
r2073: Adding getprinter level 7 to rpcclient.

Is there any other rpc-call to get the guid of a published printer?

Guenther
(This used to be commit 944ad569c7a88e1d2f14311eed10f80ea9861963)

13 years agor2070: Let's try to overload srnlen and strndup for AIX where they are natly broken.
Simo Sorce [Wed, 25 Aug 2004 14:24:16 +0000 (14:24 +0000)]
r2070: Let's try to overload srnlen and strndup for AIX where they are natly broken.
(This used to be commit 98feb3318f54bb48ce56fc8f4721fec4967b9dd9)

13 years agor2068: Use SMB_ASSERT to track down empty printername (thanks jerry).
Günther Deschner [Wed, 25 Aug 2004 13:03:04 +0000 (13:03 +0000)]
r2068: Use SMB_ASSERT to track down empty printername (thanks jerry).

Guenther
(This used to be commit 9d8fdd5f323951d3d9b581e9edbf89b05c897af7)

13 years agor2067: Prevent nameless $LIBDIR/printing/.tdb from beeing created.
Günther Deschner [Wed, 25 Aug 2004 12:31:00 +0000 (12:31 +0000)]
r2067: Prevent nameless $LIBDIR/printing/.tdb from beeing created.

I've seen these on several sites now without knowing how they could get
created.

Guenther
(This used to be commit 531a23d1d22a9951cce5f657df46bd27840eac3d)

13 years agor2057: Although rarely used, prevent "net lookup kdc" from segfaulting when
Günther Deschner [Wed, 25 Aug 2004 07:52:23 +0000 (07:52 +0000)]
r2057: Although rarely used, prevent "net lookup kdc" from segfaulting when
using our own implementation of krb5_lookup_kdc with heimdal. Also,
heimdals krb5_krbhst_next() obviously does not retrieve the struct
addrinfo in the krb5_krbhst_info-struct, using
krb5_krbhst_get_addrinfo() instead.

Guenther
(This used to be commit cca660e109cc94b49ac6bf1f2802235d1d4d4383)

13 years agor2032: If you're selecting a hash algorithm for tdb, you need to do it at open time,
Jeremy Allison [Wed, 25 Aug 2004 01:04:02 +0000 (01:04 +0000)]
r2032: If you're selecting a hash algorithm for tdb, you need to do it at open time,
it doesn't make sense anywhere else.
Jeremy.
(This used to be commit d7ea1ea8fb3420ca1ad8d95acdc43313898200ff)

13 years agor2027: Fix for but #1657, used initialized variable, from
Jeremy Allison [Tue, 24 Aug 2004 23:36:33 +0000 (23:36 +0000)]
r2027: Fix for but #1657, used initialized variable, from
Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
Jeremy.
(This used to be commit 07f7aa6afb0945bb0e108981c4984a6c04c42a53)

13 years agor2026: Simplify statcache to use an in-memory tdb. Modify tdb to use
Jeremy Allison [Tue, 24 Aug 2004 22:48:49 +0000 (22:48 +0000)]
r2026: Simplify statcache to use an in-memory tdb. Modify tdb to use
a customer hash function for this tdb (yes it does make a difference
on benchmarks). Remove the no longer used hash.c code.
Jeremy.
(This used to be commit 3fbadac85b8cad89b93d295968e99c38c8677575)

13 years agor2023: If there's garbage in the pidfile, we should not panic but assume that no one
Volker Lendecke [Tue, 24 Aug 2004 20:58:12 +0000 (20:58 +0000)]
r2023: If there's garbage in the pidfile, we should not panic but assume that no one
else is around. We can't find the other guy anyway.

Volker
(This used to be commit bf8773b094d41941478f0164ce33838027fadc09)

13 years agor2022: Add net_copy_fileattr as a separate function to copy just ACLs, attrs
Günther Deschner [Tue, 24 Aug 2004 20:52:56 +0000 (20:52 +0000)]
r2022: Add net_copy_fileattr as a separate function to copy just ACLs, attrs
and timestamps. This makes net_copy_file less complex.

Guenther
(This used to be commit 43af9e67dd7c0328f214def4b591041e9b69614a)

13 years agor2018: updating syntax for enable-cups check
Gerald Carter [Tue, 24 Aug 2004 15:40:52 +0000 (15:40 +0000)]
r2018: updating syntax for enable-cups check
(This used to be commit 1acbd40b2651d49811c0afa0f1c3b5eacd3171a0)

13 years agor2016: Add message to ease access-control-debugging.
Günther Deschner [Tue, 24 Aug 2004 13:26:31 +0000 (13:26 +0000)]
r2016: Add message to ease access-control-debugging.

Guenther
(This used to be commit bc64bb0d206c54487e372824a14c38a4ba8f3c5a)

13 years agor2015: Reverting fix for #1474.
Günther Deschner [Tue, 24 Aug 2004 13:02:56 +0000 (13:02 +0000)]
r2015: Reverting fix for #1474.

Jelmer, we need to find another way to solve this bug. This way,
rpcclient is linked to libxml2, libmysqlclient and libpg (with according
dependencies in samba-client.rpm's) if one just wants to build the more
experimental pdb-modules as well.

Guenther
(This used to be commit 67bffc5034121cc0069007a7b79ce189ab0d10be)

13 years agor2014: BUG 1656: rename auto.a to auto.smb
Gerald Carter [Tue, 24 Aug 2004 12:40:30 +0000 (12:40 +0000)]
r2014: BUG 1656: rename auto.a to auto.smb
(This used to be commit 2f4a699631b9c1cc5198b61ede338426a690d0ee)

13 years agor2013: BUG 1658: little bit of const (patch from : Helmut Heinreichsberger <helmut...
Gerald Carter [Tue, 24 Aug 2004 12:38:00 +0000 (12:38 +0000)]
r2013: BUG 1658: little bit of const (patch from :    Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>)
(This used to be commit 22cde8f665f7ed52785699a1d58db3271125ab89)

13 years agor2009: compile-fix for #1626 (spotted by Olaf Flebbe
Günther Deschner [Tue, 24 Aug 2004 11:56:51 +0000 (11:56 +0000)]
r2009: compile-fix for #1626 (spotted by Olaf Flebbe
<o.flebbe@science-computing.de>).

Guenther
(This used to be commit 2e954709de6d0048fafc653b0d70af05cdb0d3c2)

13 years agor2007: Fix typo in Jeremy's copyright. From the output of cvs annotate a year
Tim Potter [Tue, 24 Aug 2004 11:32:59 +0000 (11:32 +0000)]
r2007: Fix typo in Jeremy's copyright.  From the output of cvs annotate a year
in the late 1990's may be more appropriate though.
(This used to be commit 4c881b7a9e40307710ec860375985dc2145f2dd8)

13 years agor2006: Fix bug 1653 discovered by Luke Mewburn. The script code to generate the
Tim Potter [Tue, 24 Aug 2004 11:26:53 +0000 (11:26 +0000)]
r2006: Fix bug 1653 discovered by Luke Mewburn.  The script code to generate the
svn version number broke out-of-tree builds.
(This used to be commit bba8e7956a53067b0d51a12c6abfac24834e4603)

13 years agor2001: Fix bug 1622. Thanks to Qiao Yang for the patch and Sven Thomsen for testing
Volker Lendecke [Mon, 23 Aug 2004 13:25:10 +0000 (13:25 +0000)]
r2001: Fix bug 1622. Thanks to Qiao Yang for the patch and Sven Thomsen for testing
it.

Volker
(This used to be commit 0a3413fbe378bc378aea7ffe9a6af8b65ce49f4a)

13 years agor1980: Re-apply (remember to remove entry from list on delete this time :-).
Jeremy Allison [Sat, 21 Aug 2004 00:43:21 +0000 (00:43 +0000)]
r1980: Re-apply (remember to remove entry from list on delete this time :-).
Jeremy.
(This used to be commit 275a0010f487a06b3bc86f82e45d08c821a51b0e)

13 years agor1978: Roll it back until I do it right.... :-).
Jeremy Allison [Fri, 20 Aug 2004 23:46:18 +0000 (23:46 +0000)]
r1978: Roll it back until I do it right.... :-).
Jeremy.
(This used to be commit f16aa99f8c2f8a31f82e2aedfe3ea6a7276db504)

13 years agor1976: Simplify, use standard dlist interface.
Jeremy Allison [Fri, 20 Aug 2004 23:39:29 +0000 (23:39 +0000)]
r1976: Simplify, use standard dlist interface.
Jeremy.
(This used to be commit 776c28133dfa29320608829f15da2f1056454e4c)

13 years agor1974: Just use a simple linked list for this.
Jeremy Allison [Fri, 20 Aug 2004 22:50:48 +0000 (22:50 +0000)]
r1974: Just use a simple linked list for this.
Jeremy.
(This used to be commit 77bddd40b0a3cb9d2a95b61c098468d3d98e41b0)

13 years agor1971: move counter.
Günther Deschner [Fri, 20 Aug 2004 22:10:53 +0000 (22:10 +0000)]
r1971: move counter.

Guenther
(This used to be commit 74287178d208fd2f5b152314a3b797dcfea698a7)

13 years agor1968: Remove spurious "A" spotted by Jason Mader <jason@ncac.gwu.edu>.
Jeremy Allison [Fri, 20 Aug 2004 21:15:44 +0000 (21:15 +0000)]
r1968: Remove spurious "A" spotted by Jason Mader <jason@ncac.gwu.edu>.
Jeremy.
(This used to be commit 80f7c3141c0925b858cba4a276b370228777263d)

13 years agor1967: Fix a couple of krb5-DEBUG-messages.
Günther Deschner [Fri, 20 Aug 2004 20:18:28 +0000 (20:18 +0000)]
r1967: Fix a couple of krb5-DEBUG-messages.

Guenther
(This used to be commit 86a61c86a49a7e4d67e61201458c9b0229fb0825)

13 years agor1966: further work on and cleanup of the net-migration-tool.
Günther Deschner [Fri, 20 Aug 2004 20:13:05 +0000 (20:13 +0000)]
r1966: further work on and cleanup of the net-migration-tool.

It's now possible to migrate files preserving dos-attributes and correct
timestamps. Also added some small docu- and syntax-fixes.

Guenther
(This used to be commit 0e990582a0416933a8671ca660d22e980f828402)

13 years agor1965: add cli_setattrE (inspired by samba4-code). needed for further
Günther Deschner [Fri, 20 Aug 2004 20:07:17 +0000 (20:07 +0000)]
r1965: add cli_setattrE (inspired by samba4-code). needed for further
migration-work. could someone possibly double-check the byte-count?

Guenther
(This used to be commit 27302905e88960d774c82eab6207ff6a918b0235)

13 years agor1964: more schema fixes syncing between branches
Gerald Carter [Fri, 20 Aug 2004 15:54:54 +0000 (15:54 +0000)]
r1964: more schema fixes syncing between branches
(This used to be commit 49fba32217d9a9a186a28805011bdb567ac968de)

13 years agor1962: fixing schema file; synching with trunk; trying to prevent this from happening...
Gerald Carter [Fri, 20 Aug 2004 15:38:49 +0000 (15:38 +0000)]
r1962: fixing schema file; synching with trunk; trying to prevent this from happening again
(This used to be commit f1a0fae13fa2e6baf66c4c5a51bef87d442d9ba6)

13 years agor1960: sambaPasswordHistory had a duplicate OID
Simo Sorce [Fri, 20 Aug 2004 14:59:10 +0000 (14:59 +0000)]
r1960: sambaPasswordHistory had a duplicate OID
bump up the attribute number to 52 to avoid conflicts
(This used to be commit 9368f0c1d2cb9942293cf2429474a1a100339572)

13 years agor1948: Some fixes for path changes
Simo Sorce [Fri, 20 Aug 2004 09:21:58 +0000 (09:21 +0000)]
r1948: Some fixes for path changes
(This used to be commit 6cf02ec9e788b624cc4ddc67efe45ffbf4f0c443)

13 years agor1946: update debian stable package tree
Simo Sorce [Fri, 20 Aug 2004 08:38:44 +0000 (08:38 +0000)]
r1946: update debian stable package tree
(This used to be commit 7a96ed015ea79512b12195a9086f96d9634303b4)

13 years agor1942: Add missing semicolon.
John Terpstra [Fri, 20 Aug 2004 04:21:49 +0000 (04:21 +0000)]
r1942: Add missing semicolon.
(This used to be commit a0b80033c997d50562f66686e79a58fc9603217d)

13 years agor1939: Ensure with my new change we set extended security in flags2 in
Jeremy Allison [Thu, 19 Aug 2004 22:47:05 +0000 (22:47 +0000)]
r1939: Ensure with my new change we set extended security in flags2 in
the negprot reply.
Jeremy.
(This used to be commit 8b80b46b8b76ead72c17dc65f2de4c0cc0b263c7)

13 years agor1936: Fix bug noticed by Steve - ensure extended security bit is on only
Jeremy Allison [Thu, 19 Aug 2004 20:03:41 +0000 (20:03 +0000)]
r1936: Fix bug noticed by Steve - ensure extended security bit is on only
if we negotiated extended security. Do not merge for 3.0.6. Works
with W2K but needs further testing.
Jeremy.
(This used to be commit 284689aa18d2711a9041598cdf490359466f7f77)

13 years agor1931: fix broken documentation links
Gerald Carter [Thu, 19 Aug 2004 19:56:17 +0000 (19:56 +0000)]
r1931: fix broken documentation links
(This used to be commit 47dffbb857057ba7591e9a597596414e364c7a00)

13 years agor1924: missed adding a few files
Gerald Carter [Thu, 19 Aug 2004 14:25:28 +0000 (14:25 +0000)]
r1924: missed adding a few files
(This used to be commit fc6bab3efdfc0d506d2487bc9cc948e03b8e6cf0)

13 years agor1921: Mandrake packaging fixes
Gerald Carter [Thu, 19 Aug 2004 14:19:25 +0000 (14:19 +0000)]
r1921: Mandrake packaging fixes
(This used to be commit e83eed8d6b32f7ddb25215ed08c10a7fb59665b8)

13 years agor1908: Bugzilla #1541. Fix recursive ls in smbclient. Fix by Josef Zlomek.
Tim Potter [Thu, 19 Aug 2004 09:59:08 +0000 (09:59 +0000)]
r1908: Bugzilla #1541.  Fix recursive ls in smbclient.  Fix by Josef Zlomek.
(This used to be commit e59af43f6b8f824447bd20efc08dd81f2774e99c)

13 years agor1906: Revert lukeh's change for primary uid/gid change. This creates a recursion
Volker Lendecke [Thu, 19 Aug 2004 08:11:11 +0000 (08:11 +0000)]
r1906: Revert lukeh's change for primary uid/gid change. This creates a recursion
loop between uid_to_sid -> getsampwnam -> uid_to_sid. It needs further
inspection.

Volker
(This used to be commit 67d8bc48531dd1a7d9b5db93f7d71f920a27e8fb)

13 years agor1890: Cut down on debug messages from is_in_path. paulg
Paul Green [Wed, 18 Aug 2004 17:55:50 +0000 (17:55 +0000)]
r1890: Cut down on debug messages from is_in_path.  paulg
(This used to be commit 8b1c2126af3f29a3708b6823616ecec43ce63b95)

13 years agor1888: Bring the same level of "required_membership"-functionality that
Günther Deschner [Wed, 18 Aug 2004 16:25:41 +0000 (16:25 +0000)]
r1888: Bring the same level of "required_membership"-functionality that
ntlm_auth uses, to pam_winbindd as well.

This allows to make successfull authentication via PAM dependent on
SID-membership. At the moment, both ntlm_auth and pam_winbindd.so accept
user/group-names or sid-strings - as discussed, recursive membership
(e.g. local aliases) will be added later.

Guenther
(This used to be commit 7494569655f8d112a0c883a2748a1012bb64ad3a)

13 years agor1887: Fix deadlock loop in winbind's required_membership_sid-verification.
Günther Deschner [Wed, 18 Aug 2004 16:15:21 +0000 (16:15 +0000)]
r1887: Fix deadlock loop in winbind's required_membership_sid-verification.

Guenther
(This used to be commit a0a6d7d72f2a24c422db255acf6c439a9b0921df)