summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | added LDAP_SET_REBIND_PROC_ARGS in acconfig.hAndrew Tridgell2002-07-231-0/+3
| | | | | | | | | | | | | | | | andrew, you seem to have added this test but don't use it. Do you intend to use it later? If not then perhaps it can be removed. also, when a test goes in configure.in you must also add it to acconfig.h, or you end up breaking configure.
* | removed the freebsd getgroups check now that we don't use itAndrew Tridgell2002-07-231-24/+0
| |
* | Sync with APPLIANCE_HEAD branch (whitespace, const only)Tim Potter2002-07-221-2/+0
| |
* | Merge from APPLIANCE_HEAD.Tim Potter2002-07-222-10/+10
| |
* | fix seg fault due to memory allocation goof.Gerald Carter2002-07-221-0/+8
| |
* | Ensure we're root before opening a printer backend tdb.Jeremy Allison2002-07-221-0/+4
| | | | | | | | Jeremy.
* | fixed a segv in net time when the host is unavailableAndrew Tridgell2002-07-221-1/+1
| |
* | Fix up dir drive call.Tim Potter2002-07-211-1/+1
| |
* | Name get and set dir drive functions consistently.Tim Potter2002-07-216-12/+13
| |
* | More cleanups, and add a comment/hint not to clean somthing up in future :-)Andrew Bartlett2002-07-213-71/+10
| | | | | | | | Andrew Bartlett
* | Add some const & static, remove unused functions.Andrew Bartlett2002-07-212-24/+1
| |
* | Another smattering of static and constAndrew Bartlett2002-07-217-13/+13
| |
* | Tpot missed one...Andrew Bartlett2002-07-211-1/+1
| |
* | Looks like I missed this earlier. We should connect as the specified workgroupAndrew Bartlett2002-07-211-1/+1
| | | | | | | | | | | | | | | | | | - sombody using smbspool won't always have a full smb.conf, and this is how it was written in the first place anyway. Again, found by the IRIX compiler. Andrew Bartlett
* | Renamed all the new_cli_netlogon_* functions to cli_netlogon_*Tim Potter2002-07-216-23/+23
| | | | | | | | as they're no longer new!
* | More use of intermediate variables to avoid issues with pointer size and casts.Andrew Bartlett2002-07-211-9/+27
| | | | | | | | Andrew Bartlett
* | Compilers do find bugs :-)Andrew Bartlett2002-07-211-2/+1
| | | | | | | | | | | | | | This was a mixup between the enum type NSS_STATUS and a BOOL (extra test for equality). Andrew Bartlett
* | And a little more 'const'.Andrew Bartlett2002-07-202-3/+3
| |
* | Don't try and sys_dup2(dbf->fd) if dbf == NULL.Tim Potter2002-07-201-1/+1
| |
* | Oops, my bad. I forgot to assign this, so lookupnames wasn't doing much :-)Andrew Bartlett2002-07-201-0/+1
| |
* | another intermediate checkin on the way to enumerating formsGerald Carter2002-07-205-38/+136
| | | | | | | | | | | | via the registry. There is a seg fault here which shouldn't bother anyone until I can get it fixed. I just need a check point in case I need to roll back to this version later on.
* | More fixes towards warnings on the IRIX compilerAndrew Bartlett2002-07-208-35/+46
| | | | | | | | | | | | | | | | | | | | | | | | (and yes, some of these are real bugs) In particular, the samr code was doing an &foo of various types, to a function that assumed uint32. If time_t isn't 32 bits long, that broke. They are assignment compatible however, so use that and an intermediate variable. Andrew Bartlett
* | correctly declare global_myworkgroup to be the right size.Andrew Bartlett2002-07-201-1/+1
| | | | | | | | Andrew Bartlett
* | 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
* | Add some const to try and get less warnings.Andrew Bartlett2002-07-201-2/+3
| | | | | | | | Andrew Bartlett
* | Make it clear that the 'service' isn't to be touched. (Make it const).Andrew Bartlett2002-07-201-1/+1
| | | | | | | | Andrew Bartlett
* | 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
* | Fix up char/uchar casts etc. Fix up comments on some of the password hashAndrew Bartlett2002-07-202-12/+9
| | | | | | | | | | | | wrappers. Andrew Bartlett
* | If we can't connect, make sure its a level 0 so we see it, and the reason.Andrew Bartlett2002-07-201-1/+1
| |
* | 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
* | 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
* | 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
* | 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
* | Add a wrapper for dup2() to our system.cAndrew Bartlett2002-07-201-0/+10
| | | | | | | | Andrew Bartlett
* | 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
* | enumeration of printers keys ( no data yet ) via the registryGerald Carter2002-07-205-34/+65
| | | | | | | | functions now works :-)
* | 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.
* | fixed seg fault in registry frontend caused by trying toGerald Carter2002-07-194-12/+23
| | | | | | | | use a destroyed TALLOC_CTX*
* | Fixed a compiler warning.Tim Potter2002-07-191-3/+3
| |
* | Never ignore valgrind messages :-). Don't reference before the startJeremy Allison2002-07-191-1/+1
| | | | | | | | | | of a string.... Jeremy.
* | * 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
* | 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.
* | Formatting fixup. Fix shadow warning.Jeremy Allison2002-07-192-458/+461
| | | | | | | | Jeremy.
* | merge from SAMBA_2_2 spotted by SimoGerald Carter2002-07-191-2/+14
| |
* | fixed line buffer mode in XFILEAndrew Tridgell2002-07-191-1/+1
| | | | | | | | thanks to tim for finding this bug
* | 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.
* | Add useful VALGRIND #ifdef.Jeremy Allison2002-07-181-0/+2
| | | | | | | | Jeremy.
* | Prevent gcc warning about shadowed global "index".Jeremy Allison2002-07-181-1/+1
| | | | | | | | Jeremy
* | Don't crash on setfileinfo on printer fsp.Jeremy Allison2002-07-181-1/+2
| | | | | | | | Jeremy.
* | Fixed off-by-one in all_string_sub also.Jeremy Allison2002-07-181-1/+1
| | | | | | | | Jeremy.