summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix pathes.John Terpstra2002-04-071-3/+7
|
* uint32 store and fectch functions, a signed int is not enough sometimesSimo Sorce2002-04-071-0/+96
|
* better check of called function's returnSimo Sorce2002-04-072-59/+127
| | | | tdbtorture say it's ok
* Oops .. last update was committed before saving! Argh!John Terpstra2002-04-071-2/+2
|
* Updated because I want this for now - NOTE: This will change before releaseJohn Terpstra2002-04-071-6/+11
| | | | as this is NOT what we need to ship. This is experimental only at this time.
* Always pass NT password as well as Lanman.Jeremy Allison2002-04-061-1/+1
| | | | Jeremy.
* Fix Gerry bug - MajorVersion should be 2 not 3.Jeremy Allison2002-04-051-1/+1
| | | | Jeremy.
* Fixed up admin user / guest user lookup.Jeremy Allison2002-04-051-5/+8
| | | | Jeremy.
* Use the new ads_do_search_all2 function. It provides sorted results. We nowJim McDonough2002-04-051-30/+18
| | | | | also filter out users that end in '$', which gives us the same results as the net rpc user and net rap user.
* Several updates to get server side sorting going:Jim McDonough2002-04-051-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.2Volker Lendecke2002-04-051-9/+11
|
* New version of patch.Tim Potter2002-04-051-13/+15
|
* make protoTim Potter2002-04-051-0/+46
|
* Added new files for drivers, forms and ports conversion routines.Tim Potter2002-04-051-0/+3
|
* Fixed dodgy looking prototypes for py_to_* functions.Tim Potter2002-04-051-11/+11
|
* Removed unused label.Tim Potter2002-04-051-1/+0
|
* Converted drivers, forms and ports functions to use new conversion routinesTim Potter2002-04-056-145/+304
| | | | and exception throwing.
* Added py_spoolss_printers_conv.c to spoolss extension.Tim Potter2002-04-051-0/+1
|
* make protoTim Potter2002-04-051-0/+2
|
* New routines to convert between structures and python dictionaries. We nowTim Potter2002-04-051-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 returnTim Potter2002-04-051-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 theseTim Potter2002-04-051-1/+0
| | | | functions from method functions.
* Added functions to return Python tuples (error code, error string)Tim Potter2002-04-052-0/+19
| | | | corresponding to NT and DOS errors.
* add utils/net_help.c to bin/net buildJim McDonough2002-04-051-1/+1
|
* Lots more net consistency work:Jim McDonough2002-04-055-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 Potter2002-04-041-1/+2
|
* Fixed some compile warnings.Tim Potter2002-04-042-2/+4
|
* More spelling.Tim Potter2002-04-041-1/+1
|
* Multiple changes:Jim McDonough2002-04-041-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 McDonough2002-04-041-5/+10
|
* More updates for auto-detecting server connection method. Added net_ads_check()Jim McDonough2002-04-041-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 Micouleau2002-04-041-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 theTim Potter2002-04-043-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 Potter2002-04-041-1/+1
|
* Call poptFreeContext() as appropriate.Tim Potter2002-04-041-23/+30
| | | | Clean up exit path code.
* oopsTim Potter2002-04-041-1/+1
|
* Fixed memory leak in cli_lsa_enum_trust_dom(). Use talloc_strdup() insteadTim Potter2002-04-041-1/+1
| | | | of strdup().
* Rerun autoconf.Tim Potter2002-04-041-1/+1
|
* Use m4-mode when editinging configure.in under emacs.Tim Potter2002-04-041-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 Potter2002-04-041-0/+5
|
* Free popt context after argument parsing.Tim Potter2002-04-041-0/+2
|
* Fixed memory leak in make_pdb_context_name()Tim Potter2002-04-041-17/+25
| | | | Some reformatting and spelling fixes.
* Add non-ads version of net_ads_help for build on non-ads machines.Jim McDonough2002-04-041-0/+6
|
* Correct error string function call to ads_errstr()Jim McDonough2002-04-041-3/+3
|
* Fix up conversion code from old winbindd versions (some testing needed).Jeremy Allison2002-04-044-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 backJim McDonough2002-04-041-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 beenJim McDonough2002-04-041-1/+1
| | | | implemented yet...
* Add net ads user subcommands: add delete info. Also make user listing formatJim McDonough2002-04-041-12/+169
| | | | consistent with rap version.
* Add libads/ldap_user.c to build for ads user management.Jim McDonough2002-04-041-1/+1
|
* Contains functions to manage/view AD user accounts via ldap. Initially has fnsJim McDonough2002-04-041-0/+80
| | | | to find and add a user.