Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed incorrect comment. | Tim Potter | 2002-05-24 | 1 | -2/+2 | |
| | ||||||
* | Remove the password length paramater from cli_full_connection - it really | Andrew Bartlett | 2002-05-24 | 8 | -13/+14 | |
| | | | | | | | | didn't make any sense, and its was always just strlen(password) anyway. This fixes it to be strlen(password)+1 Andrew Bartlett | |||||
* | Move the authenticaion subsystem over to the same 'module:options' syntax | Andrew Bartlett | 2002-05-24 | 9 | -42/+111 | |
| | | | | | | | | | | that the passdb code now uses. Similarly, move the 'pluggable' stuff over from passdb as well, allowing runtime loading of new authenticaion modules. (NOTE: The interfaces here can *and do* change - module writers are not assured source-level compatibilty, and certainly not binary compatibility). | |||||
* | Don't duplicat this here, use the existing function prototype. | Andrew Bartlett | 2002-05-24 | 1 | -4/+2 | |
| | ||||||
* | Make function match the defintion require for assignment as a function | Andrew Bartlett | 2002-05-24 | 1 | -1/+1 | |
| | | | | pointer. | |||||
* | If we don't do the select don't do the recvfrom. | Jeremy Allison | 2002-05-24 | 1 | -0/+1 | |
| | | | | Jeremy. | |||||
* | Fixed silly typo that causes receive_local_message to loop - caused by | Jeremy Allison | 2002-05-24 | 1 | -1/+1 | |
| | | | | | my removal of the goto. Oops ! Jeremy. | |||||
* | Compile fix for enum trust dom wrapper. | Tim Potter | 2002-05-23 | 1 | -1/+1 | |
| | ||||||
* | Looks like abartlet got a bit overexcited about using const... | Jim McDonough | 2002-05-23 | 1 | -1/+1 | |
| | | | | | | BOOL const secrets_init(...) Broke AIX build. | |||||
* | Allow initial password set on net ads user add. I need to do this on | Jim McDonough | 2002-05-23 | 1 | -3/+30 | |
| | | | | | rpc and rap too. Anyone know what key I'm supposed to use to encrypt it for the rap one? | |||||
* | This function is unused, and doesn't make any sense to me anyway. | Andrew Bartlett | 2002-05-23 | 1 | -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 | |||||
* | Nobody uses this, and its really just a layer of internal implementation. | Andrew Bartlett | 2002-05-23 | 1 | -1/+1 | |
| | | | | Make it static (till sombody needs its...) | |||||
* | Given Jeremy's positive response, and a lack of one from tpot, I'll commit | Andrew Bartlett | 2002-05-23 | 14 | -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 | |||||
* | A graphical tdb browser using the gnome-python bindings. | Tim Potter | 2002-05-23 | 1 | -0/+166 | |
| | ||||||
* | Another change to the GPL "abandon hope all who enter here" warning. | Tim Potter | 2002-05-23 | 1 | -4/+4 | |
| | ||||||
* | Ensure we kill with -TERM. | Jeremy Allison | 2002-05-23 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Merge of bugfixes from 2.2. | Jeremy Allison | 2002-05-22 | 3 | -8/+16 | |
| | | | | Jeremy. | |||||
* | Got gdb and gpl confused. (-: | Tim Potter | 2002-05-22 | 1 | -3/+3 | |
| | ||||||
* | Fix for strangeness in Linux 2.0.x select return. | Jeremy Allison | 2002-05-22 | 1 | -0/+14 | |
| | | | | Jeremy. | |||||
* | Remove horrid goto. | Jeremy Allison | 2002-05-22 | 1 | -10/+5 | |
| | | | | Jeremy. | |||||
* | Nobody uses this function, and there really doesn't seem much point to | Andrew Bartlett | 2002-05-22 | 1 | -20/+0 | |
| | | | | | | it, so we may as well reduce the complexity. Andrew Bartlett | |||||
* | Add a bit more const, and kill of (finally!) sys_getpwnam and sys_getpwuid. | Andrew Bartlett | 2002-05-22 | 6 | -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 | |||||
* | Cleanups! | Andrew Bartlett | 2002-05-22 | 6 | -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 | |||||
* | Fix a silly memory (getpnam_alloc()) leak spotted by Elrond, and move | Andrew Bartlett | 2002-05-22 | 3 | -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 | |||||
* | Commit the header file for the LDAP/secrets changes | Andrew Bartlett | 2002-05-22 | 1 | -0/+2 | |
| | ||||||
* | Updates for sane storage of ldap root DN passwords (tested, with upgrade | Andrew Bartlett | 2002-05-22 | 2 | -44/+120 | |
| | | | | | | | from 2.2 format) and LDAP rebind support (untested, I don't have a setup to match). Andrew Bartlett | |||||
* | auto-recover from the fairly common case of a non-clean tdb shutdown | Andrew Tridgell | 2002-05-22 | 1 | -0/+10 | |
| | | | | | while deleting a record. This leaves us with a non-free record on the free list. | |||||
* | Merge of receive_local_message fix from 2.2.5. | Jeremy Allison | 2002-05-22 | 4 | -51/+35 | |
| | | | | Jeremy. | |||||
* | Added a reminder about programs using the tdb bindings having to be | Tim Potter | 2002-05-22 | 1 | -0/+8 | |
| | | | | licensed under the GPL. | |||||
* | Failing to find an entry when doing mod_share_entry isn't a error | Jeremy Allison | 2002-05-21 | 1 | -3/+4 | |
| | | | | | | condition, as we look for the entry before locking the chain - thus someone else could have legitimately deleted it. Jeremy. | |||||
* | Tricky fix. If we were waiting for an oplock break response message from | Jeremy Allison | 2002-05-21 | 1 | -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. | |||||
* | typo day :-( | Simo Sorce | 2002-05-21 | 1 | -1/+1 | |
| | ||||||
* | typo, sorry | Simo Sorce | 2002-05-21 | 11 | -11/+11 | |
| | ||||||
* | uhh, forgot to commit the DBGC_WINBIND definition :-) | Simo Sorce | 2002-05-21 | 1 | -11/+11 | |
| | ||||||
* | debug classized | Simo Sorce | 2002-05-21 | 15 | -0/+45 | |
| | ||||||
* | A tdb module based on some tips from Mike Noriega. This version supports | Tim Potter | 2002-05-21 | 3 | -0/+644 | |
| | | | | locking and tdb traversal using python callbacks. | |||||
* | Stop smbd looping when hide unreadable is true and .. is unreadable. | Jeremy Allison | 2002-05-20 | 1 | -65/+72 | |
| | | | | Jeremy. | |||||
* | Merge from 2.2. | Jeremy Allison | 2002-05-20 | 2 | -2/+3 | |
| | | | | Jeremy. | |||||
* | merge from SAMBA_2_2 | Gerald Carter | 2002-05-20 | 1 | -1/+1 | |
| | ||||||
* | Remove level and name fields from dictionary copy in py_to_FORM() | Tim Potter | 2002-05-20 | 1 | -4/+9 | |
| | ||||||
* | py_to_DRIVER_INFO_3: remove level key on copy of dictionary before calling | Tim Potter | 2002-05-20 | 1 | -2/+7 | |
| | | | | to_struct(). | |||||
* | Decode info level 3 for getprinterdriver. | Tim Potter | 2002-05-20 | 1 | -1/+5 | |
| | | | | Error checking for undecoded info levels. | |||||
* | When converting from a dictionary to a Samba structure, check for any | Tim Potter | 2002-05-20 | 1 | -2/+30 | |
| | | | | additional keys that may have been added and return False if so. | |||||
* | Set level key in driver info structures. | Tim Potter | 2002-05-20 | 1 | -1/+5 | |
| | ||||||
* | OK that last commit was incorrect - this call is parsed properly. I only | Tim Potter | 2002-05-20 | 1 | -4/+0 | |
| | | | | imagined it wasn't! | |||||
* | There's probably a pointer to a buffer at the end of a enumprinterdrivers() | Tim Potter | 2002-05-20 | 1 | -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. | |||||
* | No need to pass a fstring in make_spoolss_q_enumprinters() | Tim Potter | 2002-05-20 | 1 | -1/+1 | |
| | ||||||
* | Spelling fix. | Tim Potter | 2002-05-19 | 1 | -1/+1 | |
| | ||||||
* | Patch to only set SV_TYPE_PRINTQ_SERVER in default_server_announce if a | Tim Potter | 2002-05-19 | 2 | -1/+12 | |
| | | | | print share is exported. Needs some more testing. | |||||
* | Fixed compiler warning. | Tim Potter | 2002-05-19 | 1 | -1/+1 | |
| |