summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
* Some more good stuff from coolo.Richard Sharpe2003-04-041-61/+0
|
* Fix compiler warning - cli_lsa_query_info_policy actually returns theTim Potter2003-04-041-3/+5
| | | | | domain name. We were passing in an already initialised string which was causing the warning.
* Give warning if 'drvupgrade' doesn't get a parameterJelmer Vernooij2003-04-031-0/+5
|
* Print out the 'freindly' error message from winbind. Also print usefulAndrew Bartlett2003-04-021-4/+6
| | | | | | | | information into it re the privilaged pipe. Also clean up some bugs in winbindd_pam.c Andrew Bartlett
* Fix searching master ip by bcast when old master has gone away (based on ↵Jelmer Vernooij2003-04-021-11/+18
| | | | patch by Stephan Kulow <coolo@kde.org>)
* error_string, not error_message...Andrew Bartlett2003-04-021-1/+1
|
* Clean up ntlm_auth a bit, and add a --diagnositics swtich, to check thatAndrew Bartlett2003-04-021-111/+417
| | | | | | | the returned session key is the one that we expect to get for that each of login. Andrew Bartlett
* Remove useless popt optionsJelmer Vernooij2003-03-311-2/+0
|
* Waider's cosmetic change to print out the database type whenVolker Lendecke2003-03-311-1/+17
| | | | | | downloading stuff. Volker
* This sets the domain for the user in vampire. OtherwiseVolker Lendecke2003-03-301-0/+2
| | | | | | | we end up with an empty domain field, which a workstation does not really like in sam_logon.. Volker
* - Point users at the HOWTO Collection instead of 'README' in modules/mysql.cJelmer Vernooij2003-03-301-2/+0
| | | | - Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow
* fixed the -B option as wellAndrew Tridgell2003-03-301-4/+4
|
* fixed the -U option in nmblookupAndrew Tridgell2003-03-291-1/+1
| | | | | | please remember to *test* your changes before committing them. This is especially the case when you receive patches from outside the team - before you commit you must make sure that the patch actually works.
* Don't use 'opt'Jelmer Vernooij2003-03-251-1/+1
|
* Make variables static to satisfy exotic compilersJelmer Vernooij2003-03-252-3/+2
|
* Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij2003-03-247-6/+9
| | | | some double options and broke some parameters.
* Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij2003-03-248-62/+21
|
* Implement abartlet's suggestion to add attribs to ldap if theyVolker Lendecke2003-03-231-6/+0
| | | | | | | | | are 'SET' when adding the account. I really don't like passing flags down to inner routines and complicated if/else conditions, but this time he might be right. ;-) Volker
* Convert to popt.Jelmer Vernooij2003-03-231-42/+29
|
* NTLM Authentication:Andrew Bartlett2003-03-231-82/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a 'privileged' mode to Winbindd. This is achieved by means of a directory under lockdir, that the admin can change the group access for. - This mode is now required to access with 'CRAP' authentication feature. - This *will* break the current SQUID helper, so I've fixed up our ntlm_auth replacement: - Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a challenge. - Use this to make our ntlm_auth utility suitable for use in current Squid 2.5 servers. - Tested - works for Win2k clients, but not Win9X at present. NTLMSSP updates are needed. - Now uses fgets(), not x_fgets() to cope with Squid environment (I think somthing to do with non-blocking stdin). - Add much more robust connection code to wb_common.c - it will not connect to a server of a different protocol version, and it will automatically try and reconnect to the 'privileged' pipe if possible. - This could help with 'privileged' idmap operations etc in future. - Add a generic HEX encode routine to util_str.c, - fix a small line of dodgy C in StrnCpy_fn() - Correctly pull our 'session key' out of the info3 from th the DC. This is used in both the auth code, and in for export over the winbind pipe to ntlm_auth. - Given the user's challenge/response and access to the privileged pipe, allow external access to the 'session key'. To be used for MSCHAPv2 integration. Andrew Bartlett
* Use popt_common for -s, -d and -VJelmer Vernooij2003-03-232-16/+8
|
* This does two things:Volker Lendecke2003-03-231-1/+37
| | | | | | | | | | | | | | | | | | | | | | * pdbedit -i -e sets all SAM_ACCOUNT elements to CHANGED to satisfy the new pdb_ldap.c handling * pdbedit -g transfers group mappings. I made this separate from the user database, as current installations have to live with a split backend. So, if you are running 3_0 alphas with LDAP as a backend and upgrade to the next 3_0 alpha, you should call pdbedit -i tdbsam -e ldapsam -g to transfer your group mapping database to LDAP. You certainly have to have all your groups as posixGroup objects in LDAP and adapt the LDAP schema before this call. Volker
* Patch from waider to update our samsync (net rpc vampire) code:Andrew Bartlett2003-03-231-35/+155
| | | | | | | | - Decode all the database names, even if we don't decode their contents - Update the 'set' code to match rpc_server/srv_samr_nt.c in only recording the difference between the old and new. Andrew Bartlett
* We don't need optarg when we have poptJelmer Vernooij2003-03-232-4/+2
|
* Convert to popt.Jelmer Vernooij2003-03-231-134/+88
|
* Fix typo in commentJelmer Vernooij2003-03-231-2/+2
|
* Convert to popt.Jelmer Vernooij2003-03-231-54/+56
|
* Move -V to -C to prevent conflict with -V for versionJelmer Vernooij2003-03-231-1/+2
|
* Convert to poptJelmer Vernooij2003-03-221-98/+23
|
* Fix setOtherHelp() - pointed out by metzeJelmer Vernooij2003-03-201-1/+1
|
* Fix compile errors - don't use pstrcpy() on a fstringJelmer Vernooij2003-03-201-7/+8
|
* Use True, not TRUE and False, not FALSEJelmer Vernooij2003-03-201-4/+4
|
* Convert smbcacls to poptJelmer Vernooij2003-03-201-84/+50
|
* Changes to help the kerberos change password code work on systems thatAndrew Bartlett2003-03-161-0/+9
| | | | | | | | | have some of the labels 'duplicated' (ie, the defines double-up). Also, to an ads_connect() to try and find our KDC. (So we don't segfualt *every* time) Andrew Bartlett
* Minor fixes.Andrew Bartlett2003-03-151-1/+1
| | | | | | | | - signed/unsigned - quieten warning about assignment as truth value - whitespace Andrew Bartlett
* Fix signed/unsigned issues - mostly 'i' counters.Andrew Bartlett2003-03-151-4/+4
| | | | | | Fix an inconpatible poitner type that caused the IA64 not to build Andrew Bartlett
* Fix off-by-one bug in safe_strcpy size paramater.Andrew Bartlett2003-03-151-1/+1
|
* Truncate the machinename manually, so as not to generate level 0 debugs forAndrew Bartlett2003-03-151-10/+12
| | | | | | an expected situation. Andrew Bartlett
* Patch from Ken Cross <kcross@nssolutions.com> to take a username in the formAndrew Bartlett2003-03-121-0/+11
| | | | | | of user@realm for kerberos logins. Andrew Bartlett
* Testparm needs the extra arg to set_local_machine_name() too.Andrew Bartlett2003-03-081-1/+1
|
* More safe_strcpy() off-by-one bug fixes. (mostly moves to pstrcpy()/fstrcpy())Andrew Bartlett2003-03-062-3/+3
| | | | Andrew Bartlett
* Try the PASSWD environment variable if we don't have one from the command line.Andrew Bartlett2003-03-031-0/+4
|
* - added help on -P optionAndrew Tridgell2003-02-281-0/+2
| | | | - added general options to 'net -h' help
* cleanup some compiler warningsJim McDonough2003-02-281-3/+3
|
* Improve net ads lookup:Jim McDonough2003-02-281-61/+142
| | | | | | | - More info is printed - (grand)child domains handled properly Thanks to Anthony Liguori (aliguori@us.ibm.com)
* - Rename 'modules = ' to 'preload modules = 'Jelmer Vernooij2003-02-272-2/+7
| | | | | | - Add smb_probe_module() - Add init_modules() - Call these functions
* Fix compiler warning.Tim Potter2003-02-251-1/+1
|
* For some reason some attributes in ADS do not appear (and are not available)Andrew Bartlett2003-02-251-1/+63
| | | | | | | | | in general searches, but only if searching for the DN only. In my case, it was the tokenGroups attribute that caused me trouble, hence this patch. Andrew Bartlett
* Whenever we have a password, use the in-memory ccache. This fixes a bug whereAndrew Bartlett2003-02-241-2/+3
| | | | | | we were overwriting the user's ccache with the machine password (the -P option). Andrew Bartlett
* Add staticAndrew Bartlett2003-02-221-7/+7
|