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

1827 Commits

Author SHA1 Message Date
Jelmer Vernooij
9f9bdd97db Get rid of module_path_get_name() -
Jelmer Vernooij
69ec6be90f Check for absolute paths by only checking the first character of the module name.
Don't use strchr_m, which caused race conditions.
-
Jelmer Vernooij
9411e3336e Check for absolute paths by only checking the first character of the module name.
Don't use strchr_m, which caused race conditions.
-
Andrew Bartlett
107731c080 When possible, store the IP address of the connecting client, not just the
hostname.

This makes 'last -i' show the IP.

Thanks to Philip Anderson <pza@australia.op.org> for the idea.

Andrew Bartlett
-
Andrew Bartlett
df10aee451 Patch by Metze to ensure that we always at least initialize our output string
for rpc_pull_string.  If we had a NULL or zero-length string, we would use
uninitialised data in the result string.

Andrew Bartlett
-
Andrew Bartlett
d4d5e6c2ee Merge HEAD's winbind into 3.0.
This includes the 'SIDs Rule' patch, mimir's trusted domains cacheing code,
the winbind_idmap abstraction (not idmap proper, but the stuff that held up
the winbind LDAP backend in HEAD).

Andrew Bartlett
-
Andrew Bartlett
263407e132 Merge case handling table changes from 3.0 to HEAD. -
Andrew Bartlett
ff3ec67e12 Don't try to continue if initialisation fails (merge from HEAD) -
Andrew Bartlett
c6d416541b Fix this for both *SMBSERVER and *SMBSERV as per comments in loadparm.c.
Andrew Bartlett
-
Andrew Bartlett
5b5e167bb1 Try to avoid setting *SMBSERVER as a 'local name'.
Andrew Bartlett
-
Jeremy Allison
2e5e4c10d2 Limit the number of outstanding print notify messages for a process to
1000.
Jeremy.
-
Jeremy Allison
aabaac05c6 Limit the number of outstanding print notify messages for a process to
1000.
Jeremy.
-
Andrew Bartlett
341d6affa4 Merge (HEAD->3.0) mbp's fixes to our charcnv code - don't use a staic buffer,
which can restrict things like unix_strupper() to 512 byte strings.

Andrew Bartlett
-
Andrew Bartlett
2a1015eb57 Merge from 3.0 - try harder to get our real DNS domain name, and send this
to the client when it asks for our DNS name and forest name.

(needed for win2k to trust us as a trusted domain).

Andrew Bartlett
-
Andrew Bartlett
3be0327103 Make our 'get DNS domain name' code try a bit harder - if gethostname() doesn't
include a domain portion, do a gethostbyname() lookup on that name.

Use this name in our PolicyPrimaryDomainInformation reply (_lsa_query_info2)
that Win2k uses when trying to trust us as a trusted domain.

(We need to do a better mapping between our Netbios and Win2k domain names,
but this will do for now - particularly annoying is the way this possibly needs
to map with our kerberos realm).

Andrew Bartlett
-
Andrew Bartlett
88fdc36f93 Merge whitespace and const from HEAD -
Volker Lendecke
dcbbbd66a9 Address gcc warnings.
I could not fix the "passing arg 5 of `ldap_search_s'" completely with
gcc -Wall. A non-developer compile does not complain though.

Volker
-
Simo Sorce
625eee8e03 some readline completion exancements
still need working, does not complete remote names yet
-
Simo Sorce
bc95de4ebb fixes
fix debug, add "idmap" string to the list of classes
fix idmap, check init failures, and enhance debugging
fix idmap_tdb, _do_ init uid and gid low,high states (too bad I missed that
before)
fix smbd/uid.c, use gid_t for gids and uid_t for uids
-
Gerald Carter
c2580e15d6 fix byte ordering when using CIDR notation in hosts allow/deny; spotted by Eloy Paris -
Gerald Carter
6155144b9f fix byte ordering when using CIDR notation in hosts allow/deny; spotted by Eloy Paris -
Jelmer Vernooij
17243c61b5 Only use backtrace variables when we can use them -
Jelmer Vernooij
429b373453 Only declare backtrace variables when using them -
Jelmer Vernooij
64a357017a Add support for the new modules system to lib/iconv.c (merge from HEAD) -
Gerald Carter
b6a7704888 merge in metze' smbcquotas patch from HEAD -
Jelmer Vernooij
b3328dab2f Add some more functions for the modules (backport from HEAD):
- init_modules()
 - smb_probe_module()
-
Jelmer Vernooij
66fcf6b493 Backport my backtrace patch from HEAD -
Jeremy Allison
df214d1881 Merge across tridge's Realloc fix.
Jeremy.
-
Martin Pool
25a01e3247 Merge from HEAD 1.36. -
Martin Pool
95f4b58288 Remove SAFE_FREE() definition, which is not needed in this file.
In TEST_SNPRINTF mode, always compile all the functions in this file
even if they're normally available on this system.

Fix typo in comment.
-
Martin Pool
0f3c2bfbd2 Add selected parts of the changelog to this file, to make merging into
other projects easier.
-
Martin Pool
a0d841a59e Merge test cases from rsync. -
Martin Pool
a0033cc83c Doc.
Add additional test case for a bug recently found in rsync by Paul
Green.  Appparently it was fixed here a while ago.
-
Tim Potter
98e84b3e83 Merge Jelmer's popt updates from HEAD. -
Tim Potter
c91cf2b38d Merge of new sid type (SID_NAME_COMPUTER) and tidyup. -
Tim Potter
bf61aeef44 Fix a compiler warning. -
Tim Potter
59f8fc438a Whoops - missed some tdb message registrations from a previous merge. -
Tim Potter
6d7baad38f Merge of doxygen updates from HEAD. -
Tim Potter
b7af3cda28 Merge removal of some unused functions. Commit mistakenly included with
new rpc echo pipe.
-
Gerald Carter
74fab8f0d2 smbcquota patch from metze -
Gerald Carter
31eaf11d2e workaround streams leak on SCO openserver 5.0.x -
Gerald Carter
ab51878a97 workaround streams leak on SCO openserver 5.0.x -
Tim Potter
4ccd34ef83 A new RPC pipe! The \pipe\echo named pipe is for testing large RPC
requests and responses and is only compiled in when --enable-developer
is passed to configure.  It includes server and client side code for
generating and responding to functions on this pipe.  The functions are:

 - AddOne: add one to the uint32 argument and return ig
 - EchoData: echo back a variable sized char array to the caller
 - SourceData: request a variable sized char array
 - SinkData: send a variable sized char array and throw it away

There's a win32 implementation of the client and server in the
junkcode CVS repository in the rpcecho-win32 subdirectory.
-
Martin Pool
a55dc493ca unix_strupper, unix_strlower: Remove fixed-length static buffer that
makes these functions fail for strings over 512 characters.  Now we
use convert_string_allocate, which grows a buffer as necessary.
-
Martin Pool
e8f1399323 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.
-
Jeremy Allison
03ad0179e3 const cleanup.
Jeremy.
-
Jelmer Vernooij
f95741ae88 BUGS.txt -> Bugs appendix in HOWTO Collection -
Jelmer Vernooij
1e1ef7a7b5 BUGS.txt -> Bugs Appendix in HOWTO collection -
Tim Potter
af6ecafcbb 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().
-
Andrew Bartlett
dc04b732ba Fix the interface of pull_ucs2_charcnv() to take a (char **) arg, not a (void **) -