samba.git
17 years agoFix typo in comment.
Martin Pool [Mon, 13 Jan 2003 04:57:21 +0000 (04:57 +0000)]
Fix typo in comment.
(This used to be commit 26660f939f0e0650d54631bf8243b22f32b64132)

17 years agoMerge of remove "winbindd holding pattern" from appliance. It's a bit
Tim Potter [Mon, 13 Jan 2003 03:45:31 +0000 (03:45 +0000)]
Merge ... remove "winbindd holding pattern" from appliance.  It's a bit
simpler as the rescanning of trusted domains helps us out a bit.
(This used to be commit 089729c02cb2088e85f0e7f8ec79afb58fe98be7)

17 years agoKeep all the const warnings in one place, by adding a utility function to
Andrew Bartlett [Sun, 12 Jan 2003 12:23:37 +0000 (12:23 +0000)]
Keep all the const warnings in one place, by adding a utility function to
make the TDB_DATA.

Andrew Bartlett
(This used to be commit f087fe546fd0c943dec022c657f849803f4b807e)

17 years agoOops, this is the change to use an fstring for the incoming service buffer -
Andrew Bartlett [Sun, 12 Jan 2003 11:31:03 +0000 (11:31 +0000)]
Oops, this is the change to use an fstring for the incoming service buffer -
the commit to reply.c just matches a pstrcpy for the pstring.  (harmless, fixes
it for the automated test).

Andrew Bartlett
(This used to be commit ef9c7586ac152304cacaf2c16115adc2bccefc22)

17 years agoMake the 'service' in make_connection() use an fstrcpy(), and an fstring,
Andrew Bartlett [Sun, 12 Jan 2003 11:29:02 +0000 (11:29 +0000)]
Make the 'service' in make_connection() use an fstrcpy(), and an fstring,
becouse that is what it's input (reply_tcon_and_x) uses, and becouse we really
don't want supprises for service names.

Also remove a legacy #define, in favor of the lp_ equiv.

Andrew Bartlett
(This used to be commit 7854a439ac601d3c23703b115cd5a8d4257c7717)

17 years agoWhile the usage is most bisarre, this fixes up another fstring/pstring mixup.
Andrew Bartlett [Sat, 11 Jan 2003 12:33:00 +0000 (12:33 +0000)]
While the usage is most bisarre, this fixes up another fstring/pstring mixup.
(In this case, an fstrcpy() into a pstring, ie harmless).

Andrew Bartlett
(This used to be commit 7b92d26d479dbc0923484967936511cfc645c5f4)

17 years agoUse size_t for the counter vars, to match the type they are assigned from
Andrew Bartlett [Sat, 11 Jan 2003 12:24:19 +0000 (12:24 +0000)]
Use size_t for the counter vars, to match the type they are assigned from
(signed/unsigned mixup).

Andrew Bartlett
(This used to be commit f42cf0783fa3aeddc4992021df9ee6f3b1aa58f3)

17 years agoA couple more fstring/pstring issues - and move from sizeof(fstring) to
Andrew Bartlett [Sat, 11 Jan 2003 12:18:57 +0000 (12:18 +0000)]
A couple more fstring/pstring issues - and move from sizeof(fstring) to
sizeof(var) in slprintf statements, so as to ensure we don't get mixups there.

Also remove fstrcpy() into a variable that is about to be printed into anyway.

Andrew Bartlett
(This used to be commit 9b761237321d475c324a3995fe6f0922550ae995)

17 years agoRemove an unused paramter for our old LM-only password change code, and fix a
Andrew Bartlett [Sat, 11 Jan 2003 12:13:03 +0000 (12:13 +0000)]
Remove an unused paramter for our old LM-only password change code, and fix a
(harmless) fstring/pstring mixup.

Andrew Bartlett
(This used to be commit 5ff5f540ccc2ee2c9859213b84598baa400f57a5)

17 years agoFix a number of client-side fstring/pstring mixups.
Andrew Bartlett [Sat, 11 Jan 2003 12:04:14 +0000 (12:04 +0000)]
Fix a number of client-side fstring/pstring mixups.

Andrew Bartlett
(This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)

17 years agoPatch from Nik Conwell <nik@bu.edu>. Don't reference free()ed data when trying
Andrew Bartlett [Sat, 11 Jan 2003 03:29:31 +0000 (03:29 +0000)]
Patch from Nik Conwell <nik@bu.edu>.  Don't reference free()ed data when trying
to figure out if we have got our ticket yet.

