1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

11473 Commits

Author SHA1 Message Date
Alexander Bokovoy
8e0f0dbbbc Finish conversion of Filenames 0001-01-01 00:00:00 +00:00
Volker Lendecke
ecd0ee4d24 This is the netlogon schannel client code. Try a
rpcclient -S pdc -U% -c "samlogon user password"

and it should work with the schannel. Needs testing platforms
different from NT4SP6.

Volker
0001-01-01 00:00:00 +00:00
Gerald Carter
8fd9450c83 no needed anymore 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
84b116f9c0 Fix double free on error and typo 0001-01-01 00:00:00 +00:00
Alexander Bokovoy
0f8d5b210a Next batch of conversions: File names.
Fixed some wrong context marks (most of "hide ..." parameters are per-share)
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
49926d706f Use fprintf(f, ...) instead of plain printf() - patch by Ronan Waide 0001-01-01 00:00:00 +00:00
Volker Lendecke
6ac6b0f4c0 Auth2, not also Auth3 sends us flags back, although all the callers
ignore it.

Volker
0001-01-01 00:00:00 +00:00
Volker Lendecke
9fc3e4bf9f A little clarification in the rpc auth header struct.
Volker
0001-01-01 00:00:00 +00:00
Volker Lendecke
41e92409e1 Put the core schannel functions to parse_prs.c. They are also used by
schannel clients.

Volker
0001-01-01 00:00:00 +00:00
John Terpstra
f82b51bb01 Fixing typo. Metze made me do it! 0001-01-01 00:00:00 +00:00
Martin Pool
a55dc493ca 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.
0001-01-01 00:00:00 +00:00
John Terpstra
564d67f30a Making sure this info is not lost. Someone will eventually fix/update/extend/usurp it. 0001-01-01 00:00:00 +00:00
Martin Pool
79b292de98 StrCaseCmp tests: Add some tests in Katakana. Convert strings to
UTF-8 before passing to test harness.
0001-01-01 00:00:00 +00:00
Tim Potter
4e4ed2d25b 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.
0001-01-01 00:00:00 +00:00
Martin Pool
16b0917915 bin/smbcontrol needs to be built to run tpot's new tests of it. 0001-01-01 00:00:00 +00:00
Gerald Carter
c7c3d42cd5 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 0001-01-01 00:00:00 +00:00
Martin Pool
f01d94b027 Ignore .po and .po32 files. 0001-01-01 00:00:00 +00:00
Tim Potter
7bf68a533e Tests for smbcontrol. 0001-01-01 00:00:00 +00:00
Tim Potter
862e3ee421 Ignore testtmp directory. 0001-01-01 00:00:00 +00:00
Tim Potter
f75d4b90ca poptify smbcontrol 0001-01-01 00:00:00 +00:00
Tim Potter
269f838dee 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).
0001-01-01 00:00:00 +00:00
Martin Pool
b20d8b4970 Set character set to default (UTF-8) before running tests. 0001-01-01 00:00:00 +00:00
Martin Pool
92acecd28c 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.
0001-01-01 00:00:00 +00:00
Gerald Carter
4d42067cb8 forgotten merge left on disk; remove extra SAFE_FREE() 0001-01-01 00:00:00 +00:00
Tim Potter
d396f57678 Install libsmbclient.h from $(srcdir) 0001-01-01 00:00:00 +00:00
Tim Potter
69c392bc12 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.
0001-01-01 00:00:00 +00:00
Tim Potter
e37d025e67 Winbind client for AIX. Written by Steve Roylance. 0001-01-01 00:00:00 +00:00
Jeremy Allison
337cac7810 Ensure print queue array is zeroed out before returning.
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
f4be4e70a1 reworked to not malloc PATH_MAX long strings
corrected path_name creation
0001-01-01 00:00:00 +00:00
Alexander Bokovoy
a003a5f052 Update smbmount to include unicode and lfs capabilities options -- smbfs supports this already 0001-01-01 00:00:00 +00:00
Simo Sorce
9374f8692f some more debugging in case of failure 0001-01-01 00:00:00 +00:00
Martin Pool
275e095c92 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.
0001-01-01 00:00:00 +00:00
Alexander Bokovoy
6515b0cff8 Finish conversion of Printing parameters 0001-01-01 00:00:00 +00:00
Martin Pool
9de9899165 Merge from 1.2.2.2:
Update for new ComfyChair interface.
0001-01-01 00:00:00 +00:00
John Terpstra
7cb5af3527 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.
0001-01-01 00:00:00 +00:00
Tim Potter
5a5a7ce747 Added some preprocessor tricks to stop TRUE and FALSE from continually
creeping back in to the source.  Use True and False instead.
0001-01-01 00:00:00 +00:00
Martin Pool
e8f1399323 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.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
7c7c5594b3 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
0001-01-01 00:00:00 +00:00
Jim McDonough
0a5b5d00db Some comment updates, notably that I haven't seen the group membership arrays
yet (the ones that are rid-only).
0001-01-01 00:00:00 +00:00
John Terpstra
d3cf0eac0a Updated status. 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
1e1ef7a7b5 BUGS.txt -> Bugs Appendix in HOWTO collection 0001-01-01 00:00:00 +00:00
Simo Sorce
671579874e remove unnened and wrong instructions 0001-01-01 00:00:00 +00:00
Simo Sorce
99c2e11ccf fix wrong string handling
thanks to Stefan (metzte) Metzmacher
0001-01-01 00:00:00 +00:00
Jim McDonough
046c2087a1 Decode the PAC! This patch just decodes it and then frees it, so it's just
for doc purposes right now (you can see it in the debug logs).
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
69e37469c4 make installclientlib depend on the shared-linked or statically-linked version
of libsmbclient, depending on what is possible - pointed out by Paul Green
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
77b1589188 Don't make installclientlib depend on the shared-linked version of libsmbclient - we need it to work on other platforms as well 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
c4a02bf35b Some layout fixes + typo 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
c61de5bbac Regenerate docs 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
3d61303ea9 Regenerate docs 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
96aa93ea4f - Add &author.mimir; entity
- Several smaller layout and typo fixes
0001-01-01 00:00:00 +00:00