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

11604 Commits

Author SHA1 Message Date
Gerald Carter
91077a0618 fixes bugs 85 & 99 (XP domain logons); don't enable the lsa_query_info2 unless we are trying to be an ADS DC
(This used to be commit bf20976e5a993f4cfa05c1e0a9ecab2c7da99263)
2003-05-22 15:27:27 +00:00
Gerald Carter
8b0f689451 updating version
(This used to be commit b1eb0dd7e0593e08f71aa9c4fc3d47ccdfabc691)
2003-05-22 14:53:02 +00:00
Tim Potter
23d30cbf9f Merge of head(1) portability patch.
(This used to be commit 9192921c115b881d687f28d016c478192ab4d4ae)
2003-05-22 00:49:24 +00:00
Gerald Carter
c52ee09afe fix for UNICODE plaintext passwords (bug #59) and fix smbclient to send the unicode plain text password if negoitated
(This used to be commit e7d635af80c844f17ff9f34c26c1e9c978951ce1)
2003-05-21 16:12:07 +00:00
Andrew Tridgell
c9d0ee977c merge LANMAN1/LANMAN2.1 fixes from head
(This used to be commit 73c686ab771b6c3e9a9335032f851083d44701c7)
2003-05-21 05:20:54 +00:00
Gerald Carter
273dbfd9c6 really make sure to include the version in the lanman string; tested spnego using smbclient
(This used to be commit d7ca85613b6acf60e29cc118435db2c075995edb)
2003-05-20 22:54:58 +00:00
Gerald Carter
6c66c80132 better handling of --with-expsam (includes pdb_nisplussam now)
(This used to be commit 6cb3d3cc609c22b54c793ab4d0be645e85e5ad35)
2003-05-20 21:15:49 +00:00
Gerald Carter
931dc9d25a remove WITH_TDB_SAM & USE_SMBPASS_DB
(This used to be commit 1f98ced3163e26818c12829801729bc28f858de7)
2003-05-20 18:30:37 +00:00
Gerald Carter
6eaf8a3775 wrap pdb_[nisplussam|xml|mysql] in --with-expsam option & some formatting fixes
(This used to be commit 014350196df287beae212e99d22dc63ecbe7d36e)
2003-05-20 18:26:06 +00:00
Jim McDonough
0de9034b4f Fix bug #95: net did not build when ldap was installed, but --without-ads
was specified.
(This used to be commit 17b0acff8a4e34674263b381c02a97c0fb3f44bc)
2003-05-20 14:55:01 +00:00
Jim McDonough
a3c5277a93 Fix bug #96: Use DNS decompression to properly parse cldap netlogon
packets, otherwise repeated components will not decode correctly.

Thanks to aliguori@us.ibm.com for the fix, and lukeh@padl.com for pointing
us to the right docs.
(This used to be commit a8d5d74cf80c6cae3eac1daa3f88d56373789560)
2003-05-20 13:51:43 +00:00
Jim McDonough
40c53cae2b Fix bug #98: DNS compression is required for proper building of the
netlogon for ads packet.  repeated DNS components will not be properly
encoded otherwise.
(This used to be commit 1e85a9ed8da2e48b0ef586599742ed515bd91ecd)
2003-05-20 13:49:53 +00:00
Jeremy Allison
15c003782b FreeBSD5 ACL fix.
Jeremy.
(This used to be commit 6669c38ed0e209d40aff82867b92d704875c2f80)
2003-05-19 18:00:44 +00:00
Alexander Bokovoy
3a12379a84 Fix macros for next and opaque quota ops. Spotted by metze
(This used to be commit 46e6621b2ebe7a8d1bd0c05197667aaa4e078efd)
2003-05-19 09:09:37 +00:00
Tim Potter
2927ab13da Updates for AIX winbind client from Stephen Roylance.
(This used to be commit 3983f3a1f30deae8d66c1f4c099bb56eabe3586b)
2003-05-19 00:42:28 +00:00
Jeremy Allison
1854e7b8e5 Cope with cumulative permissions sets. This code is #ifdef'ed out at the
moment as I don't think cumulative permission sets make sense in POSIX even
though that's the way Windows works....
Jeremy.
(This used to be commit 6ddd5b6ca7dde45ce866f852861e143434c84c7e)
2003-05-17 00:46:28 +00:00
Jeremy Allison
3ebfe59d0f Patch from "Esh, Andrew" <Andrew_Esh@adaptec.com> to fix core dump bug
in add groupmem code.
Jeremy.
(This used to be commit f41eb9ce9af2075f62abaecd8792d30617d05818)
2003-05-16 18:30:22 +00:00
Andrew Bartlett
90d24ee9a6 Well spotted typo by Marco Berger <MARCOB@voelcker.com>
Andrew Bartlett
(This used to be commit f16b0e025ea3112b4c231b67bc95f63418599f2e)
2003-05-16 14:15:09 +00:00
Andrew Bartlett
a9336d8411 David Lee <t.d.lee@durham.ac.uk> provides some corrections to the comments
in the UTMP code.

Andrew Bartlett
(This used to be commit f0cff106cb6c8993eb31f589106d845261c1f8e9)
2003-05-16 12:15:04 +00:00
Simo Sorce
75c14a4ee8 another bugfix from Alex Deiter <tiamat@komi.mts.ru>
thanks
(This used to be commit 29dc40639fad7652f7f99995be7552f5143ff052)
2003-05-16 10:48:58 +00:00
Simo Sorce
10717c720d Fix from Alex Deiter <tiamat@komi.mts.ru>
Reversed check.
(This used to be commit 542ee1d3d6401c4d03770f07cfc907d016e166b4)
2003-05-16 07:59:52 +00:00
Simo Sorce
9e9849c0ee add metze's patch for smb_register functions
(This used to be commit 1480c7e8c7a84c34181118c449c50ca99fdcbc6b)
2003-05-16 06:20:57 +00:00
Simo Sorce
db0a223156 add idmap_winbind unless I made a better way to solve SID type for domain
SIDs
(This used to be commit b24c0efc4b363cb0d4ed71588e9617d668c16be9)
2003-05-16 06:20:33 +00:00
Tim Potter
627aa735fb Clarify a comment: The secure channel connection must be opened on the
same session (TCP connection) as the one the challenge was requested
from.
(This used to be commit 5cb9b99f0f5dad589ac7def667e354d6f92f8822)
2003-05-16 01:57:57 +00:00
Jeremy Allison
ec7b079ab3 Patch from Luke Howard <lukeh@PADL.COM> to recognise local groups.
Jeremy.
(This used to be commit d7a23afe14b0d3ad8ecb7d994768705a32055d9a)
2003-05-15 19:43:21 +00:00
Jeremy Allison
a62a29c2df Fix for winbindd segfault (finally I think this is the correct one :-)
from "Roylance, Stephen D." <SROYLANCE@PARTNERS.ORG>.
Jeremy.
(This used to be commit 459fb6519bc9bc9bbb151291ff795ecc0c014d63)
2003-05-15 18:25:03 +00:00
Jeremy Allison
3ededa5f7b Fix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called on
the sa_mask to prevent valgrind complaints.
Jeremy.
(This used to be commit e065c3a58f5c7f2612596574046a73869183dbd3)
2003-05-15 17:37:52 +00:00
Jeremy Allison
5ffd33df94 Patch from "Alex Deiter" <tiamat@komi.mts.ru> to fix incorrect error check.
Jeremy.
(This used to be commit 43ca4b8a8425b97a6bea08b91420bac6cde807b3)
2003-05-15 17:23:35 +00:00
Jeremy Allison
a975bc2471 Ensure sys_adminlog code won't coredump with incorrect client params.
Jeremy.
(This used to be commit b754089a2660975c593a6651e5e72b7360a0aba1)
2003-05-15 17:21:32 +00:00
Jelmer Vernooij
6203409d2e Patch from Luke Howard <lukeh@PADL.COM> that fixes some weird handling of
modules in auth/
(This used to be commit 4b6785a6c0fe0aebb1cc69bfc9937d19bc692642)
2003-05-15 08:47:28 +00:00
Tim Potter
c05858c893 Merge of incorrect emacs mode fix.
(This used to be commit 9d973bdfb70333684912ad18d15fcffc4b67dd29)
2003-05-15 04:17:54 +00:00
Jeremy Allison
05799e60fc Ok, try and fix this correctly... Simplify the nasty loop logic.
Jeremy.
(This used to be commit c19599a5624ac7ea63b529bf7d36cdcd7c8ef89f)
2003-05-14 21:28:54 +00:00
Jeremy Allison
1904a21193 Fix winbindd coredump. Remember to set a ** pointer to null before
searching and not finding otherwise we return a valid looking pointer
that was whatever crap was on the stack.
Jeremy.
(This used to be commit 5d3ac0e39b2b3c60de7c1fe562e4da1f508a2884)
2003-05-14 20:48:48 +00:00
Gerald Carter
7f256452c1 fix quota build on non-64bit systems
(This used to be commit 227ac953386d0040c661cde85a5b23e10529fb0c)
2003-05-14 20:22:48 +00:00
Gerald Carter
b81af9ebbd readding reverted changes during idmap merge (noticed by Andrew b.)
(This used to be commit c6d836c61cb3e122dcc41b874ed5a03a130b6a4c)
2003-05-14 18:36:54 +00:00
Alexander Bokovoy
2c01eef4d7 Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
(This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)
2003-05-14 14:38:11 +00:00
Alexander Bokovoy
bc2a3748e9 Prefix VFS API macros with SMB_ for consistency and to avoid problems with VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out
(This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
2003-05-14 10:59:01 +00:00
Gerald Carter
df641bc7ca fix group mapping in LDAP under new schema
(This used to be commit 0714dda7cc4a1df73e1b9d11daae80a1f46583de)
2003-05-14 05:28:16 +00:00
Gerald Carter
5d16254f56 *****LDAP schema changes*****
New objectclass named sambaSamAccount which uses attribute
prefaced with the phrase 'samba' to prevent future name clashes.

Change in functionality of the 'ldap filter' parameter.  This always
defaults to "(uid=%u)" now and is and'd with the approriate objectclass
depending on whether you are using ldapsam_compat or ldapsam

conversion script for migrating from sambaAccount to
sambaSamAccount will come next.
(This used to be commit 998586e65271daa919e47e1206c0007454cbca66)
2003-05-14 03:32:20 +00:00
Tim Potter
f184074799 Move some #ifdefs and function prototypes around to avoid a compiler
warning when we have a working version of snprintf()
(This used to be commit 4836c0c0fcbf4be5f52bba60cc8843e8551b59b8)
2003-05-14 01:10:46 +00:00
Tim Potter
8652163471 Fix pointer return bug in get_unix_attributes()
(This used to be commit 7aa54f0a7f3bcfb5d9560ca3bb88e1549b7ce421)
2003-05-14 00:58:41 +00:00
Tim Potter
402fbc518a spelling
(This used to be commit 865c11275685c85124b506c9bbd2a8bde2e760b9)
2003-05-14 00:46:43 +00:00
Tim Potter
d956b34997 spelling
(This used to be commit 1b4f904277b5e9331cdf4491163f856aa78d0453)
2003-05-14 00:27:12 +00:00
Andrew Bartlett
b47963ae5a Restore a number of fixes that idra removed when he merged his
idmap-and-the-rest from HEAD.

These are correctness fixes that were already in 3.0, and a memory leak fix.

The pdb_ldap changes are held back at jerry's request (he is also playing
with pdb_ldap ATM).

Andrew Bartlett
(This used to be commit c7d5e336bd91514a02974044742b058be387e490)
2003-05-13 15:29:23 +00:00
Andrew Bartlett
d9029797fe Fix non-constant initialiser for Sun CC.
(This used to be commit c2948b9248016388f9b7c5595b0e1aba7e1ace8d)
2003-05-13 06:13:36 +00:00
Andrew Bartlett
ddb600102f Try to fix up some code in pdb_smbpasswd that assumed we still had a 'uid'.
This is to get non-unix accounts going for the build farm.

Andrew Bartlett
(This used to be commit 3daf7cba2393af768b253c419152ea305204f3d8)
2003-05-13 01:00:25 +00:00
Jeremy Allison
6abef08100 Fix obvious compiler warnings.
Jeremy.
(This used to be commit 2a6d0c2481c3c34351e57c30a85004babdbf99b0)
2003-05-12 21:27:54 +00:00
Simo Sorce
c823b191ab And finally IDMAP in 3_0
We really need idmap_ldap to have a good solution with ldapsam, porting
it from the prvious code is beeing made, the code is really simple to do
so I am confident it is not a problem to commit this code in.

Not committing it would have been worst.
I really would have been able to finish also the group code, maybe we can
put it into a followin release after 3.0.0 even if it may be an upgrade
problem.

The code has been tested and seem to work right, more testing is needed for
corner cases.

Currently winbind pdc (working only for users and not for groups) is
disabled as I was not able to make a complete group code replacement that
works somewhat in a week (I have a complete patch, but there are bugs)

Simo.
(This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
2003-05-12 18:12:31 +00:00
Gerald Carter
9308eaf77d fixing typos in debug statements
(This used to be commit f59bcb51cfe4e268ba43245d401d212aefdf2b72)
2003-05-12 16:06:05 +00:00
Alexander Bokovoy
c9bfb7660b Eliminate NULL pointers from VFS interface. All hooks now really callable, producing either correct result or returning error if the feature isn't supported in the configuration
(This used to be commit af0a17349e6986eef2e2fd07b4b9f0bcd33bbe1f)
2003-05-12 16:03:16 +00:00