1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

12560 Commits

Author SHA1 Message Date
Jelmer Vernooij
f4db74e30a Fix double free on error and typo
(This used to be commit c131c128e3)
2003-04-09 14:51:17 +00:00
Jelmer Vernooij
3ae879a4d3 Fix double free on error and typo
(This used to be commit 84b116f9c0)
2003-04-09 14:49:34 +00:00
Alexander Bokovoy
a384176cb9 Next batch of conversions: File names.
Fixed some wrong context marks (most of "hide ..." parameters are per-share)
(This used to be commit 0f8d5b210a)
2003-04-09 14:38:24 +00:00
Jelmer Vernooij
291e8e4589 Use fprintf(f, ...) instead of plain printf() - patch by Ronan Waide
(This used to be commit 49926d706f)
2003-04-09 14:35:14 +00:00
Jelmer Vernooij
427fb4a281 Use fprintf(f, ...) instead of plain printf() - patch by Ronan Waide
(This used to be commit 890cc17c41)
2003-04-09 14:34:53 +00:00
Volker Lendecke
f88a3ebde4 Auth2, not also Auth3 sends us flags back, although all the callers
ignore it.

Volker
(This used to be commit 1e03e95545)
2003-04-09 10:10:13 +00:00
Volker Lendecke
a6e09de2fb Auth2, not also Auth3 sends us flags back, although all the callers
ignore it.

Volker
(This used to be commit 6ac6b0f4c0)
2003-04-09 10:09:32 +00:00
Volker Lendecke
42c18d5299 A little clarification in the rpc auth header struct.
Volker
(This used to be commit 36362c602b)
2003-04-09 09:54:26 +00:00
Volker Lendecke
d9440df579 A little clarification in the rpc auth header struct.
Volker
(This used to be commit 9fc3e4bf9f)
2003-04-09 09:52:57 +00:00
Volker Lendecke
d3b8ac6f96 Put the core schannel functions to parse_prs.c. They are also used by
schannel clients.

Volker
(This used to be commit 0f348a35d0)
2003-04-09 09:31:29 +00:00
Volker Lendecke
425797700b Put the core schannel functions to parse_prs.c. They are also used by
schannel clients.

