Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | several changes in this checkin | Gerald Carter | 2002-07-24 | 7 | -148/+627 | |
| | | | | | | | | | | | | | | | | | | | * added REG_OPEN_HKCR for supporting regedit.exe * All data n a REGISTRY_VALUE is stored to a pointer now * fixed REG_INFO to correctly display data when double clicking on and entry in the registry editor * Will now enumerate installed driver_info_3 data * fixed numerous bugs related to pointer offsets, memory issues, etc.. in the registry routines * added a simple caching mechanism to fetch_reg_[keys|values]_specific() All that is left now is to enumerate PrinterData and I will have finished what I started out to do.... | |||||
* | If lp_add_home() fails, don't go any further, just return -1. | Andrew Bartlett | 2002-07-24 | 1 | -1/+3 | |
| | | | | Andrew Bartlett | |||||
* | Make it possible to query account policy values from pdbedit (set to come soon). | Andrew Bartlett | 2002-07-24 | 2 | -37/+91 | |
| | | | | | | | | | | | Update account_pol.c to use just uint32, rather then uint32 for paramaters, int32 for storage. (The int32 functions didn't have seperate return/status values, uint32 functions use a pointer-paramater). Move the #define -> string from a swtich to a table, so we can look it up both ways. Andrew Bartlett | |||||
* | Actually check the return value of the account_policy_get() call. | Andrew Bartlett | 2002-07-24 | 1 | -5/+4 | |
| | | | | Andrew Bartlett | |||||
* | We must be root to access the passdb, so ensure all calls to local_lookup_sid() | Andrew Bartlett | 2002-07-24 | 1 | -1/+5 | |
| | | | | | | | | have become_root()/unbecome_root() wrappers. (this should be the last of them, the rest were done ages ago). Andrew Bartlett | |||||
* | Add another message rather than 'internal module error' | Andrew Bartlett | 2002-07-24 | 1 | -0/+4 | |
| | | | | Andrew Bartlett | |||||
* | Give an idea what service didn't have the directory. | Andrew Bartlett | 2002-07-24 | 1 | -1/+1 | |
| | ||||||
* | implemented getgrouplist() for systems that don't have it and use it | Andrew Tridgell | 2002-07-23 | 4 | -55/+131 | |
| | | | | | in get_alias_user_groups(). The old method used getgrent() which is extremely slow when the number of groups is large | |||||
* | * fix to display correct form information in REG_BINARY information | Gerald Carter | 2002-07-23 | 1 | -17/+19 | |
| | | | | | | This should be 8 x uint32 (not 7. I'm guessing the 2nd to the last uint32 is the index number for the form? Not that big a deal I don't think. | |||||
* | * changed structure of REG_R_ENUM_VALUE structure since the BUFFER2 | Gerald Carter | 2002-07-23 | 6 | -154/+375 | |
| | | | | | | | | is not and [in/out] buffer * registry value enumeration is working now for the Print\Forms key. The format of the binary data is not quite right yet but all installed forms are listed | |||||
* | reran configure | Andrew Tridgell | 2002-07-23 | 2 | -752/+699 | |
| | ||||||
* | added LDAP_SET_REBIND_PROC_ARGS in acconfig.h | Andrew Tridgell | 2002-07-23 | 1 | -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 it | Andrew Tridgell | 2002-07-23 | 1 | -24/+0 | |
| | ||||||
* | Sync with APPLIANCE_HEAD branch (whitespace, const only) | Tim Potter | 2002-07-22 | 1 | -2/+0 | |
| | ||||||
* | Merge from APPLIANCE_HEAD. | Tim Potter | 2002-07-22 | 2 | -10/+10 | |
| | ||||||
* | fix seg fault due to memory allocation goof. | Gerald Carter | 2002-07-22 | 1 | -0/+8 | |
| | ||||||
* | Ensure we're root before opening a printer backend tdb. | Jeremy Allison | 2002-07-22 | 1 | -0/+4 | |
| | | | | Jeremy. | |||||
* | fixed a segv in net time when the host is unavailable | Andrew Tridgell | 2002-07-22 | 1 | -1/+1 | |
| | ||||||
* | Fix up dir drive call. | Tim Potter | 2002-07-21 | 1 | -1/+1 | |
| | ||||||
* | Name get and set dir drive functions consistently. | Tim Potter | 2002-07-21 | 6 | -12/+13 | |
| | ||||||
* | More cleanups, and add a comment/hint not to clean somthing up in future :-) | Andrew Bartlett | 2002-07-21 | 3 | -71/+10 | |
| | | | | Andrew Bartlett | |||||
* | Add some const & static, remove unused functions. | Andrew Bartlett | 2002-07-21 | 2 | -24/+1 | |
| | ||||||
* | Another smattering of static and const | Andrew Bartlett | 2002-07-21 | 7 | -13/+13 | |
| | ||||||
* | Tpot missed one... | Andrew Bartlett | 2002-07-21 | 1 | -1/+1 | |
| | ||||||
* | Looks like I missed this earlier. We should connect as the specified workgroup | Andrew Bartlett | 2002-07-21 | 1 | -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 Potter | 2002-07-21 | 6 | -23/+23 | |
| | | | | as they're no longer new! | |||||
* | More use of intermediate variables to avoid issues with pointer size and casts. | Andrew Bartlett | 2002-07-21 | 1 | -9/+27 | |
| | | | | Andrew Bartlett | |||||
* | Compilers do find bugs :-) | Andrew Bartlett | 2002-07-21 | 1 | -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 Bartlett | 2002-07-20 | 2 | -3/+3 | |
| | ||||||
* | Don't try and sys_dup2(dbf->fd) if dbf == NULL. | Tim Potter | 2002-07-20 | 1 | -1/+1 | |
| | ||||||
* | Oops, my bad. I forgot to assign this, so lookupnames wasn't doing much :-) | Andrew Bartlett | 2002-07-20 | 1 | -0/+1 | |
| | ||||||
* | another intermediate checkin on the way to enumerating forms | Gerald Carter | 2002-07-20 | 5 | -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 compiler | Andrew Bartlett | 2002-07-20 | 8 | -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 Bartlett | 2002-07-20 | 1 | -1/+1 | |
| | | | | Andrew Bartlett | |||||
* | Try to fix up warnings - particularly on the IRIX 64 bit compiler (which had a | Andrew Bartlett | 2002-07-20 | 12 | -26/+40 | |
| | | | | | | | | distinction between uchar and char). Lots of const etc. Andrew Bartlett | |||||
* | Add some const to try and get less warnings. | Andrew Bartlett | 2002-07-20 | 1 | -2/+3 | |
| | | | | Andrew Bartlett | |||||
* | Make it clear that the 'service' isn't to be touched. (Make it const). | Andrew Bartlett | 2002-07-20 | 1 | -1/+1 | |
| | | | | Andrew Bartlett | |||||
* | Update the smbd reply code a little: | Andrew Bartlett | 2002-07-20 | 2 | -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 hash | Andrew Bartlett | 2002-07-20 | 2 | -12/+9 | |
| | | | | | | wrappers. Andrew Bartlett | |||||
* | If we can't connect, make sure its a level 0 so we see it, and the reason. | Andrew Bartlett | 2002-07-20 | 1 | -1/+1 | |
| | ||||||
* | Move some startup time initialisation to server.c, so it is all in one place. | Andrew Bartlett | 2002-07-20 | 2 | -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 Bartlett | 2002-07-20 | 3 | -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-through | Andrew Bartlett | 2002-07-20 | 2 | -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 Bartlett | 2002-07-20 | 1 | -0/+2 | |
| | | | | | | I think this one is due to metze. Andrew Bartlett | |||||
* | Add a wrapper for dup2() to our system.c | Andrew Bartlett | 2002-07-20 | 1 | -0/+10 | |
| | | | | Andrew Bartlett | |||||
* | NT_STATUS_UNSUCCESSFUL just gets clients confused - move to NO_LOGON_SERVERS | Andrew Bartlett | 2002-07-20 | 1 | -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 registry | Gerald Carter | 2002-07-20 | 5 | -34/+65 | |
| | | | | functions now works :-) | |||||
* | fixed a logic error in the sorted_tree_find_child() routine | Gerald Carter | 2002-07-20 | 3 | -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 to | Gerald Carter | 2002-07-19 | 4 | -12/+23 | |
| | | | | use a destroyed TALLOC_CTX* | |||||
* | Fixed a compiler warning. | Tim Potter | 2002-07-19 | 1 | -3/+3 | |
| |