summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-01-12Keep all the const warnings in one place, by adding a utility function toAndrew Bartlett1-44/+31
make the TDB_DATA. Andrew Bartlett (This used to be commit f087fe546fd0c943dec022c657f849803f4b807e)
2003-01-12Oops, this is the change to use an fstring for the incoming service buffer -Andrew Bartlett1-3/+3
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)
2003-01-12Make the 'service' in make_connection() use an fstrcpy(), and an fstring,Andrew Bartlett2-2/+1
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)
2003-01-11While the usage is most bisarre, this fixes up another fstring/pstring mixup.Andrew Bartlett1-1/+2
(In this case, an fstrcpy() into a pstring, ie harmless). Andrew Bartlett (This used to be commit 7b92d26d479dbc0923484967936511cfc645c5f4)
2003-01-11Use size_t for the counter vars, to match the type they are assigned fromAndrew Bartlett1-3/+3
(signed/unsigned mixup). Andrew Bartlett (This used to be commit f42cf0783fa3aeddc4992021df9ee6f3b1aa58f3)
2003-01-11A couple more fstring/pstring issues - and move from sizeof(fstring) toAndrew Bartlett2-34/+32
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)
2003-01-11Remove an unused paramter for our old LM-only password change code, and fix aAndrew Bartlett2-4/+3
(harmless) fstring/pstring mixup. Andrew Bartlett (This used to be commit 5ff5f540ccc2ee2c9859213b84598baa400f57a5)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett9-37/+39
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-11Patch from Nik Conwell <nik@bu.edu>. Don't reference free()ed data when tryingAndrew Bartlett1-1/+3
to figure out if we have got our ticket yet. Andrew Bartlett (This used to be commit a66ced2cf69145c0a5be5ed91ac306db50c313d1)
2003-01-11Return the 'freindly' NT error message if at all possible.Andrew Bartlett2-2/+3
Andrew Bartlett (This used to be commit 90d05176534cfd97ed3827bddfeb3a0cb7f22683)
2003-01-11No point having this for both parts of the 'if' statement.Andrew Bartlett1-4/+2
Andrew Bartlett (This used to be commit 3b2e5f68cd4e1ff07dbd0032f521b3ba6e53746a)
2003-01-11[merge] make sure to update print queue cache during timeout_processing() to ↵Gerald Carter4-15/+61
send notify events; CR 1491 (This used to be commit f8a915b14d63e4fdb99235053eeb896ef9492068)
2003-01-11typo from mergeGerald Carter1-1/+1
(This used to be commit 1f33b4acb32c5461b9249d3786ea5fc6898e5f18)
2003-01-11fix tdb_append() prototypeGerald Carter1-1/+1
(This used to be commit d1c97738ba29abe092839e81b5cca937fda53d84)
2003-01-11fix tdb_append() prototypeGerald Carter1-1/+1
(This used to be commit df6e4559922bb55b53f587ca917110a045e222d7)
2003-01-11[merge] make sure to updatre print queue cache during timeout_processing() ↵Gerald Carter4-18/+64
to send notify events; CR 1491 (This used to be commit 142c5029c701e7a82074e301278846c02843f46f)
2003-01-11Added new message_send_pid() code that uses tdb append to reduce lockingJeremy Allison1-54/+55
contention on the messaging tdb. Jeremy. (This used to be commit ee0ceeff99f32146bebd4b49d346abdaa20aa10c)
2003-01-11Added new message_send_pid() code that uses tdb append to reduce lockingJeremy Allison1-54/+55
contention on the messaging tdb. Jeremy. (This used to be commit 5b8cf0810a7297f239b35c93ec50d20f1eed793b)
2003-01-11Added tdb_append() call. Efficiently adds to an entry. Used by new messagingJeremy Allison3-12/+148
code. Also added torture tests for it. Jeremy. (This used to be commit 724cefabb03a3db8b5d3691974241d3109593c27)
2003-01-11Added tdb_append() call. Efficiently adds to an entry. Used by new messagingJeremy Allison3-12/+148
code. Also added torture tests for it. Jeremy. (This used to be commit b515525a060a388c6ae0a03006a882c9be2e42b6)
2003-01-10First part of efficiency fixes for message sending to pid's (cutting downJeremy Allison1-48/+95
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)
2003-01-10First part of efficiency fixes for message sending to pid's (cutting downJeremy Allison1-48/+95
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 b752c0340f96669b2b2573cf7d3d10f99580b070)
2003-01-10Fix lpq_cache time check (missed from yesterday).Jeremy Allison1-4/+4
Jeremy. (This used to be commit 21c8acd25ac93f7ea5b77ef6005e3789a71ca50f)
2003-01-10Don't delete jobs subitted after the lpq time.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 6cb9f6ccb1fab3ff597f52c931561d52de09e84a)
2003-01-09a 0 length printer data value is not a memory allocation error; fix CR601Gerald Carter1-2/+10
(This used to be commit 3442c270f1bc67890f4e2de3386fcfdec610170d)
2003-01-09a 0 length printer data value is not a memory allocation error; fix CR601Gerald Carter1-2/+10
(This used to be commit 47c1709425e0c8c1e57d95dd4441b1424a5b914c)
2003-01-09tdb_chainlock_with_timeout: Add TODO: If we time out waiting for aMartin Pool1-0/+4
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)
2003-01-09Remove read_with_timeout() and replaced its only caller (the passwd chatTim Potter2-84/+8
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)
2003-01-09Moved smbd process counting functions from smbd/server.c to smbd/process.cHerb Lewis2-30/+26
so that bin/vfstest can link. merge from head (This used to be commit 9151cd7d64a1ee1277cbcfb3e7ed61c32c1037cf)
2003-01-09Remove dead function.Tim Potter1-19/+0
(This used to be commit 6ed4d80baa5ff529bb0a06d7e52528b307ca4a0c)
2003-01-09Moved smbd process counting functions from smbd/server.c to smbd/process.cTim Potter2-30/+26
so that bin/vfstest can link. (This used to be commit 812ce0368c69922612ac001560a111016d0e568e)
2003-01-09Correct misleading comment: winbindd_lookupname gets the SID for aMartin Pool1-1/+3
name, not vice versa. (This used to be commit be835d01e10a75aecfb1b166bc6e0ea796c60cce)
2003-01-08Ensure we return disk full by default on short writes.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 6a2b7fd82c868d517301f8566cd86e9e4b31546f)
2003-01-08Ensure we return disk full by default on short writes.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 2a974bc284b9d193c24972d073b966eb9b3b3ad0)
2003-01-08Ensure we don't get an invalid number for total smbd's if the tdb updateJeremy Allison2-6/+18
fails. Jeremy. (This used to be commit e0482594724ebba801bbc39a90a73fafa54f8b9e)
2003-01-08Ensure we don't get an invalid number for total smbd's if the tdb updateJeremy Allison2-6/+18
fails. Jeremy. (This used to be commit 99e69fd74d5a2e7396e7f24924d72374d5cb32c2)
2003-01-08reran autoconfHerb Lewis1-8976/+18858
(This used to be commit 947042007d541563958b054e66bc60e97984d122)
2003-01-08Some fixes to editreg. Clientgen should not be touched, and an update to ↵Richard Sharpe1-3/+0
configure that Herb needs. (This used to be commit 490ff93bbfe38d92746693d5f9902f985de6bc12)
2003-01-08Fix erroneous free of SAM_ACCOUNT (make clearer when allocatedJeremy Allison1-15/+8
memory is being returned). Jeremy. (This used to be commit 48774e77ac8e43682f216dea970f8860cecb3818)
2003-01-08Fix erroneous free of SAM_ACCOUNT (make clearer when allocatedJeremy Allison1-15/+8
memory is being returned). Jeremy (This used to be commit b0d547b7396beff861bb116051ed06b7b9749005)
2003-01-08Removed pointless null statement in signal handler.Tim Potter1-2/+0
(This used to be commit db24489eb4304f1fb0e47a5b6bd77ff3871b757e)
2003-01-08Display an error message when the server cannot be resolved when running atTim Potter1-1/+1
debug level 0. (This used to be commit 451286febd251d25b8beeae9b41a09102240c219)
2003-01-08cannot assign to constHerb Lewis1-1/+1
(This used to be commit 01757e8b510e5475c76423ffe5e3c16b2aca134e)
2003-01-08Fix open problem with changing attributes on an existing file - basedJeremy Allison2-9/+45
on work by <steve@griffin.sio2.nl>. Jeremy. (This used to be commit 1cff725e37d04e25d2cd5523683b35c82d5040fa)
2003-01-08Fix open problem with changing attributes on an existing file - basedJeremy Allison2-8/+45
on work by <steve@griffin.sio2.nl>. Jeremy. (This used to be commit 465d86d95fbdeda423d1f4b06cee46c119a31447)
2003-01-07Fix memory leak. Thanks, Herb!Volker Lendecke1-0/+1
Volker (This used to be commit 434e496289ac21e516b22d91c4f52c0a6674214f)
2003-01-07Fix memory leak. Thanks, Herb!Volker Lendecke1-0/+1
Volker (This used to be commit 8915d59a5939b78a177dcd3e075a122e68e8c64a)
2003-01-07this makes it compile, but I'm not sure if it is correct. Are we reallyHerb Lewis1-1/+1
testing a pointer value to be equal to 0x19 ??? (This used to be commit 15b2b91f4b77a62163c0f79592111d4809317b9f)
2003-01-07cannot make assignments to const values.Herb Lewis1-1/+1
(This used to be commit e3b1e64d9f23347a5ecefeb15329b6ec8971a55e)
2003-01-07add and escape before $( in regex string so it is not interpreted as theHerb Lewis1-1/+1
perl variable for "real gid of this process" (This used to be commit cfe2d01b7de846229e87c151059d80756929d129)