Andrew Bartlett
(This used to be commit a66ced2cf69145c0a5be5ed91ac306db50c313d1)

17 years agoReturn the 'freindly' NT error message if at all possible.
Andrew Bartlett [Sat, 11 Jan 2003 03:25:31 +0000 (03:25 +0000)]
Return the 'freindly' NT error message if at all possible.

Andrew Bartlett
(This used to be commit 90d05176534cfd97ed3827bddfeb3a0cb7f22683)

17 years agoNo point having this for both parts of the 'if' statement.
Andrew Bartlett [Sat, 11 Jan 2003 03:23:16 +0000 (03:23 +0000)]
No point having this for both parts of the 'if' statement.

Andrew Bartlett
(This used to be commit 3b2e5f68cd4e1ff07dbd0032f521b3ba6e53746a)

17 years agotypo from merge
Gerald Carter [Sat, 11 Jan 2003 02:36:13 +0000 (02:36 +0000)]
typo from merge
(This used to be commit 1f33b4acb32c5461b9249d3786ea5fc6898e5f18)

17 years agofix tdb_append() prototype
Gerald Carter [Sat, 11 Jan 2003 02:30:34 +0000 (02:30 +0000)]
fix tdb_append() prototype
(This used to be commit df6e4559922bb55b53f587ca917110a045e222d7)

17 years ago[merge] make sure to updatre print queue cache during timeout_processing() to send...
Gerald Carter [Sat, 11 Jan 2003 02:29:23 +0000 (02:29 +0000)]
[merge] make sure to updatre print queue cache during timeout_processing() to send notify events; CR 1491
(This used to be commit 142c5029c701e7a82074e301278846c02843f46f)

17 years agoAdded new message_send_pid() code that uses tdb append to reduce locking
Jeremy Allison [Sat, 11 Jan 2003 00:17:37 +0000 (00:17 +0000)]
Added new message_send_pid() code that uses tdb append to reduce locking
contention on the messaging tdb.
Jeremy.
(This used to be commit 5b8cf0810a7297f239b35c93ec50d20f1eed793b)

17 years agoAdded tdb_append() call. Efficiently adds to an entry. Used by new messaging
Jeremy Allison [Sat, 11 Jan 2003 00:07:40 +0000 (00:07 +0000)]
Added tdb_append() call. Efficiently adds to an entry. Used by new messaging
code. Also added torture tests for it.
Jeremy.
(This used to be commit b515525a060a388c6ae0a03006a882c9be2e42b6)

17 years agoFirst part of efficiency fixes for message sending to pid's (cutting down
Jeremy Allison [Fri, 10 Jan 2003 20:17:06 +0000 (20:17 +0000)]
First part of efficiency fixes for message sending to pid's (cutting down
the amount of time we hold tdb locks). Gulp down all messages at once rather
than reading/re-writing one at a time. NOTE: All dispatch routines *must*
be able to cope with incoming message on *odd* byte boundaries (all current
handlers do).
Jeremy.
(This used to be commit 04243e39cf4e11dd20e6035f553722a9720f00ae)

17 years agoFix lpq_cache time check (missed from yesterday).
Jeremy Allison [Fri, 10 Jan 2003 19:59:18 +0000 (19:59 +0000)]
Fix lpq_cache time check (missed from yesterday).
Jeremy.
(This used to be commit 21c8acd25ac93f7ea5b77ef6005e3789a71ca50f)

17 years agoa 0 length printer data value is not a memory allocation error; fix CR601
Gerald Carter [Thu, 9 Jan 2003 19:51:28 +0000 (19:51 +0000)]
a 0 length printer data value is not a memory allocation error; fix CR601
(This used to be commit 3442c270f1bc67890f4e2de3386fcfdec610170d)

17 years agotdb_chainlock_with_timeout: Add TODO: If we time out waiting for a
Martin Pool [Thu, 9 Jan 2003 07:23:23 +0000 (07:23 +0000)]
tdb_chainlock_with_timeout: Add TODO: If we time out waiting for a
lock, it might be nice to use F_GETLK to get the pid of the process
currently holding the lock and print that as part of the debugging
message.

I'd like to have this in appliance_head, but the code is too different
so I won't worry for now.
(This used to be commit 575908cb06a653225a2fa79ecd025af0e3dafc05)

