summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-10-31Patch from Aurélien Degrémont <adegremont@idealx.com>. "entry" is dependentJeremy Allison1-2/+4
on "result", don't free result first. Jeremy. (This used to be commit 9b24715170c6ca5dd3d5df0675f430852ae6a50d)
2003-10-31Merge from 3.0:Tim Potter1-10/+17
Revision 1.50.2.12: Put in a work-around for ENOTSUP not being defined on OpenBSD. Revision 1.50.2.10-11 Apply latest of Derrell Lippman's changes to libsmbclient. Commit Derrell's changes to libsmbclient plus a small change to configure.in to see if SGI and other platforms will build. (This used to be commit e32826980eefeb501e4ae19c689d83153d9fe5e6)
2003-10-31Whitespace syncup with 3.0Tim Potter1-7/+7
(This used to be commit 9746ef376d2a52ef6ef6b84421d6b7e988a6ca13)
2003-10-31Formatting syncup with 3.0Tim Potter1-0/+4
(This used to be commit 98881672f5c094181be7988b4d39b451f292e423)
2003-10-31Fix another unused warning.Tim Potter1-0/+3
(This used to be commit 9032e6eb2b4c7ed3d0689b95ed318cdf7ec048d7)
2003-10-31Fix spelling mistake.Tim Potter1-1/+1
(This used to be commit cbd95c5a74bef4a6c8fd54a8fc24a50f11678cb7)
2003-10-31Merge from 3.0:Tim Potter1-40/+40
Revision 1.45.2.23: Changed output so all debug output goes to stderr, and all file processing goes to stdout. Note: This change permits use of testparm processing of smb.conf to be redirected into a file that can be used as an smb.conf file. ie: All information that should not be in smb.conf will be on stderr, all pertinent smb.conf info will go to stdout. Example of use: A fully documented smb.conf.master file can be maintained. To create smb.conf do: testparm -s > smb.conf (This used to be commit f323b932f932a576d42a018a3e16b45758121891)
2003-10-31Fix some unused variable warnings.Tim Potter2-0/+6
(This used to be commit 512a81c9fd4490cb6f9b1cc88cdb9238d21decb1)
2003-10-31Merge from 3.0:Tim Potter1-3/+0
Revision 1.2.2.5: Remove some unused variables uncovered by the build farm. (This used to be commit c0585399ac3b6adb22b514478ba44e3c8a96b050)
2003-10-31Sync up with 3.0Tim Potter1-3/+3
(This used to be commit 3cd8acb6c362bca82d7268aa283d3f6360b24604)
2003-10-31Sync up some indentation.Tim Potter1-3/+3
(This used to be commit 160903f99782673a3ff147450d33f4a4ff88a666)
2003-10-31Merge from 3.0: Sync up comments.Tim Potter1-2/+2
(This used to be commit c00bd547c875a1eba3b8c427f4fed0b61ae987c5)
2003-10-31Merge of some fixes from 3.0:Tim Potter1-8/+10
- Revision 1.468.2.187 CP* modules are not related to development - Revision 1.468.2.191 Compile fix for tdbbackup when Samba needs to override non-C99 compliant implementations of snprintf Sync up formatting for PAM_WINBIND_PICOBJ variable. (This used to be commit b4f3c8d2f62e6d75a5c01529190e71289dea8df5)
2003-10-30Add string to uuid fn. Thanks aliguori.Jim McDonough1-1/+84
(This used to be commit 5f9fe8304f037f91fa765e64580a7119aeb201dd)
2003-10-30If nothing to do, return success. Fix from Aur?lien Degr?mont ↵Jeremy Allison1-1/+1
<adegremont@idealx.com> Jeremy. (This used to be commit a92555e6060294afcfecc075bfac5c836f150b01)
2003-10-30Last of the GUID->struct uuid changes.Jim McDonough2-14/+7
GUID has been removed. If you are dealing with a flattened version of a [gu]uid, use UUID_FLAT. smb_pack_uuid and smb_unpack_uuid will switch between the two. I'm not sure exactly what the genparse stuff is doing here, so I just switched it to a UUID_FLAT (no functional change), but I suspect this may not be the right way to go. (This used to be commit 001e9d0e814109a26d598001b3c23dfdb04510ff)
2003-10-30Nearing the end of the GUID -> struct uuid changes.Jim McDonough2-9/+12
(This used to be commit 0e8fcfac702515f8870c979262bf881d1155efdc)
2003-10-30Ok, nearing the end of the GUID->struct uuid changes.Jim McDonough5-34/+34
Takes care of secdescs. Had to move the uuid marshall/unmarshalling code to parse_misc, because it's needed outside of parse_rpc.c (for no-auth calls) (This used to be commit 5d2bb079b65ccfec14604d8dcf0ce789d1795b46)
2003-10-30More GUID->struct uuid changes.Jim McDonough2-9/+14
Printer publishing now uses struct uuid. Also changes ads_pull_guid to unpack it from the wire format. (This used to be commit 671b434cc4b422144ab8f5858ae9c2179de701e1)
2003-10-30Another round of GUID->struct uuid.Jim McDonough5-10/+10
Takes care of the lsass pipe (This used to be commit 3dca3efa4b427fa3094a8cd392fe5744b5f6f6a8)
2003-10-30First round of merging various UUID structures.Jim McDonough17-153/+141
This eliminates RPC_UUID. It creates the following struct: struct uuid { uint32 time_low; uint16 time_mid; uint16 time_hi_and_version; uint8 clock_seq[2]; uint8 node[6]; }; which replaces RPC_UUID and various random struct uuid definitions and a flat version: #define UUID_FLAT_SIZE 16 typedef struct uuid_flat { uint8 info[UUID_FLAT_SIZE]; } UUID_FLAT; which pretty much looks like GUID (which I will start eliminating). I want us to use the FLAT one only on the wire (perhaps in files, too?), and I want it to be obvious to the coder that it is the FLAT version. This leaves a couple of compiler warnings, where GUID isn't completely replaced by FLAT_UUID yet...I'll get to those soon. (This used to be commit 1532b5d2e3c61df232b16394acedf6eac387588b)
2003-10-30bug 696; check for an invalid fid before dereferencing the fsp pointerGerald Carter1-0/+5
(This used to be commit 2cc43e760b02f2088a0222d1f5080913a96f3e5a)
2003-10-30Check for nsswitch.h. Patch from albert chin (china@thewrittenword.com).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8d29faaa6396a46e8754ead32f6fd545e567ba46)
2003-10-29Janitor for tridge.Jeremy Allison2-2/+5
parameterise the listen backlog in smbd and make it larger by default. A backlog of 5 is way too small these days. Jeremy. (This used to be commit 58b8f673945ad114d056dd79f509c93ab42b96d1)
2003-10-29Fixes to check for wraps which could cause coredumps.Jeremy Allison6-14/+28
Jeremy. (This used to be commit 124a8ddae63adff4f601242a8e6d05abcaf4d9bf)
2003-10-28Don't log at level zero when chdir fails. Ensure correct error message is ↵Jeremy Allison2-2/+3
returned. Jeremy. (This used to be commit a7561336e770405572c13a4607b0e808225e8916)
2003-10-28Fix for bug #667. DFS filenames can now have arbitrary case.Jeremy Allison3-67/+86
Jeremy. (This used to be commit cbefb5c4f983ca49fcc563111d8704d3770daf81)
2003-10-27Remove trailing comma on typedef enum. albert chin (china@thewrittenword.com)Tim Potter1-1/+1
(This used to be commit 65a4c2aa0af4572ef7da0f7907ee144faba39031)
2003-10-27Missing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy ↵Jeremy Allison1-5/+5
<a.bokovoy@sam-solutions.net>. Jeremy. (This used to be commit f714998b44c6a1082943a399ce3b0ce316efc3a0)
2003-10-24Janitorial duty for tpot. Merge tdb error log fix.Jeremy Allison1-1/+6
Jeremy. (This used to be commit 2186cbf28db496b97b39b81eb1932690c6094cd8)
2003-10-24Add shutdown abort try over initshutdown pipe first, then fall back toJim McDonough1-4/+49
winreg pipe if it doesn't work. Fixes bug #534. I will go back and add the same logic for the shutdown itself, even though that works so far against win2k (haven't tested all win clients). (This used to be commit e6d02117755d92d1b5ce029bf659d0fbe1a55585)
2003-10-24Add initshutdown pipe commands to rpcclient. Second part of fix to bugJim McDonough5-6/+22
#534 (This used to be commit 99f4fa54497ba1c0fc0ba39d51b3ce201a8e6cd2)
2003-10-24New files for support of initshutdown pipe. Win2k doesn't respond properlyJim McDonough4-0/+449
to all requests on the winreg pipe, so we need to handle this new pipe. First part of fix for bug #534 (This used to be commit 532fab74c12d8c55872c2bad2abead2647f919d7)
2003-10-24Check for va_copy before you check for __va_copy, since va_copy is theRichard Sharpe2-4/+18
actual standard, and __va_copy was the proposed standard. (This used to be commit 4ab7947e601e61cacd7ff541ee881850d9808387)
2003-10-24Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.Jeremy Allison1-0/+16
Jeremy. (This used to be commit 2d09d8c9d973f5f414d31f749db12328ff315de7)
2003-10-23Merge from 3_0:Volker Lendecke2-12/+5
After a phonecall with jra finally commit this. This changes our behaviour when the setresuid call is available. We now not only change the effective uid but also the real uid when becoming unprivileged. This is mainly for improved AFS compatibility, as AFS selects the token to send to the server based on the real uid of the process. I tested this with a W2k server with two non-root 'runas' sessions. They come in via a single smbd as two different users using two session setups. Samba on Linux can still switch between the two uids, proved by two different files created via those sessions. Volker (This used to be commit 8a75e2dfb6ee9099e7f9a970c522e71ab144d919)
2003-10-23Fix bug 451. Stop net -P from prompting for machine account password.Jim McDonough3-3/+4
Based on work by Ken Cross (kcross@nssolutions.com). (This used to be commit 32aa749bf1328e43af629ade30b3fdc11dd5e3ec)
2003-10-23Volker's fix for bug #668. Change the \n after the password prompt to goJim McDonough1-2/+3
to tty instead of stdout. (This used to be commit fb503bb418fcbee20d2218650904b26b512106ed)
2003-10-23Merge from 3_0:Volker Lendecke1-1/+1
According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind reports an unitialized read which is obviously correct. And I hate valgrind errors ;-) Volker (This used to be commit 73fc6da6cf2b52f65c3dbfb7705899e6cbea447a)
2003-10-23Apply the changes to libsmbclient that derrell has contributed. Fix someRichard Sharpe4-394/+2799
of the problems with this. From: Derrell.Lipman@unwireduniverse.com (This used to be commit 8e3d2708c5e5a9968aeb9a6fe6c828aa8a5b22a9)
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison25-63/+83
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit 5c050a735f86927c7ef2a98b6f3a56abe39e4674)
2003-10-22Be sure referent ID is updated for incoming structures, too.Jim McDonough1-3/+13
(This used to be commit 00e0aba2cf97e686a0b6b4d7bab50afbc5e97ac1)
2003-10-22Fix segfault in mount.cifs helper when there is no options specified during ↵Alexander Bokovoy1-1/+1
mount (This used to be commit a3b67626018ade2a823311b65202ab7f488ca0a7)
2003-10-22Merge from 3_0:Volker Lendecke1-0/+1
In cli_lsa_lookup_sids don't leave the domain field uninitialized if some sid could not be mapped. Otherwise this call is unnecessarily complicated to call. Volker (This used to be commit 198b01fc54ce7a5beeddc680b30da291639b4eda)
2003-10-21Fix for bug #64, Win9x Nexus tools not working against Samba3.0. MissingJeremy Allison2-1/+13
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata. Jeremy. (This used to be commit 8458f4c52f32ef192287ddb8371638f42a370c6f)
2003-10-21Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problemsJeremy Allison4-5/+21
when reverse connecting back to a client for printer notify. Jeremy. (This used to be commit 7fde193efeb856ec325d5d563f1e710c45dc65d7)
2003-10-21Merge tridge's AIX fixes.Jeremy Allison1-249/+231
Jeremy. (This used to be commit 96cefb4542debd8902d9bc0cd09bb01c7a41cc69)
2003-10-21Add server side support for epmapper pipe. Currently only does a fixedJim McDonough6-4/+176
mapping, but this is the base for changes to come. (This used to be commit 73882e970a3aea1c3c9f34779b4220bbf28f6dad)
2003-10-21Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>Jeremy Allison4-49/+30
Jeremy. (This used to be commit 419834edee09567c8523ad3afba674a12504282d)
2003-10-21Fix typoJim McDonough1-1/+1
(This used to be commit 26956cdef902819f94616c33694641752f0f14e9)