summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2003-02-24Merge doxygen, signed/unsigned, const and other small fixes from HEAD to 3.0.Andrew Bartlett10-235/+275
Andrew Bartlett (This used to be commit 9ef0d40c3f8aef52ab321dc065264c42065bc876)
2003-02-24Merge from HEAD client-side authentication changes:Andrew Bartlett1-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 (This used to be commit 837680ca517982f2e5944730581a83012d4181ae)
2003-02-24Merge of server-side authentication changes to 3.0:Andrew Bartlett1-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 (This used to be commit 74b5436c75114170ce7c780c19226103d0df9060)
2003-02-24Add comment about Samba character sets, from explanation by abartlet.Martin Pool1-0/+13
(This used to be commit 822f6c2f38b9b30dca2358e99ad6a379f5890c89)
2003-02-20Merge in smb_load_module() function from HEADJelmer Vernooij1-24/+0
(This used to be commit 6cb124247d10de86bdf6a98f3dd703b3a9eb1d35)
2003-02-19Merge cleanups of return values.Tim Potter1-5/+5
(This used to be commit bae354a20c07458722b5193911e7eaaf9bfbaeb7)
2003-02-19Merge minor library fixes from HEAD to 3.0.Andrew Bartlett2-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 (This used to be commit e9d6e2ea9a3dc01d3849b925c50702cda6ddf225)
2003-02-18base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().Jim McDonough1-1/+1
(This used to be commit d510ff85fb0dafddf3dea9412a09eeee6e70f0cb)
2003-02-18Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now needJeremy Allison1-0/+7
to set this for Tru64. Jeremy. (This used to be commit a21154961135def29d7ede302ed09ce52fc22fc1)
2003-02-15Remove obsolete file lib/netatalk.c - We now have a vfs moduleJelmer Vernooij1-155/+0
(This used to be commit fcc7a197b1ec85f9492e335a824317a904b0c919)
2003-02-14merge from HEAD - enable dynamic RPC modulesJim McDonough1-0/+12
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
2003-02-12Merge of nicer error message for gencache open error from HEAD.Tim Potter1-1/+1
(This used to be commit 23ca54000514d400c81950edb556ef4308a88253)
2003-02-12Merge from HEAD - pull_ucs2_talloc() should pull to a char**, not a void**Jeremy Allison1-2/+2
Jeremy. (This used to be commit 81437e2ad034e9b83ae954c17a7a261504c55101)
2003-02-08merge from HEAD - x_fileno, not fileno on an XFILEAndrew Bartlett1-1/+1
(This used to be commit e3468d8edc77c4d3dffc81770f4bc991e5a5fe52)
2003-02-08Merge from HEAD - don't mix FILE and X_FILE - fixes debian bugAndrew Bartlett1-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 (This used to be commit 8af72c13841ee51bca4f061a91c05e8fd366f586)
2003-02-07Samba janitor: adding mbp's umask patch :-).Jeremy Allison1-79/+69
Jeremy. (This used to be commit d4d8d27bf136bdbc785c7aad027537aabaa56a76)
2003-02-07merge from headAndrew Tridgell1-2/+6
(This used to be commit fd3216dbcbaec7d64dd24fe2af6c4156935c47e9)
2003-02-01Merge of signed/unsigned fixes from HEAD.Andrew Bartlett2-3/+3
(This used to be commit e9f56a157bd472914eebf64fde586104d8274717)
2003-02-01This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+90
used to be commit ed336acc6eef4736bd924e8402cc463944e9327c)
2003-02-01Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm toAndrew Bartlett1-0/+90
blame for the realloc() stuff. Plus a couple of minor updates to libads. Andrew Bartlett (This used to be commit 34b2e558a4b3cfd753339bb228a9799e27ed8170)
2003-02-01Make it clear that the magic value is (size_t)-1.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 0676b4e35f2ab5b58c44df9fe2eef112425d6013)
2003-01-30Add 3 second timeout when terminating server and sending print notifyJeremy Allison1-5/+45
messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 07efebb98473cb3d4adc6b2e0afef3f06dcc99b8)
2003-01-30Add 3 second timeout when terminating server and sending print notifyJeremy Allison1-5/+45
messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 4ae130bfa82be60de6a6f357f65207fcb24f45fb)
2003-01-30Merge of REQ_DEBUGLEVEL messaging and debug_count fixes from HEAD.Tim Potter2-23/+7
(This used to be commit abb112ba2ad362036c7b3f340d5f64d6fcc0cd3c)
2003-01-30Move debug level message handling into debug.c from messages.cTim Potter2-11/+14
Removed duplicate message_register() for REQ_DEBUGLEVEL message. (This used to be commit 6fee7196d695ca813a301b1e6d7da687b7e7bda5)
2003-01-29Removed duplicate fn to avoid compiler warning. (from HEAD - tpot).Jeremy Allison1-0/+2
Jeremy. (This used to be commit 60be9a2f1e6d18562218a55e1a1f753e34fb1e5b)
2003-01-29Return 0 instead of crashing when a NULL source string is passedJeremy Allison1-0/+1
to rpcstr_pull() - merge from HEAD (tpot). Jeremy. (This used to be commit e781388c59d694058576529fb43f861c48011091)
2003-01-29Removed duplicate fn to avoid compiler warning.Tim Potter1-19/+0
(This used to be commit 55d268fdd67e42244128dae8614d0e4aa2eb2da2)
2003-01-29Return 0 instead of crashing when a NULL source string is passedTim Potter1-0/+1
to rpcstr_pull() (This used to be commit b9c4cc119588d6a564f0aaf12fd2ef867a42aeb8)
2003-01-29Quieten debug about gencache.tdb not being able to be opened.Tim Potter1-1/+1
Perhaps we should try to open O_RDONLY if O_RDWR fails? (This used to be commit 1e7236371d2b766b161acbb0c950cd3bb4a6ede7)
2003-01-28Merge from HEAD:Andrew Bartlett1-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 used to be commit fbb46da79cf322570a7e3318100c304bbf33409e)
2003-01-28This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+92
used to be commit b741abd496621586040081c04674ae53cb5db47c)
2003-01-24sync with tpot's change to gencache_get() in HEADGerald Carter1-22/+31
(This used to be commit 305f167db2a34cdf3dd6378954e815ce34111232)
2003-01-24masking an assert error in Tim's wins server checking code; needs a proper ↵Gerald Carter1-0/+11
fix after I talk to tpot (This used to be commit 607bc0b4fca38640c6b5c730aa4119e2aa9006fc)
2003-01-24Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.Jeremy Allison1-1/+4
Jeremy. (This used to be commit af6e4ea640828438fe234db1652dc4c1e10a487e)
2003-01-24Memory leak fix from Leo Qiu <leoxqiu@yahoo.com>.Jeremy Allison1-1/+4
Jeremy. (This used to be commit efd52f6ca7784a3edfc0371b5ff2054ad9704ab7)
2003-01-24merging [un]signed declarationGerald Carter1-1/+1
(This used to be commit 15be89e72fee97106db1bd06d18060c21bbf78e1)
2003-01-23Merge of max log file fixes from appliance:Tim Potter1-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. (This used to be commit 303710c2065850beebef678e657633497e4d8452)
2003-01-22Merge of wins server dead list into gencache.tdbTim Potter1-60/+54
(This used to be commit d1107efa1cd23cbfe8da6d3462714a6f3ec570ae)
2003-01-21Updated some comments.Tim Potter1-5/+5
(This used to be commit f150af98a77ebcfa848735b7a67bbb95bd6d5b57)
2003-01-21Keep the list of dead WINS servers in gencache.tdb instead of inTim Potter1-60/+54
memory. This allows the information to be shared amongst all smbd processes. HP CR #1099 (This used to be commit 88d977ecceaec45ab6b238ddd32d92885da19793)
2003-01-21Make the valstr and timeout return pointers optional so a caller canTim Potter1-11/+31
pass NULL if it doesn't care about the gencache key. (This used to be commit 9ff4fe7e0d95c0cea94f65c00fea21600308d7d1)
2003-01-17dlsym() can return NULL validly, so we can't use that as the error test.Jim McDonough1-2/+6
dlerror() is the correct way to test. (This used to be commit 41b1be15bac271116a7096e511cc029685013e1f)
2003-01-17Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt ↵Jim McDonough1-0/+12
for instructions. (This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)
2003-01-17Janitorial duty...Jeremy Allison1-4/+8
fix some undefined behaviour with increments in C. In theory a compiler could have produced complete crap for this code. (tridge). Jeremy. (This used to be commit 2b4335f06265940582f389f48dc4f87f452a2703)
2003-01-17fix some undefined behaviour with increments in C. In theory aAndrew Tridgell1-4/+8
compiler could have produced complete crap for this code. (This used to be commit 0e90da0810b60dd1c2b1ec46c1a2993856b919d3)
2003-01-16Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 3d04872499332ef2d8e7479b924afc8fc1ac29d7)
2003-01-16Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.Jeremy Allison1-2/+4
Jeremy. (This used to be commit daf179bcd6297b525bfc644efb154734723f4d58)
2003-01-16Updates to the NTLMSSP code again - moving the base64 decode fuctionality outAndrew Bartlett1-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 (This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)
2003-01-16Fix a signed/unsigned warning.Andrew Bartlett1-1/+1
(This used to be commit b5ae49544d8e389595a3b076466498912de42081)