Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge of remove "winbindd holding pattern" from appliance. It's a bit | Tim Potter | 2003-01-13 | 3 | -28/+10 | |
| | | | | simpler as the rescanning of trusted domains helps us out a bit. | |||||
* | Return the 'freindly' NT error message if at all possible. | Andrew Bartlett | 2003-01-11 | 2 | -2/+3 | |
| | | | | Andrew Bartlett | |||||
* | Correct misleading comment: winbindd_lookupname gets the SID for a | Martin Pool | 2003-01-09 | 1 | -1/+3 | |
| | | | | name, not vice versa. | |||||
* | cannot make assignments to const values. | Herb Lewis | 2003-01-07 | 1 | -1/+1 | |
| | ||||||
* | Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating | Jeremy Allison | 2003-01-06 | 1 | -1/+3 | |
| | | | | | groups. Jeremy. | |||||
* | patch to include support for daemontools from Michael Handler | Gerald Carter | 2003-01-03 | 1 | -3/+21 | |
| | ||||||
* | Becouse these functions return a size_t, they can't return negitive numbers. | Andrew Bartlett | 2003-01-02 | 1 | -3/+3 | |
| | | | | | | | So a < 0 check is pointless, instead check against -1, which will be cast to unsigned. Andrew Bartlett | |||||
* | BIG patch... | Andrew Bartlett | 2003-01-02 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett | |||||
* | Forward port the change to talloc_init() to make all talloc contexts | Jeremy Allison | 2002-12-20 | 7 | -18/+38 | |
| | | | | | named. Ensure we can query them. Jeremy. | |||||
* | merge of get_dc_name()-like code from APP_HEAD; better support password ↵ | Gerald Carter | 2002-12-12 | 1 | -49/+1 | |
| | | | | server = DC1 * | |||||
* | Remove extra headers, and ensure that we correctly bail out of winbindd if we | Andrew Bartlett | 2002-12-01 | 2 | -2/+7 | |
| | | | | | | can't create the socket. Andrew Bartlett | |||||
* | After consultation with tpot, remove the 'winbind_domain' environment | Andrew Bartlett | 2002-11-26 | 5 | -47/+3 | |
| | | | | | | | | | | variable hack, the feild on the pipe, and the server-side. It only controlled some enum operations in any case. This is to try and have less 'magic' environment variables. Andrew Bartlett | |||||
* | Having waited for *way* too long, this is mimir's namecache and trusted domain | Andrew Bartlett | 2002-11-26 | 2 | -6/+12 | |
| | | | | | | | | | | | | cache code. This uses gencache, mimir's new caching code that stores at text-based cache of various data. Mimir has done a *lot* of work on this patch, and it is finally time to get it in CVS. Andrew Bartlett | |||||
* | [merge from APP_HEAD] | Gerald Carter | 2002-11-23 | 1 | -3/+4 | |
| | | | | | | | | | | | | | 90% fix for CR 1076. The password server parameter will no take things like password server = DC1 * which means to contact DC1 first and the go to auto lookup if it fails. jerry | |||||
* | Bug fix from appliance - we must initialise the winbindd server state | Tim Potter | 2002-11-18 | 1 | -2/+2 | |
| | | | | before reading smb.conf parameters, not after. | |||||
* | enable enumeration of domain local groups using LDAP (and in a native mode ↵ | Gerald Carter | 2002-11-15 | 1 | -5/+30 | |
| | | | | domain) | |||||
* | Removed global_myworkgroup, global_myname, global_myscope. Added liberal | Jeremy Allison | 2002-11-12 | 6 | -52/+31 | |
| | | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. | |||||
* | remove accidental debug code.. | Gerald Carter | 2002-11-09 | 1 | -4/+0 | |
| | ||||||
* | defunct winbindd fix from APP_HEAD | Gerald Carter | 2002-11-08 | 1 | -2/+7 | |
| | ||||||
* | Compleatly remove support for logfile truncation. All logs are opened for | Andrew Bartlett | 2002-11-08 | 1 | -6/+0 | |
| | | | | | | | | append writes. (blessed by jra) Andrew Bartlett | |||||
* | Remove lp_security() checks for winbindd as this is how we act as a PDC. | Tim Potter | 2002-11-07 | 1 | -6/+0 | |
| | | | | Keep the rest of the cleanups though. | |||||
* | Call winbindd_param_init() earlier on in the piece so we don't get stuck in | Tim Potter | 2002-11-07 | 2 | -15/+22 | |
| | | | | | | the holding pattern when started up when security = user or security = ads. Clean up return value of winbindd_common_init() - what a mess! | |||||
* | Merge of get_dc_list() api change. This was slightly more intrusive | Tim Potter | 2002-11-06 | 1 | -4/+16 | |
| | | | | than the version in APPLIANCE so watch out for boogs. | |||||
* | Merge of lp_talloc_free() call in init_domain_list() from APPLIANCE. | Tim Potter | 2002-11-05 | 1 | -0/+7 | |
| | ||||||
* | Fix --set-auth-user command to delete entries from the secrets file when an | Tim Potter | 2002-11-02 | 1 | -12/+68 | |
| | | | | | | | | empty username/password is passed on the command line. Previously we were leaving the domain name set and the password set to a NULL character. Added a --get-auth-user command to display the restrict anonymous username information. Can only be run successfully by root. | |||||
* | Some winbindd cleanups I made trying to fix cr1020: | Tim Potter | 2002-11-02 | 2 | -38/+108 | |
| | | | | | | | | | | | | - move winbindd client handling into accessor functions in winbindd_util.c - move some winbindd socket routines into accessor functions in winbindd_utils.c (The deadlock situation mentioned in the appliance branch is probably not applicable since we don't clear the connection cache on SIGHUP. Perhaps we should?) | |||||
* | Handle the case where the password used in RPC connections (for restrict | Tim Potter | 2002-11-02 | 1 | -3/+8 | |
| | | | | anonymous support) is blank. | |||||
* | Updates to winbind's PAM client and server - make the debug logs | Andrew Bartlett | 2002-10-26 | 2 | -19/+44 | |
| | | | | | | work a bit better for password changing. Andrew Bartlett | |||||
* | much simpler code to choose a DC to contact in winbindd. We now always | Andrew Tridgell | 2002-10-23 | 1 | -55/+6 | |
| | | | | | choose the server that has the most bits in common in its IP with one of our interfaces. | |||||
* | if trusted domains are disabled then we should not try to connect to | Andrew Tridgell | 2002-10-23 | 1 | -1/+6 | |
| | | | | them in winbindd | |||||
* | must add one to the extra_data size to transfer the 0 string terminator. | Herb Lewis | 2002-10-18 | 1 | -1/+2 | |
| | | | | | This was causing "wbinfo --sequence" to access past the end of malloced memory. | |||||
* | NULL enum_local_groups for ads winbindd (temporary workaround). | Gerald Carter | 2002-10-18 | 2 | -1/+2 | |
| | ||||||
* | Added new error codes. Fix up connection code to retry in the same way | Jeremy Allison | 2002-10-17 | 1 | -4/+18 | |
| | | | | | that app-head does. Jeremy. | |||||
* | - we need to rescan the trusted domain list regularly to cope with | Andrew Tridgell | 2002-10-15 | 2 | -1/+5 | |
| | | | | | | transitive trusts, and trusts that are added while winbindd is running - removed an unnecessary call to time() | |||||
* | Fix spelling of background_process. | Jeremy Allison | 2002-10-15 | 2 | -6/+6 | |
| | | | | Jeremy. | |||||
* | Change to use sys_read/sys_write. | Jeremy Allison | 2002-10-15 | 1 | -10/+4 | |
| | | | | Jeremy. | |||||
* | merge from APP_HEAD | Gerald Carter | 2002-10-08 | 6 | -13/+200 | |
| | | | | | | | | | * s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2 | |||||
* | Don't use usage function, but use popt for usage and help info | Jelmer Vernooij | 2002-10-05 | 1 | -38/+37 | |
| | ||||||
* | fix typo | Gerald Carter | 2002-10-04 | 1 | -1/+1 | |
| | ||||||
* | merge native_mode flag in winbindd_domain struct from app-head | Gerald Carter | 2002-10-04 | 3 | -5/+61 | |
| | ||||||
* | merge of new client side support the Win2k LSARPC UUID in rpcbind | Gerald Carter | 2002-10-04 | 1 | -1/+1 | |
| | | | | from APP_HEAD | |||||
* | Doh ! Lookup name before checking negative cache (the way Tim originally | Jeremy Allison | 2002-10-01 | 1 | -10/+10 | |
| | | | | | had it...). Jeremy. | |||||
* | Fix memory leak in getting DC list. Remember to exclude failed lookups. | Jeremy Allison | 2002-09-30 | 1 | -5/+21 | |
| | | | | Jeremy. | |||||
* | Move a number of ADS related functions out into utility libs, so that things | Andrew Bartlett | 2002-09-27 | 1 | -186/+11 | |
| | | | | | | | | like metze's sam_ads can also use them. Also add error checking etc to a few more functions. Andrew Bartlett | |||||
* | fix getpass replacement check (i thought I fixed this a few days | Gerald Carter | 2002-09-25 | 1 | -0/+2 | |
| | | | | ago....) | |||||
* | Moved -ve cache check to correct place. | Jeremy Allison | 2002-09-24 | 1 | -10/+10 | |
| | | | | Jeremy. | |||||
* | Reverted my earlier change. It was incorrect. We must be protected by | Jeremy Allison | 2002-09-17 | 1 | -5/+4 | |
| | | | | | pidfile before doing secrets_init(). Jeremy. | |||||
* | Only create the pidfile once we're ready to receive requests. | Jeremy Allison | 2002-09-17 | 1 | -3/+5 | |
| | | | | | This allows external programs to correctly synchronise with us. Jeremy. | |||||
* | Add clock skew handling to our kerberos code. This allows us to cope with | Andrew Tridgell | 2002-09-17 | 1 | -1/+1 | |
| | | | | the DC being out of sync with the local machine. | |||||
* | Put unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOS | Jelmer Vernooij | 2002-09-15 | 1 | -0/+4 | |
| | | | | (Double checked) |