17 years agoRemove read_with_timeout() and replaced its only caller (the passwd chat
Tim Potter [Thu, 9 Jan 2003 06:58:07 +0000 (06:58 +0000)]
Remove read_with_timeout() and replaced its only caller (the passwd chat
stuff) with a call to read_socket_with_timeout() which does the same thing.

Passwd chat still works but I couldn't figure out the right arguments to
passwd chat to get it to work right but data was definitely getting
through.
(This used to be commit 88eb9e9486bca55a38e40ae53aed35ee338a68d7)

17 years agoRemove dead function.
Tim Potter [Thu, 9 Jan 2003 05:50:15 +0000 (05:50 +0000)]
Remove dead function.
(This used to be commit 6ed4d80baa5ff529bb0a06d7e52528b307ca4a0c)

17 years agoMoved smbd process counting functions from smbd/server.c to smbd/process.c
Tim Potter [Thu, 9 Jan 2003 05:49:51 +0000 (05:49 +0000)]
Moved smbd process counting functions from smbd/server.c to smbd/process.c
so that bin/vfstest can link.
(This used to be commit 812ce0368c69922612ac001560a111016d0e568e)

17 years agoCorrect misleading comment: winbindd_lookupname gets the SID for a
Martin Pool [Thu, 9 Jan 2003 01:16:12 +0000 (01:16 +0000)]
Correct misleading comment: winbindd_lookupname gets the SID for a
name, not vice versa.
(This used to be commit be835d01e10a75aecfb1b166bc6e0ea796c60cce)

17 years agoEnsure we return disk full by default on short writes.
Jeremy Allison [Wed, 8 Jan 2003 23:49:37 +0000 (23:49 +0000)]
Ensure we return disk full by default on short writes.
Jeremy.
(This used to be commit 6a2b7fd82c868d517301f8566cd86e9e4b31546f)

17 years agoEnsure we don't get an invalid number for total smbd's if the tdb update
Jeremy Allison [Wed, 8 Jan 2003 21:42:43 +0000 (21:42 +0000)]
Ensure we don't get an invalid number for total smbd's if the tdb update
fails.
Jeremy.
(This used to be commit 99e69fd74d5a2e7396e7f24924d72374d5cb32c2)

17 years agoreran autoconf
Herb Lewis [Wed, 8 Jan 2003 18:33:16 +0000 (18:33 +0000)]
reran autoconf
(This used to be commit 947042007d541563958b054e66bc60e97984d122)

17 years agoSome fixes to editreg. Clientgen should not be touched, and an update to configure...
Richard Sharpe [Wed, 8 Jan 2003 17:59:52 +0000 (17:59 +0000)]
Some fixes to editreg. Clientgen should not be touched, and an update to configure that Herb needs.
(This used to be commit 490ff93bbfe38d92746693d5f9902f985de6bc12)

17 years agoFix erroneous free of SAM_ACCOUNT (make clearer when allocated
Jeremy Allison [Wed, 8 Jan 2003 07:02:18 +0000 (07:02 +0000)]
Fix erroneous free of SAM_ACCOUNT (make clearer when allocated
memory is being returned).
Jeremy
(This used to be commit b0d547b7396beff861bb116051ed06b7b9749005)

17 years agoRemoved pointless null statement in signal handler.
Tim Potter [Wed, 8 Jan 2003 04:14:12 +0000 (04:14 +0000)]
Removed pointless null statement in signal handler.
(This used to be commit db24489eb4304f1fb0e47a5b6bd77ff3871b757e)

17 years agoDisplay an error message when the server cannot be resolved when running at
Tim Potter [Wed, 8 Jan 2003 02:54:42 +0000 (02:54 +0000)]
Display an error message when the server cannot be resolved when running at
debug level 0.
(This used to be commit 451286febd251d25b8beeae9b41a09102240c219)

17 years agoFix open problem with changing attributes on an existing file - based
Jeremy Allison [Wed, 8 Jan 2003 02:09:14 +0000 (02:09 +0000)]
Fix open problem with changing attributes on an existing file - based
on work by  <steve@griffin.sio2.nl>.
Jeremy.
(This used to be commit 465d86d95fbdeda423d1f4b06cee46c119a31447)

17 years agoFix memory leak. Thanks, Herb!
Volker Lendecke [Tue, 7 Jan 2003 20:54:31 +0000 (20:54 +0000)]
Fix memory leak. Thanks, Herb!

Volker
(This used to be commit 8915d59a5939b78a177dcd3e075a122e68e8c64a)

17 years agothis makes it compile, but I'm not sure if it is correct. Are we really
Herb Lewis [Tue, 7 Jan 2003 17:55:14 +0000 (17:55 +0000)]
this makes it compile, but I'm not sure if it is correct. Are we really
testing a pointer value to be equal to 0x19 ???
(This used to be commit 15b2b91f4b77a62163c0f79592111d4809317b9f)

17 years agocannot make assignments to const values.
Herb Lewis [Tue, 7 Jan 2003 17:43:37 +0000 (17:43 +0000)]
cannot make assignments to const values.
(This used to be commit e3b1e64d9f23347a5ecefeb15329b6ec8971a55e)

17 years agoadd and escape before $( in regex string so it is not interpreted as the
Herb Lewis [Tue, 7 Jan 2003 17:33:30 +0000 (17:33 +0000)]
add and escape before $( in regex string so it is not interpreted as the
perl variable for "real gid of this process"
(This used to be commit cfe2d01b7de846229e87c151059d80756929d129)

17 years agoCreate a machine account correctly if the unix account exists.
Volker Lendecke [Tue, 7 Jan 2003 10:38:33 +0000 (10:38 +0000)]
Create a machine account correctly if the unix account exists.

With this, my test for W2kSP3 join after pdbedit -a -m works fine.

Volker
(This used to be commit c9d0c5254c7d4ddb343f405652c609a0128e60f9)

17 years agoAdded code to the handling of the -M option to ensure that we default to
Christopher R. Hertel [Tue, 7 Jan 2003 04:33:43 +0000 (04:33 +0000)]
Added code to the handling of the -M option to ensure that we default to
port 139 for that option.  The NetBIOS Messenger Service doesn't run on
a non-NBT port.
(This used to be commit 02986f3e3a8b0411f7cfbfe11015602fe685a440)

17 years agoRename a local variable to avoid a warning.
Tim Potter [Tue, 7 Jan 2003 03:39:22 +0000 (03:39 +0000)]
Rename a local variable to avoid a warning.
(This used to be commit 232116d2db9f24d64b3fa7a6e11191599590107a)

17 years ago'index' is the name of a libc function. Rename to 'ndx' to avoid compiler
Tim Potter [Tue, 7 Jan 2003 03:36:39 +0000 (03:36 +0000)]
'index' is the name of a libc function.  Rename to 'ndx' to avoid compiler
warnings.
(This used to be commit 431ac28b5b7ea688ec342b5834c25eca059e7a16)

17 years agoRemove unused variable.
Tim Potter [Tue, 7 Jan 2003 03:31:52 +0000 (03:31 +0000)]
Remove unused variable.
(This used to be commit 4bc82624f6f2d3745a1528c56b9dcf04613a6a1d)

17 years agoFix memory leaks in pdb_ code.
Jeremy Allison [Mon, 6 Jan 2003 21:48:43 +0000 (21:48 +0000)]
Fix memory leaks in pdb_ code.
Jeremy.
(This used to be commit ddf741c7178e33914dea6031f1a32800af402630)

17 years agoadd $(LDFLAGS) to libsmbclient
Gerald Carter [Mon, 6 Jan 2003 18:00:18 +0000 (18:00 +0000)]
add $(LDFLAGS) to libsmbclient
(This used to be commit 0f8ba688d427febecfd94e02f1779f4a699a0df2)

17 years agoFix from "Ken Cross" <kcross@nssolutions.com> for enumerating
Jeremy Allison [Mon, 6 Jan 2003 07:29:34 +0000 (07:29 +0000)]
Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
(This used to be commit cde517cedf3521b815faf2bdaf7940a611a28650)

17 years agoFix a segfault when we don't correctly load a VFS module (don't keep it in
Andrew Bartlett [Mon, 6 Jan 2003 06:15:34 +0000 (06:15 +0000)]
Fix a segfault when we don't correctly load a VFS module (don't keep it in
the loaded list on error).  Also change some of the error returns, becouse
NT_STATUS_UNSUCCESSFUL gives a most useless error message on the client.

As for which error, my logic is that a share without a valid VFS module is
not a valid share, and therefore should return the same error as a non-existant
share.

Andrew Bartlett
(This used to be commit 41178afdbd2b3de94cf272ce32764a1947e73ea8)

17 years agoClear up the auth_sam password checking code (the core of our password checking
Andrew Bartlett [Sun, 5 Jan 2003 07:32:08 +0000 (07:32 +0000)]
Clear up the auth_sam password checking code (the core of our password checking
routines).  In particular, we now better support the NT# in LM feild, and the
LMv2 password scheme.  (LMv2 is basicly NTLMv2 capped at 24 bytes, slightly
more secure, and in the LM feild for compatiblity).

Thanks to the Samba-TNG team and Luke Leighton for various descriptions of this
algorithm, and to MS for a solution that seems to actually make sense for once
:-).

Andrew Bartlett
(This used to be commit 5c2e34b5b6a2241b8d2fd68458eb73bb65ade6fd)

17 years agoEven when I can't manage to do QA, at least the build farm will catch some of
Andrew Bartlett [Sun, 5 Jan 2003 04:59:42 +0000 (04:59 +0000)]
Even when I can't manage to do QA, at least the build farm will catch some of
the silly stuff.

(fixes password changes from RAP based clients like smbpasswd)

Andrew Bartlett
(This used to be commit 066e4f9a4bdd432b3b2b7830c0ac1421f6086df4)

17 years agoFix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy Allison [Fri, 3 Jan 2003 19:07:26 +0000 (19:07 +0000)]
Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
(This used to be commit 6e0cfec16594ade6e6c499f521781348fee25040)

17 years agoregenerate man pages
Gerald Carter [Fri, 3 Jan 2003 17:35:18 +0000 (17:35 +0000)]
regenerate man pages
(This used to be commit 4461cd3adb4051383d052fb38c357d85ee473a74)

17 years agopatch to include support for daemontools from Michael Handler
Gerald Carter [Fri, 3 Jan 2003 17:32:11 +0000 (17:32 +0000)]
patch to include support for daemontools from Michael Handler
(This used to be commit 4c48c475a28450ad4fd8dcc8263e841c0c39a80e)

17 years agomake sure we create the PIDDIR and LOCKDIR from installdirs
Gerald Carter [Fri, 3 Jan 2003 15:31:46 +0000 (15:31 +0000)]
make sure we create the PIDDIR and LOCKDIR from installdirs
(This used to be commit 63d057fc7880d2522202451288087306e8fa3806)

17 years agooops. Use -r, not -f
Gerald Carter [Fri, 3 Jan 2003 15:21:01 +0000 (15:21 +0000)]
oops.  Use -r, not -f
(This used to be commit 33686a2a7d796d782f39da752a4af4b960bb1b59)

17 years agopatch from Andrew Bird to correct a few file/directory checks when building
Gerald Carter [Fri, 3 Jan 2003 15:19:51 +0000 (15:19 +0000)]
patch from Andrew Bird to correct a few file/directory checks when building
(This used to be commit 8a0fb1a60d923f4392ef1d797f570f7eb990011f)

17 years agoFixed some simple typos, including one that would have resulted in a
Christopher R. Hertel [Fri, 3 Jan 2003 04:32:23 +0000 (04:32 +0000)]
Fixed some simple typos, including one that would have resulted in a
DEBUG() message printing the wrong value.
(This used to be commit 42a4e5b851aa7c9fd9dca5a6f8f42e5d91246c76)

17 years agopstring/fstring missmatches found by Andrew Bartlett.
Jeremy Allison [Thu, 2 Jan 2003 20:43:27 +0000 (20:43 +0000)]
pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
(This used to be commit 585a73b810389129f380cfab1b1b52700b350055)

17 years agoWITH_SENDFILE #ifdef merged from SAMBA_2_2
Gerald Carter [Thu, 2 Jan 2003 18:20:42 +0000 (18:20 +0000)]
WITH_SENDFILE #ifdef merged from SAMBA_2_2
(This used to be commit 5023aec5ada4a0d84878440ed67411b6a6b97ca2)

17 years agoWe still have 'ldap server' and 'ldap port'. Could somebody please
Volker Lendecke [Thu, 2 Jan 2003 16:12:39 +0000 (16:12 +0000)]
We still have 'ldap server' and 'ldap port'. Could somebody please
regen the docs?

Thanks,

Volker
(This used to be commit 0c04c660c5eff282e8bc44de58fa5dcf90201148)

17 years agoWe already have one function to move unistr2 -> multibyte-static, so we
Andrew Bartlett [Thu, 2 Jan 2003 13:10:25 +0000 (13:10 +0000)]
We already have one function to move unistr2 -> multibyte-static, so we
don't need a second just for pdb.

Also, remove magic 'is lp_guest_account' test - the magic RID should be
up to the passdb backend to set.

Andrew Bartlett
(This used to be commit f71c8338d35a2e8c73c3d8006ea6858cb522c715)

17 years agoBecouse these functions return a size_t, they can't return negitive numbers.
Andrew Bartlett [Thu, 2 Jan 2003 13:01:44 +0000 (13:01 +0000)]
Becouse these functions return a size_t, they can't return negitive numbers.
So a < 0 check is pointless, instead check against -1, which will be cast to
unsigned.

Andrew Bartlett
(This used to be commit c7e5797a95804d5779cdfc93795adcdf2fe82a59)

17 years agodebugparse is a seperate utility, no need to include it in the main ubiqx
Andrew Bartlett [Thu, 2 Jan 2003 12:58:23 +0000 (12:58 +0000)]
debugparse is a seperate utility, no need to include it in the main ubiqx
objects.

Andrew Bartlett
(This used to be commit 23abf75adef2f400414dfafa1248f5f886ae27c0)

17 years agoAdd PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids in
Andrew Bartlett [Thu, 2 Jan 2003 12:54:02 +0000 (12:54 +0000)]
Add PRINTF_ATTRIBUTE() to a few more printf() style functions.  Aids in
compiler-based argument checking.
(This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce)

17 years agoCall me parinoid, but I don't like the idea that we could ever have dbf point
Andrew Bartlett [Thu, 2 Jan 2003 12:53:04 +0000 (12:53 +0000)]
Call me parinoid, but I don't like the idea that we could ever have dbf point
to a closed file.  Swap the assign and the close around.

Andrew Bartlett
(This used to be commit ceb2a7984910533187d3345440c24b605306e3cb)

17 years agoAdd a dash of static.
Andrew Bartlett [Thu, 2 Jan 2003 12:39:36 +0000 (12:39 +0000)]
Add a dash of static.
(This used to be commit 6d201c9616c5c30234c0d0d6cd9e2ca60bf736c5)

17 years agoOne more const. Andrew, you seem to have krb5 :-)
Volker Lendecke [Thu, 2 Jan 2003 09:40:10 +0000 (09:40 +0000)]
One more const. Andrew, you seem to have krb5 :-)

Volker
(This used to be commit f5494f5ef6a14020bd31541b1f87d48111f60ad8)

17 years agoBIG patch...
Andrew Bartlett [Thu, 2 Jan 2003 09:07:17 +0000 (09:07 +0000)]
BIG patch...

This patch makes Samba compile cleanly with -Wwrite-strings.
 - That is, all string literals are marked as 'const'.  These strings are
always read only, this just marks them as such for passing to other functions.

What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables).  The rest
is just adding a lot of 'const'.

