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

10916 Commits

Author SHA1 Message Date
Volker Lendecke
7238bf5f40 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 against platforms
different from NT4SP6.

Volker
(This used to be commit eaef0d8aef)
2003-04-09 15:54:17 +00:00
Gerald Carter
f0121aa901 no needed anymore
(This used to be commit 9d0a82078c)
2003-04-09 15:33:59 +00:00
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
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
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
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
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
Tim Potter
270f95f920 Install libsmbclient.h from $(srcdir)
(This used to be commit a02370eccc)
2003-04-09 04:19:57 +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
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
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
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
Jeremy Allison
8490fa4854 const cleanup.
Jeremy.
(This used to be commit 03ad0179e3)
2003-04-07 21:11:33 +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
Simo Sorce
98a57e6032 ooops new_dir is already len +1 bytes
(This used to be commit ffd0d643c2)
2003-04-07 18:13:03 +00:00
Simo Sorce
a648f57bfe check braindead safe_* function length interpretation is correct
(This used to be commit b4a5362f04)
2003-04-07 18:11:24 +00:00
Simo Sorce
898b37202e remove unneded instruction
(This used to be commit a6bc706625)
2003-04-07 18:04:44 +00:00
cvs2svn Import User
951aec08e8 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 43f21c87e1) 2003-04-07 15:02:52 +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
Andrew Bartlett
a48d89bb9d Make this match head.
(This used to be commit a718630961)
2003-04-07 07:37:46 +00:00
Andrew Bartlett
d23b35a65f Winbind merges from HEAD:
- fix winbindd_pam bugs
 - give a better error message for unauthorized access to auth_crap
 - show this message in wbinfo
 - fix spelling: privilaged -> privileged
   ** This changes the location of the winbindd privileged pipe **
   (thanks to tpot)

Andrew Bartlett
(This used to be commit 92c2a33483)
2003-04-07 07:32:51 +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
Andrew Bartlett
6dce8c678a Merge the ntlm_auth updates (refactor, add --diagnostics) into Samba 3.0
Andrew Bartlett
(This used to be commit d711a1c95c)
2003-04-07 07:10:53 +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
185346635a Merge from HEAD - restore previous behaviour of pdb_unix (auto upgrade to
add on update)
(This used to be commit 3ebecc662e)
2003-04-07 04:53:07 +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
Andrew Bartlett
88ed48d0f9 SMB signing updates - this gets NTLMSSP signing workin to the point where I
just need to get the verifiction code working - we get back a signiture from
the server, and just can't verify it yet.

This also brings the short-packet checks into common code, and breaks the
connection if the server sends a signed reply, on an established connection,
that fails the test.

This breaks our read/write code at the moment, as we need to keep a list
of outstanding packets.

(signing is not enabled by default, unless the server demands it)

Not for 3.0 till I fix the outstanding packet list.

Andrew Barlett
(This used to be commit 808d1fcf20)
2003-04-06 13:08:07 +00:00
Andrew Bartlett
c5ab17567c Fix memory leak of the key.
(This used to be commit 9daf41c41f)
2003-04-06 13:00:46 +00:00
Andrew Bartlett
00a8443a51 Don't bail if we have a badly formed record, just move on to the next one.
(This used to be commit febd966b10)
2003-04-06 12:59:53 +00:00
Andrew Tridgell
f82c61cefe strequal() returns True for equal, not an int
(This used to be commit b96590ad09)
2003-04-06 12:28:50 +00:00
Andrew Tridgell
06ee9702a0 don't rely on realloc() working on NULL
(This used to be commit bd00355c1d)
2003-04-06 12:28:00 +00:00
Andrew Bartlett
854c5d60bd If the string does not convert back, print the buggy result.
(This used to be commit 98f7632554)
2003-04-06 12:01:44 +00:00
Andrew Bartlett
fbd5367245 Fix bigballofmud.so, and add a test to show a bug I'm having with push_ucs2.
Andrew Bartlett
(This used to be commit a60fd29b43)
2003-04-06 11:19:26 +00:00
Simo Sorce
0ac2b38001 This commit make winbindd copy winbindd_idmap.tdb into idmap.tdb on the
first run if idmap.tdb is not found, and then eventually convert it to the
new format.
This is done to unify winbind and idmap databases and to make a backup of
winbindd_idmap.tdb in case you want to downgrade (of course it will not be
updated).
This is needed because idmap.tdb contains also local mappings, not only
foreign domains mappings.

Added some other fixes/improvements

Simo.
(This used to be commit cf17261519)
2003-04-06 09:35:16 +00:00
Volker Lendecke
b4d0f208fb Merge the TNG netlogon schannel from HEAD.
No more XP requiresignorseal anymore!

Thanks again to Luke :-)

Volker
(This used to be commit 6b2b55901d)
2003-04-06 07:04:09 +00:00
Richard Sharpe
588b1978a1 Make autogen.sh more portable by having it work on both Linux and FreeBSD
under sh and bash.
(This used to be commit 4070ff1c69)
2003-04-06 02:46:10 +00:00
Jelmer Vernooij
35833e5aaf Fix building on platforms without ldap
(This used to be commit 3f78ea7d06)
2003-04-06 01:08:39 +00:00
Richard Sharpe
35292596d8 Fix debug handling in libsmbclient.c.
Also, PLEASE, PLEASE, PLEASE, do not include bashism and Cisms in shell
scripts.
(This used to be commit 7f6367aac8)
2003-04-05 19:41:33 +00:00
Simo Sorce
2c1f725820 some more idmapping :)
(This used to be commit 5ac94535d7)
2003-04-05 08:53:23 +00:00
Andrew Bartlett
dfa7c87a18 Ensure we don't segfault if ldap doesn't fill in the ld_error string (merge from HEAD).
Andrew Bartlett
(This used to be commit be27fa2986)
2003-04-05 05:11:50 +00:00
Richard Sharpe
a59565bf38 Some more good stuff from coolo.
(This used to be commit 41b320ffc5)
2003-04-04 23:39:16 +00:00
Jelmer Vernooij
192f0cbd82 Replace .so by .$SHLIBEXT
(This used to be commit 57bd342c30)
2003-04-04 23:32:51 +00:00