1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

7258 Commits

Author SHA1 Message Date
Andrew Tridgell
93d458c5f6 fixed warnings on irix and crash bug on big endian machines
(This used to be commit cc6c263993eaf0715f231fc80ca7e6e65694548b)
2001-12-20 10:02:30 +00:00
Andrew Tridgell
89f97bb254 fixed sscanf() of gid_t values
(This used to be commit 102af994de6bbfbe94f13c1880fc31c6414c9f8e)
2001-12-20 09:48:02 +00:00
Andrew Tridgell
01a382480a don't use server_info after its been freed
(This used to be commit ee161a57289409e2fa43e33b045473077c7b6ba5)
2001-12-20 09:32:03 +00:00
Andrew Tridgell
1a242b6fd9 support "map to guest" with spnego
(This used to be commit e873d0ff1eee9442ff6152d666b8d874b6a01972)
2001-12-20 09:06:53 +00:00
Andrew Tridgell
db54a8c041 forgot to commit this file from remus
(This used to be commit 7984ae0121ba327309ca5c52674e03fc1ad7e923)
2001-12-20 07:46:24 +00:00
Andrew Tridgell
6722cfc3e6 added net lookup command
(This used to be commit 51268c512dbae94aba308668df9facaf15a2ce9e)
2001-12-20 07:42:00 +00:00
Martin Pool
93b5fb3175 Ignore torture.tdb
(This used to be commit 79feca4d25aaa7e15553a10707efdb3003fed9cf)
2001-12-20 07:22:54 +00:00
Andrew Tridgell
bed11a34ba net now sends its debug to stderr so its output can be relied upon in
scripts
(This used to be commit 6d2f7ed708e75687d23f432ba9a186e88fa14118)
2001-12-20 07:13:47 +00:00
Andrew Tridgell
2838f61540 fixed long filenames on win98
the fstype must not be null terminated or win98 doesn't recognise it
(This used to be commit c8a040f2aa733e926280af010513849b6406741d)
2001-12-20 06:52:45 +00:00
Andrew Tridgell
ec31274163 much better auto-init of valid_table[]. This should just about remove
the need for valid.dat
(This used to be commit 0cfd0a5e543181b1384f7afee93fbaf3ccb2b999)
2001-12-20 06:18:52 +00:00
Tim Potter
367c40fd87 Grr - numbers printed in hexadecimal should be preceeded by 0x
(This used to be commit 7d8082a8ad7d5de5daf653903efd36fb84b3cedc)
2001-12-20 05:10:50 +00:00
Tim Potter
68ff010e7c Added some comments showing hex values of some constants.
(This used to be commit b3aff6b5a35da3660ede060b42439324a2309644)
2001-12-20 05:05:58 +00:00
Andrew Tridgell
6c0146f74b mark '.' as a valid character
(This used to be commit 85f04fa61dffb15bc034dd756ee75b997a36d892)
2001-12-20 04:12:36 +00:00
Martin Pool
cc0846f967 Add --enable-dmalloc to link against the dmalloc malloc debugger.
It's not as strong as Insure, but it's free, reasonably efficient and
works on every platform.
(This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906)
2001-12-20 04:01:44 +00:00
Andrew Tridgell
6c7e9dfb29 net ads password and net ads chostpass commands from Remus Koos
(This used to be commit 412e79c448bf02e3097b5c14a36fe0172d8d2895)
2001-12-20 03:54:52 +00:00
Jeremy Allison
2fe6d5d5a1 Added AC_CHECK_FUNCS(syslog vsyslog).
nsswitch code uses vsyslog without checking for it.
Provide replacement for vsyslog in lib/snprintf if not found by configure.
Jeremy.
(This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)
2001-12-19 19:18:37 +00:00
Jeremy Allison
a784fce109 Allow ACL set to fail gracefully on HP HFS filesystems.
Jeremy.
(This used to be commit 2d7b81e692ac2bcfd6e31223d3f8545c255cb47c)
2001-12-19 17:47:19 +00:00
Andrew Tridgell
15aad7f33d use "ads server" option if set for primary domain
(This used to be commit 1bf5c1a46f4c3f44054ce8fcbc551cdb72683f2b)
2001-12-19 13:33:08 +00:00
Samba Release Account
acb0c65176 preparing for release of 3.0-alpha10
(This used to be commit c0ff2743790c78962b111f9be69a1642185b528e)
2001-12-19 13:13:05 +00:00
Andrew Tridgell
a04aec58d3 add support for mixtures of ADS/NT4 domains, as long as the primary
domain is ADS
(This used to be commit e97b40e09427c2c5f0a497f9432af08d6d6762f2)
2001-12-19 12:38:52 +00:00
Andrew Tridgell
1f31ace6cb much better ADS error handling system
(This used to be commit 05a90a28843e0d69183a49a76617c5f32817df16)
2001-12-19 12:21:12 +00:00
Andrew Tridgell
105fe2a32e we only have gss_ fns on a krb5 capable box
(This used to be commit 344b786efe00f72ed81f0eeb4d422c655d866557)
2001-12-19 09:58:52 +00:00
Andrew Tridgell
9126a40e2c added trusted realm support to ADS authentication
the method used for checking if a domain is a trusted domain is very
crude, we should really call a backend fn of some sort. For now I'm
using winbindd to do the dirty work.
(This used to be commit adf44a9bd0d997ba4dcfadc564a29149531525af)
2001-12-19 09:53:30 +00:00
Andrew Tridgell
a062e58d9e - added initial support for trusted domains in winbindd_ads
- gss error code patch from a.bokovoy@sam-solutions.net
- better sid dumping in ads_dump
- fixed help in wbinfo
(This used to be commit ee1c3e1f044b4ef62169ad74c5cac40eef81bfda)
2001-12-19 08:44:23 +00:00
Andrew Tridgell
e7da05b760 better nsstest error checking
(This used to be commit 7348a969bc994e6ef267449aadfdf6321c27baa6)
2001-12-19 08:40:50 +00:00
Andrew Tridgell
279276c9ca fixed sid_compare_domain()
(This used to be commit c11c27b2812ceb06a52afbb7662f82a8676b1707)
2001-12-19 08:37:03 +00:00
Martin Pool
085d62b38c Use less memory, but scribble all over it, just in case there's
something wrong with the way it's allocated.
(This used to be commit a7b052d991bf39b6f3391f78b95b18ebb8ef596c)
2001-12-19 08:18:07 +00:00
Martin Pool
ec781f8e84 Doc how to reply to messages.
(This used to be commit e2b080587c4d6e147cf7274fa7e09e89ae2083c3)
2001-12-19 07:49:25 +00:00
Martin Pool
7110a867a1 Make TALLOC_CTX and talloc_chunk private to talloc.c.
Add a global singly-linked list of all active talloc pools, so that we
can eventually show how much memory is used for different purposes.
This also gives a check that pools are not being doubly freed.