As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).

Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)

17 years agoDocument the size constraints on a write request.
Richard Sharpe [Wed, 1 Jan 2003 21:54:00 +0000 (21:54 +0000)]
Document the size constraints on a write request.
(This used to be commit 5d6c1810330b38e48355078b7a5d53e7b5076f74)

17 years agoMove our password change code along a little - use NTSTATUS, and implmenet
Andrew Bartlett [Wed, 1 Jan 2003 04:19:34 +0000 (04:19 +0000)]
Move our password change code along a little - use NTSTATUS, and implmenet
minimum password age and min password length for all password changes.

Andrew Bartlett
(This used to be commit 028f808c032becfa4618924cb301a4af2708fa96)

17 years agofix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
Simo Sorce [Tue, 31 Dec 2002 10:23:37 +0000 (10:23 +0000)]
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
(This used to be commit 63a669475b0ea319da12a87ee4635b1d071ff29f)

17 years agoignore tdbsam2_parse_info.h
Simo Sorce [Tue, 31 Dec 2002 00:45:35 +0000 (00:45 +0000)]
ignore tdbsam2_parse_info.h
(This used to be commit 1a1c746c9fde965d2ad3f8fb9c1b0263754745e8)

17 years agoCatching up with old patches. Add define for VERITAS quota support.
Jeremy Allison [Mon, 30 Dec 2002 23:55:58 +0000 (23:55 +0000)]
Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit e789edbb287319f52f49f2999917a610565144d9)

