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

10082 Commits

Author SHA1 Message Date
Alexander Bokovoy
a87d3b2cba Update smbmount to include unicode and lfs capabilities options -- smbfs supports this already
(This used to be commit a003a5f052a9ef7ad14f6f79157669d1bbd37f96)
2003-04-08 15:38:09 +00:00
Simo Sorce
1eda5b4987 some more debugging in case of failure
(This used to be commit 9374f8692f6587b5f773c72b7847b64edeee9614)
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 275e095c92ac74815ab9e388a0e83cdb7ddd85f3)
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 9de9899165fbf403e369d8ebadd171ffdde8c3b7)
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 7cb5af35273097f913bff6894fe03050a18e1def)
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 5a5a7ce7479a56ca2d472658511a47c9147c0d5b)
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 e8f1399323745a93ba9df97553effcf2d7629850)
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 7c7c5594b3dfd460d09bccd409ccbf64c6b42338)
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 0a5b5d00db42de868c72ec3d9d1d747c9ef391e4)
2003-04-07 20:34:46 +00:00
Jelmer Vernooij
d1c6c05ab0 BUGS.txt -> Bugs Appendix in HOWTO collection
(This used to be commit 1e1ef7a7b52f34ab784a7bac570235de221a64b6)
2003-04-07 18:26:58 +00:00
Simo Sorce
eac27adfb3 remove unnened and wrong instructions
(This used to be commit 671579874e51b28ffdfc094cdf34a0090567e0cc)
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 99c2e11ccfe04867e84b467b0e82de8415c1dcee)
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 046c2087a11b9ce7a02aece34ffb129ce0d66b08)
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 69e37469c4de6c3716ebb65e477009b9f4da54ea)
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 77b1589188ba27b107f11232b7b7df4dea364948)
2003-04-07 16:44:08 +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
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
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
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
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
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
8f19f82256 Replace 'so' by $SHLIBEXT
(This used to be commit d0a767a7653f3fef846c62e9a0a20bcc68d87559)
2003-04-04 23:31:09 +00:00
Jelmer Vernooij
509e6221a2 Use $SHLIBEXT, not .so
(This used to be commit 319d41201dcf07fc18a39df4f362aa2a0eb16200)
2003-04-04 23:11:38 +00:00
Jeremy Allison
c3715824c7 Re-fix regression noticed by Tom Schaefer <tom@umsl.edu> due to
correct delete on close semantics change.
Jeremy.
(This used to be commit 55d0ab0e307e16389cc470fa04a9d7b44043a4da)
2003-04-04 21:58:42 +00:00
Richard Sharpe
3b592a76a1 Some castiness for Don McCall.
(This used to be commit b03ac852a86cf9f436ad2b994e09fb08dd929674)
2003-04-04 21:15:20 +00:00
Jeremy Allison
db5f60098a Fix for very subtle POSIX lock interaction race condition found by
Herb. We need to unlock POSIX locks before notifying pending lock
processes.
Jeremy.
(This used to be commit eb861e9d0fd79bbd9401ced8e55fe603c2aa7c1e)
2003-04-04 20:38:25 +00:00
Volker Lendecke
02bb4e1b8a This is a merge of the NETLOGON schannel server code from Samba
TNG. Actually, it exists in the main Samba cvs tree in APPLIANCE_TNG
as I found out later :-)

It adds a new parameter: server schannel = yes/auto/no defaulting to
auto.

What does this mean to the user: No requireSignOrSeal registry patch
for XP anymore.

Many thanks for this code to Luke Leighton, Elrond and anybody else I
forgot to mention.

My next thing will be to see if this applies cleanly to 3_0.

Please test and comment!

Volker
(This used to be commit e1f953241eb020f19fe657f29afdae28dcf5a03b)
2003-04-04 15:21:04 +00:00
Martin Pool
94e5719dac Merge from Subversion r50.
(This used to be commit 480487355929ec5ec066b33630c06c3a30bcca49)
2003-04-04 03:16:27 +00:00
Martin Pool
03ccc4ac13 Merge from Subversion:
Add example of a test that fails.
(This used to be commit 1b1bb8ac37464339a7bffc84eb6d96ee1ae7d33d)
2003-04-04 03:14:48 +00:00
Martin Pool
0ac3eeaff5 t_doschar: Test harness that exercises check_dos_char()
(This used to be commit 54f4df0301f21c91218abf6f17cae097e755fd7f)
2003-04-04 03:09:42 +00:00
Martin Pool
31c8c7156f Test harness that exercises check_dos_char()
(This used to be commit 346c763fd1f5d7ef51ca3f748a276d9982275bfe)
2003-04-04 03:07:07 +00:00
Jeremy Allison
b1b9adebb0 Fix the new storage code to correctly convert from system queue info to
pjob info. Ensure we retrieve more than one job from the storage code.
Jeremy.
(This used to be commit 5dc3150ff3fc05e71faad76e83079c60f62bac4f)
2003-04-04 01:02:50 +00:00