Rafal Szczesniak
addfc95df2
Yet another '\n' termination of debug message.
...
rafal
(This used to be commit 3e57c2c685
)
2004-03-09 21:47:49 +00:00
Rafal Szczesniak
1fabcf0a12
Fix to debug message lacking termination with '\n'.
...
rafal
(This used to be commit 2a7dd46943
)
2004-03-09 18:58:19 +00:00
Gerald Carter
f089f978c2
fix build with gcc 2.96 and --with-developer
...
(This used to be commit 11fc4da07f
)
2004-03-09 15:29:16 +00:00
Andrew Bartlett
32665c36c8
Given how core this code is, I figure it should have it's own testsuite.
...
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 a893a324f3
)
2004-03-09 11:15:44 +00:00
Andrew Bartlett
151faf6935
JRA's recent strstr_m work really badly broke our string_sub code.
...
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 44d304f84c
)
2004-03-09 09:56:33 +00:00
Jeremy Allison
c9b7cbbfa5
Added strstr_m() function. Use in all places where we might run into mb
...
(should fix the mb service name problem, can't remember the bugid).
Jeremy.
(This used to be commit 94a272b9a8
)
2004-03-09 00:17:14 +00:00
Jeremy Allison
3f14e8eb9d
Fix assumption about following directory sep in check_path_syntax(). We
...
need to try and convert 1 byte, then 2 bytes if that fails. Fixes bug
reported by Simo.
Jeremy.
(This used to be commit 8702d00896
)
2004-03-08 21:54:54 +00:00
Volker Lendecke
b3b93aaa3f
Get us a little closer to Windows LSA semantics.
...
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 7ed61edbbe
)
2004-03-07 08:22:06 +00:00
Volker Lendecke
f52b1acb74
Mention wb_delgrpmem fix
...
(This used to be commit 97a6a67b34
)
2004-03-07 08:18:35 +00:00
Volker Lendecke
6659353bd9
This might not be used a lot and might not survive for long, but at least it
...
should work as expected :-)
Fix wb_delgrpmember.
Volker
(This used to be commit 9fc0025d12
)
2004-03-07 08:16:10 +00:00
Tim Potter
83d4d42462
Fix typo.
...
(This used to be commit e6e8b59f53
)
2004-03-07 01:14:11 +00:00
Tim Potter
5e412188e9
Merge from HEAD.
...
(This used to be commit 89f3173f4f
)
2004-03-07 00:50:37 +00:00
Tim Potter
bc8b6cd9eb
Merge from HEAD.
...
(This used to be commit 1bba071126
)
2004-03-07 00:09:36 +00:00
Jeremy Allison
48eb635f31
Several mb tidyups - getting ready to address the XXX_sub function.
...
Jeremy.
(This used to be commit 92c3ae3458
)
2004-03-05 22:32:45 +00:00
Gerald Carter
474758956c
BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections
...
(This used to be commit d77d38560d
)
2004-03-05 18:37:01 +00:00
Gerald Carter
cb49c07c98
fix compiler warning
...
(This used to be commit df19b6066e
)
2004-03-05 17:39:38 +00:00
Jelmer Vernooij
6643781811
Add -O (for writing downloaded files to standard out) based on patch by
...
Bas van Sisseren <bas@dnd.utwente.nl>
(This used to be commit cc164e5afb
)
2004-03-05 17:17:31 +00:00
Gerald Carter
fe43107ff1
bring WHATSNEW back up to date
...
(This used to be commit 737b3a5a92
)
2004-03-05 15:37:08 +00:00
Jeremy Allison
893d5eba5d
all_string_sub() is broken as it doesn't handle mb chars correctly (and
...
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 6080186fc4
)
2004-03-05 01:37:12 +00:00
Jeremy Allison
4020fadb1a
Fix my breakage of NT pipes from the previous patch (sorry). Use the
...
original srvstr_pull_buf() function to get the pipename not srvstr_get_path().
Jeremy.
(This used to be commit 2a263873fd
)
2004-03-04 18:55:37 +00:00
Gerald Carter
9b882ce3e5
BUG 1015: patch from jmcd to fix statfs redeclaration of statfs struct on ppc
...
(This used to be commit fafb243278
)
2004-03-04 18:34:45 +00:00
Gerald Carter
7f6d708f86
BUG 1080: fix declaration of SMB_BIG_UINT
...
(This used to be commit 810bc1e2a0
)
2004-03-04 18:17:01 +00:00
Volker Lendecke
51deca6bc9
There's a specific error message NT_STATUS_ALIAS_EXISTS.
...
(This used to be commit f0d99f318c
)
2004-03-04 17:57:21 +00:00
Volker Lendecke
5dc2b72f9b
Another typo, sorry for samba-cvs spam :-)
...
(This used to be commit 3e39d157cb
)
2004-03-04 17:51:29 +00:00
Volker Lendecke
869561ad76
Fix typo.
...
Volker
(This used to be commit 8ba5bdc330
)
2004-03-04 17:47:14 +00:00
Jim McDonough
7dc6dd5884
Fix build farm, older compilers won't let you declare variables
...
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 dc7dc51758
)
2004-03-04 16:24:13 +00:00
Gerald Carter
e7efbb588a
BUG 848: don't create winbind local users/groups that already exist in the tdb
...
(This used to be commit 89da3df07b
)
2004-03-04 15:59:11 +00:00
Gerald Carter
43dd09f9da
another fix for bug 761; don't default to bsd printing on linux
...
(This used to be commit d58139d64f
)
2004-03-04 15:18:36 +00:00
Jeremy Allison
f0039da196
Added client "hardlink" commant to test doing NT rename with hard links.
...
Added hardlink_internals() code - UNIX extensions now use this too.
Jeremy.
(This used to be commit aad6eb2240
)
2004-03-03 23:14:23 +00:00
Jeremy Allison
fba5a72249
Use a common function to parse all pathnames from the wire. This allows
...
much closer emulation of Win2k3 error return codes.
Jeremy.
(This used to be commit c9f31fafed
)
2004-03-03 20:55:59 +00:00
Gerald Carter
7ac1750de2
set log file to smbd.log for interaction with logrotate (BUG 503)
...
(This used to be commit c800b5c2f9
)
2004-03-03 17:56:29 +00:00
Jim McDonough
b737769a74
more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2e
...
(This used to be commit 832674c099
)
2004-03-03 17:44:00 +00:00
Jim McDonough
8d12b8768a
quick for for usrmgr. unknown_6 is really max dimension of logon hours array. need to update passdb for this.
...
(This used to be commit fbf909926b
)
2004-03-03 04:23:43 +00:00
Jim McDonough
78b8f3ca0c
Merge fields_present function from HEAD. Now, a field will not be updated
...
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 840340bd96
)
2004-03-02 21:02:09 +00:00
Gerald Carter
08d03a7039
BUG 1129: patch from shiro@miraclelinux.com (Shiro Yamada) to install image files for SWAT
...
(This used to be commit a01a7fdbd9
)
2004-03-02 18:10:12 +00:00
Jeremy Allison
5f4b6ae77a
Janitorial duty for tpot - --with-fhs fix.
...
Jeremy.
(This used to be commit 64eded518b
)
2004-03-02 18:07:06 +00:00
Jim McDonough
db61673019
fix typo for callback bit
...
(This used to be commit 31a15164ff
)
2004-03-02 18:04:16 +00:00
Gerald Carter
ef36785beb
allow the 'printing' parameter to be set on a per share basis.
...
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 14de9c0657
)
2004-03-02 14:26:45 +00:00
Gerald Carter
62a7e258a3
BUG 761: read the config file before initialized default values for printing options
...
(This used to be commit d358f72974
)
2004-03-02 04:09:39 +00:00
Gerald Carter
659d6a2b61
BUG 692: patch from SATOH Fumiyasu <fumiya@miraclelinux.com> to correct truncation of share names and workgroup names
...
(This used to be commit 822e31d841
)
2004-03-01 17:40:40 +00:00
Gerald Carter
1fe6e29637
BUG 1147; bad pointer case in get_stored_queue_info() causing seg fault
...
(This used to be commit 91af1fb73a
)
2004-03-01 17:03:05 +00:00
Volker Lendecke
c4877403a0
net_rpc.c: Don't complain if [add|del]mem was successful.
...
srv_samr_nt.c: Correctly report that a user is not member of an alias.
Volker
(This used to be commit 540f625036
)
2004-02-29 16:34:33 +00:00
Volker Lendecke
efd357b732
Print an informative error message if trying to add/remove members from
...
something not a group.
Volker
(This used to be commit 73f26de5c0
)
2004-02-29 12:47:45 +00:00
Volker Lendecke
a92de03d9e
Add 'net rpc group [add|del]mem' for domain groups and aliases.
...
Volker
(This used to be commit e597420421
)
2004-02-28 18:41:16 +00:00
Volker Lendecke
0e2de3d27e
Fix my fix to net rpc group list. We can certainly have more than a single
...
set of groups.
Volker
(This used to be commit e77fe4a77a
)
2004-02-28 08:18:09 +00:00
Jeremy Allison
3fb52e5cc0
Can't set allocation size on directories, return correct error code on
...
fail if file exists and target is a directory. gentest.
Jeremy.
(This used to be commit f4a7ea6dc2
)
2004-02-28 01:53:30 +00:00
Jeremy Allison
3c1d00d12a
More gentest fixes. Fix up regression in IS_NAME_VALID and renames.
...
Jeremy.
(This used to be commit 367f5c3bc2
)
2004-02-28 00:56:42 +00:00
Rafal Szczesniak
c0b23c6c8c
Added copyrights I forgot about looong ago...
...
rafal
(This used to be commit 33d1e2dd63
)
2004-02-27 22:15:38 +00:00
Tim Potter
9d3529105e
Fix for writable printerdata problem - bugzilla #1112 .
...
(This used to be commit a05b9f0cc5
)
2004-02-26 23:04:11 +00:00
Volker Lendecke
e1190848a1
That const was one too many
...
(This used to be commit 005d92d57e
)
2004-02-26 14:34:44 +00:00