summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* correctly declare global_myworkgroup to be the right size.Andrew Bartlett2002-07-201-1/+1
| | | | | Andrew Bartlett (This used to be commit 860f5b1a0c1898f1ce380d249610eeaaeb43b9e0)
* Try to fix up warnings - particularly on the IRIX 64 bit compiler (which had aAndrew Bartlett2002-07-2012-26/+40
| | | | | | | | | distinction between uchar and char). Lots of const etc. Andrew Bartlett (This used to be commit 8196ee908e10db2119e480fe1b0a71b31a16febc)
* Add some const to try and get less warnings.Andrew Bartlett2002-07-201-2/+3
| | | | | Andrew Bartlett (This used to be commit 2a3d821c77c7648de43b11dd951f6f16d7be5b3c)
* Make it clear that the 'service' isn't to be touched. (Make it const).Andrew Bartlett2002-07-201-1/+1
| | | | | Andrew Bartlett (This used to be commit 6465c6727be15cd2e915710bdc3e2f4244ad2083)
* Update the smbd reply code a little:Andrew Bartlett2002-07-202-5/+25
| | | | | | | | | | | | | I don't like the idea of muliple netprots - becouse I see potential problems with people being able to maniplate internal samba variables. This applies in particular to remote names, so don't allow muliple session requests either. Also remove a pstrcpy() from the tcon code, we really don't need it. Andrew Bartlett (This used to be commit 2afa291404cfd8dae11120e5e470c38ba067c4b2)
* Fix up char/uchar casts etc. Fix up comments on some of the password hashAndrew Bartlett2002-07-202-12/+9
| | | | | | | wrappers. Andrew Bartlett (This used to be commit 95519d408caa7da00dbb2a8323cc4374a517cd69)
* If we can't connect, make sure its a level 0 so we see it, and the reason.Andrew Bartlett2002-07-201-1/+1
| | | | (This used to be commit 6129718bea458ceb7669ecabc8cf0c8f908c7074)
* Move some startup time initialisation to server.c, so it is all in one place.Andrew Bartlett2002-07-202-11/+11
| | | | | | | | | I'm not sure that we need that "dummy" talloc init, but anyway... Also, add some 'const' to the table of smb reply functions. Andrew Bartlett (This used to be commit 790b7c9ab82f930da66426e7a932d7365bd27725)
* Add support for duplicating stderr into our logfiles.Andrew Bartlett2002-07-203-25/+35
| | | | | | | | | | | | This is for two things: To allow panic actions etc to pump out backtraces to stderr and to allow vangrind to put its stuff in a logfile - making it possible to debug smbd when launched from inetd. I've also cleaned up some of the duplicate names in procedures between smbd and nmbd. Andrew Bartlett (This used to be commit 4bcb32731984b4aef1d4911a168a4e7a10d32fd4)
* Add support for a weird behaviour apparently used by Win9X pass-throughAndrew Bartlett2002-07-202-4/+19
| | | | | | | | | | | authentication - we can have an NT hash in the LM hash feild. (I need to double-check this fix with tpot, who discovered it). Also remove silly casts back and forth between uchar and char. Andrew Bartlett (This used to be commit 07e2b36311f91d7a20865a2ccc94716772e53fd7)
* Update the usage for smbgroupedit to document -d for 'description'.Andrew Bartlett2002-07-201-0/+2
| | | | | | | I think this one is due to metze. Andrew Bartlett (This used to be commit bce3a2b1d893d83f701205d7969569571f6279b0)
* Add a wrapper for dup2() to our system.cAndrew Bartlett2002-07-201-0/+10
| | | | | Andrew Bartlett (This used to be commit b24b6307f6b40e559aec441e0ebab8f666b87d9f)
* NT_STATUS_UNSUCCESSFUL just gets clients confused - move to NO_LOGON_SERVERSAndrew Bartlett2002-07-201-11/+11
| | | | | | | | | | | becouse thats what Win2k gives when the PDC is down. Some of these might better go to other errors, but the Win2k text message for 'unsuccessful' is not particularly useful. (A device attached to the system is not functioning...) Andrew Bartlett (This used to be commit 656f1d68e8579f1bd0a7118caf9e0373d5980a69)
* enumeration of printers keys ( no data yet ) via the registryGerald Carter2002-07-205-34/+65
| | | | | functions now works :-) (This used to be commit c5768538f6cf6ee824bc6e105a3391bbc2ea8e46)
* fixed a logic error in the sorted_tree_find_child() routineGerald Carter2002-07-203-33/+69
| | | | | | that caused a valid search to fail. The printing registry view now works again. (This used to be commit 2050859f03493d5135984ce1e42baf8f1f2566b9)
* fixed seg fault in registry frontend caused by trying toGerald Carter2002-07-194-12/+23
| | | | | use a destroyed TALLOC_CTX* (This used to be commit 432b9f8d7c20fbf3b2a0906c8a93272abbe43fb6)
* Fixed a compiler warning.Tim Potter2002-07-191-3/+3
| | | | (This used to be commit bc0f1c1ec21e69014426e41fb0a5264da63b857a)
* Never ignore valgrind messages :-). Don't reference before the startJeremy Allison2002-07-191-1/+1
| | | | | | of a string.... Jeremy. (This used to be commit 35f0fbd254c222d015bdc582277b90efbaade81e)
* * refactored registry operations some. subkey lists andGerald Carter2002-07-197-240/+488
| | | | | | | | | | | | | | | | | | | registry values are now passed around in containers (REGSUBKEY_CTR & REGVAL_CTR) which each possess a TALLOC_CTX. * removed subkey_specific_fn() from REGISTRY_OPS. Is implemented in the form of a wrapper * temporarily broke the printing registry ops. * implemented inheritence for the data_p of nodes in a SORTED_TREE * All REGISTRY_KEY instances now store a valid REGISTRY_HOOK since the default REGOSTRY_OPS structure is stored in the root of the cache_tree. * Probably some other change I forgot.... T (This used to be commit e7b55e8f017e638342d9c8c1a9259000745a0298)
* Allow trans2 and nttrans messages to be processed in oplock break state.Jeremy Allison2002-07-192-5/+7
| | | | | | | | As noticed by Lev Iserovich <lev@ciprico.com> this seems to fix a problem with oplock breaks and Win2k, and we are protected from problems by existing code in trans2.c and nttrans.c Jeremy. (This used to be commit e3f7d6c03f100962395763a5066313d60b4761d0)
* Formatting fixup. Fix shadow warning.Jeremy Allison2002-07-192-458/+461
| | | | | Jeremy. (This used to be commit beb298898d5700dcd775ee3b1f1965e67214e9e5)
* fixed line buffer mode in XFILEAndrew Tridgell2002-07-191-1/+1
| | | | | thanks to tim for finding this bug (This used to be commit 91bff7545405ba88bc721f358ccdbf0aac0e3ba6)
* Previous fix was incorrect. len in string_sub and all_string_sub isJeremy Allison2002-07-181-4/+4
| | | | | | | number of *bytes*. >= check was correct, the len=0 case needed changing to len = ls + 1. Jeremy. (This used to be commit 06a4a6d30ade5ea4d123ae640393677c9a510763)
* Add useful VALGRIND #ifdef.Jeremy Allison2002-07-181-0/+2
| | | | | Jeremy. (This used to be commit 07716f3a2316fedfe9a3210fd1dad8f7d1e4d9c8)
* Prevent gcc warning about shadowed global "index".Jeremy Allison2002-07-181-1/+1
| | | | | Jeremy (This used to be commit ae924493754220b8ad9e9767eb25f0f53a23327d)
* Don't crash on setfileinfo on printer fsp.Jeremy Allison2002-07-181-1/+2
| | | | | Jeremy. (This used to be commit 3a9ceb6b3b915d3153d9cb107f447b13002c0f57)
* Fixed off-by-one in all_string_sub also.Jeremy Allison2002-07-181-1/+1
| | | | | Jeremy. (This used to be commit 8b0e47fc1f00c76dfccb6c2b58188d9a5ae67c65)
* Formatting fixups.Jeremy Allison2002-07-181-66/+73
| | | | | Jeremy. (This used to be commit 4aa922a1afdd538f51d5eff4cb7af2694a88c591)
* Another bug found by valgrind. Don't AND a src length of -1.Jeremy Allison2002-07-181-1/+2
| | | | | Jeremy. (This used to be commit a67079882dd1b924d2e007e39b06da438533ef96)
* virtual registry framework with initial printing hooks.Gerald Carter2002-07-1811-335/+1329
| | | | (This used to be commit a43d9788fa8823d678ee72470421b980165ec2b0)
* The previous code would not allow things like string_sub(str, "\\", "/", 0).Gerald Carter2002-07-181-1/+1
| | | | | | | It complained about an overflow of 0 bytes. Jeremy please check since you modified this last. (This used to be commit a5aad760061e21635319a9b5628990cf59b827ed)
* Unneded extra check on lenSimo Sorce2002-07-181-1/+1
| | | | (This used to be commit e3b3c148208792ac2ccbfd468ad580b1264f9876)
* We have to look at the length before checking for "~" as the stringJeremy Allison2002-07-181-3/+3
| | | | | | may be shorter than 6 chars. Caught by valgrind. Jeremy. (This used to be commit b846bbfa831922b0be52e54804a46d7870895bfc)
* Use of uninitialized variable caught by valgrind.Jeremy Allison2002-07-181-1/+1
| | | | | Jeremy. (This used to be commit 44410af397c386f58067679012856150b07b47e8)
* Gone back to explicit queue number passing as snum - removed encoding ofJeremy Allison2002-07-179-287/+170
| | | | | | | queueid in job number. This means we must have an internal tdb to store mapping from 16 bit RAP jobid's to 32 bit RPC jobids. Jeremy. (This used to be commit 4ff64f69706cc94d5dba7762754d00790c476963)
* Lanman print jobs are *16* bits, not 32. arggggh. Map them....Jeremy Allison2002-07-173-9/+88
| | | | | Jeremy. (This used to be commit 2b06fd305be10fa8a8629adb4a99ccd3960786da)
* print_jobid in the fsp struct should be uint32.Jeremy Allison2002-07-161-1/+1
| | | | | Jeremy. (This used to be commit 51c8338c7ac8665fcaaac6de5f2d81b460e803f5)
* Use codepage 850 as a default for the dos character set.Tim Potter2002-07-161-0/+3
| | | | | Tridge, is this OK? (This used to be commit db5d91fedfe9355f4a79aee9dc60d77dd068b334)
* Put printing tdbs in a subdirectory to prevent name collisions.Jeremy Allison2002-07-161-1/+6
| | | | | Jeremy. (This used to be commit b013b9437557f2d427e4b646b49ad7d99e94c164)
* splitting off storage/retrieval routines for abstracting theGerald Carter2002-07-154-326/+366
| | | | | registry view front end. Now to plug in the various hooks. (This used to be commit 9772acd9ad44af2800dfb9d8610c2d5c23eaceb4)
* preparing for release of 3.0-alpha18Samba Release Account2002-07-151-1/+1
| | | | (This used to be commit 9556d3316cf262d14da4f3481d3e733b23d0862b)
* fixed a number of real bugs found by warnings on the 64 bit irix compilerAndrew Tridgell2002-07-155-11/+8
| | | | (This used to be commit 04de6bbc8055e5547af41b10e284b722f40e726d)
* enum_group_mapping takes an enum not an intAndrew Tridgell2002-07-151-1/+1
| | | | (This used to be commit 67a3ca2f235e011472dbe505ce7c34b26f92c44c)
* checking for NULL really is counter-productive, and this one was alsoAndrew Tridgell2002-07-151-5/+0
| | | | | generating a warning (This used to be commit cd82ba41b8df024f034fcfa24e967ed8c3c8d035)
* fixed a call to get_current_groups()Andrew Tridgell2002-07-151-1/+1
| | | | (This used to be commit 61c524e8102d4f5cdcf7c949b55b5dc67a320c74)
* don't use C++ comments in C - it doesn't work on many compilersAndrew Tridgell2002-07-151-1/+1
| | | | (This used to be commit cf853314f9eda479c6f18bfc725fa0b5d88d0a38)
* fixed a problem with getgroups() where it could include our currentAndrew Tridgell2002-07-154-14/+65
| | | | | | | | | | effective gid which could mean that the user gets group 0 in their group list for acl interpretation this is a replacement fix for the one richard did in 2.2 (which didn't cope wiith variable behaviour depending on which nss module was in use) (This used to be commit cfc5ca3416cea5ea5d2ac34f5521cb6367e42cd2)
* don't report the faiilure of non-blocking locks. They are supposed toAndrew Tridgell2002-07-151-1/+1
| | | | | fail sometimes, thats why they are non-blocking :) (This used to be commit 775b918b8c63b1fcd9a8db1743505ab718978c19)
* after thinking about the env variable hack for avoiding group membershipAndrew Tridgell2002-07-141-14/+20
| | | | | | | enumeration I realised it could be a security hole for setuid progs. This adds a proper nss function instead. (This used to be commit c7c49d87af5e9a0bef058e6d79188d8b11fefc02)
* addedd new (t)alloc_sub_* functionsSimo Sorce2002-07-145-44/+318
| | | | | | they will get a const string and return a (t)alloced epanded one. also modified passdb/* stuff to use this one. (This used to be commit d378ac1e2efb0efc9a0f983d69cf678ca6255fd5)