talloc_init_named now handle a NULL name properly (ie does nothing)

Add accessor talloc_pool_name().
(This used to be commit 4c6c03c8c7c18762dd9ef1a1bd88350b8960542f)
2001-12-19 07:36:32 +00:00
Martin Pool
fc00418dfc Doc
(This used to be commit 7da982e9268be7eb93fe7d6ad7da5b33ce44181c)
2001-12-19 06:22:23 +00:00
Martin Pool
0b73aad2bf Doc
(This used to be commit 5dc2827b6eaca8f7b833fdf9977528084e3a3ff0)
2001-12-19 06:00:19 +00:00
Martin Pool
d3abe277ef Put PRINTF_ATTRIBUTE on talloc_init_named, talloc_asprintf,
talloc_vasprintf.
(This used to be commit e6be48671d520f952be0b6dc0848569d0d834179)
2001-12-19 05:02:42 +00:00
Martin Pool
55f6eefe12 Doc.
(This used to be commit 5b6c22a209a26cb9adbf6d7733d396038c729633)
2001-12-19 04:55:58 +00:00
Martin Pool
4f74ff9450 Start adding some debugging features to talloc based on Samba's
ancient mem_man.c:

Each TALLOC_CTX now has a field to store its purpose, to aid in
tracking down memory bloat.  A new call talloc_init_named() should be
used instead of talloc_init() so that this is set.

