summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-10-21call initgroups before becomming the user; patch from Fabio CecchiGerald Carter1-0/+3
(This used to be commit e0db859a312207d961e3a581dfd15d9701bca16d)
2003-10-21Merge of another fix from Monyo.Tim Potter1-1/+1
(This used to be commit 8d4d8aed2baa4b81bde9b30399f946062fc14094)
2003-10-21Merge of mmap blacklist fix from HEAD.Tim Potter1-0/+7
(This used to be commit ff29be16e74361b02b0b7fbd83e393d68ae5b897)
2003-10-21Merge of krb5_keytab entry key vs keyblock member check from HEAD.Tim Potter2-4/+21
(This used to be commit 720f5e5629c54e851c3e9026dc88676795e44c8e)
2003-10-21Merge of wrepld link fix.Tim Potter1-1/+2
(This used to be commit 9b13dae5a9cec827f854d5d0eb77eb16709b39b9)
2003-10-20Update structures after ethereal showed some marshalling/unmarshallingJim McDonough2-11/+38
errors. (This used to be commit 9d0f322a851f487cea320e57076213435e5c6481)
2003-10-20Fixed typo spotted by Daniel Jarboe <daniel.jarboe@custserv.com>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c68b6f64d9eb0808ce834e23174d1d6218b814b8)
2003-10-20Merge Volker's fix.Jeremy Allison1-0/+6
It's a perfectly valid condition to have zero alias members. Jeremy. (This used to be commit aa7fb71357921c9d1fa1d32e5eaff912428e4fdf)
2003-10-20Merge Volker's fix.Jeremy Allison1-0/+11
We are doing NT error codes now.... If we have an NT error, report that back the same way we handle the DOS error. Although I don't see why BUFFER_TOO_SMALL should not be handled as an error, simply copy the logic. This is only called from smbcacls and smbcquotas. Jeremy. (This used to be commit f67154fe41d7d458a11dfb9b2f0c6c26609c9a72)
2003-10-20Several updates:Jim McDonough3-4/+50
- add support for named pipe and netbios queries in parse code - fix map request structure...unknown byte was alignment - add sample of named pipe over netbios query in rpcclient (comment only) (This used to be commit 71dcdf54e60204d6b499d25d8759ed20fc7a021a)
2003-10-20Merge tridge's tdb updates.Jeremy Allison4-3/+10
Jeremy. (This used to be commit f81fdcc935317f66d562d485a40948c2a8bcbb21)