Volker
(This used to be commit 41e92409e1)
2003-04-09 09:29:47 +00:00
John Terpstra
61c1aa4045 Fixing typo. Metze made me do it!
(This used to be commit f82b51bb01)
2003-04-09 07:42:54 +00:00
Martin Pool
786564f2b4 unix_strupper, unix_strlower: Remove fixed-length static buffer that
makes these functions fail for strings over 512 characters.  Now we
use convert_string_allocate, which grows a buffer as necessary.
(This used to be commit a55dc493ca)
2003-04-09 07:34:49 +00:00
John Terpstra
a47b9e61e0 Making sure this info is not lost. Someone will eventually fix/update/extend/usurp it.
(This used to be commit 564d67f30a)
2003-04-09 06:56:45 +00:00
Martin Pool
1e9be586c8 StrCaseCmp tests: Add some tests in Katakana. Convert strings to
UTF-8 before passing to test harness.
(This used to be commit 79b292de98)
2003-04-09 06:50:59 +00:00
Tim Potter
7f11621e1a Can I suggest this modification to the documentation Makefile? If
docbook2man fails then we shouldn't charge ahead with the rest of the
target commands and generate more confusing error messages.
(This used to be commit 4e4ed2d25b)
2003-04-09 06:15:58 +00:00
Martin Pool
91c9960eba bin/smbcontrol needs to be built to run tpot's new tests of it.
(This used to be commit 16b0917915)
2003-04-09 06:05:12 +00:00
Gerald Carter
1c2e2ba39e another forgotten merge sitting on my laptop from app_head; only stall open_printer when 2k client opens with admin privs & fix reply for ChangeId printer data reply
(This used to be commit c7c3d42cd5)
2003-04-09 06:02:56 +00:00
Martin Pool
bdca5d31c3 Ignore .po and .po32 files.
(This used to be commit f01d94b027)
2003-04-09 06:01:15 +00:00
Tim Potter
2988370510 Tests for smbcontrol.
(This used to be commit 7bf68a533e)
2003-04-09 05:57:00 +00:00
Tim Potter
a62cd3285a Ignore testtmp directory.
(This used to be commit 862e3ee421)
2003-04-09 05:55:33 +00:00
Tim Potter
e9c998df08 poptify smbcontrol
(This used to be commit f75d4b90ca)
2003-04-09 05:53:31 +00:00
Tim Potter
a72eafee54 Rewrite of smbcontrol - it was a bit of a mess. It should now be much
nicer to use and more hackable.

 - converted to popt

 - text message destinations (except for broadcast smbd) are resolved
   using files in piddir so the string 'winbindd' is now a destination

 - added --timeout option to specify timeout value

 - deleted complicated handling of debug args as separate command line
   arguments: use shell quoting instead

 - deleted interactive mode as punishment for using strtok() (-:

 - much improved command line argument checking

Some of this stuff was broken before I started (print notify,
profiling) but the basics still work (ping, pool-usage, debug,
debuglevel).
(This used to be commit 269f838dee)
2003-04-09 05:52:01 +00:00
Martin Pool
5b70d85047 Set character set to default (UTF-8) before running tests.
(This used to be commit b20d8b4970)
2003-04-09 05:31:39 +00:00
Gerald Carter
c618a8dae4 another forgotten merge sitting on my laptop from app_head; only stall open_printer when 2k client opens with admin privs & fix reply for ChangeId printer data reply
(This used to be commit 12eb3e9937)
2003-04-09 05:30:48 +00:00
Martin Pool
80cd7c552f t_push_ucs2, t_strcmp: Run tests only once by default, rather than
10000 times.  (In theory they should be pure functions....)  You can
specify a parameter to repeat them if you want to e.g. measure
performance.
(This used to be commit 92acecd28c)
2003-04-09 05:22:17 +00:00
Gerald Carter
ff8d6da5a3 forgotten merge left on disk; remove extra SAFE_FREE()
(This used to be commit 4d42067cb8)
2003-04-09 04:38:56 +00:00
Tim Potter
0aad60636d Install libsmbclient.h from $(srcdir)
(This used to be commit d396f57678)
2003-04-09 04:20:29 +00:00
Tim Potter
270f95f920 Install libsmbclient.h from $(srcdir)
(This used to be commit a02370eccc)
2003-04-09 04:19:57 +00:00
Tim Potter
e725e6a0b7 Autoconfiscate the name of the winbind shared library file. Under
IRIX this is libns_winbind - everyone else is libnss_winbind.

This simplifies the Makefile a bit and also fixes the 'nsswitch' target
under IRIX.
(This used to be commit 69c392bc12)
2003-04-09 04:05:42 +00:00
Tim Potter
117b2d78f0 Winbind client for AIX. Written by Steve Roylance.
(This used to be commit e37d025e67)
2003-04-09 03:51:52 +00:00
Jeremy Allison
667e6d8279 Ensure print queue array is zeroed out before returning.
Jeremy.
(This used to be commit 337cac7810)
2003-04-09 00:00:50 +00:00
Jeremy Allison
4b5548d8dc Ensure print queue array is zeroed out before returning.
Jeremy.
(This used to be commit f0fac6a1e3)
2003-04-09 00:00:08 +00:00
Simo Sorce
90290b166b reworked to not malloc PATH_MAX long strings
corrected path_name creation
(This used to be commit f4be4e70a1)
2003-04-08 17:34:16 +00:00
Alexander Bokovoy
b3e9dfc375 Update smbmount to include unicode and lfs capabilities options -- smbfs supports this already
(This used to be commit fbbb9a6660)
2003-04-08 15:38:38 +00:00
Alexander Bokovoy
a87d3b2cba Update smbmount to include unicode and lfs capabilities options -- smbfs supports this already
(This used to be commit a003a5f052)
2003-04-08 15:38:09 +00:00
Gerald Carter
b4f1061cca fixup extra SAFE_FREE()'s noticed by abartlet
(This used to be commit 51d330dcf3)
2003-04-08 14:06:27 +00:00
Simo Sorce
1eda5b4987 some more debugging in case of failure
(This used to be commit 9374f8692f)
2003-04-08 10:46:46 +00:00
Martin Pool
bce94d35f1 Integrate abartlet's t_push_ucs2 test into test framework:
- Build t_push_ucs2 as part of check-programs, the prerequisite for
   "make check".

 - t_push_ucs2.c: Load configuration from /dev/null so that we get a
   unix_charset of UTF-8 and can do meaningful UCS2 tests.  Better
   comment.

 - Add a test to strings.py which tries conversion UTF8->UCS2->UTF8
   and checks the results.  Do this for English, Latin-1, and Katakana
   strings.

 - Add Python module with symbolic names for a handful of UNICODE
   characters.
(This used to be commit 275e095c92)
2003-04-08 08:05:01 +00:00
Alexander Bokovoy
6cb4575b12 Finish conversion of Printing parameters
(This used to be commit 6515b0cff8)
2003-04-08 05:44:49 +00:00
Martin Pool
d3d0951a28 Merge from 1.2.2.2:
Update for new ComfyChair interface.
(This used to be commit 9de9899165)
2003-04-08 05:01:18 +00:00
John Terpstra
b610c18bd9 Patch from Steve Langasek <corlon@netexpress.net>
fix up two issues in
pam_smbpass.  The first, more important issue is adding support for the
(apparently new) LOCAL_SET_PASSWORD flag to local_password_change(),
without which pam_smbpass is a complete and utter no-op.  The second,
lesser issue is that with the advent of ldapsam, it's possible for
pam_smbpass to generate a SIGPIPE that isn't handled by the calling
application.  The most basic signal wrapping is put in place to prevent
this.

Beyond that, the only thing in the patch is a bit of reformatting to
make pam_smb_passwd.c look a bit more like the rest of the code in CVS.
(This used to be commit 7cb5af3527)
2003-04-08 04:44:26 +00:00
John Terpstra
b15255d7ab Patch from Steve Langasek <vorlon@netexpress.net>
fix up two issues in
pam_smbpass.  The first, more important issue is adding support for the
(apparently new) LOCAL_SET_PASSWORD flag to local_password_change(),
without which pam_smbpass is a complete and utter no-op.  The second,
lesser issue is that with the advent of ldapsam, it's possible for
pam_smbpass to generate a SIGPIPE that isn't handled by the calling
application.  The most basic signal wrapping is put in place to prevent
this.

Beyond that, the only thing in the patch is a bit of reformatting to
make pam_smb_passwd.c look a bit more like the rest of the code in CVS.
More of that later, I'm sure.
(This used to be commit 1aecda300e)
2003-04-08 04:42:44 +00:00
Tim Potter
09e9e5a2fd Added some preprocessor tricks to stop TRUE and FALSE from continually
creeping back in to the source.  Use True and False instead.
(This used to be commit 5a5a7ce747)
2003-04-08 04:07:22 +00:00
Martin Pool
65289c353b Merge from 3_0: Build a lookup table of valid DOS characters just
once, when init_iconv is first called.  Use this in check_dos_char
rather than doing the conversion every time.  Much faster.
(This used to be commit e8f1399323)
2003-04-08 03:01:02 +00:00
Andrew Bartlett
38ec539cf5 We never actually got an 'ads' auth module, so don't send the auth subsystem
off on a wild probing spree looking for it.

Andrew Bartlett
(This used to be commit 7c7c5594b3)
2003-04-07 23:45:22 +00:00
Jeremy Allison
8490fa4854 const cleanup.
Jeremy.
(This used to be commit 03ad0179e3)
2003-04-07 21:11:33 +00:00
Jim McDonough
1d247da97a Some comment updates, notably that I haven't seen the group membership arrays
yet (the ones that are rid-only).
(This used to be commit 0a5b5d00db)
2003-04-07 20:34:46 +00:00
John Terpstra
d530da3747 Updated status.
(This used to be commit d3cf0eac0a)
2003-04-07 19:25:28 +00:00
Jelmer Vernooij
b390459450 BUGS.txt -> Bugs appendix in HOWTO Collection
(This used to be commit f95741ae88)
2003-04-07 18:27:32 +00:00