17 years agofix also net rpc shutdown
Simo Sorce [Mon, 30 Dec 2002 23:38:17 +0000 (23:38 +0000)]
fix also net rpc shutdown
sorry
(This used to be commit 1eff36ff2fd20ff1844800acefb31972ad865527)

17 years agothe shutdown call does not have a 16 bit flags, but 2 byte representing booleans
Simo Sorce [Mon, 30 Dec 2002 04:41:27 +0000 (04:41 +0000)]
the shutdown call does not have a 16 bit flags, but 2 byte representing booleans
this commit change the structure and code to reflect this

some test revelead I'm right.

some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation
(This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)

17 years agoPort the fix to cli_setup_write to handle offsets greater than 32-bits from
Richard Sharpe [Mon, 30 Dec 2002 04:25:30 +0000 (04:25 +0000)]
Port the fix to cli_setup_write to handle offsets greater than 32-bits from
Samba 2.2.x ...
(This used to be commit 4201038588bab8674b73371a5eac70a412c5dd6c)

17 years agoAdd a new VFS module, that just fiddles the file permissions. Still need to
Andrew Bartlett [Mon, 30 Dec 2002 04:19:57 +0000 (04:19 +0000)]
Add a new VFS module, that just fiddles the file permissions.  Still need to
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up).

