1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

12061 Commits

Author SHA1 Message Date
Tim Potter
238cac9581 Another round of merges from 3.0:
>Reformat - preparing to fix bug #480 (which will be ugly).
>Jeremy.
(This used to be commit cd91dd9cd8392d1b9cfcbd8ef42237b813dc89b5)
2003-09-24 02:45:43 +00:00
Tim Potter
a899daa93a Another round of merges from 3.0:
>Change error message displayed when --without-libiconv is used as
>an argument to configure.  Closes bug 468.
(This used to be commit 4b73ba7df1764b47aae8b22980efdb05d1639e57)
2003-09-24 02:45:00 +00:00
Gerald Carter
f6e0a10974 fixing a bug in the retry loop for winbindd_pam_auth[_crap]()
(This used to be commit a1b6e28e9c1742dd5debe46b18fa474f11b31dd1)
2003-09-24 01:24:13 +00:00
Gerald Carter
492072314b fix some warnings found by the Sun C compiler
(This used to be commit 585764305aa84a7732f71f2e01227e1a6a08664f)
2003-09-22 17:54:34 +00:00
Gerald Carter
5b17f2a9e4 solaris packagaing fixes from Brian King
(This used to be commit e8d7e9cc9bb26e6b124d036a3702f242fae3bd85)
2003-09-22 16:12:34 +00:00
Jelmer Vernooij
8031b1655c Fix bug and do more error checking. Noticed by Wilco Baan Hofman <wilco@andoburg.nl>
(This used to be commit ec32501cefe1ea27bcf08b5be9d53cdce8cbbbdc)
2003-09-21 03:16:05 +00:00
Jelmer Vernooij
2862f64374 Fix typo
(This used to be commit 68e044f60ddb6dc7d894f95eff8a866e713df253)
2003-09-21 03:14:05 +00:00
Gerald Carter
9ad22b358d removing obselete parameter from smb.conf
(This used to be commit acf2564e0cc298cd7e0a395fee48efdfcb7c6d0d)
2003-09-20 16:45:53 +00:00
Gerald Carter
ccb7f73f23 fix from Brad Langhorst to correctly check if the primaryGroupID has been set
(This used to be commit db0d8f76ba9fbd090b62cb1233b566040e36f552)
2003-09-20 15:29:27 +00:00
Gerald Carter
da33457575 updates to SunOne DS schema from André Fiebach
(This used to be commit ec65dabe9ddd116da41beae0b1a573724c991df6)
2003-09-20 15:21:46 +00:00
Jeremy Allison
8139c5fcfa Ensure that dup_sec_desc copies the 'type' field correctly. This caused
me to expose a type arguement to make_sec_desc(). We weren't copying
the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on
auto inherited checks.
Jeremy.
(This used to be commit 546b2271c08735ac1049a453abac996d794aa364)
2003-09-19 21:57:46 +00:00
Gerald Carter
389bf06cde insert missing sh-bang
(This used to be commit fe2b6317cbda34c2d00194884847642789f40e75)
2003-09-19 18:54:40 +00:00
Tim Potter
54b5bbb57a Merge from 3.0:
>Fix warnings on Sun cc Workshop Compilers 5.0. Reported by "Richard
>Bollinger" <rabollinger@comcast.net>. Also fixed script/gaptab.awk to
>produce compatible tables.

>Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics
(This used to be commit a9f34d9fde4ea5e043444803aeda70d5e64c3870)
2003-09-19 06:23:51 +00:00
Tim Potter
7bb5182cf8 Merge from 3.0:
>Applied Steve Langasek's patch for bug #450.
(This used to be commit 50ae61b674550082e30f7156f2a9129b7abebb14)
2003-09-19 06:22:54 +00:00
Tim Potter
48a5e3fa09 Merge from 3.0:
>The -P option to smbclient no longer works - update all smbprint scripts to
>remove it.  Closes bug #473.
(This used to be commit 87e8d584e992df9170b3a36ef60bcdea8ddc9887)
2003-09-19 06:21:46 +00:00
Tim Potter
dfc79d317e Merge from 3.0:
>Fix typo.
(This used to be commit 028179b18b3037f24e7a49fe9e7bf64c4cacdd94)
2003-09-19 06:20:53 +00:00
Jeremy Allison
30fd359914 The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
fields, bad_password_count and logon_count. Ensure this is stored/fetched
in the various SAMs. As it replaces the unknown_5 field this fits
exactly into the tdb SAM without any binary problems. It also is added
to the LDAP SAM as two extra attributes. It breaks compatibility with
the experimental SAMs xml and mysql. The maintainers of these SAMs must
fix them so upgrades like this can be done transparently. I will insist
on the "experimental" status until this is solved.
Jeremy.
(This used to be commit 71ecd10181cd35313b79f618c2928c2f45424812)
2003-09-18 23:54:12 +00:00
Jeremy Allison
8e0a88b7e2 Oops. Proper fix for #470.
Jeremy.
(This used to be commit e121a2ec0c243477ea318d573166f342abbd1cce)
2003-09-18 21:19:43 +00:00
Jeremy Allison
f4525f46ce Fix for #470 - unable to display SIDs in ACLs.
Jeremy.
(This used to be commit 1b343f710550a39815001c668c48d9b194f19243)
2003-09-18 01:17:20 +00:00
Jeremy Allison
92347f2d0f Unregister event fix from metze.
Jeremy.
(This used to be commit b3b2b3d5e7c9d4995890bf7b156fc1176b042cfc)
2003-09-17 23:36:58 +00:00
Jeremy Allison
53185ba285 Fix coredump from Samba4 torture suite.
Jeremy.
(This used to be commit 640bc276ba3d1ab83cd8994bddd64fd745f75101)
2003-09-17 19:36:53 +00:00
Jeremy Allison
9dab796ed5 Obviously correct typo bugfix from Lin Li <linl@xandros.com>.
Jeremy.
(This used to be commit f91da7d99bc2d9e57c411ceb0c2eb812654f3701)
2003-09-17 17:57:18 +00:00
Gerald Carter
338889379d packaging updates from Buchan
(This used to be commit 8079494aef23105ce4d1ab8d7f943a838baaca01)
2003-09-16 21:12:44 +00:00
Jelmer Vernooij
9903a9d88a Fix typo. Found by Aurelien Degremont
(This used to be commit 271111d6a7f5011c8300e060a9da3a972a28a704)
2003-09-16 13:31:17 +00:00
Tim Potter
c2505ca394 Merge from 3.0:
>Fix OOPS when dealing with mangled names reported by several users.
>This was my bug when removing a redundant strlen.
>Jerry - last showstopper I knew about.
>Jeremy.
(This used to be commit 3266777acb911f84e70f42f17cd9f6bbd3ba35d0)
2003-09-16 02:50:21 +00:00
Tim Potter
3050c0602a Merge from 3.0:
>Fix typo.
(This used to be commit 914e4be8f716ec909d399f69436092adfbe4f535)
2003-09-16 02:48:56 +00:00
Tim Potter
582ec27a8e Merge from 3.0:
>Remove quotes in smb.conf ldap example - the quotes actually turn
>up in the ldap filter string.
(This used to be commit 7bca3b6cc2e02569eec015ce75b0ccefefb654d6)
2003-09-16 02:48:16 +00:00
Jeremy Allison
6df89dbe10 Fix #442 which Alexander considered a showstopper. Allow us to join mixed
mode domains.
Jeremy.
(This used to be commit 07cfce283004d29d1f60e5d8c97e3e3d7c293805)
2003-09-16 01:28:09 +00:00
Jeremy Allison
77adfbf460 Fix from gregory@networksentry.co.za, don't clobber the comment if it
exists.
Jeremy.
(This used to be commit a7ef2ce34931d9fcdeb8ecbcad981d96db4c409a)
2003-09-15 21:27:33 +00:00
Jeremy Allison
f208ab8ac2 Ensure HEAD is also up to date.
Fix OOPS when dealing with mangled names reported by several users.
This was my bug when removing a redundant strlen.
Jeremy.
(This used to be commit 3b3e19f66f783016ca3bc2d9e76328732ed4a84b)
2003-09-15 21:22:15 +00:00
Christopher R. Hertel
4fd86794ec Fixed test and wording for long share names.
The RAP NetShareEnum() call has a length limit of 12 characters (not 8, as
previously tested).  Took DaveCB's suggested and added a note listing some
of the client systems that might be affected.
(This used to be commit cdfc0fc383ab63f47ddd547fddc4c28bbfddf5e5)
2003-09-15 17:01:45 +00:00
Simo Sorce
5f91a15a66 fix online help
-w option need the password on the command line
(This used to be commit 0b8f32b7f53b145fb51f5537a7f42d11d69ed4c3)
2003-09-15 14:21:32 +00:00
Alexander Bokovoy
bbc4f18f22 Alias charset 646 internally
(This used to be commit f4eb7acc7dfc400cc6524dccdd8081acd707f937)
2003-09-15 12:59:09 +00:00
Tim Potter
240d5944e3 Merge from Samba 3.0:
>Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
>to/from utf8 for some calls. The libads code gets this right. Wonder why
>the passdb code doesn't use it ?
>Jeremy.
(This used to be commit 9b6328bcfd5b53a05926eb5a97c74275842d086b)
2003-09-15 05:35:02 +00:00
Tim Potter
ca3d5310ce Merge from Samba 3.0:
>remove getpwnam() calls from init_sam_from_xxx().
>This means that %u & %g will no longer expand, but %U
>and %G still do.  The payback is that winbindd local
>accounts for users work with 'wbinfo -u' when winbind
>is running on a PDC.

>Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
>to/from utf8 for some calls. The libads code gets this right. Wonder why
>the passdb code doesn't use it ?
>Jeremy.
(This used to be commit 1e60bbff70efe3b5c306bc1ef560ee8032b1a852)
2003-09-15 05:33:34 +00:00
Tim Potter
5b5ed5a6dc Merge from Samba 3.0:
>remove getpwnam() calls from init_sam_from_xxx().
>This means that %u & %g will no longer expand, but %U
>and %G still do.  The payback is that winbindd local
>accounts for users work with 'wbinfo -u' when winbind
>is running on a PDC.
(This used to be commit f047e24561688c697179b14549b1800e00b2a435)
2003-09-15 05:30:52 +00:00
Tim Potter
1d38ffec7a Merge from Samba 3.0:
>Ensure we consistantly translate to/from utf8 for talking to LDAP.
>Jeremy.
(This used to be commit 5b0753bd98ffef5133da31f1c47a45e794d0bb72)
2003-09-15 05:28:51 +00:00
Tim Potter
d26084868a Merge from Samba 3.0:
>fix unitiailized timestamp where merging print_jobs and lpq listing
(This used to be commit 1603d0e6848a8ec3f7d8a8f735c9d1a6d92aac0b)
2003-09-15 05:27:55 +00:00
Tim Potter
4d0d681911 Merge from Samba 3.0:
>Fix for typo in darwin detection.
>Jeremy.

>Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
>(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>.
>Also add MacOSX/Darwin configure fixes.
>Jerry - can we put this in 3.0 release ? :-).
>Jeremy.
(This used to be commit 7951dee600146623ce473659c3f41963ea873e3e)
2003-09-15 05:26:44 +00:00
Tim Potter
ac4ae84d08 Merge from Samba 3.0:
>Patch from Gregory Hinton Nietsky <gregory@networksentry.co.za>,
>ensure the desired access is read from the incoming RPC request.
>Jeremy.
(This used to be commit a556637d0bc56aeb980c422c4d1da44311956c3b)
2003-09-15 05:25:49 +00:00
Tim Potter
aafb99dc8f Merge from Samba 3.0:
>Still on my mb rampage. Ensure smbldap_make_mod() correctly detects old
>values.
>Jeremy.
(This used to be commit 9df18a6c4ea30545297f9e5a0b10b440e6a0687e)
2003-09-15 05:19:07 +00:00
Tim Potter
b584f74bd7 Merge from Samba 3.0:
>Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
>to/from utf8 for some calls. The libads code gets this right. Wonder why
>the passdb code doesn't use it ?
>Jeremy.
(This used to be commit 258c106e2243f19c77fe35edd6dcba816a8fc8ee)
2003-09-15 05:03:11 +00:00
Tim Potter
d8231592bc Merge from Samba 3.0:
>Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
>(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>.
>Also add MacOSX/Darwin configure fixes.
>Jerry - can we put this in 3.0 release ? :-).
>Jeremy.
(This used to be commit 67acde75d3569b612f87646ff0740f8020e8fdcf)
2003-09-15 05:02:12 +00:00
Tim Potter
a9cd4a6ae1 Merge from Samba 3.0:
>For some reason testparm runs at debug level 2 which causes the module probe functions to
>display verbose debugs.  Increase the probe debugs to level 3.
(This used to be commit be91bbd570bd94f67001aab9cfb2baf44b390097)
2003-09-15 05:01:27 +00:00
Tim Potter
eae6e9f155 Merge from Samba 3.0:
>Fix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
>with filenames > 100 chars.
>Jeremy.
(This used to be commit a7bbfd636798232416c044df8a77dbbd8c77f9ed)
2003-09-15 04:59:45 +00:00
Tim Potter
a0fb605c25 Fix another crash bug in samsync.
(This used to be commit 675707c33e8447b9cb9fc2ae451663a56a14d792)
2003-09-12 02:03:28 +00:00
Jim McDonough
d80e9b7e42 Updated 3.0 schema files for IBM Directory Server 5.1
keeps with IBM convention of separate attributetype and objectclass definitions
(This used to be commit 861f3b0d5fc11645f05494a6a5fe716031cfc79f)
2003-09-11 18:37:17 +00:00
Tim Potter
95bfe31c1f Merge from samba-3.0:
>Fix for bug #273 - smbd crash on machine account change.
>Someone only half changed the code to use dc_name
>instead of remote machine... Found via back trace from Dariush Forouher
><dariush@forouher.de>.
>Jeremy.
(This used to be commit 1956478ddece5899ebdf627969136603e1c21637)
2003-09-11 07:34:44 +00:00
Tim Potter
5cb0429139 Merge from samba-3.0:
>Revision 1.8.2.33
>Fix error return path memory leaks in vampire code for creating users.
>
>Display an error if we can't create a posix account for the user
>(e.g no add user/machine script was specified; bug #323).

>Revision 1.8.2.32:
>Use opt_target_workgroup instead of lp_workgroup() in vampire code so
>we can override the value in smb.conf with the -w option.
>
>Migrating accounts from another domain can now be done like:
>
># bin/net join bdc -w nt4dom -Uadministrator%password
># bin/net rpc vampire -w nt4dom -U administrator%password
(This used to be commit 36f7d88edd15bff1b7dfa78f3908dae272b96215)
2003-09-11 07:33:05 +00:00
Tim Potter
0788e30fe1 Merge from samba-3.0:
>Formatting fixups for help output.
(This used to be commit fe7c8e39688f0966563c67dd61a9ad8ae2b98f99)
2003-09-11 07:32:04 +00:00