summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge from HEAD client-side authentication changes:Andrew Bartlett2003-02-241-0/+1
| | | | | | | | | | | | | | | | | | | | - new kerberos code, allowing the account to change it's own password without special SD settings required - NTLMSSP client code, now seperated from cliconnect.c - NTLMv2 client code - SMB signing fixes Andrew Bartlett
* | Merge of server-side authentication changes to 3.0:Andrew Bartlett2003-02-241-15/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - user_ok() and user_in_group() now take a list of groups, instead of looking for the user in the members of all groups. - The 'server_info' returned from the authentication is now kept around - in future we won't copy the sesion key, username etc, we will just referece them directly. - rhosts upgraded to use the SAM if possible, otherwise fake up based on getpwnam(). - auth_util code to deal with groups upgraded to deal with non-winbind domain members again. Andrew Bartlett
* | Add comment about Samba character sets, from explanation by abartlet.Martin Pool2003-02-241-0/+13
| |
* | Merge in smb_load_module() function from HEADJelmer Vernooij2003-02-201-24/+0
| |
* | Merge cleanups of return values.Tim Potter2003-02-191-5/+5
| |
* | Merge minor library fixes from HEAD to 3.0.Andrew Bartlett2003-02-192-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - setenv() replacement - mimir's ASN1/SPNEGO typo fixes - (size_t)-1 fixes for push_* returns - function argument signed/unsigned correction - ASN1 error handling (ensure we don't use initiailsed data) - extra net ads join error checking - allow 'set security discriptor' to fail - escape ldap strings in libads. - getgrouplist() correctness fixes (include primary gid) Andrew Bartlett
* | base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().Jim McDonough2003-02-181-1/+1
| |
* | Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now needJeremy Allison2003-02-181-0/+7
| | | | | | | | | | to set this for Tru64. Jeremy.
* | Remove obsolete file lib/netatalk.c - We now have a vfs moduleJelmer Vernooij2003-02-151-155/+0
| |
* | merge from HEAD - enable dynamic RPC modulesJim McDonough2003-02-141-0/+12
| |
* | Merge of nicer error message for gencache open error from HEAD.Tim Potter2003-02-121-1/+1
| |
* | Merge from HEAD - pull_ucs2_talloc() should pull to a char**, not a void**Jeremy Allison2003-02-121-2/+2
| | | | | | | | Jeremy.
* | merge from HEAD - x_fileno, not fileno on an XFILEAndrew Bartlett2003-02-081-1/+1
| |
* | Merge from HEAD - don't mix FILE and X_FILE - fixes debian bugAndrew Bartlett2003-02-081-3/+3
| | | | | | | | | | | | | | http://bugs.debian.org/178219 where the first 4096 bytes where being chewed into the FILE buffer, and never available to X_FILE's read. Andrew Bartlett
* | Samba janitor: adding mbp's umask patch :-).Jeremy Allison2003-02-071-79/+69
| | | | | | | | Jeremy.
* | merge from headAndrew Tridgell2003-02-071-2/+6
| |
* | Merge of signed/unsigned fixes from HEAD.Andrew Bartlett2003-02-012-3/+3
| |
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2003-02-011-0/+90
|\|
| * Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm toAndrew Bartlett2003-02-011-0/+90
| | | | | | | | | | | | | | | | blame for the realloc() stuff. Plus a couple of minor updates to libads. Andrew Bartlett
| * Make it clear that the magic value is (size_t)-1.Andrew Bartlett2003-02-011-2/+2
| | | | | | | | Andrew Bartlett
| * Add 3 second timeout when terminating server and sending print notifyJeremy Allison2003-01-301-5/+45
| | | | | | | | | | | | messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy.
| * Move debug level message handling into debug.c from messages.cTim Potter2003-01-302-11/+14
| | | | | | | | Removed duplicate message_register() for REQ_DEBUGLEVEL message.
| * Removed duplicate fn to avoid compiler warning.Tim Potter2003-01-291-19/+0
| |
| * Return 0 instead of crashing when a NULL source string is passedTim Potter2003-01-291-0/+1
| | | | | | | | to rpcstr_pull()
| * Quieten debug about gencache.tdb not being able to be opened.Tim Potter2003-01-291-1/+1
| | | | | | | | Perhaps we should try to open O_RDONLY if O_RDWR fails?
* | Add 3 second timeout when terminating server and sending print notifyJeremy Allison2003-01-301-5/+45
| | | | | | | | | | | | messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy.
* | Merge of REQ_DEBUGLEVEL messaging and debug_count fixes from HEAD.Tim Potter2003-01-302-23/+7
| |
* | Removed duplicate fn to avoid compiler warning. (from HEAD - tpot).Jeremy Allison2003-01-291-0/+2
| | | | | | | | Jeremy.
* | Return 0 instead of crashing when a NULL source string is passedJeremy Allison2003-01-291-0/+1
| | | | | | | | | | to rpcstr_pull() - merge from HEAD (tpot). Jeremy.
* | Merge from HEAD:Andrew Bartlett2003-01-281-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor. - also consequential changes to the NTLMSSP and SPNEGO parsing functions - and the client code that uses the same functions - Add ntlm_auth, a NTLMSSP authentication interface for use by applications like Squid and Apache. - also consquential changes to use common code for base64 encode/decode. - Winbind changes to support ntlm_auth (I don't want this program to need to read smb.conf, instead getting all it's details over the pipe). - nmbd changes for fstrcat() instead of fstrcpy(). Andrew Bartlett
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2003-01-281-0/+92
|\|
| * Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.Jeremy Allison2003-01-241-1/+4
| | | | | | | | Jeremy.
| * Merge of max log file fixes from appliance:Tim Potter2003-01-231-1/+3
| | | | | | | | | | | | | | | | - smbd/process.c: check log file sizes more often than in timeout_processing() - lib/debug.c: increment debug_count inside Debug1() instead of when log file sizes are checked.
| * Updated some comments.Tim Potter2003-01-211-5/+5
| |
| * Keep the list of dead WINS servers in gencache.tdb instead of inTim Potter2003-01-211-60/+54
| | | | | | | | | | | | | | memory. This allows the information to be shared amongst all smbd processes. HP CR #1099
| * Make the valstr and timeout return pointers optional so a caller canTim Potter2003-01-211-11/+31
| | | | | | | | pass NULL if it doesn't care about the gencache key.
| * dlsym() can return NULL validly, so we can't use that as the error test.Jim McDonough2003-01-171-2/+6
| | | | | | | | dlerror() is the correct way to test.
| * Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt ↵Jim McDonough2003-01-171-0/+12
| | | | | | | | for instructions.
| * fix some undefined behaviour with increments in C. In theory aAndrew Tridgell2003-01-171-4/+8
| | | | | | | | compiler could have produced complete crap for this code.
| * Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.Jeremy Allison2003-01-161-2/+4
| | | | | | | | Jeremy.
| * Updates to the NTLMSSP code again - moving the base64 decode fuctionality outAndrew Bartlett2003-01-161-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | of the SWAT code, and adding a base64 encoder. The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for use with Squid. Unfortunetly the squid side doesn't quite support what we need yet. Changes to winbind to get us the info we need, and a couple of consequential changes/cleanups in the rest of the code. Andrew Bartlett
| * Fix a signed/unsigned warning.Andrew Bartlett2003-01-161-1/+1
| |
| * Doing a malloc(strlen(s)) then a pstrpcp(y, s) is just silly, make it a strdupAndrew Bartlett2003-01-151-3/+1
| | | | | | | | | | | | instead. Andrew Bartlett
| * Patch from metze to add what he feels is the correct semantics for a DomainAndrew Bartlett2003-01-131-0/+17
| | | | | | | | | | | | | | | | | | | | Controller. As we have had a number of attempts at this over the last little while, I need to get my test rig going, and give this whole area a poke... Meanwhile, if you want to use this, just adjust your 'auth methods' line to use samstrict_dc... Andrew Bartlett
| * Patch from metze to to make testparm show values for 'workgroup', 'netbiosAndrew Bartlett2003-01-131-7/+1
| | | | | | | | | | | | | | | | name' and 'netbios scope'. Probably has a similar effect on SWAT. Also adds '-V' to testparm. Andrew Bartlett
| * Accessing data after it's been free()ed really is a no-no...Andrew Bartlett2003-01-133-4/+17
| | | | | | | | Andrew Bartlett
| * Added new message_send_pid() code that uses tdb append to reduce lockingJeremy Allison2003-01-111-54/+55
| | | | | | | | | | contention on the messaging tdb. Jeremy.
| * First part of efficiency fixes for message sending to pid's (cutting downJeremy Allison2003-01-101-48/+95
| | | | | | | | | | | | | | | | the amount of time we hold tdb locks). Gulp down all messages at once rather than reading/re-writing one at a time. NOTE: All dispatch routines *must* be able to cope with incoming message on *odd* byte boundaries (all current handlers do). Jeremy.
| * Remove read_with_timeout() and replaced its only caller (the passwd chatTim Potter2003-01-091-81/+1
| | | | | | | | | | | | | | | | stuff) with a call to read_socket_with_timeout() which does the same thing. Passwd chat still works but I couldn't figure out the right arguments to passwd chat to get it to work right but data was definitely getting through.
| * Removed pointless null statement in signal handler.Tim Potter2003-01-081-2/+0
| |