summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-04-04More updates for auto-detecting server connection method. Added net_ads_check()Jim McDonough1-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. (This used to be commit 093297a27db9834cf8aea34302246af8997d9c66)
2002-04-04small change in name_resolve_bcast()Jean-François Micouleau1-1/+1
spotted by alexander bokovoy. it shouldn't break anything. if it's wrong, feel free to revert but explain why. J.F. (This used to be commit 638c692525c050ecdf414d461ef6b4aed3ce51db)
2002-04-04If compiling with Insure, mallocate a byte of memory and attach it to theTim Potter3-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. (This used to be commit 6dc80d625752f0a3ce6fd7b2278095529c6ec29f)
2002-04-04Spelling.Tim Potter1-1/+1
(This used to be commit b43256df5367fd16a0f6dcdf94fdbe8932cb77c9)
2002-04-04Call poptFreeContext() as appropriate.Tim Potter1-23/+30
Clean up exit path code. (This used to be commit 41157400e3f55879fd2f20d22beeed07f1c817f5)
2002-04-04oopsTim Potter1-1/+1
(This used to be commit 6b20a809020821276b0330810317a4d10c9fdb5a)
2002-04-04Fixed memory leak in cli_lsa_enum_trust_dom(). Use talloc_strdup() insteadTim Potter1-1/+1
of strdup(). (This used to be commit fb32f7199b8a487757b509555e5a69ec5cae8fbd)
2002-04-04Rerun autoconf.Tim Potter1-1/+1
(This used to be commit a627d698124ade6014b10827493dc3b3963f5534)
2002-04-04Use m4-mode when editinging configure.in under emacs.Tim Potter1-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. (This used to be commit 4caf71d5b28e003133bacca153278478d8245989)
2002-04-04Also look for libinsure.so where the full version installs it.Tim Potter1-0/+5
(This used to be commit 2bf6595a2a5527ff64f9083f2434aa344c9637d9)
2002-04-04Free popt context after argument parsing.Tim Potter1-0/+2
(This used to be commit f287f62962feca6dac8747d16676dc64723eb5b1)
2002-04-04Fixed memory leak in make_pdb_context_name()Tim Potter1-17/+25
Some reformatting and spelling fixes. (This used to be commit a0f7bbad11a0c0f1ecd930626289c5ff493b0f1d)
2002-04-04Add non-ads version of net_ads_help for build on non-ads machines.Jim McDonough1-0/+6
(This used to be commit dd7c20e5331116fd8cf9656a0f2406957b812bbb)
2002-04-04Correct error string function call to ads_errstr()Jim McDonough1-3/+3
(This used to be commit d7317ca8da4b04804f4d01752cef56ec5a9c3418)
2002-04-04Fix up conversion code from old winbindd versions (some testing needed).Jeremy Allison4-67/+179
Added time based cache size check (#ifdef'ed out by default, just didn't want to lose the code). Jeremy. (This used to be commit b2350ed36c42827c417ea4a3dd0668a4a631a090)
2002-04-04Try harder next time to not duplicate function...take ads_err2string backJim McDonough1-15/+0
out since it's already in ads_errstr() in ads_status.c (This used to be commit 0475126ffb69f0485fd31511cb13d98df74a8d5b)
2002-04-04Add ability to get specific net ads subcommand help. Not all have beenJim McDonough1-1/+1
implemented yet... (This used to be commit 24c6bf4e8b6d519340d5f9f3353ffc6b5f7520b3)
2002-04-04Add net ads user subcommands: add delete info. Also make user listing formatJim McDonough1-12/+169
consistent with rap version. (This used to be commit f6eb7c0c7ec83a3674d56f0e222b900887327319)
2002-04-04Add libads/ldap_user.c to build for ads user management.Jim McDonough1-1/+1
(This used to be commit a1cdcdb138ddf05387fa65897ffe5b34aee75ae0)
2002-04-04Contains functions to manage/view AD user accounts via ldap. Initially has fnsJim McDonough1-0/+80
to find and add a user. (This used to be commit 773303a284825af89d70ea633004fc30225e7a85)
2002-04-04Add ads_err2string() function for generating error strings from an ADS_STATUS.Jim McDonough1-0/+15
I've got the cases besides gssapi...anyone know how to get those? (This used to be commit c937e1352207ad90e8257ad6c9f8b7c9cf92030d)
2002-04-04Fixed the handle leak in the connection management code (this code is crapJeremy Allison3-2/+30
and should be rewritten, just not now... :-). Jeremy. (This used to be commit 5de792e7e9c2ad1422ac146caba632baa3f4e5c5)
2002-04-04Rerun autoconf.Tim Potter1-672/+676
(This used to be commit 5c4ce2129f30112d7df1e5f0afd60ae6a96cd807)
2002-04-04Add -D__INSURE__ to the CPPFLAGS if CC=insure.Tim Potter1-0/+7
(This used to be commit fb80ff968cd7634704770586d1918b477579164b)
2002-04-03More winbind for HPUX updates from Don Mccall. I think JRA has alreadyAndrew Bartlett2-4/+27
applied these to 2.2. Andrew Bartlett (This used to be commit 51fe3324dda6b1f9a9a45deda7a76b1fff35399a)
2002-04-03reorder useage message a little. -L is not a root-only or local mode option.Herb Lewis1-7/+8
(This used to be commit 020d6fa2f780099d662de1a456838ec0ac4d3ca7)
2002-04-03Start to make argument ordering consistent.Tim Potter2-5/+6
(This used to be commit e84cc7ea84042b2460baef32a39448d620612bbc)
2002-04-03Docstring updates.Tim Potter1-22/+103
(This used to be commit f05c3c6fc5047c87906a5677b2559acf13bf6678)
2002-04-03Use Py_InitModule3() instead of Py_InitModule4() when we only want to setTim Potter1-6/+8
the docstring for the module. Doc updates. (This used to be commit ba5364b30688924d6b69b9fc39a398441a6149e7)
2002-04-03removing unused files....Gerald Carter1-88/+0
(This used to be commit 3d542abdb1805bf746eb9a7ef41fc904534f4edb)
2002-04-02added "list <pipe>" command to display the available commandsGerald Carter1-0/+45
one a single pipe (This used to be commit b73a8416d31c0ec7975ba022f5c425a581497b72)
2002-04-02Fix continual scanning of smb.conf if an include file doesn't exist. FoundJeremy Allison1-7/+7
by Herb. Jeremy. (This used to be commit f4f2a62740625495fa2dae03751829a4528713cc)
2002-04-02Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.Jeremy Allison3-71/+33
Forward ported some of the code tidyups from 2.2. Jeremy. (This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)
2002-04-02Fix from Stefan "metze" Metzmacher <metze@metzemix.de> to prevent usJeremy Allison1-0/+5
overwriting an old MACHINE.SID sid. Jeremy. (This used to be commit 896d4fac98460778f72378b084a76d5aab11462e)
2002-04-02readd -c config file change from 2.2 - works with -L mode now as well.Herb Lewis1-180/+178
(This used to be commit af4c3734b5d617352597b1b964745f5b0d334b2d)
2002-04-02some mergee from SAMBA_2_2. Does compile, but needs some more testing.Gerald Carter2-221/+426
This is an intermediate check-in. More to come.... (This used to be commit 5b9b152971aa635d484cde45413a7880424ee22d)
2002-04-01not all versions of gcc support -rdynamicAndrew Tridgell2-772/+762
for example, gcc 2.95.2 on sco1 doesn't (This used to be commit aa7eab724558af6d2b00975ed13f7407301eafa9)
2002-04-01try to get the summary test working on OpenBSDAndrew Tridgell2-675/+680
(This used to be commit 63702ca3a42670941bcb08b4214fa7e7c38fc1f0)
2002-04-01cope with a missing PAM defineAndrew Tridgell1-3/+6
(This used to be commit e5c3648fe721d659c8b90a6987998ada4790592b)
2002-04-01reverted Herbs smbpasswd commit as it completely broke setting aAndrew Tridgell1-178/+181
password (This used to be commit a5807d5784dc903f1ea38a9825240a505688b7be)
2002-03-31Removed unused variable.Tim Potter1-1/+0
(This used to be commit 3e58e9dbabc4e4a1289ff6a43ddbb5de37b02515)
2002-03-30Added build option for "everything". Changed build options for libsmbclient.John Terpstra1-1/+3
(This used to be commit 32f292cc587d3db002490a609be29b9e20c00fd4)
2002-03-30merge from 2.2 - allow -c option to specify smb.conf fileHerb Lewis1-181/+178
(This used to be commit fc15b56d29b4474032f4d9136313afee60e70cbf)
2002-03-30Hack to share pipe handles between lsa and samr pipes as NT4.x usrmgrJeremy Allison1-1/+12
insists on re-using an lsa handle opened on a pipe then closed - this keeps them around so long as a samr pipe is also open. Jeremy. (This used to be commit f029bd348c8c16a8774c3fb4f7f1d76470c7688f)
2002-03-29Don't core dump listing thousands of users in usrmgr.Jeremy Allison2-11/+22
Jeremy. (This used to be commit c6566fa5fadf37a2b133e7be1f13c0de93efab34)
2002-03-29Re-implemented net ads user and net ads group to use the newJim McDonough2-22/+54
ads_process_results function. Also made sure net rap user and net ads user display the same thing, to make auto-transport-detection smoother. (This used to be commit 4cf42c07ec5deb14921fabfbd52a8a3345a730c9)
2002-03-29Added ads_process_results(), which takes a function that is called for eachJim McDonough1-20/+73
entry returned from a search, and applies it to the results. Re-structured ads_dump to use this, plus changed the ber_free in ads_dump from (b,1) to (b,0), in accordance with openldap manpages. Also allows proper free of result using ldap_msgfree afterwards, so you can do something with the results after an ads_dump. (This used to be commit f01f02fc569b4f5101a37d3b493f2fe2d2b2677a)
2002-03-29Ensure we return a parseable value if invalid handle given.Jeremy Allison1-17/+17
Jeremy. (This used to be commit f169f3f4df81537426f708d68da44e0fc40ad15e)
2002-03-29merge winbindd WINS changes from 2.2Herb Lewis7-47/+151
(This used to be commit 205399dc17e464360b0152538329b9e111b0e7f4)
2002-03-29added shutdown to smbdJean-François Micouleau1-0/+6
J.F. (This used to be commit 51a5bbfee71e064c73283a090e9e922a31b1e21b)