1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

10911 Commits

Author SHA1 Message Date
Volker Lendecke
42c18d5299 A little clarification in the rpc auth header struct.
Volker
(This used to be commit 36362c602ba03ae5e89956b16820d5dff580bee7)
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 0f348a35d09ff020837119157ef7f4b9e6f07643)
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 12eb3e993788eb8bc0e9eb62e60a8b55079df5ad)
2003-04-09 05:30:48 +00:00
Tim Potter
270f95f920 Install libsmbclient.h from $(srcdir)
(This used to be commit a02370eccc1b26c12fd3b5e29aaf041a9feed197)
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 f0fac6a1e3574d2d0419968b8e806b5de91f5a81)
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 fbbb9a6660e1e384d7a4ff4c5fe2d077246bedd1)
2003-04-08 15:38:38 +00:00
Gerald Carter
b4f1061cca fixup extra SAFE_FREE()'s noticed by abartlet
(This used to be commit 51d330dcf3bd74367fc18f4229a9cfa0392f0b36)
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 1aecda300e0b44c133fe0cd2bafb166621dbc17a)
2003-04-08 04:42:44 +00:00
Jeremy Allison
8490fa4854 const cleanup.
Jeremy.
(This used to be commit 03ad0179e343c2c5066f9df7594e6f928d737894)
2003-04-07 21:11:33 +00:00
Jelmer Vernooij
b390459450 BUGS.txt -> Bugs appendix in HOWTO Collection
(This used to be commit f95741ae882ad1d1e7f709e30ea3bae02a4aff2d)
2003-04-07 18:27:32 +00:00
Simo Sorce
98a57e6032 ooops new_dir is already len +1 bytes
(This used to be commit ffd0d643c224e9169737e7dbfef40cab46fde8f3)
2003-04-07 18:13:03 +00:00
Simo Sorce
a648f57bfe check braindead safe_* function length interpretation is correct
(This used to be commit b4a5362f04a7798e627c6dce6296165ed1719fca)
2003-04-07 18:11:24 +00:00
Simo Sorce
898b37202e remove unneded instruction
(This used to be commit a6bc706625ad0bb16c11e20d533c536447a661a0)
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 43f21c87e12fe88dab6ccba13c2e54161cf87093) 2003-04-07 15:02:52 +00:00
Jelmer Vernooij
e5f2a77971 Fix build of static libsmbclient
(This used to be commit 8f2975cc94c766b184bbbca276d5a05801dc835a)
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 9656b8709128f24dd63094d504a6646f99933c57)
2003-04-07 09:35:35 +00:00
Andrew Bartlett
a48d89bb9d Make this match head.
(This used to be commit a718630961e713ca2bacc98ad0b7c2e996e20bf5)
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 92c2a33483cc9ddd1dd627224192a3023f8caff8)
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 1d7400e679df136f03daf79788ea998c5a787f89)
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 d711a1c95c92f5a89b43bf29bba8460b870d3b3a)
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 f111f10076c7797e5fd39edcc0aad7d860bb5ac5)
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 af6ecafcbbf65dbedc49b3a86da39ce608bdadac)
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 3ebecc662e0ace4a87153aabe644dcf18969435b)
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 0509cbc59174354b7c57206a07f7bd222cc87db4)
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 15fa48d19d178cf8bf214ea02f6c7a4c38890f71)
2003-04-06 17:22:41 +00:00
Simo Sorce
df883f35b2 fix commit
(This used to be commit ad1a2ab0d6330a0b0fbce7b30ec5f6f502133921)
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 b010b6c2dc400a97eb2ad038cd1fdb34bbde2ef0)
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 e46177acecef375aaea35704a513d9e7f8bf04a8)
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 dc04b732baa0848e391baf7f148218a10e0af032)
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 808d1fcf20153970d587cb631a08607beb09703a)
2003-04-06 13:08:07 +00:00
Andrew Bartlett
c5ab17567c Fix memory leak of the key.
(This used to be commit 9daf41c41f901b46d6016c6ec63773d0b7cec617)
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 febd966b10b23238c93444256b8ad30b50b20ef8)
2003-04-06 12:59:53 +00:00
Andrew Tridgell
f82c61cefe strequal() returns True for equal, not an int
(This used to be commit b96590ad092e32259ce24a20a6a8a30d98dfae7d)
2003-04-06 12:28:50 +00:00
Andrew Tridgell
06ee9702a0 don't rely on realloc() working on NULL
(This used to be commit bd00355c1d5ca4ce77fa28c53ea46834365f22d7)
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 98f76325542c0ab2e0bbcf082a15c6f8db27e37c)
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 a60fd29b43537935500f40a32fec553f2b52c0d3)
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 cf17261519fd8775500f9b9d6caa2bc462e04633)
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 6b2b55901d66cab0c0c0c90bd0585c870be6e468)
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 4070ff1c6907c0cc3a86db735e7df25352dfb625)
2003-04-06 02:46:10 +00:00
Jelmer Vernooij
35833e5aaf Fix building on platforms without ldap
(This used to be commit 3f78ea7d06ae911f97c0a1a451e67fe00547e873)
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 7f6367aac8c5440e1d4e97b26571b205140488ae)
2003-04-05 19:41:33 +00:00
Simo Sorce
2c1f725820 some more idmapping :)
(This used to be commit 5ac94535d7b7ce0cc0d44b9a77d6e42ddfd0cd26)
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 be27fa2986767fca1876ea5f886d9fb4c7000660)
2003-04-05 05:11:50 +00:00
Richard Sharpe
a59565bf38 Some more good stuff from coolo.
(This used to be commit 41b320ffc560117c0184999e30cc69723f40acbe)
2003-04-04 23:39:16 +00:00
Jelmer Vernooij
192f0cbd82 Replace .so by .$SHLIBEXT
(This used to be commit 57bd342c308366bbaa16574ba03b7e73f1e4060e)
2003-04-04 23:32:51 +00:00
Jelmer Vernooij
8f19f82256 Replace 'so' by $SHLIBEXT
(This used to be commit d0a767a7653f3fef846c62e9a0a20bcc68d87559)
2003-04-04 23:31:09 +00:00
Jelmer Vernooij
298c282468 Use $SHLIBEXT rather then so
(This used to be commit 657e6b6ca04461178946492b5355542c345fbfcb)
2003-04-04 23:22:19 +00:00
Jelmer Vernooij
509e6221a2 Use $SHLIBEXT, not .so
(This used to be commit 319d41201dcf07fc18a39df4f362aa2a0eb16200)
2003-04-04 23:11:38 +00:00
Richard Sharpe
1551254432 Add some castiness for Don McCall.
(This used to be commit 57c860b41b21bafc660f84070bfe9c8d90bc28a3)
2003-04-04 22:16:50 +00:00
Jeremy Allison
d5f235912f Re-fix regression noticed by Tom Schaefer <tom@umsl.edu> due to
correct delete on close semantics change.
Jeremy.
(This used to be commit 7a45b45490e6001c17fc89aabfa802f76fa3fe5e)
2003-04-04 21:58:55 +00:00