The idea here is that Samba reports an NT ACL to Windows clients, which use
that ACL in downloaded profiles.

If the user doesn't have write permissions on the directories being downloaded,
then it cant put the subfolders in (yes, NT will set perms so that it can't
access the dir as the user the created it) and the profile download fails.

The current solution it to give the user unix write perms to the folders, but
this is rather dangerous - sombody could trojen the profile.  This should
avoid that mess.

I'll test this out properly next week, but it works in vfstest (thanks idra!).

Andrew Bartlett
(This used to be commit 1ad782282a3eb4f89c489a77ad8404099d41d0f9)

17 years agoAdd msdfs proxy functionality to HEAD.
Shirish Kalele [Sun, 29 Dec 2002 23:29:08 +0000 (23:29 +0000)]
Add msdfs proxy functionality to HEAD.
(This used to be commit 9df93b1ffc9ce98302540cc3d2cbd66787abc4fd)

17 years agoRevert by Simo's request. HEAD and 3.0 should be in sync for
Jeremy Allison [Sat, 28 Dec 2002 19:48:56 +0000 (19:48 +0000)]
Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
(This used to be commit c7c3afbd0de8bd8797f91d350368a2419fcede0e)

17 years agosome more work on gums.
Simo Sorce [Sat, 28 Dec 2002 13:42:54 +0000 (13:42 +0000)]
some more work on gums.
- Building a tdbsam2 backend to see what I got right and what not about the proposed API
- Corrections to API based on tdbsam2 work
(This used to be commit 54f11b7de84233209b7db2d01d876f9c6c6340d6)

