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

10106 Commits

Author SHA1 Message Date
Volker Lendecke
803e23f403 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
(This used to be commit ecd0ee4d24)
2003-04-09 15:47:06 +00:00
Gerald Carter
83479a9dc9 no needed anymore
(This used to be commit 8fd9450c83)
2003-04-09 15:34:12 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jelmer Vernooij
d1c6c05ab0 BUGS.txt -> Bugs Appendix in HOWTO collection
(This used to be commit 1e1ef7a7b5)
2003-04-07 18:26:58 +00:00
Simo Sorce
eac27adfb3 remove unnened and wrong instructions
(This used to be commit 671579874e)
2003-04-07 18:05:35 +00:00
Simo Sorce
3b89c0656c fix wrong string handling
thanks to Stefan (metzte) Metzmacher
(This used to be commit 99c2e11ccf)
2003-04-07 18:03:02 +00:00
Jim McDonough
31e21b67d9 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).
(This used to be commit 046c2087a1)
2003-04-07 18:01:40 +00:00
Jelmer Vernooij
c2fc81156c make installclientlib depend on the shared-linked or statically-linked version
of libsmbclient, depending on what is possible - pointed out by Paul Green
(This used to be commit 69e37469c4)
2003-04-07 17:36:59 +00:00
Jelmer Vernooij
b11e5b1342 Don't make installclientlib depend on the shared-linked version of libsmbclient - we need it to work on other platforms as well
(This used to be commit 77b1589188)
2003-04-07 16:44:08 +00:00
Jelmer Vernooij
e5f2a77971 Fix build of static libsmbclient
(This used to be commit 8f2975cc94)
2003-04-07 11:46:44 +00:00
Andrew Bartlett
a8f7eaee51 Only warn about short packets if we are already 'doing signing'.
Andrew Bartlett
(This used to be commit 9656b87091)
2003-04-07 09:35:35 +00:00
Tim Potter
6254b9bd44 Create a pidfile, even when running in interactive mode.
(This used to be commit 1d7400e679)
2003-04-07 07:12:25 +00:00
Tim Potter
69e41084b9 privilaged -> privileged
(This changes the location of the winbindd privileged pipe)
(This used to be commit f111f10076)
2003-04-07 06:43:16 +00:00
Tim Potter
25b1c37f6f 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().
(This used to be commit af6ecafcbb)
2003-04-07 06:13:36 +00:00
Andrew Bartlett
998d65d502 Restore previous behaviour to update on pdb_unix (auto-upgrade to new account)
(This used to be commit 0509cbc591)
2003-04-07 04:52:30 +00:00
Richard Sharpe
f4cc85c6c9 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.
(This used to be commit 15fa48d19d)
2003-04-06 17:22:41 +00:00
Simo Sorce
df883f35b2 fix commit
(This used to be commit ad1a2ab0d6)
2003-04-06 16:01:18 +00:00
Andrew Bartlett
ffe91a3526 Clean up error messages on cli pipe disconnection, including adding the message
for broken-due-to-bad-sig.

Andrew Bartlett
(This used to be commit b010b6c2dc)
2003-04-06 13:19:49 +00:00
Alexander Bokovoy
a1283a6bf0 Fix some mixture of FLAG_GLOBAL|FLAG_SHARE in synonyms
(This used to be commit e46177acec)
2003-04-06 13:16:28 +00:00
Andrew Bartlett
6187ebe30c Fix the interface of pull_ucs2_charcnv() to take a (char **) arg, not a (void **)
(This used to be commit dc04b732ba)
2003-04-06 13:11:29 +00:00