Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge changes from 2.2 branch to prevent smb.conf from changing debug level | Herb Lewis | 2002-01-07 | 6 | -0/+23 |
| | | | | of commands when specified on command line. | ||||
* | sync getopt() args with 2.2 | Gerald Carter | 2002-01-07 | 1 | -1/+1 |
| | |||||
* | print the timezone in the same format as 'date +%z' - much better for scripting | Andrew Tridgell | 2002-01-04 | 1 | -5/+8 |
| | |||||
* | Cleanup format. | Martin Pool | 2002-01-03 | 1 | -1/+1 |
| | |||||
* | smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's pretty | Martin Pool | 2002-01-03 | 1 | -1/+2 |
| | | | | boring so far. | ||||
* | smbd should register to receive MSG_REQ_POOL_USAGE. Response should | Martin Pool | 2002-01-03 | 1 | -2/+0 |
| | | | | be information about memory usage, but this is not done yet. | ||||
* | Actually enforce the passdb API. | Andrew Bartlett | 2002-01-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Thou shalt not reference SAM_ACCOUNT members directly - always use pdb_get/pdb_set. This is achived by making the whole of SAM_ACCOUNT have a .private member, where the real members live. This caught a pile of examples, and these have beeen fixed. The pdb_get..() functions are 'const' (have been for some time) and this required a few small changes to constify other functions. I've also added some debugs to the pdb get and set, they can be removed if requested. I've rewritten the copy_id2x_to_sam_pass() functions to use the new passdb interface, but I need the flags info to do it properly. The pdb_free_sam() funciton now blanks out the LM and NT hashes, and as such I have removed many extra 'samr_clear_sam_passwd(smbpass)' calls as a result. Finally, any and all testing is always appriciated - but the basics seem to work. Andrew Bartlett | ||||
* | reverted to 1.24 and manually merged in changes from 2.2 | Gerald Carter | 2001-12-31 | 1 | -194/+71 |
| | |||||
* | Add 'net rpc shutdown' and 'net rpc abortshutdown'. | Andrew Bartlett | 2001-12-31 | 3 | -7/+177 |
| | | | | | | | | These two little features are very useful, but the passing of options about needs some serious work. The popt stuff in the shutdown code is #ifdef'ed out until the main popt loop can be convinced not to chew on the options :-( Andrew Bartlett | ||||
* | fix compile error | Gerald Carter | 2001-12-31 | 1 | -1/+3 |
| | |||||
* | some merges from 2.2. Still need to merge in changes from pdb_tdb.c | Gerald Carter | 2001-12-31 | 1 | -74/+199 |
| | | | | | but it will take more time as I don't want to loose any fixes that are only in HEAD. | ||||
* | Add a pile of doxygen style comments to various parts of Samba. Many of these | Andrew Bartlett | 2001-12-30 | 2 | -50/+236 |
| | | | | | | | | | probably will never actually be genearted, but I like the style in any case. Also fix a segfault in 'net rpc' when the login failed and a small memory leak on failure in the auth_info.c code. Andrew Bartlett | ||||
* | moving SAM_ACCOUNT to include a bit field for initialized | Gerald Carter | 2001-12-27 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | members (such as uid and gid). This way we will be able to keep ourselves from writing out default smb.conf settings when the admin doesn't want to, That part is not done yet. Tested compiles with ldap/tdb/smbpasswd. Tested connection with smbpasswd backend. oh...and smbpasswd doesn'y automatically expire accounts after 21 days from the last password change either now. Just ifdef'd out that code in build_sam_account(). Will merge updates into 2.2 as they are necessary. jerry | ||||
* | smbcontrol in non-interactive mode was returning True for success -- | Martin Pool | 2001-12-21 | 1 | -1/+4 |
| | | | | need to invert this to give the shell 0. | ||||
* | Add option to pass NULL max_replies to wait_for_replies in case you | Martin Pool | 2001-12-21 | 1 | -4/+7 |
| | | | | don't know how many to expect. | ||||
* | Add code to send MSG_REQ_POOL_USAGE. (smbd doesn't respond yet.) | Martin Pool | 2001-12-21 | 1 | -15/+57 |
| | | | | | | | Factor out common code to wait until replies are received or timeout expires. Show debug message when messages are sent. | ||||
* | make sure we store the domain sid when joining a ADS domain | Andrew Tridgell | 2001-12-20 | 1 | -0/+12 |
| | |||||
* | added net lookup command | Andrew Tridgell | 2001-12-20 | 2 | -1/+65 |
| | |||||
* | net now sends its debug to stderr so its output can be relied upon in | Andrew Tridgell | 2001-12-20 | 1 | -1/+1 |
| | | | | scripts | ||||
* | net ads password and net ads chostpass commands from Remus Koos | Andrew Tridgell | 2001-12-20 | 1 | -0/+91 |
| | |||||
* | much better ADS error handling system | Andrew Tridgell | 2001-12-19 | 1 | -24/+20 |
| | |||||
* | - added initial support for trusted domains in winbindd_ads | Andrew Tridgell | 2001-12-19 | 1 | -3/+6 |
| | | | | | | - gss error code patch from a.bokovoy@sam-solutions.net - better sid dumping in ads_dump - fixed help in wbinfo | ||||
* | Fixup JF's weird SID return :-). | Jeremy Allison | 2001-12-18 | 1 | -1/+1 |
| | | | | Jeremy | ||||
* | allow selection of the organisational unit when joining a realm | Andrew Tridgell | 2001-12-17 | 1 | -6/+28 |
| | |||||
* | Rafal (mimir) patch for trusts r. | Jean-François Micouleau | 2001-12-14 | 1 | -1/+21 |
| | |||||
* | Display a nice error message if the user%password specified for net rpc | Tim Potter | 2001-12-14 | 1 | -2/+8 |
| | | | | join does not have administrator privileges. | ||||
* | Display a nice error message for NT_STATUS_LOGON_FAILURE in connect_to_ipc() | Tim Potter | 2001-12-14 | 1 | -0/+7 |
| | |||||
* | More help/messages/formatting cleanup. | Jim McDonough | 2001-12-14 | 1 | -37/+40 |
| | |||||
* | Merge from 2.2 to allow net rpc join -U to complete even if the workstation | Tim Potter | 2001-12-14 | 1 | -2/+5 |
| | | | | | | | | | account already exists. # net rpc join --user=Administrator%password It's kind of weird seeing the mix of NET.EXE style of options (net command subcommand /arg:value) with the GNU-style long options. I think it works. | ||||
* | Restoration of at least some help function and format. First round of ↵ | Jim McDonough | 2001-12-14 | 1 | -259/+221 |
| | | | | cleanup. Printq function cannot exactly mimic windows output using d_printf...oh well. Add some more command-specific options back into help. | ||||
* | Set the debuglevel after the call to lp_load() so the change sticks. | Tim Potter | 2001-12-14 | 1 | -2/+2 |
| | |||||
* | don't use -u switch to /bin/date - too many systems don't honor it | Andrew Tridgell | 2001-12-14 | 1 | -4/+4 |
| | |||||
* | update the ldap support code. it compiles. | Jean-François Micouleau | 2001-12-13 | 1 | -1/+41 |
| | | | | | | | | Ignacio you can update your howto ;-) samsync: a small patch to try chaning challenges. J.F. | ||||
* | added "net ads info" to fetch basic ADS info without any auth | Andrew Tridgell | 2001-12-13 | 1 | -0/+26 |
| | |||||
* | improved error message from failed connect | Andrew Tridgell | 2001-12-13 | 1 | -6/+3 |
| | |||||
* | added "net time zone" command to show the timezone on a computer | Andrew Tridgell | 2001-12-12 | 1 | -6/+30 |
| | |||||
* | allow join of already joined domain | Andrew Tridgell | 2001-12-11 | 1 | -60/+35 |
| | |||||
* | prevent double free | Andrew Tridgell | 2001-12-11 | 1 | -2/+0 |
| | |||||
* | better error handling | Andrew Tridgell | 2001-12-11 | 1 | -11/+17 |
| | |||||
* | added a comment about /bin/date | Andrew Tridgell | 2001-12-11 | 1 | -1/+4 |
| | |||||
* | added a net time command. Allow display or set of system time based on | Andrew Tridgell | 2001-12-11 | 3 | -13/+166 |
| | | | | | | | | | | a SMB server particularly useful for ADS is: net time set -S DOMAIN#1B this makes kerberos clock skew problems go away :) | ||||
* | Removed unreferenced getopt() externals. | Tim Potter | 2001-12-11 | 1 | -2/+0 |
| | |||||
* | reinstated all the rap commands as top level commands until we get the | Andrew Tridgell | 2001-12-10 | 2 | -81/+114 |
| | | | | protocol switch mechanism in place | ||||
* | added internal sasl/gssapi code. This means we are no longer dependent on ↵ | Andrew Tridgell | 2001-12-08 | 1 | -0/+16 |
| | | | | cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm | ||||
* | OK. Smbpasswd -j is DEAD. | Andrew Bartlett | 2001-12-05 | 6 | -153/+112 |
| | | | | | | | | | | | | | | | | | | | This moves the rest of the functionality into the 'net rpc join' code. Futhermore, this moves that entire area over to the libsmb codebase, rather than the crufty old rpc_client stuff. I have also fixed up the smbpasswd -a -m bug in the process. We also have a new 'net rpc changetrustpw' that can be called from a cron-job to regularly change the trust account password, for sites that run winbind but not smbd. With a little more work, we can kill rpc_client from smbd entirly! (It is mostly the domain auth stuff - which I can rework - and the spoolss stuff that sombody else will need to look over). Andrew Bartlett | ||||
* | added a REALLY gross hack into kerberos_kinit_password so that | Andrew Tridgell | 2001-12-05 | 1 | -1/+1 |
| | | | | | | winbindd can do a kinit this will be removed once we have code that gets a tgt and puts it in a place where cyrus-sasl can see it | ||||
* | Add a new flag for anonymous connections | Andrew Bartlett | 2001-12-05 | 1 | -0/+3 |
| | |||||
* | Make it easier to construct anonymous connections with a new flag and helper | Andrew Bartlett | 2001-12-05 | 1 | -2/+28 |
| | | | | function. | ||||
* | Split out the name resolution code into a seperate function | Andrew Bartlett | 2001-12-05 | 1 | -27/+38 |
| | |||||
* | Follow herb's suggestion and don't strdup a string to itself | Andrew Bartlett | 2001-12-05 | 1 | -3/+6 |
| |