summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2003-02-19Move to a in-memory ccache for winbind, and replace setenv() properly.Andrew Bartlett1-0/+18
(According to the manpages, you cannot put a stack variable into putenv()). Yes, this leaks memory. Andrew Bartlett (This used to be commit 50bced1e26434ecc7474964062746e2831e5f433)
2003-02-19base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().Jim McDonough1-1/+1
(This used to be commit 8c69212eeb4a0ec144b960d76319fd4940b8c239)
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 e7c4616c45ea5ec7c04022d6cca49ac70adde121)
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-18Remove obsolete comment.Martin Pool1-2/+0
(This used to be commit e22465749dc7c2acd2441a897df592616fc275da)
2003-02-18Doxygen janitor and some doc typo fixes.Martin Pool1-68/+92
(This used to be commit 82414706e6659c1638936d9b9afdb9329109f58f)
2003-02-18Doxygen janitor. No other changes.Martin Pool1-120/+119
(This used to be commit fa38e7956c21b828ba208282ef0ac85c2b66ff22)
2003-02-17Add comment explaining the -DDEVELOPER safe_strcpy overflow hack.Martin Pool1-1/+5
(This used to be commit 90e1d8bdfa9ec0a4f3795d9a89db1d2324447b68)
2003-02-17This is a very nice way to detect pstrcpy() into a malloc()ed string, butAndrew Bartlett1-0/+2
it really is a developer hack... Andrew Bartlett (This used to be commit 3588ebb35b14422141d4070413185195b525038e)
2003-02-17This patch fixes one of my longest-standing pet hates with Samba :-).Andrew Bartlett2-18/+47
When we look see if a user is in a list, and we try to 'expand' an @group, we should lookup the user's own list of groups, rather than looking for all the members of a group. I'm sure this will fix some nasty performance issues, particularly on large domains etc. In particular, this avoids contacting winbind at all, if the group is not a winbind group. (This caused a deadlock on my winbind-on-PDC setup). The groups list always includes the user's primary group, as per the getgrouplist manpage, and my recent changes to our implementation. Andrew Bartlett (This used to be commit 9be21976f7662ebe6eb92fff7cecbdb352eca334)
2003-02-17Set the length back to zero when we free the data_blob.Andrew Bartlett1-0/+1
(This used to be commit 4560594a67056ee1a5e51a122d1b254944e7c266)
2003-02-17Try to make our getgrouplist replacement better match the 'real' implemenations.Andrew Bartlett1-4/+11
In particular, make sure we include the primary gid in the list. Andrew Bartlett (This used to be commit 0cd4b339b7eff55019caaeaa998d5e70b2eed200)
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-15Remove obsolete file lib/netatalk.c - We have a VFS module nowJelmer Vernooij1-155/+0
(This used to be commit 28653989cfe5d705b99a4888c0c3fb79d1f89162)
2003-02-14Simplify some return values in gencache functions:Tim Potter1-5/+5
- return ret == 0 ? True : False; + return ret == 0; and - return tdb_close(cache) ? False : True; + return tdb_close(cache) != -1; (This used to be commit 026b988b132ec76fdd3821639960658e1d36cd43)
2003-02-14merge from HEAD - enable dynamic RPC modulesJim McDonough1-0/+12
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
2003-02-13Add FIXME about checking exit code for popen'd commands.Martin Pool1-1/+4
Fix typo. (This used to be commit 2b5664823e05e328c86051fb607182ad20d786d4)
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-12pull_ucs2_talloc() should pull to a char**, not a void**Andrew Tridgell1-2/+2
(This used to be commit 3cf539421fa2a5c276baeedbdbf42ced29d9f1e4)
2003-02-08merge from HEAD - x_fileno, not fileno on an XFILEAndrew Bartlett1-1/+1
(This used to be commit e3468d8edc77c4d3dffc81770f4bc991e5a5fe52)
2003-02-08One more fix for the difference between FILE and X_FILE.Andrew Bartlett1-1/+1
(This used to be commit 7e56014b2877cde489913310edbfd16c267d9859)
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-07Ensure we don't get problems between FILE and X_FILE buffers - always use theAndrew Bartlett1-3/+3
x_ varient of the command. Andrew Bartlett (This used to be commit 6a028507f0d5eadd2ec0a5b45c35e3a019a56f0b)
2003-02-07Samba janitor: adding mbp's umask patch :-).Jeremy Allison1-79/+69
Jeremy. (This used to be commit d4d8d27bf136bdbc785c7aad027537aabaa56a76)
2003-02-07Samba janitor: adding mbp's umask patch :-).Jeremy Allison1-79/+69
Jeremy. (This used to be commit babbbd9c651e044832a78aa0fbcee5afd73770e2)
2003-02-07merge from headAndrew Tridgell1-2/+6
(This used to be commit fd3216dbcbaec7d64dd24fe2af6c4156935c47e9)
2003-02-07make sure we don't run over the end of 'name' in unix_convert()Andrew Tridgell1-2/+6
Thanks to Andrew Bartlett for spotting this. (This used to be commit b4c210ccb05e71a8ddf1c25d028452dd5cd93c72)
2003-02-01Merge of signed/unsigned fixes from HEAD.Andrew Bartlett2-3/+3
(This used to be commit e9f56a157bd472914eebf64fde586104d8274717)
2003-02-01Bitmap offsets and counts are always positive.Andrew Bartlett1-1/+1
(This used to be commit 8f495e8634a1777c4b03d3ec07c76f905ff2fb98)
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)