Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove setbuffer which caused build errors | Jim McDonough | 2001-10-23 | 1 | -2/+0 | |
| | ||||||
* | Replace getopt_long with popt for parsing commandline options | Jim McDonough | 2001-10-23 | 1 | -136/+91 | |
| | ||||||
* | Added xstrdup, removed static version from smbpasswd.c | Jeremy Allison | 2001-10-22 | 1 | -14/+0 | |
| | | | | Jeremy. | |||||
* | Add command-line remote management utility | Jim McDonough | 2001-10-19 | 1 | -0/+1510 | |
| | ||||||
* | first step in converting the head branch to use lang_tdb.c instead | Andrew Tridgell | 2001-10-11 | 2 | -21/+36 | |
| | | | | of gettext for internationalisation support. There is more to do | |||||
* | Fixed bug when status=no and max smbd processes > 0. | Jeremy Allison | 2001-10-11 | 1 | -0/+5 | |
| | | | | Jeremy. | |||||
* | fix some possible memleaks and not tested reallocs spotted by Andreas Moroder | Simo Sorce | 2001-10-03 | 1 | -0/+1 | |
| | ||||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 9 | -21/+0 | |
| | ||||||
* | Don't try to write the LM password in the NT password feild. | Andrew Bartlett | 2001-09-30 | 1 | -1/+0 | |
| | ||||||
* | Fix up a number of intertwined issues: | Andrew Bartlett | 2001-09-29 | 2 | -22/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The big one is a global change to allow us to NULLify the free'ed pointer to a former passdb object. This was done to allow idra's SAFE_FREE() macro to do its magic, and to satisfy the input test in pdb_init_sam() for a NULL pointer to start with. This NULL pointer test was what was breaking the adding of accounts up until now, and this code has been reworked to avoid duplicating work - I hope this will avoid a similar mess-up in future. Finally, I fixed a few nasty bugs where the pdb_ fuctions's return codes were being ignored. Some of these functions malloc() and are permitted to fail. Also, this caught a nasty bug where pdb_set_lanman_password(sam, NULL) acheived precisely didilly-squat, just returning False. Now that we check the returns this bug was spotted. This could allow different LM and NT passwords. - the pdbedit code needs to start checking these too, but I havn't had a chance to fix it. I have also fixed up where some of the password changing code was using the pdb_set functions to store *internal* data. I assume this is from a previous lot of mass conversion work... Most likally (and going on past experience) I have missed somthing, probably in the LanMan password change code which I havn't yet been able to test, but this lot is in much better shape than it was before. If all this is too much to swallow (particularly for 2.2.2) then just adding a sam_pass = NULL to the particular line of passdb.c should do the trick for the ovbious bug. Andrew Bartlett | |||||
* | Removed smbpasswd_XX call (how did this get re-added, I removed all | Jeremy Allison | 2001-09-27 | 1 | -1/+1 | |
| | | | | | these yesterday ?). Jeremy. | |||||
* | Sync 2.2.2 and HEAD (I will keep these the same if it kills me :-). | Jeremy Allison | 2001-09-27 | 1 | -127/+103 | |
| | | | | Jeremy. | |||||
* | Major update to pdbedit's import and export code, in line with reqests for it | Andrew Bartlett | 2001-09-27 | 1 | -81/+83 | |
| | | | | | | | | | to use the pdb_ formatting functions. Similarly, it now uses pdb_set...() rather than accessing passdb members directly. Andrew Bartlett | |||||
* | Fix up pdbedit to initialise its structures with the standard functions, | Andrew Bartlett | 2001-09-26 | 1 | -40/+52 | |
| | | | | | | | | | | therfore ensuring sensible defaults for some values, notably account expriries which mean 'locked out' if == 0. This NEEDS to be merged into 2.2.2 or people can get wrongly initilaised TDB records. (which will only fail on future versions of samba). Andrew Bartlett | |||||
* | Added -s configfile to smbcontrol.c. | Volker Lendecke | 2001-09-21 | 1 | -6/+9 | |
| | | | | Volker | |||||
* | Check 'hosts equiv' and 'use rhosts' compatability with 'hostname | Andrew Bartlett | 2001-09-20 | 1 | -0/+16 | |
| | | | | lookup' value. | |||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 5 | -28/+26 | |
| | ||||||
* | free memory before returning. | Simo Sorce | 2001-09-15 | 1 | -0/+7 | |
| | | | | tx Andreas Moroder. | |||||
* | Fixed problems with arg parsing as root with smbpasswd. | Jeremy Allison | 2001-09-12 | 1 | -8/+11 | |
| | | | | Jeremy. | |||||
* | left out { | Herb Lewis | 2001-09-10 | 1 | -1/+1 | |
| | ||||||
* | prevent segv by not calling tdb_traverse and tdb_close if tdb_open_log | Herb Lewis | 2001-09-10 | 1 | -18/+20 | |
| | | | | returns NULL. | |||||
* | declare dbf in one spot | Andrew Tridgell | 2001-09-10 | 5 | -5/+0 | |
| | ||||||
* | replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down | Andrew Tridgell | 2001-09-10 | 5 | -11/+11 | |
| | | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. | |||||
* | convert more code to using d_printf | Andrew Tridgell | 2001-09-08 | 2 | -395/+395 | |
| | ||||||
* | got rid of USE_TDB_MMAP_FLAG as its not needed any more | Andrew Tridgell | 2001-09-06 | 2 | -3/+3 | |
| | ||||||
* | Started a cleanup of smbpasswd related stuff. I've created a new file | Tim Potter | 2001-09-06 | 1 | -12/+16 | |
| | | | | | | | | | | | | | | | | lib/smbpasswd.c which will contain routines related to manipulating smbpasswd entries. - renamed and moved pdb_{get,set}hexpwd() functions - renamed and moved pdb_{decode,encode}acct_ctrl() functions - started hiding references to the cruftalicious NEW_PW_FORMAT_SPACE_PADDED_LEN constant - started gradual rename of references to acct_ctrl to acb_info which is the nomenclature used in MSDN and header files There's still more work to be done. Currently there are several places where smbpasswd entries are iterated etc. Ideally this should all happen through the passdb system. | |||||
* | always include profile support so you do not need a different binary of | Herb Lewis | 2001-09-05 | 1 | -5/+0 | |
| | | | | smbstatus to dump profile stats. | |||||
* | add profiling stats from 2.2 | Herb Lewis | 2001-09-05 | 1 | -2/+332 | |
| | ||||||
* | When sending a message via a tdb, it must be open read/write. | Jeremy Allison | 2001-09-05 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | more warning fixes on solaris | Andrew Tridgell | 2001-09-05 | 1 | -2/+2 | |
| | ||||||
* | it now all compiles - so try enabling it by default and see what explodes on ↵ | Andrew Tridgell | 2001-09-04 | 1 | -7/+6 | |
| | | | | the build farm | |||||
* | the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵ | Andrew Tridgell | 2001-09-04 | 1 | -5/+5 | |
| | | | | the client code still needs some work | |||||
* | Set acb_info to ACB_SVRTRUST if we are joining the domain as a BDC without | Tim Potter | 2001-08-31 | 1 | -2/+6 | |
| | | | | going through the server manager. | |||||
* | merge from 2.2 | Gerald Carter | 2001-08-30 | 1 | -0/+3 | |
| | ||||||
* | Fix uninitialised variables. Spotted by "Esh, Andrew" <AEsh@tricord.com> | Tim Potter | 2001-08-29 | 1 | -0/+3 | |
| | ||||||
* | Fuss, fuss, fuss... | Christopher R. Hertel | 2001-08-29 | 1 | -1/+1 | |
| | | | | | | | | | | Function name_status_query() performs a node status query, so it really should be called "node_status_query()" just to be consistent. Yeah, minor... but it's looking as though an overhaul of namequery.c is in order and I am trying to do the tiny changes that impact other stuff first. Chris -)----- | |||||
* | Added samsync and samrepl (untested) message types to smbcontrol. | Tim Potter | 2001-08-28 | 1 | -0/+38 | |
| | ||||||
* | Fixed typo in comment. | Tim Potter | 2001-08-28 | 1 | -3/+1 | |
| | ||||||
* | converted another bunch of stuff to NTSTATUS | Andrew Tridgell | 2001-08-27 | 2 | -6/+6 | |
| | ||||||
* | Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_server | Christopher R. Hertel | 2001-08-26 | 1 | -1/+1 | |
| | | | | to determine whether the 'wins server' parameter is set. | |||||
* | get rid of compiler warnings | Herb Lewis | 2001-08-24 | 1 | -3/+3 | |
| | ||||||
* | fixed handling of 139/445 in clients | Andrew Tridgell | 2001-08-24 | 1 | -2/+1 | |
| | ||||||
* | Fix up some unused variables and functions, fix up formatting | Andrew Bartlett | 2001-08-23 | 1 | -14/+0 | |
| | ||||||
* | A few changes: | Andrew Bartlett | 2001-08-22 | 1 | -60/+44 | |
| | | | | | | | | | | | | drop paramaters: status utmp hostname change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-) change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate). I'll get swat doing some of this shortly. | |||||
* | added -b option | Andrew Tridgell | 2001-08-20 | 1 | -2/+9 | |
| | ||||||
* | Allow smbpasswd to join a W2K hosted AD domain. | Jeremy Allison | 2001-08-02 | 1 | -3/+10 | |
| | | | | Jeremy. | |||||
* | Added "use mmap" for HPUX. | Jeremy Allison | 2001-07-30 | 2 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO. | Tim Potter | 2001-07-25 | 1 | -2/+2 | |
| | | | | | | According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: | |||||
* | nicer smbtree output | Andrew Tridgell | 2001-07-25 | 1 | -2/+4 | |
| | ||||||
* | Changed instances of TRUE, FALSE to True, False as some compilers don't | Tim Potter | 2001-07-12 | 1 | -23/+23 | |
| | | | | have the first set of symbols. |