Added talloc_vasprintf to be called by varargs functions.
(This used to be commit 25b97a743573b8c5e0ac886e4bfab581c11b3714)
2001-12-19 04:50:10 +00:00
Martin Pool
806ebe9240 Add a very trivial talloc torture program, bin/talloctort. Not built
by default.
(This used to be commit e3390669958f01672f5638ebf975e8bd4fd67665)
2001-12-19 04:46:35 +00:00
Jeremy Allison
22f25edb8e Fix for extra capabilities from Urban Widmark <urban@teststation.com>.
Jeremy.
(This used to be commit e943ace4f0fc70476668b0445acd91314a2e2a01)
2001-12-19 03:14:54 +00:00
Jeremy Allison
9648cd0c0f Patch from dan_thibadeau@hp.com to allow domain set in authfile.
Jeremy.
(This used to be commit 5700cbbd3fc0175932890df5f5ceb4931ba50dd3)
2001-12-19 02:50:44 +00:00
Jean-François Micouleau
ea274ac97f added info level 1 to samr_query_alias()
(This used to be commit 589aa4fe226ee5bdae0a244631193714b0b556ac)
2001-12-19 00:15:29 +00:00
Jeremy Allison
dccc1ed3f8 Fixup JF's weird SID return :-).
Jeremy
(This used to be commit 7b8fb8d85c406b8755f60cf14dc2377bc59eda53)
2001-12-18 19:44:14 +00:00
Jeremy Allison
ed611ffe1a Tidyup utmp code to cope with hostname = NULL.
Jeremy
(This used to be commit 2a1b531a1c4f1a4772c95c867f35eac50ed1c7fa)
2001-12-18 08:19:02 +00:00
Andrew Tridgell
08bf73c326 fixed handling of empty or dead domain in wbinfo -g
(This used to be commit 2c54cfbc475cd22d0e906898a07d4e0576c64c80)
2001-12-18 06:22:15 +00:00
Tim Potter
f0e8a3d5e8 A fix to override the location of a user's home directory if it is
specified in the [homes] section of the smb.conf file.

Jeremy, can you take a look at this?  This is in response to someone on the
samba mailing list worrying about it.


Tim.

From: Phil Thompson <philnanne@mediaone.net>
To: samba@lists.samba.org
Subject: Different [homes] behavior in 2.2.2
X-Original-Date: Mon, 17 Dec 2001 23:09:28 -0500


Is it possible to configure samba to disregard the home directory in the
passwd file when using [homes]?  Even though an alternate "path" is set
in [homes], the service fails since the unix home directory is invalid
(nonexistent) on the server.

[...]

This behavior of validating the user's home dir as set in the passwd
files appears to be new
in 2.2.2 and the latest CVS. Anyway to work around this?
(This used to be commit c15dec74a360c6b20f536708e00e61d1d27dcbfc)
2001-12-18 06:11:32 +00:00
Tim Potter
7cb202e33c Fixed uninitialised variable warning.
(This used to be commit 5095941dcb312d75c232d15232d5998ca05b632f)
2001-12-18 05:08:48 +00:00
Tim Potter
95a4903b20 Removed unused function, delete_fn()
(This used to be commit f26e8205cff63967b9c1659b8e6ad71cbe36dace)
2001-12-18 05:04:09 +00:00
Tim Potter
140f1ccf1f Fixed bad args to debug statements.
(This used to be commit 5e0f0716ca9826de110fd9eeaf231970e7c19b42)
2001-12-18 05:00:07 +00:00
Jeremy Allison
5d3b81dede I'm pretty sure we need to return our netbios name for LSA_QUERY_INFO
level 5 when we're a standalone server. This makes the security dialogs
return correct info. JF - please check !
Jeremy.
(This used to be commit dd13daf52bc96637ef3d40920cbd3bcadb7e08f5)
2001-12-18 02:17:46 +00:00
Jeremy Allison
2a6eeff2a7 Return NT_STATUS_OBJECT_NOT_FOUND or ERRbadpipe if pipe name not found.
Jeremy.
(This used to be commit d5fdb1f096e8db3e9cf7a65ddb75f7cafd1958c0)
2001-12-18 02:09:57 +00:00
Jeremy Allison
0558e2c402 Fixed the bug with descending into mangled directories.
The problem is that name_map_mangle can *change* the length of a patchname.
Ensure that all the character pointer messing about can cope with changing
sizes of components. This code is too ugly to live.....
This also needs *lots* of testing.
Jeremy.
(This used to be commit 9f2b6a07429da5dec59e562fa5489b8079978677)
2001-12-18 01:26:54 +00:00
Jean-François Micouleau
e611111732 in lsa_query_info at level 5 in member mode, we must reply our machine
name and not our domain name.

I thought it has been already fixed !

	J.F.
(This used to be commit 1fbb01868b489c896ad1c65ded223999b0ee6013)
2001-12-18 00:32:45 +00:00
Jean-François Micouleau
a94ff206c6 fixing bug I introduced.
J.F.
(This used to be commit 49764852c516a22fba84d6289c93bed0e5da1c7e)
2001-12-18 00:30:25 +00:00