summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-02-19Improve detection of iconv(3) for various platforms. M4 code is similar to ↵Alexander Bokovoy3-17/+140
what I use in Midgard for past few years, modified for Samba needs. (This used to be commit 747d2d70a9eb4d9222d7b63e5fcec269eda76672)
2003-02-19Missed one use of SETENV. (Compat macro no longer needed, as we have aAndrew Bartlett1-1/+1
replace.c function). (This used to be commit adad4c66fcfe756277de8c325ac9f8010f9d6f9c)
2003-02-19Now we have setenv() in replace.c, we don't need a seperate copy here.Andrew Bartlett1-5/+5
Andrew Bartlett (This used to be commit c4834c46902380455d2ea1dd62661224e8d4eb11)
2003-02-19Check return values of various join-related functions, and ensure we alwaysAndrew Bartlett1-9/+16
compare push_* returns with (size_t)-1, not < 0. Andrew Bartlett (This used to be commit 63f5e92536c6bcac54b796d6e91b755e7d328f66)
2003-02-19Move to a in-memory ccache for winbind, and replace setenv() properly.Andrew Bartlett4-17/+23
(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-19After a talloc_zero(), we don't need to ZERO_STRUCTP too..Andrew Bartlett1-4/+0
(This used to be commit 4fe8066394143c64c79c052c00f0d747e872103a)
2003-02-19Fix logfile formatting, we were missing a "\n"Andrew Bartlett1-2/+2
(This used to be commit 53b8f8a44141a9f6d36ed1b237ff65c67119edd0)
2003-02-19Only do a kinit if we got told to use kerberos.Andrew Bartlett1-12/+12
Andrew Bartlett (This used to be commit 6af9ec50e010d171cf5287f40ec774e79e4a93fe)
2003-02-19Get non-krb systems to compile. How the heck do I keep something from being ↵Jim McDonough2-9/+10
sucked into proto.h? (This used to be commit 7e84497882df5bf933ab7ae7fe9af3728393202c)
2003-02-19Fix from Corny.Bondad@hp.com for missing if (setting_acls) on defaultJeremy Allison1-3/+3
perms. Jeremy. (This used to be commit ac96fa173cc3bd1c3226634154d6f99e4034179f)
2003-02-19Bit of a hack job to prevent smbprn.XXX jobs appearing in the queue if theJeremy Allison1-9/+14
jobid is below the UNIX_JOB_START number. Jeremy. (This used to be commit e8a9bf67cbe5b3e33f99e6793fe4ec445d6e8819)
2003-02-19Try to get heimdal working with HEAD.Jim McDonough3-26/+44
- Provide generic functions for - get valid encryption types - free encryption types - Add encryption type parm to generic function create_kerberos_key_from_string() - Try to merge the two versions (between HEAD and SAMBA_3_0) of kerberos_verify.c I think this should work for both MIT and heimdal, in HEAD. If all goes smooth, I'll move it over to 3.0 soon... (This used to be commit 45e409fc8da9f26cf888e13d004392660d7c55d4)
2003-02-19Add support for detecting method of listing encryption types (MIT v Heimdal)Jim McDonough1-0/+3
(This used to be commit 48dcf5b97f2d53617c41237e09369ec678ab65e9)
2003-02-19base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().Jim McDonough2-2/+2
(This used to be commit 8c69212eeb4a0ec144b960d76319fd4940b8c239)
2003-02-19Remove reference to obsolete samba-bugs address.Martin Pool1-1/+1
(This used to be commit 8e5f2ac3ca0b4cfb910f38532efb63526f28b579)
2003-02-18Add -V option (to print out version) to utilities where possibleJelmer Vernooij9-1/+9
(pdbedit already has a -V option..) (This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
2003-02-18Use the new modules stuff to load dynrpc modules. Basically this means:Jelmer Vernooij9-33/+14
- calling the initialization function in the module init_module() instead of rpc_pipe_init() - calling smb_load_module() to do the dlopen(), dlsym() and init_module() calls I'll merge this to 3.0, together with the smb_load_module() function. Discussed with Anthony. (This used to be commit 3757ed8df06ca2b306bef336bdb9c7671f5e6a65)
2003-02-18Fix of two warnings.Rafal Szczesniak1-5/+3
pull_ucs2_talloc function takes char** pointer, not (here explicitly casted) void** one. Rafal (This used to be commit e77c44efd95d42a8194f5c3d36c043f8e84dfd1d)
2003-02-18We don't use mkproto stuff for the python extensions anymore.Tim Potter1-29/+0
(This used to be commit 8d166ae093655a5a14a7478c7a84474b43e8ee97)
2003-02-18Cleanup of header files for python extensions.Tim Potter25-261/+360
- combine py_foo_proto.h and py_foo.h - move #include of Python.h into one place so we can get rid of that annoying compiler warning about HAVE_FSTAT being redefined (This used to be commit 0659351b251aee438bb9e92682bc445f164923a5)
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-18set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985Gerald Carter1-10/+57
(This used to be commit 9a4b7a86fdaab04328b5017c1dd42480753a9a10)
2003-02-18Remove obsolete comment.Martin Pool1-2/+0
(This used to be commit e22465749dc7c2acd2441a897df592616fc275da)
2003-02-18Doxygen janitor. No other changes.Martin Pool1-0/+9
(This used to be commit 735c99dadbaffbb53662890e3dc8a668b211da9d)
2003-02-18cmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDsMartin Pool1-2/+5
which are not valid. (This used to be commit bfb6104521bd75da71a09a6c56bd44560416116e)
2003-02-18init_dom_sid2s: Check return code from string_to_sid. Skip tokensMartin Pool1-8/+12
that are not valid SIDs. (This used to be commit 5a597272782b74d28859ba98027fe9ff9c278086)
2003-02-18Check return code from string_to_sid.Martin Pool2-5/+14
(This used to be commit fe449328b226a33ad1c64e087fe63e79f90ab4ac)
2003-02-18add_initial_entry should fail if string_to_sid fails.Martin Pool1-1/+5
(This used to be commit bb095dc28d8369457286225ac63e03070889f394)
2003-02-18Patch from vorlon@debian.org to split out our -lacl dependency to only smbdAndrew Bartlett2-6/+14
and vfstest. (This used to be commit bcbc2213230e95d732a774b5aee67295fba4380b)
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-18The cli_send_tconX code already determines to send \\server\share to port 139Andrew Bartlett1-18/+3
and share to 445, so doing this only confuses the issue (sending \\server\\server\share to 139) and makes debugging specific error codes more difficult. Andrew Bartlett (This used to be commit 1a723bcda72901dac00b36955e860e3af23c0dc6)
2003-02-17Update config.guess, config.sub to the versions from the GNU autotoolsMartin Pool2-210/+363
2003-01-10 release. This adds or improves detection for many host platforms. (This used to be commit 24fe55ea6d55a78d662942e78e192a84809fcba6)
2003-02-17Add comment explaining the -DDEVELOPER safe_strcpy overflow hack.Martin Pool1-1/+5
(This used to be commit 90e1d8bdfa9ec0a4f3795d9a89db1d2324447b68)
2003-02-17Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.Jeremy Allison1-2/+5
Jeremy. (This used to be commit fb3548e5080812c037c2c134504cc9af4ecbfedd)
2003-02-17Dummy commit, I can't get through to samba-cvs@samba.org. It can't reallyVolker Lendecke1-1/+0
remember under what mail address I have to post. My last commit to this file made it compile again, my fingers were a bit too fast to really type this message. Sorry for this confusion, Volker (This used to be commit 3b905f5a16dff8ce6742a92fd403cb720707f513)
2003-02-17cmd_srvsvc.cVolker Lendecke1-3/+3
(This used to be commit fcfbb3c430b2e48819c0c1852bc154661c4b7adf)
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 Bartlett9-52/+81
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-17Don't leak a session_key worth of memory at the end of the NTLMSSP auth.Andrew Bartlett1-0/+1
(This used to be commit ae9765b84de0fd6eff790b3bff26dd3d43ec2bd6)
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-17Typo: /mized/mixed/Martin Pool1-1/+1
(This used to be commit ada36d2fe38dbb07886a671a6d85b6317ab230a8)
2003-02-17Don't pstrcpy into an fstring. (Harmless in this case since it comesMartin Pool1-3/+10
from an environment variable.) (This used to be commit 9f9077346bf9f7c96376169c60aa893f15fb9d2c)
2003-02-17Start reworking rpcclient to use popt rather than next_token to parseMartin Pool1-103/+69
command lines. This makes the code much simpler and also stops trivial syntax errors from causing a crash. Also fix support for semicolon-separated commands in -c, which is promised by the manual but apparently never working due to an off-by-one error. (This used to be commit d85a25e733fe970ae96a02a5cbc892f2b8dca1b7)
2003-02-17Added SRVSVC pipe support. I've started implementing NetServerGetInfo()Tim Potter3-0/+217
(This used to be commit 8e0d781995b56dd1cd348baadd494bb8e64c10bc)
2003-02-17Add KRBCLIENT_OBJ to PYTHON_OBJ list.Tim Potter1-1/+2
(This used to be commit 651be759b3db98133feb6fe8c578964ec7b5cf71)
2003-02-17Return a WERROR instead of a NTSTATUS like the rest of the srvsvcTim Potter1-11/+7
rpc calls. (This used to be commit 619af61644ecc221c45e5cf69d562451b5b9f951)
2003-02-17If we didn't make the server_info correctly, then don't segfault trying toAndrew Bartlett1-1/+3
set the 'guest' bit. Andrew Bartlett (This used to be commit 960c53bf952de4431da4e90da035fcfbe98f1bd7)
2003-02-17People were being tripped up by the fact that we havn't updated acconfig.hAndrew Bartlett2-235/+3
as we don't need it for autoconf 2.53. Remove it from CVS, and assert the newer autotools in configure.in Andrew Bartlett (This used to be commit 14b38c004f4bd5b695d04941b03e3bfa31372da3)