summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make function match the defintion require for assignment as a functionAndrew Bartlett2002-05-241-1/+1
| | | | | pointer. (This used to be commit 38012edaca4c181f3d3a9e9df4fc434bba78f9dc)
* If we don't do the select don't do the recvfrom.Jeremy Allison2002-05-241-0/+1
| | | | | Jeremy. (This used to be commit f536ec62242c5c644e03afa19f4a3ebedf36f80d)
* Fixed silly typo that causes receive_local_message to loop - caused byJeremy Allison2002-05-241-1/+1
| | | | | | my removal of the goto. Oops ! Jeremy. (This used to be commit 4d3679e03e0c30602b1345cbf2fbf8587dff1f26)
* Compile fix for enum trust dom wrapper.Tim Potter2002-05-231-1/+1
| | | | (This used to be commit 63e2c7c5fe6eca86222a7a76d81ce1ee93ebde22)
* Looks like abartlet got a bit overexcited about using const...Jim McDonough2002-05-231-1/+1
| | | | | | | BOOL const secrets_init(...) Broke AIX build. (This used to be commit 37b6bf3aae4fd8ee3af7e5947b3e549dcef754cf)
* Allow initial password set on net ads user add. I need to do this onJim McDonough2002-05-231-3/+30
| | | | | | rpc and rap too. Anyone know what key I'm supposed to use to encrypt it for the rap one? (This used to be commit 033faaa8cbfe7e368c554b26e7a506098d06fa02)
* This function is unused, and doesn't make any sense to me anyway.Andrew Bartlett2002-05-231-17/+0
| | | | | | | | | Wasn't this what got us some of the bugs with big-endien smbpasswd -j FOO -U ? Anyway, it deserves to die. Andrew Bartlett (This used to be commit 7201720048b31e48fb2600de8f7396088cc9b533)
* Nobody uses this, and its really just a layer of internal implementation.Andrew Bartlett2002-05-231-1/+1
| | | | | Make it static (till sombody needs its...) (This used to be commit 89dc15732062b46276d1d7a155954ee565070491)
* Given Jeremy's positive response, and a lack of one from tpot, I'll commitAndrew Bartlett2002-05-2314-559/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this: More code cleanup - this lot a bit more dodgy than the last: The aim is to trim pwd_cache down to size. Its overly complex, and a pain to deal with. With a header comment like this: 'obfusticaion is planned' I think it deserved to die (at least partly). This was being done to allow 'cli_establish_connection' to die - its functionality has been replaced by cli_full_connection(), which does not duplicate code everywhere for creating names etc. This also removes the little 'init' fucntions for the various pipes, becouse they were only used in one place, and even then it was dodgy. (I've reworked smbcacls not to use anonymous connections any more, as this will (should) fail with a 'restrict anonymous' PDC). This allowed me to remove cli_pipe_util.c, which was calling cli_establish_connection. tpot: I'm not sure what direction you were going with the client stuff, and you may well have been wanting the init functions. If thats the case, give me a yell and I'll reimplement them against cli_full_connection. Andrew Bartlett (This used to be commit fa67e4626bed623333c571e76e06ccd52cba5cc5)
* A graphical tdb browser using the gnome-python bindings.Tim Potter2002-05-231-0/+166
| | | | (This used to be commit 08dcfff2a22fd35a3e5cdca8ed137a7e5891fe53)
* Another change to the GPL "abandon hope all who enter here" warning.Tim Potter2002-05-231-4/+4
| | | | (This used to be commit 1d75b548de8b667673cf136306388546eb3bd98d)
* Ensure we kill with -TERM.Jeremy Allison2002-05-231-2/+2
| | | | | Jeremy. (This used to be commit 22b0d5da63716028c8f4b61f002493aa67ba189a)
* Merge of bugfixes from 2.2.Jeremy Allison2002-05-223-8/+16
| | | | | Jeremy. (This used to be commit 5c8351228c55f2403214351f6fd16fe231aee917)
* Got gdb and gpl confused. (-:Tim Potter2002-05-221-3/+3
| | | | (This used to be commit 08356ec38a5be239b6ab53ee75f3735c29b677a7)
* Fix for strangeness in Linux 2.0.x select return.Jeremy Allison2002-05-221-0/+14
| | | | | Jeremy. (This used to be commit 490b95a35d1e2ccd3b80db5cfcf7b9804901d36e)
* Remove horrid goto.Jeremy Allison2002-05-221-10/+5
| | | | | Jeremy. (This used to be commit 7e6db250804e51ce0883b972831da455d389cdcd)
* Nobody uses this function, and there really doesn't seem much point toAndrew Bartlett2002-05-221-20/+0
| | | | | | | it, so we may as well reduce the complexity. Andrew Bartlett (This used to be commit 31e074cea50111a150db220603c3cfccaaf4339c)
* Add a bit more const, and kill of (finally!) sys_getpwnam and sys_getpwuid.Andrew Bartlett2002-05-226-135/+26
| | | | | | | | | | | | | | | These might be reimplmented as simple pass-through functions, but all users really should be doing 'getpwnam_alloc' or 'getpwuid_alloc' to ensure that there are not shared static buffers. I don't beleive we actually need a getpw*() cache inside samba - if we do then I think we should look at our code design first. (some of these changes are for platforms I don't have access to, but they look sane) Andrew Bartlett (This used to be commit 9d8431b04f41dceffe4c45cc969472ee59f7282f)
* Cleanups!Andrew Bartlett2002-05-226-90/+32
| | | | | | | | | | | Make some code static, add some const to the PAM code, and make the plaintext password code actually function - particulary without the requirement to modify the 'struct passwd' (which it assumed was made up of fstrings) This kills some particularly ugly code in lib/util_pw.c Andrew Bartlett (This used to be commit 302dad4990ba5194f072e435465d9adaa089ae06)
* Fix a silly memory (getpnam_alloc()) leak spotted by Elrond, and moveAndrew Bartlett2002-05-223-95/+119
| | | | | | | | | | the DATA_BLOB code into its own file. It would be nice to go over some of the other util.c functions, and check that we still use them all, and that we use them in more than one place. Andrew Bartlett (This used to be commit d0ea70fce55df9a5b5878f50fce7bc115ffb37c2)
* Commit the header file for the LDAP/secrets changesAndrew Bartlett2002-05-221-0/+2
| | | | (This used to be commit 5512618d3493a04c84a43beaa752c307bce146fc)
* Updates for sane storage of ldap root DN passwords (tested, with upgradeAndrew Bartlett2002-05-222-44/+120
| | | | | | | | from 2.2 format) and LDAP rebind support (untested, I don't have a setup to match). Andrew Bartlett (This used to be commit 4f7ba78c9d50ac584497dcf1d78ce613112742d4)
* auto-recover from the fairly common case of a non-clean tdb shutdownAndrew Tridgell2002-05-221-0/+10
| | | | | | while deleting a record. This leaves us with a non-free record on the free list. (This used to be commit e99b6a2b91e4022ce0a9a14415df71314b5e013f)
* Merge of receive_local_message fix from 2.2.5.Jeremy Allison2002-05-224-51/+35
| | | | | Jeremy. (This used to be commit d4dbb9cb1338332bda3651dc4b86abcf47e9c2d2)
* Added a reminder about programs using the tdb bindings having to beTim Potter2002-05-221-0/+8
| | | | | licensed under the GPL. (This used to be commit aa3ec7618fe39ddc75755098433572b271197af4)
* Failing to find an entry when doing mod_share_entry isn't a errorJeremy Allison2002-05-211-3/+4
| | | | | | | condition, as we look for the entry before locking the chain - thus someone else could have legitimately deleted it. Jeremy. (This used to be commit bd64a291a8df63a6e0f9e166ad9ea7d92adbb4d5)
* Tricky fix. If we were waiting for an oplock break response message fromJeremy Allison2002-05-211-0/+11
| | | | | | | | | another smbd and an incoming SIGUSR1 message arrived we'd break out of the wait early - as we have to use sys_select() to wait for an oplock response message, not sys_select_intr() (which ignores EINTR errors) because of the real time signal kernel interface. Jeremy. (This used to be commit 3bb26957e3e7fb5059d21115546d189eaca34646)
* typo day :-(Simo Sorce2002-05-211-1/+1
| | | | (This used to be commit 5b3b65aafe38e767e9b7206ffe6d7c89edb267ba)
* typo, sorrySimo Sorce2002-05-2111-11/+11
| | | | (This used to be commit d222bc8c4b620095a21ba327940d4750d5dee753)
* uhh, forgot to commit the DBGC_WINBIND definition :-)Simo Sorce2002-05-211-11/+11
| | | | (This used to be commit efb119fb88a511e026239773422242fff636ae13)
* debug classizedSimo Sorce2002-05-2115-0/+45
| | | | (This used to be commit ae5d24873ad0fb3df970cc9912e18e6a5067ae2d)
* A tdb module based on some tips from Mike Noriega. This version supportsTim Potter2002-05-213-0/+644
| | | | | locking and tdb traversal using python callbacks. (This used to be commit f3530fd6180bb78a58a3f41ac1389c9f0ba7b183)
* Stop smbd looping when hide unreadable is true and .. is unreadable.Jeremy Allison2002-05-201-65/+72
| | | | | Jeremy. (This used to be commit fda7a11b093315a77ca1199119b5421a029ee883)
* Merge from 2.2.Jeremy Allison2002-05-202-2/+3
| | | | | Jeremy. (This used to be commit 174df5d914b149e52bf260e6502f2436c2720958)
* merge from SAMBA_2_2Gerald Carter2002-05-201-1/+1
| | | | (This used to be commit 2424578c298ea11f67415bcfe2928353cd95819b)
* Remove level and name fields from dictionary copy in py_to_FORM()Tim Potter2002-05-201-4/+9
| | | | (This used to be commit ac15442579848f145dbdce6d51207321c4150c25)
* py_to_DRIVER_INFO_3: remove level key on copy of dictionary before callingTim Potter2002-05-201-2/+7
| | | | | to_struct(). (This used to be commit 274679d8ce33aaf664ffaaa6834d506f7b196fc6)
* Decode info level 3 for getprinterdriver.Tim Potter2002-05-201-1/+5
| | | | | Error checking for undecoded info levels. (This used to be commit 841b6cf63c1f22dcb8fa07796a44e20555fe5b59)
* When converting from a dictionary to a Samba structure, check for anyTim Potter2002-05-201-2/+30
| | | | | additional keys that may have been added and return False if so. (This used to be commit 96ccb2beb1d45f8122ff03fc2f7727bf065adbf6)
* Set level key in driver info structures.Tim Potter2002-05-201-1/+5
| | | | (This used to be commit 0caf7610dcf698d2c649e42f0630de4337cfcea2)
* OK that last commit was incorrect - this call is parsed properly. I onlyTim Potter2002-05-201-4/+0
| | | | | imagined it wasn't! (This used to be commit bbad6c6678c89a33fb233091f5965ccd1aa589f6)
* There's probably a pointer to a buffer at the end of a enumprinterdrivers()Tim Potter2002-05-201-0/+4
| | | | | | rpc call which we currently don't parse - just added a comment about it for the moment as not parsing it is harmless. (This used to be commit 2429c4cc796576aa2d816a14b10fdd932b672a02)
* No need to pass a fstring in make_spoolss_q_enumprinters()Tim Potter2002-05-201-1/+1
| | | | (This used to be commit 1fb8e2b3a07fdc0bb302f02a451ed32a275f0c10)
* Spelling fix.Tim Potter2002-05-191-1/+1
| | | | (This used to be commit 37f1cd013da073ca23fd9b16ee8cfbf9a3e6cbd9)
* Patch to only set SV_TYPE_PRINTQ_SERVER in default_server_announce if aTim Potter2002-05-192-1/+12
| | | | | print share is exported. Needs some more testing. (This used to be commit 92b36482fd6aa5103c30dad40fe799c07dd2d8d7)
* Fixed compiler warning.Tim Potter2002-05-191-1/+1
| | | | (This used to be commit 793d9306e29ddd23e3f52736b5cd558b5d058611)
* A small change to print out the error message only if we could not check theRichard Sharpe2002-05-191-4/+5
| | | | | secrets ... (This used to be commit 56eea2623a8a8f2a5a0311cda6d0282d0037a3cc)
* Keep the compiler happyAndrew Bartlett2002-05-192-2/+1
| | | | (This used to be commit 84ea2a434b510ed49838a04a4b30bd2fc9ec5673)
* so here it is the code to introduce seriously debugggging classes.Simo Sorce2002-05-1816-102/+368
| | | | | | | | | | | | | | | | | | | this is a first step only passdb stuff has beein "classized". - so what can you do? set debug level to: 1 poasdb:10 that will make all the code run at debug level 1 except the code in passdb/* files that will run at level 10 TODO: fix the man page - also smbcontrol has this nice feature so smbcontrol smbd debug 3 passdb:5 will set every smbd to have a default log level of 3 while passdb stuff will be at level 5 and so no.. minor cosmetic fix to pdbedit is there too (This used to be commit be5c3b3f5781ddc002ffcc98df04ab024dcef4ca)
* Remove unused files.Andrew Bartlett2002-05-185-806/+7
| | | | | | | The size of samba going down for once :-) Andrew Bartlett (This used to be commit 00ef4aad88f4ba9f2e242578c37933eac001c351)