summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-03-09Fix dfs referrals - don't use check_path_syntax. Also use mb char calls inJeremy Allison2-16/+10
dfs code. Jeremy. (This used to be commit 42175b4518764e484d33d9fbfba3b78ba4102ead)
2004-03-09Yet another '\n' termination of debug message.Rafal Szczesniak1-1/+1
rafal (This used to be commit 3e57c2c6850655da77e25de4cb047cc27741ca9c)
2004-03-09Fix to debug message lacking termination with '\n'.Rafal Szczesniak1-12/+12
rafal (This used to be commit 2a7dd469430459d124cb48d516b82766a2a249bc)
2004-03-09fix build with gcc 2.96 and --with-developerGerald Carter1-1/+1
(This used to be commit 11fc4da07f232c38e04c6443e5d0f829e16b0a18)
2004-03-09Given how core this code is, I figure it should have it's own testsuite.Andrew Bartlett4-8/+94
Big thanks to tpot and mbp for showing how easy it can be to write a simple unit test, and for providing the STF. This also changes the strstr_m() code to use strstr_w() (avoiding duplication) and fixes it so that it passes the STF. (We now always restart before doing the unicode run, until sombody can show me why the testsuite is wrong). Andrew Bartlett (This used to be commit a893a324f37e6a171719db8ffffe66df31c2dbaa)
2004-03-09JRA's recent strstr_m work really badly broke our string_sub code.Andrew Bartlett1-2/+10
For example: strstr_m("%v foo bar", "%v") would fail... only strstr_m("foo %v", "%v") could work. I wonder what else this broke... Fix is to move to using strncmp() inside the strstr_m function. Tested on ASCII only. Andrew Bartlett (This used to be commit 44d304f84c4ba5a832d5e3848ae0d04d5438ac15)
2004-03-09Added strstr_m() function. Use in all places where we might run into mbJeremy Allison6-12/+82
(should fix the mb service name problem, can't remember the bugid). Jeremy. (This used to be commit 94a272b9a881ec0004c5da2a7242b0a818da5630)
2004-03-08Fix assumption about following directory sep in check_path_syntax(). WeJeremy Allison1-5/+11
need to try and convert 1 byte, then 2 bytes if that fails. Fixes bug reported by Simo. Jeremy. (This used to be commit 8702d0089619c7321b93e59d35f43ef32dce7b78)
2004-03-07Get us a little closer to Windows LSA semantics.Volker Lendecke2-10/+2
A windows DC does not reply to DCNAME\\Administrator, only to DOMAIN\\Administrator. Fix that. Without winbind we are wrong as domain members, we should forward the request DOMAIN\\Username to the DC on behalf of the asking client. Winbind fixes that nicely. Volker (This used to be commit 7ed61edbbedbdee25f750aa30c13479764aa1af2)
2004-03-07Mention wb_delgrpmem fixVolker Lendecke1-0/+1
(This used to be commit 97a6a67b34201dda7715f5f23b1b9af3bcf3705f)
2004-03-07This might not be used a lot and might not survive for long, but at least itVolker Lendecke2-7/+11
should work as expected :-) Fix wb_delgrpmember. Volker (This used to be commit 9fc0025d12d17b0c68956af481a836eebc32e675)
2004-03-07Fix typo.Tim Potter1-1/+1
(This used to be commit e6e8b59f53d5ac618dcec13a46c356f0abe5950a)
2004-03-07Merge from HEAD.Tim Potter1-0/+4
(This used to be commit 89f3173f4f4e9a16f24b25f550065b50577f3f4c)
2004-03-07Merge from HEAD.Tim Potter1-1/+0
(This used to be commit 1bba071126b46032c97154fbf77242e15bcc5fa3)
2004-03-05Several mb tidyups - getting ready to address the XXX_sub function.Jeremy Allison4-108/+105
Jeremy. (This used to be commit 92c3ae3458177ec7f721598311a8ad04b2db5138)
2004-03-05BUG 488: fix the 'show client in col 1' button and corrctely enumerate ↵Gerald Carter1-1/+1
active connections (This used to be commit d77d38560d1bdc10a58408f449fbc320275bcacc)
2004-03-05fix compiler warningGerald Carter1-1/+1
(This used to be commit df19b6066e1f4e200adcd80f9526aa1a68509580)
2004-03-05Add -O (for writing downloaded files to standard out) based on patch byJelmer Vernooij1-65/+80
Bas van Sisseren <bas@dnd.utwente.nl> (This used to be commit cc164e5afb0f6100bde547674b3de88b7e45f31f)
2004-03-05bring WHATSNEW back up to dateGerald Carter1-8/+199
(This used to be commit 737b3a5a9286777b0ea38bed5f1e20a3c3859304)
2004-03-05all_string_sub() is broken as it doesn't handle mb chars correctly (andJeremy Allison2-18/+5
so breaks when substitution '/' and '\'). It's used by unix_clean_name(), which is used by reduce_name, which is used by check_name() (phew!). Now that we know all filenames passed to check_name() are in a "good" format (no double slashes, all '\\' chars translated to '/' etc.) due to the new check_path_syntax() we can avoid calling reduce_name unless widelinks are denied. After this check-in I can fix all_string_sub() to handle mb chars correctly as it won't be in the direct path in the main path handling code. Jeremy. (This used to be commit 6080186fc4c2e7c59dd12a177539bfb77eb525cb)
2004-03-04Fix my breakage of NT pipes from the previous patch (sorry). Use theJeremy Allison1-4/+1
original srvstr_pull_buf() function to get the pipename not srvstr_get_path(). Jeremy. (This used to be commit 2a263873fd6bbbf03a32136981e433dc43374da9)
2004-03-04BUG 1015: patch from jmcd to fix statfs redeclaration of statfs struct on ppcGerald Carter1-1/+3
(This used to be commit fafb243278cd33d696487e477d4685bb79e2e357)
2004-03-04BUG 1080: fix declaration of SMB_BIG_UINTGerald Carter1-12/+12
(This used to be commit 810bc1e2a02c6ab11ef00bf67b49929c596bee33)
2004-03-04There's a specific error message NT_STATUS_ALIAS_EXISTS.Volker Lendecke1-1/+1
(This used to be commit f0d99f318c67852ac5bf9b606faa115ad36a5f80)
2004-03-04Another typo, sorry for samba-cvs spam :-)Volker Lendecke1-1/+1
(This used to be commit 3e39d157cb94928a036f0497a9e255f6dbad1771)
2004-03-04Fix typo.Volker Lendecke1-1/+1
Volker (This used to be commit 8ba5bdc330114efbc86c851b71c58ac91ada7f31)
2004-03-04Fix build farm, older compilers won't let you declare variablesJim McDonough1-1/+1
right in the middle of the code. I just love catching jra on stuff like this, after all the crap I've done. :-) (This used to be commit dc7dc5175847243d821dd33c1678af1b785dfaf7)
2004-03-04BUG 848: don't create winbind local users/groups that already exist in the tdbGerald Carter1-3/+16
(This used to be commit 89da3df07b7d90ad19852046d0533673cff8fdc6)
2004-03-04another fix for bug 761; don't default to bsd printing on linuxGerald Carter1-9/+0
(This used to be commit d58139d64f37fe9fec34492d7857257d9ad4a808)
2004-03-03Added client "hardlink" commant to test doing NT rename with hard links.Jeremy Allison4-30/+136
Added hardlink_internals() code - UNIX extensions now use this too. Jeremy. (This used to be commit aad6eb2240393931940c982e25a981ce32264f38)
2004-03-03Use a common function to parse all pathnames from the wire. This allowsJeremy Allison9-136/+383
much closer emulation of Win2k3 error return codes. Jeremy. (This used to be commit c9f31fafeda6ad79e590276f36e03ecd2e93f818)
2004-03-03set log file to smbd.log for interaction with logrotate (BUG 503)Gerald Carter2-2/+6
(This used to be commit c800b5c2f99c27dd0a3f526dfdac0980412e1694)
2004-03-03more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2eJim McDonough1-2/+2
(This used to be commit 832674c099a3ff9bb747dba6235e47d40a930abd)
2004-03-03quick for for usrmgr. unknown_6 is really max dimension of logon hours ↵Jim McDonough1-30/+12
array. need to update passdb for this. (This used to be commit fbf909926b7d7b1e92ebeba44469392296c35c1a)
2004-03-02Merge fields_present function from HEAD. Now, a field will not be updatedJim McDonough1-116/+158
on setuserinfo levels which include this field, unless the corresponding bit (defined in passdb.h) is turned on. Without this, newer versions of usrmgr break us pretty bad. (This used to be commit 840340bd96d3c6693b451bc61e155b7b426271e4)
2004-03-02BUG 1129: patch from shiro@miraclelinux.com (Shiro Yamada) to install image ↵Gerald Carter1-0/+16
files for SWAT (This used to be commit a01a7fdbd93997185322d1faaa76c408f0ed2b1d)
2004-03-02Janitorial duty for tpot - --with-fhs fix.Jeremy Allison1-7/+14
Jeremy. (This used to be commit 64eded518b32a242880b5e85c9032bc212c3f1fb)
2004-03-02fix typo for callback bitJim McDonough1-1/+1
(This used to be commit 31a15164ffb3f551a5f7006e637036dc3b59bd22)
2004-03-02allow the 'printing' parameter to be set on a per share basis.Gerald Carter1-7/+29
The problem was that the current_printif struct was set during print_backend_init() based on the 'printcap name'. So you could not use cups and then override the setting for a specific printer by setting 'printing = bsd' (a common setup for pdf generation print services. There is a subtle change in behavior in that the print interface functions are selecting on the basis of lp_printing() and not lp_printcap_name(), but the new behavior seems more intuitive IMHO. (This used to be commit 14de9c065787bd1675021a6cd6555f81ea965f17)
2004-03-02BUG 761: read the config file before initialized default values for printing ↵Gerald Carter1-46/+50
options (This used to be commit d358f72974ce49bf2007c9b3b7314caa5897b4c1)
2004-03-01BUG 692: patch from SATOH Fumiyasu <fumiya@miraclelinux.com> to correct ↵Gerald Carter1-4/+4
truncation of share names and workgroup names (This used to be commit 822e31d841e720d48f4feeec673b75575caa8fac)
2004-03-01BUG 1147; bad pointer case in get_stored_queue_info() causing seg faultGerald Carter1-1/+1
(This used to be commit 91af1fb73a2e86a343c085128aaed2ef0c26de57)
2004-02-29net_rpc.c: Don't complain if [add|del]mem was successful.Volker Lendecke2-5/+5
srv_samr_nt.c: Correctly report that a user is not member of an alias. Volker (This used to be commit 540f625036871e7facd094fce49d7317f65f4ffd)
2004-02-29Print an informative error message if trying to add/remove members fromVolker Lendecke1-0/+6
something not a group. Volker (This used to be commit 73f26de5c0b6a6b9b78c22016986f3106bce7bfa)
2004-02-28Add 'net rpc group [add|del]mem' for domain groups and aliases.Volker Lendecke4-3/+732
Volker (This used to be commit e597420421e085b17dcdc062c5900518d0d4e685)
2004-02-28Fix my fix to net rpc group list. We can certainly have more than a singleVolker Lendecke1-3/+6
set of groups. Volker (This used to be commit e77fe4a77a6b0b8d92014edb073b36d01a1a5169)
2004-02-28Can't set allocation size on directories, return correct error code onJeremy Allison3-1/+18
fail if file exists and target is a directory. gentest. Jeremy. (This used to be commit f4a7ea6dc2b9f379a9c735670a49ac63818754c7)
2004-02-28More gentest fixes. Fix up regression in IS_NAME_VALID and renames.Jeremy Allison2-13/+34
Jeremy. (This used to be commit 367f5c3bc27aafb04f7589b3d4ac5b58189909fb)
2004-02-27Added copyrights I forgot about looong ago...Rafal Szczesniak2-2/+4
rafal (This used to be commit 33d1e2dd63e3dbf592a666ae48bc013a8198d008)
2004-02-26Fix for writable printerdata problem - bugzilla #1112.Tim Potter1-6/+12
(This used to be commit a05b9f0cc55300e2a25c87849a4417afea0cd867)