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

10106 Commits

Author SHA1 Message Date
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
-
Gerald Carter
8fd9450c83 no needed anymore -
Jelmer Vernooij
84b116f9c0 Fix double free on error and typo -
Jelmer Vernooij
49926d706f Use fprintf(f, ...) instead of plain printf() - patch by Ronan Waide -
Volker Lendecke
6ac6b0f4c0 Auth2, not also Auth3 sends us flags back, although all the callers
ignore it.

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

Volker
-
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.
-
Martin Pool
79b292de98 StrCaseCmp tests: Add some tests in Katakana. Convert strings to
UTF-8 before passing to test harness.
-
Martin Pool
16b0917915 bin/smbcontrol needs to be built to run tpot's new tests of it. -
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 -
Martin Pool
f01d94b027 Ignore .po and .po32 files. -
Tim Potter
7bf68a533e Tests for smbcontrol. -
Tim Potter
862e3ee421 Ignore testtmp directory. -
Tim Potter
f75d4b90ca poptify smbcontrol -
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).
-
Martin Pool
b20d8b4970 Set character set to default (UTF-8) before running tests. -
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.
-
Gerald Carter
4d42067cb8 forgotten merge left on disk; remove extra SAFE_FREE() -
Tim Potter
d396f57678 Install libsmbclient.h from $(srcdir) -
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.
-
Tim Potter
e37d025e67 Winbind client for AIX. Written by Steve Roylance. -
Jeremy Allison
337cac7810 Ensure print queue array is zeroed out before returning.
Jeremy.
-
Simo Sorce
f4be4e70a1 reworked to not malloc PATH_MAX long strings
corrected path_name creation
-
Alexander Bokovoy
a003a5f052 Update smbmount to include unicode and lfs capabilities options -- smbfs supports this already -
Simo Sorce
9374f8692f some more debugging in case of failure -
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.
-
Martin Pool
9de9899165 Merge from 1.2.2.2:
Update for new ComfyChair interface.
-
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.
-
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.
-
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.
-
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
-
Jim McDonough
0a5b5d00db Some comment updates, notably that I haven't seen the group membership arrays
yet (the ones that are rid-only).
-
Jelmer Vernooij
1e1ef7a7b5 BUGS.txt -> Bugs Appendix in HOWTO collection -
Simo Sorce
671579874e remove unnened and wrong instructions -
Simo Sorce
99c2e11ccf fix wrong string handling
thanks to Stefan (metzte) Metzmacher
-
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).
-
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
-
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 -
Jelmer Vernooij
8f2975cc94 Fix build of static libsmbclient -
Andrew Bartlett
9656b87091 Only warn about short packets if we are already 'doing signing'.
Andrew Bartlett
-
Tim Potter
1d7400e679 Create a pidfile, even when running in interactive mode. -
Tim Potter
f111f10076 privilaged -> privileged
(This changes the location of the winbindd privileged pipe)
-
Tim Potter
af6ecafcbb Remove duplicate "tallocdump" message from tdb messaging system. The
same functionality exists as "pool-usage".

Move initialisation of this and dmalloc messages inside message_init().
-
Andrew Bartlett
0509cbc591 Restore previous behaviour to update on pdb_unix (auto-upgrade to new account) -
Richard Sharpe
15fa48d19d Fix the handling of smb.conf in libsmbclient.
The right thing to do is to try for the user's local one in ~/.smbc/smb.conf,
and if that fails, try the one in dyn_CONFIGFILE, and if that fails, keep
going with the defaults but log a message.
-
Simo Sorce
ad1a2ab0d6 fix commit -
Andrew Bartlett
b010b6c2dc Clean up error messages on cli pipe disconnection, including adding the message
for broken-due-to-bad-sig.

Andrew Bartlett
-
Alexander Bokovoy
e46177acec Fix some mixture of FLAG_GLOBAL|FLAG_SHARE in synonyms -
Andrew Bartlett
dc04b732ba Fix the interface of pull_ucs2_charcnv() to take a (char **) arg, not a (void **) -