17 years agoPatch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy Allison [Sat, 28 Dec 2002 01:23:34 +0000 (01:23 +0000)]
Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy.
(This used to be commit 5914c38a54fcfdb007352b152dc2206708d59af6)

17 years agoFor some reason, the configure tests for sendfile support in FreeBSD
Richard Sharpe [Fri, 27 Dec 2002 22:55:11 +0000 (22:55 +0000)]
For some reason, the configure tests for sendfile support in FreeBSD
were broken. This works for 4.3 and 4.6.2.
(This used to be commit 91e2d21bd1401ca874c59f4d93f8b429c38b642d)

17 years agoUpdate link
Jelmer Vernooij [Tue, 24 Dec 2002 02:04:09 +0000 (02:04 +0000)]
Update link
(This used to be commit 03d8d0285e86bd4ee35f6efec835171eb28502da)

17 years agoPut in actual status
Jelmer Vernooij [Tue, 24 Dec 2002 02:01:35 +0000 (02:01 +0000)]
Put in actual status
(This used to be commit 36722b02b0fb494151bc1ab28ba28b09b298e38e)

17 years agoAdd note about storing mysql passwords in smb.conf
Jelmer Vernooij [Tue, 24 Dec 2002 01:41:10 +0000 (01:41 +0000)]
Add note about storing mysql passwords in smb.conf
(This used to be commit a2de27a6846e3e05778fa7f0af0dbc76e82b52b3)

17 years agoFinish adding strings to all talloc_init() calls.
Jeremy Allison [Mon, 23 Dec 2002 23:53:56 +0000 (23:53 +0000)]
Finish adding strings to all talloc_init() calls.
Jeremy.
(This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)

17 years agothe 'padding' field in the query domain info reply is not a padding
Andrew Tridgell [Mon, 23 Dec 2002 20:22:20 +0000 (20:22 +0000)]
the 'padding' field in the query domain info reply is not a padding
field at all. It seems to be an optional 12 byte structure of some
kind. mkaplan found a situation where the structure was not present at
all (depending on ptr_0)
(This used to be commit d7f18c60f73a3acb00ec9b1f9c605cc8c9d690a7)

