Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Several updates to get server side sorting going: | Jim McDonough | 2002-04-05 | 1 | -26/+78 | |
| | | | | | | | | | | | | | | | - Added sort control to ads_do_paged_search. It allows a char * to be passed as the sort key. If NULL, no sort is done. - fixed a bug in the processing of controls (loop wasn't incremented properly) - Added ads_do_search_all2, which funs a function that is passed in against each entry. No ldapmessage structures are returned. Allows results to be processed as the come in on each page. I'd like ads_do_search_all2 to replace ads_do_search_all, but there's some work to be done in winbindd_ads.c first. Also, perhaps now we can do async ldap searches? Allow us to process a page while the server retrieves the next one? | |||||
* | Merge from 2.2 | Volker Lendecke | 2002-04-05 | 1 | -9/+11 | |
| | ||||||
* | New version of patch. | Tim Potter | 2002-04-05 | 1 | -13/+15 | |
| | ||||||
* | make proto | Tim Potter | 2002-04-05 | 1 | -0/+46 | |
| | ||||||
* | Added new files for drivers, forms and ports conversion routines. | Tim Potter | 2002-04-05 | 1 | -0/+3 | |
| | ||||||
* | Fixed dodgy looking prototypes for py_to_* functions. | Tim Potter | 2002-04-05 | 1 | -11/+11 | |
| | ||||||
* | Removed unused label. | Tim Potter | 2002-04-05 | 1 | -1/+0 | |
| | ||||||
* | Converted drivers, forms and ports functions to use new conversion routines | Tim Potter | 2002-04-05 | 6 | -145/+304 | |
| | | | | and exception throwing. | |||||
* | Added py_spoolss_printers_conv.c to spoolss extension. | Tim Potter | 2002-04-05 | 1 | -0/+1 | |
| | ||||||
* | make proto | Tim Potter | 2002-04-05 | 1 | -0/+2 | |
| | ||||||
* | New routines to convert between structures and python dictionaries. We now | Tim Potter | 2002-04-05 | 1 | -0/+367 | |
| | | | | | hide to_struct() and from_struct() from the caller so we can add custom fields nicely. | |||||
* | Throw a spoolss.werror exception when the rpc client routines return | Tim Potter | 2002-04-05 | 1 | -272/+80 | |
| | | | | | | | | | errors. Move to new system of converting between structures and python dictionaries. Lots of stuff moved to py_spoolss_printers_conv.c Setprinter level 2 kind of works now. | |||||
* | Don't include py_spoolss_conv.h by default. We want to hide these | Tim Potter | 2002-04-05 | 1 | -1/+0 | |
| | | | | functions from method functions. | |||||
* | Added functions to return Python tuples (error code, error string) | Tim Potter | 2002-04-05 | 2 | -0/+19 | |
| | | | | corresponding to NT and DOS errors. | |||||
* | add utils/net_help.c to bin/net build | Jim McDonough | 2002-04-05 | 1 | -1/+1 | |
| | ||||||
* | Lots more net consistency work: | Jim McDonough | 2002-04-05 | 5 | -117/+470 | |
| | | | | | | | | - Added net_help.c for unified help when possible - Added net rpc user listing, delete, info commands - Unified net user command to autodetect ads/rpc/rap (try in that order) - Added generic routine for detecting rpc (protocol > PROTOCOL_NT1) - I'm sure I forgot something. | |||||
* | Make bin/nsstest as part of torture target. | Tim Potter | 2002-04-04 | 1 | -1/+2 | |
| | ||||||
* | Fixed some compile warnings. | Tim Potter | 2002-04-04 | 2 | -2/+4 | |
| | ||||||
* | More spelling. | Tim Potter | 2002-04-04 | 1 | -1/+1 | |
| | ||||||
* | Multiple changes: | Jim McDonough | 2002-04-04 | 1 | -11/+16 | |
| | | | | | | | | | | - Get rid of improper "Invalid option: d (100)" message when setting debug from commandline. - Eliminate got_pass global and only use opt_password. This enables re-use of password that may have been enetered in failed ads connect. - Auto-detect method for net user command - use new net_ads_check rather than lp_security==ADS test on net join - Get rid of annoying debug level 0's | |||||
* | Cleanups to make auto-detection of method on net user smoother. | Jim McDonough | 2002-04-04 | 1 | -5/+10 | |
| | ||||||
* | More updates for auto-detecting server connection method. Added net_ads_check() | Jim McDonough | 2002-04-04 | 1 | -5/+38 | |
| | | | | | | to make a connection (which stores the password in a global so it can be used by rpc or rap function if ads fails) and close it to verify if ads method should be used. | |||||
* | small change in name_resolve_bcast() | Jean-François Micouleau | 2002-04-04 | 1 | -1/+1 | |
| | | | | | | | | | spotted by alexander bokovoy. it shouldn't break anything. if it's wrong, feel free to revert but explain why. J.F. | |||||
* | If compiling with Insure, mallocate a byte of memory and attach it to the | Tim Potter | 2002-04-04 | 3 | -1/+45 | |
| | | | | | | | | | | | | | POLICY_HND structure when passing new handles back from the appropriate cli_* functions. When closing the policy handle free the memory. Insure (and indeed other memory checkers) should detect handles that have not been closed properly as memory leaks. Unfortunately this can only be done when the program terminates (set insure++.summarize leaks in your .psrc file) rather than when the policy handle falls out of scope. Looks like Jeremy has squished all the policy handle leaks at the moment but more are bound to crop up later. | |||||
* | Spelling. | Tim Potter | 2002-04-04 | 1 | -1/+1 | |
| | ||||||
* | Call poptFreeContext() as appropriate. | Tim Potter | 2002-04-04 | 1 | -23/+30 | |
| | | | | Clean up exit path code. | |||||
* | oops | Tim Potter | 2002-04-04 | 1 | -1/+1 | |
| | ||||||
* | Fixed memory leak in cli_lsa_enum_trust_dom(). Use talloc_strdup() instead | Tim Potter | 2002-04-04 | 1 | -1/+1 | |
| | | | | of strdup(). | |||||
* | Rerun autoconf. | Tim Potter | 2002-04-04 | 1 | -1/+1 | |
| | ||||||
* | Use m4-mode when editinging configure.in under emacs. | Tim Potter | 2002-04-04 | 1 | -1/+2 | |
| | | | | | | | | | | | Use $CC instead of $SHLD for the "test whether building a shared library actually works". At the moment this is failing as $SHLD (and $LDSHFLAGS - look at the value this is set to for Solaris) are designed to be used from a Makefile and not within configure so this test will always fail! Tridge has suggested moving to libtool^H^H^H^H^H a shell script that invokes the right linker with the right args and solves this problem nicely. | |||||
* | Also look for libinsure.so where the full version installs it. | Tim Potter | 2002-04-04 | 1 | -0/+5 | |
| | ||||||
* | Free popt context after argument parsing. | Tim Potter | 2002-04-04 | 1 | -0/+2 | |
| | ||||||
* | Fixed memory leak in make_pdb_context_name() | Tim Potter | 2002-04-04 | 1 | -17/+25 | |
| | | | | Some reformatting and spelling fixes. | |||||
* | Add non-ads version of net_ads_help for build on non-ads machines. | Jim McDonough | 2002-04-04 | 1 | -0/+6 | |
| | ||||||
* | Correct error string function call to ads_errstr() | Jim McDonough | 2002-04-04 | 1 | -3/+3 | |
| | ||||||
* | Fix up conversion code from old winbindd versions (some testing needed). | Jeremy Allison | 2002-04-04 | 4 | -67/+179 | |
| | | | | | | Added time based cache size check (#ifdef'ed out by default, just didn't want to lose the code). Jeremy. | |||||
* | Try harder next time to not duplicate function...take ads_err2string back | Jim McDonough | 2002-04-04 | 1 | -15/+0 | |
| | | | | out since it's already in ads_errstr() in ads_status.c | |||||
* | Add ability to get specific net ads subcommand help. Not all have been | Jim McDonough | 2002-04-04 | 1 | -1/+1 | |
| | | | | implemented yet... | |||||
* | Add net ads user subcommands: add delete info. Also make user listing format | Jim McDonough | 2002-04-04 | 1 | -12/+169 | |
| | | | | consistent with rap version. | |||||
* | Add libads/ldap_user.c to build for ads user management. | Jim McDonough | 2002-04-04 | 1 | -1/+1 | |
| | ||||||
* | Contains functions to manage/view AD user accounts via ldap. Initially has fns | Jim McDonough | 2002-04-04 | 1 | -0/+80 | |
| | | | | to find and add a user. | |||||
* | Add ads_err2string() function for generating error strings from an ADS_STATUS. | Jim McDonough | 2002-04-04 | 1 | -0/+15 | |
| | | | | I've got the cases besides gssapi...anyone know how to get those? | |||||
* | Fixed the handle leak in the connection management code (this code is crap | Jeremy Allison | 2002-04-04 | 3 | -2/+30 | |
| | | | | | and should be rewritten, just not now... :-). Jeremy. | |||||
* | Rerun autoconf. | Tim Potter | 2002-04-04 | 1 | -672/+676 | |
| | ||||||
* | Add -D__INSURE__ to the CPPFLAGS if CC=insure. | Tim Potter | 2002-04-04 | 1 | -0/+7 | |
| | ||||||
* | More winbind for HPUX updates from Don Mccall. I think JRA has already | Andrew Bartlett | 2002-04-03 | 2 | -4/+27 | |
| | | | | | | applied these to 2.2. Andrew Bartlett | |||||
* | reorder useage message a little. -L is not a root-only or local mode option. | Herb Lewis | 2002-04-03 | 1 | -7/+8 | |
| | ||||||
* | Start to make argument ordering consistent. | Tim Potter | 2002-04-03 | 2 | -5/+6 | |
| | ||||||
* | Docstring updates. | Tim Potter | 2002-04-03 | 1 | -22/+103 | |
| | ||||||
* | Use Py_InitModule3() instead of Py_InitModule4() when we only want to set | Tim Potter | 2002-04-03 | 1 | -6/+8 | |
| | | | | | | the docstring for the module. Doc updates. |