summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-01-29Pass down max_size parameter to cli_samr_query_dispinfo() instead ofTim Potter1-2/+35
using a hardcoded value later on. Added a helper function that returns the observed values for max_entries and max_size for each cli_samr_query_dispinfo() call. These values were obtained from watching the NT4 user manager application with ethereal and are the only ones that can enumerate a 60k user domain reliably under Windows 2000. (This used to be commit 2eea2813d9adc414f0a7ea074826b23697f376ee)
2003-01-29Pass down max_size parameter to init_samr_q_query_dispinfo() insteadTim Potter1-2/+2
of hardcoding it to 0xffff. (This used to be commit c3b077f763d94ba063b2d4231cd5d411e44933e7)
2003-01-29Removed duplicate fn to avoid compiler warning.Tim Potter1-19/+0
(This used to be commit 55d268fdd67e42244128dae8614d0e4aa2eb2da2)
2003-01-29Remove NULL buffer checks before rpcstr_pull() as they're now doneTim Potter1-63/+38
inside this function. (This used to be commit cdc7c599c72119e96a2a3d392458cd6d52bf56a5)
2003-01-29Return 0 instead of crashing when a NULL source string is passedTim Potter1-0/+1
to rpcstr_pull() (This used to be commit b9c4cc119588d6a564f0aaf12fd2ef867a42aeb8)
2003-01-29Quieten debug about gencache.tdb not being able to be opened.Tim Potter1-1/+1
Perhaps we should try to open O_RDONLY if O_RDWR fails? (This used to be commit 1e7236371d2b766b161acbb0c950cd3bb4a6ede7)
2003-01-28added LsaRemoveAccountRightsAndrew Tridgell4-4/+163
this now gives us complete remove privileges control in the client libs, so we are in good shape for starting on the server side. (This used to be commit bf99440398db86f46233eb2f5adddffb61280a1b)
2003-01-28patch from Paul Green to only build libsmbclient.so on platforms that ↵Gerald Carter3-907/+934
support shared libraries (This used to be commit f739a7263d9da6edc2ecba5b942253c22f7cb3f8)
2003-01-28cleaned up the lsa_enum_acct_rights function and added aAndrew Tridgell6-20/+208
lsa_add_acct_rights function. This allows us to add privileges remotely to accounts using rpcclient. (This used to be commit 2e5e659e095a94b0716d97f673f993f0af99aabe)
2003-01-28As per a comment by herb a little while back, this should be >=, not == to keepAndrew Bartlett1-1/+1
identical behaviour with previous versions (This used to be commit 7cbb194b58a4313497541c1f8153533c5034b928)
2003-01-28Make this an fstrcat(), as this seems to fix some weird issue with the serverAndrew Bartlett1-2/+2
name being truncated... (either way, it's the correct thing to do). Andrew Bartlett (This used to be commit a058960c15944ac5a415307f0b016553ef42e101)
2003-01-28The previous patch (NTLMSSP common code factoring) was missing a minor detail -Andrew Bartlett1-28/+35
testing :-). This gets the 'signiture' after the extended security blob, rather than over the top of it. Also move that code to the top of the file, with some of the other util functions. Andrew Bartlett (This used to be commit e5c67a012424e71cee340b16946babe2399c0fa1)
2003-01-28Factor out common code in the NTLMSSP/SPNEGO code.Andrew Bartlett4-173/+80
The idea here is to seperate, as much as possible, the SPNEGO layer from the NTLMSSP layer. This not only helps us with protocol correctness, but also should allow further mechinisms to be added with relitive ease. I indend to make the kerberos code use this shortly. I've never seen the 'zero length blob' form of the anonymous login, so I've removed that case. Andrew Bartlett (This used to be commit a8773c9f825539c5bc17e4200b16d7ebbe0b7620)
2003-01-28performance patch from HP-UX folks (cant remember who)Gerald Carter1-3/+14
(This used to be commit 9180e2d062ac18dc5e7e8d0737973dc9e806e412)
2003-01-28CUPS-PRINTER_CLASS patch from Michael SweetGerald Carter1-2/+101
(This used to be commit d74d4fe0b0c64d500367e4969be37f4541227d3e)
2003-01-27reran autoconfGerald Carter1-912/+952
(This used to be commit f89a99bf881f691c4fd8063fe0c51b84466a4cf6)
2003-01-27One more try to fix the GNU Make dependencyRichard Sharpe1-16/+51
(This used to be commit 84b6f32cff2096ac44778160ed2c17ca271d6d45)
2003-01-27One more fix ... Things link now if you don't use dynamic RPC stuffRichard Sharpe1-2/+2
(This used to be commit 58a7744f4abebfbf87b9050b98db25c51321defa)
2003-01-27One more try to get rid of the dependency on GNU MAKERichard Sharpe1-21/+22
(This used to be commit a96592fb69fdebc5abe97a0b46055bd1486e7b94)
2003-01-27Fix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.Richard Sharpe1-42/+21
I have not tested this in a GNU MAKE environment yet. (This used to be commit 5e99472d5b68dc393a5468b8949c3ad962a239f7)
2003-01-24Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.Jeremy Allison1-1/+4
Jeremy. (This used to be commit af6e4ea640828438fe234db1652dc4c1e10a487e)
2003-01-24Commit just a little more infrastructure for HAVE_GETDIRENTRIESRichard Sharpe3-19298/+9213
(This used to be commit fdd449fe7b4e858765f485cbbe2cc1b91a4e0c53)
2003-01-24At the prompting, start to add infrastructure to detect the presence ofRichard Sharpe1-0/+3
getdirentries. We would also detect getdents if present. This has some rudimentary support already. (This used to be commit 916c8784d21f566a1fb048301c3e78a9ecc52ea8)
2003-01-24Merge of increment_smbd_process_count() fix from appliance.Tim Potter1-1/+1
(This used to be commit c39c54e6b6adcdab7647e36e6c1b0acbdeeaf111)
2003-01-23Merge of max log file fixes from appliance:Tim Potter2-1/+15
- smbd/process.c: check log file sizes more often than in timeout_processing() - lib/debug.c: increment debug_count inside Debug1() instead of when log file sizes are checked. (This used to be commit 303710c2065850beebef678e657633497e4d8452)
2003-01-23Fixed typo.Tim Potter1-1/+1
(This used to be commit 9b11ede90129fab8311344ce8621556fd6cff7dc)
2003-01-22fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLEGerald Carter1-0/+1
(This used to be commit fcf63df8bfae37680ad7af48c65af62abc4e0020)
2003-01-21revert accidentally committed changesJim McDonough2-86/+4
(This used to be commit 5d43346761cd120c12766536efb0513994d7bace)
2003-01-21Properly display popt errors. Also fix debug to be -d for consistency with ↵Jim McDonough3-6/+89
other progs. (This used to be commit 97133f7168852dc185dbf4492afcaf4b68180f65)
2003-01-21Fixup proto generation to not include krb5 specific symbolsJeremy Allison2-5/+8
if no kerberos selected. Noticed by Metze. Jeremy. (This used to be commit 1684719695acb7168115b032fc1ec672509239ea)
2003-01-21Updated some comments.Tim Potter1-5/+5
(This used to be commit f150af98a77ebcfa848735b7a67bbb95bd6d5b57)
2003-01-21More fixes getting us closer to full Heimdal compile....Jeremy Allison5-11/+155
Jeremy. (This used to be commit 193cc4f4fc876c66e97ea6b82bae431d0247c1fa)
2003-01-21Keep the list of dead WINS servers in gencache.tdb instead of inTim Potter1-60/+54
memory. This allows the information to be shared amongst all smbd processes. HP CR #1099 (This used to be commit 88d977ecceaec45ab6b238ddd32d92885da19793)
2003-01-21Make the valstr and timeout return pointers optional so a caller canTim Potter1-11/+31
pass NULL if it doesn't care about the gencache key. (This used to be commit 9ff4fe7e0d95c0cea94f65c00fea21600308d7d1)
2003-01-21Deleted arguments to help output - they didn't work.Tim Potter1-1/+1
(This used to be commit 8b167a45a6ae041cd35dbf2a25d7a300f86440a2)
2003-01-21don't free() auto variables; fixes segfault when looking up ↵Gerald Carter1-3/+5
RefusePasswordChange registry value (This used to be commit d89b0bff44fe31244b1835aee0c96c4900d90dc6)
2003-01-21sanity checks from Ken CrossGerald Carter2-3/+7
(This used to be commit ec26877f0b4fbe2c651a6069d22b9ac0637aa2d1)
2003-01-20should be HAVE_KRB5_SET_REAL_TIME (HAVE_ was missing)...fix the buildJim McDonough1-1/+1
(This used to be commit aceaaad1c2efce41fe0e03655b0ca0583788d7ab)
2003-01-20Add FIXME about dodgy argument parser.Martin Pool1-0/+11
(This used to be commit a58028330849dbb1706793fdc6e36161f7baebed)
2003-01-19Merge in more of the SuSE patches for Heimdal. These changes show howJeremy Allison5-0/+244
to add a function without an explicit #ifdef HEIMDAL which I'm trying to avoid. Jeremy. (This used to be commit 77aeb262ef7c7cd3d206afe2d5445caaca943dfd)
2003-01-19strip any trailing \'s from reg key names in an openGerald Carter1-2/+10
(This used to be commit 03807cd56429e167ca8f3c003a4468461ecb854b)
2003-01-18Fix some debug levels (were set to 0 with RPC module patch), andJim McDonough1-4/+4
change one fprintf(stderr,...) to DEBUG. (This used to be commit 77f8913977343023f8ce123c305dcffc7463357b)
2003-01-18removing extra debug statementGerald Carter1-2/+0
(This used to be commit 657f8c25a585a02b86f4021e38641ee896f098d2)
2003-01-17dlsym() can return NULL validly, so we can't use that as the error test.Jim McDonough1-2/+6
dlerror() is the correct way to test. (This used to be commit 41b1be15bac271116a7096e511cc029685013e1f)
2003-01-17Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt ↵Jim McDonough16-10357/+20708
for instructions. (This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)
2003-01-17connect to the actual netbios name in smb.conf and not LOCALHOSTGerald Carter1-1/+1
(This used to be commit 3e9701f34c730783648fb2a666f7b57478e5942d)
2003-01-17Fix reference count bug where smbd's would not terminate with noJeremy Allison2-18/+12
open resources. Jeremy. (This used to be commit 0173d6fe164568a73247fa542895443fad6c20c3)
2003-01-17reverted this patch till I sort out the craziness with UNIHDRAndrew Tridgell17-234/+246
(This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
2003-01-17This removes the 3rd argument from init_unistr2(). There were 240Andrew Tridgell17-246/+234
calls to init_unistr2() in the code and every one of them got the 3rd argument incorrect, so I thought it best just to remove the argument. The incorrect usage was caused by callers using strlen() to determine the length of the string. The 3rd argument to init_unistr2() was supposed to be the character length, not the byte length of the string, so for non-english this could come out wrong. I also removed the bogus 'always allocate at least 256 bytes' hack. There may be some code that relies on this, but if there is then the code is broken and needs fixing. (This used to be commit b9eff31b1433c81fbff733e194914a40f25e3bda)
2003-01-17the 'static' keyword here is useless as we are not declaring aAndrew Tridgell1-1/+1
variable or function (This used to be commit f2c9c64900c4da24f73b188deb0f57271e3bf3e7)