17 years agotalloc_init_named -> talloc_init.
Jeremy Allison [Sun, 22 Dec 2002 16:02:36 +0000 (16:02 +0000)]
talloc_init_named -> talloc_init.
Jeremy.
(This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)

17 years agoForward port the change to talloc_init() to make all talloc contexts
Jeremy Allison [Fri, 20 Dec 2002 20:23:06 +0000 (20:23 +0000)]
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
(This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)

17 years agoFixed bug in debug statement when tconX fails.
Tim Potter [Fri, 20 Dec 2002 01:07:09 +0000 (01:07 +0000)]
Fixed bug in debug statement when tconX fails.
(This used to be commit a2159610b9d38cc7cfa7cb877ccee816cd2206b8)

17 years agoProtect nmbd against malformed reply packets. Some reports on the lists showing
Jeremy Allison [Thu, 19 Dec 2002 22:14:53 +0000 (22:14 +0000)]
Protect nmbd against malformed reply packets. Some reports on the lists showing
these.
Jeremy.
(This used to be commit 65d5bf65c439aee1450e330a9f2bd829d9b2c2d0)

17 years agomerge from 2.2 fix for smbclient large files
Herb Lewis [Thu, 19 Dec 2002 20:23:45 +0000 (20:23 +0000)]
merge from 2.2 fix for smbclient large files
(This used to be commit 723c4caf64c56b78052c52fec78c7143ec19e944)

17 years agomerge from 2.2
Herb Lewis [Thu, 19 Dec 2002 19:56:31 +0000 (19:56 +0000)]
merge from 2.2
actually print args for %g and %e
(This used to be commit 47a0ba53fdf52fb4d269b1ff95491e73e47423be)

17 years agoapp_head merge for get_friendly_nt_err()
Gerald Carter [Tue, 17 Dec 2002 22:53:56 +0000 (22:53 +0000)]
app_head merge for get_friendly_nt_err()
(This used to be commit 3ceff08eb75ecd70dcf10d033c7451d87b659c0b)

17 years agofix make proto to work with SGI smake
Herb Lewis [Tue, 17 Dec 2002 21:45:50 +0000 (21:45 +0000)]
fix make proto to work with SGI smake
(This used to be commit 773e5af6eb61fc38f8e45ea0a2afd6922cc71fd5)

17 years ago* fix memory leak when constructing an driver_level_6 structure
Gerald Carter [Tue, 17 Dec 2002 21:35:56 +0000 (21:35 +0000)]
* fix memory leak when constructing an driver_level_6 structure
  and no dependent files (working on smbd memory leak).  No CR# yet.
(This used to be commit f017fa7c478f87165b7b6aa83059fe6fad29ac15)

17 years agoStart adding code to allow the in memory version of the registry tree
Richard Sharpe [Tue, 17 Dec 2002 07:45:14 +0000 (07:45 +0000)]
Start adding code to allow the in memory version of the registry tree
structure to be manipulated. Keys can be partially deleted now.
(This used to be commit 9181ba0c682c3f37bbbaab96928c39757491d225)

17 years agoit's getting comic ...
Simo Sorce [Tue, 17 Dec 2002 01:38:48 +0000 (01:38 +0000)]
it's getting comic ...
yet another missing piece :-O
(This used to be commit eb595efa7e6c260092478564e5fb3fdefcc120d8)

17 years agoUhmm a bad day to commit changes :-((
Simo Sorce [Mon, 16 Dec 2002 23:40:15 +0000 (23:40 +0000)]
Uhmm a bad day to commit changes :-((
(This used to be commit 5320d54b901b92a3a8cdf9a407651713826c6c9f)

17 years agomerge smbtar fixes from 2.2
Herb Lewis [Mon, 16 Dec 2002 21:30:20 +0000 (21:30 +0000)]
merge smbtar fixes from 2.2
(This used to be commit f3b994326ea4bfc9a74acb2901c733c35900af53)

17 years agooh god, I will forgot my name one of these days :-/
Simo Sorce [Mon, 16 Dec 2002 21:22:09 +0000 (21:22 +0000)]
oh god, I will forgot my name one of these days :-/
(This used to be commit 0b2591cc4001dd5430591f1871b76c1a6d133b43)