1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

16306 Commits

Author SHA1 Message Date
Tim Potter
1bba071126 Merge from HEAD. -
Tim Potter
311bbf41ec tdbdump doesn't need to #include <sys/mman.h>
Bugzilla #1154.
-
Jeremy Allison
92c3ae3458 Several mb tidyups - getting ready to address the XXX_sub function.
Jeremy.
-
Jeremy Allison
13edba472a Several mb tidyups - getting ready to address the XXX_sub function.
Jeremy.
-
Gerald Carter
f0e454f6eb BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections -
Gerald Carter
d77d38560d BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections -
Gerald Carter
7153cbf8cb fix compiler warning -
Gerald Carter
df19b6066e fix compiler warning -
Jelmer Vernooij
a90df1c170 Add -O (write downloaded files to stdout), based on patch from
Bas van Sisseren <bas@dnd.utwente.nl>
-
Jelmer Vernooij
cc164e5afb Add -O (for writing downloaded files to standard out) based on patch by
Bas van Sisseren <bas@dnd.utwente.nl>
-
Gerald Carter
737b3a5a92 bring WHATSNEW back up to date -
Jeremy Allison
bce0678331 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.
-
Jeremy Allison
6080186fc4 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.
-
Jeremy Allison
2a263873fd 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.
-
Jeremy Allison
ac5e0c4bb6 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.
-
Gerald Carter
d9a9e214a8 BUG 1015: patch from jmcd to fix statfs redeclaration of statfs struct on ppc -
Gerald Carter
fafb243278 BUG 1015: patch from jmcd to fix statfs redeclaration of statfs struct on ppc -
Gerald Carter
0b17a4105e BUG 1080: fix declaration of SMB_BIG_UINT -
Gerald Carter
810bc1e2a0 BUG 1080: fix declaration of SMB_BIG_UINT -
Volker Lendecke
0ad00bce07 There's a specific error message NT_STATUS_ALIAS_EXISTS. -
Volker Lendecke
f0d99f318c There's a specific error message NT_STATUS_ALIAS_EXISTS. -
Volker Lendecke
3e39d157cb Another typo, sorry for samba-cvs spam :-) -
Volker Lendecke
da59bab769 Another typo, sorry for samba-cvs spam :-) -
Volker Lendecke
6287141f10 Fix typo.
Volker
-
Volker Lendecke
8ba5bdc330 Fix typo.
Volker
-
Jim McDonough
217791cab2 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. :-)
-
Jim McDonough
dc7dc51758 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. :-)
-
Gerald Carter
00c998c503 BUG 848: don't create winbind local users/groups that already exist in the tdb -
Gerald Carter
89da3df07b BUG 848: don't create winbind local users/groups that already exist in the tdb -
Gerald Carter
29bc83080f another fix for bug 761; don't default to bsd printing on linux -
Gerald Carter
d58139d64f another fix for bug 761; don't default to bsd printing on linux -
Jeremy Allison
aad6eb2240 Added client "hardlink" commant to test doing NT rename with hard links.
Added hardlink_internals() code - UNIX extensions now use this too.
Jeremy.
-
Jeremy Allison
3f2b9f10de Added client "hardlink" commant to test doing NT rename with hard links.
Added hardlink_internals() code - UNIX extensions now use this too.
Jeremy.
-
Jeremy Allison
c9f31fafed Use a common function to parse all pathnames from the wire. This allows
much closer emulation of Win2k3 error return codes.
Jeremy.
-
Jeremy Allison
883f89a018 Use a common function to parse all pathnames from the wire. This allows
much closer emulation of Win2k3 error return codes.
Jeremy.
-
Gerald Carter
c800b5c2f9 set log file to smbd.log for interaction with logrotate (BUG 503) -
Jim McDonough
95e7cfdb19 more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2e -
Jim McDonough
832674c099 more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2e -
Jim McDonough
1d3079bf4c quick for for usrmgr. unknown_6 is really max dimension of logon hours array. need to update passdb for this. -
Jim McDonough
fbf909926b quick for for usrmgr. unknown_6 is really max dimension of logon hours array. need to update passdb for this. -
Jim McDonough
840340bd96 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.
-
Gerald Carter
42d8455a02 BUG 1129: patch from shiro@miraclelinux.com (Shiro Yamada) to install image files for SWAT -
Gerald Carter
a01a7fdbd9 BUG 1129: patch from shiro@miraclelinux.com (Shiro Yamada) to install image files for SWAT -
Jeremy Allison
64eded518b Janitorial duty for tpot - --with-fhs fix.
Jeremy.
-
Jim McDonough
c1b1a1961f fix typo for callback bit -
Jim McDonough
31a15164ff fix typo for callback bit -
Simo Sorce
90640a523e Let's be polite with poorer backends ;-) -
Volker Lendecke
6cad5bcc28 This adds winbind-generated groups showing up in 'getent group'. It is not
very efficient though, it only does one group at a time. Needs improving, but
the structures are not particularly easy to set up, so check in the basically
working part for others to review.

I'm close to saying that I would like to remove aliases from general group
mapping. These can not be reflected correctly in /etc/group, winbind could do
a better job here.

And having aliases only on machines with nss_winbind at least for me is not a
too severe limitation.

Comments?

Volker
-
Gerald Carter
e721255e8f 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.
-
Gerald Carter
14de9c0657 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.
-