1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

500 Commits

Author SHA1 Message Date
Jeremy Allison
e0989e1304 *Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limit
the unix domain sockets used by winbindd (also solves FD_SETSIZE problem
in winbindd to boot !). Adds a "last_access" field to winbindd connections,
and will close the oldest idle connection once the number of open connections
goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently).
Jeremy.
(This used to be commit 7a586552a3)
2003-02-28 00:25:55 +00:00
Tim Potter
841ccd6950 Merge: newline on debug message.
(This used to be commit df49463e62)
2003-02-25 23:54:40 +00:00
Tim Potter
a03c5f2394 Merge: add popt_common_version to command line options table.
(This used to be commit 8de62f7896)
2003-02-25 23:54:23 +00:00
Andrew Bartlett
d1221c9b6c Merge from HEAD client-side authentication changes:
- new kerberos code, allowing the account to change it's own password
   without special SD settings required
 - NTLMSSP client code, now seperated from cliconnect.c
 - NTLMv2 client code
 - SMB signing fixes

Andrew Bartlett
(This used to be commit 837680ca51)
2003-02-24 02:55:00 +00:00
Tim Potter
fe2f9f813d Merge some random looking setenv related kerberos stuff that makes
winbindd build again.
(This used to be commit c4f46890fe)
2003-02-19 22:50:05 +00:00
Andrew Bartlett
26488953e7 Merge from HEAD: We don't need this any more, setenv() is in replace.c now
(This used to be commit cd6ad1f13b)
2003-02-19 12:33:32 +00:00
Andrew Bartlett
251ea1e677 Merge minor library fixes from HEAD to 3.0.
- setenv() replacement
 - mimir's ASN1/SPNEGO typo fixes
 - (size_t)-1 fixes for push_* returns
 - function argument signed/unsigned correction
 - ASN1 error handling (ensure we don't use initiailsed data)
 - extra net ads join error checking
 - allow 'set security discriptor' to fail
 - escape ldap strings in libads.
 - getgrouplist() correctness fixes (include primary gid)

Andrew Bartlett
(This used to be commit e9d6e2ea9a)
2003-02-19 12:31:16 +00:00
Martin Pool
185d858dd2 Check return code of string_to_sid. (Merge from HEAD)
(This used to be commit 606bb47f24)
2003-02-18 07:15:52 +00:00
Jeremy Allison
798b526c1c Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.
(This used to be commit 20798ac739)
2003-02-15 01:34:37 +00:00
Jeremy Allison
8fc1f1aead Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit a823fee5b4)
2003-02-14 22:55:46 +00:00
Tim Potter
3807a1dadf Mop and bucket for trusted domain enumeration fix.
(This used to be commit 5cfb30551a)
2003-02-14 00:31:30 +00:00
Jeremy Allison
4403a1655c Merge from HEAD...setup the %U substitution in winbindd for the homedir template
Jeremy.
(This used to be commit efc4b738ae)
2003-02-12 01:08:40 +00:00
Jeremy Allison
6aeddce85e Ensure Luke Howard's (C) is added.
Jeremy.
(This used to be commit 4af9e80521)
2003-01-31 18:33:35 +00:00
Jeremy Allison
f8601187ca Merge tpot's changes to request the correct sizes for user dispinfo
from HEAD. I had to do this for him as he was *so* tired, the poor
chap, plus he has this bad leg, plus the dog ate his homework etc. etc.
Jeremy.
(This used to be commit 1e752b48a1)
2003-01-29 20:15:35 +00:00
Andrew Bartlett
1cba0a7579 Merge from HEAD:
- NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor.
  - also consequential changes to the NTLMSSP and SPNEGO parsing functions
  - and the client code that uses the same functions
 - Add ntlm_auth, a NTLMSSP authentication interface for use by applications
   like Squid and Apache.
  - also consquential changes to use common code for base64 encode/decode.
 - Winbind changes to support ntlm_auth (I don't want this program to need
   to read smb.conf, instead getting all it's details over the pipe).
 - nmbd changes for fstrcat() instead of fstrcpy().

Andrew Bartlett
(This used to be commit fbb46da79c)
2003-01-28 12:07:02 +00:00
Jeremy Allison
6b2eb72df0 Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.
Jeremy.
(This used to be commit daf179bcd6)
2003-01-16 20:08:26 +00:00
Jeremy Allison
d5c4685336 Add mutex protection around auth calls.
Jeremy.
(This used to be commit ea4fe9baad)
2003-01-16 00:27:27 +00:00
Tim Potter
f167d37bcd Merge of holding pattern stuff from HEAD.
(This used to be commit bf8bb62023)
2003-01-15 23:32:47 +00:00
Gerald Carter
bbcfb3164c playing janitor for tpot; remove holding pattern
(This used to be commit c8e77809ad)
2003-01-15 19:08:23 +00:00
Gerald Carter
99cdb46208 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
(This used to be commit 0fb724b321)
2003-01-15 18:57:41 +00:00
Gerald Carter
0e15bf6f6a winbindd merges from HEAD
(This used to be commit 8bd91a50d4)
2003-01-15 17:39:47 +00:00
Herb Lewis
9f49bff0e3 cannot assign to const
(This used to be commit 01757e8b51)
2003-01-08 02:18:49 +00:00
Jeremy Allison
64452be9ba Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
(This used to be commit c3a779fc0d)
2003-01-06 07:29:38 +00:00
Andrew Bartlett
1f67168a54 The winbind in Samba 3.0 doesn't use the 'proof' for ntlm_auth_crap, so don't
include it in the struct.  (Important becouse it currently has the same version
number as the one in HEAD, which also doesn't have this).

Andrew Bartlett
(This used to be commit 0d2da98590)
2003-01-04 09:04:06 +00:00
Gerald Carter
f5d5df9644 patch to include support for daemontools from Michael Handler
(This used to be commit a8db1b611d)
2003-01-03 17:39:30 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f947)
2003-01-03 08:28:12 +00:00
Jeremy Allison
f1bebee955 Typo..
Jeremy
(This used to be commit 899d353a56)
2003-01-02 20:25:59 +00:00
Jeremy Allison
da41ac6e6b Merge Andrew Bartletts (size_t)-1 checks.
Jeremy.
(This used to be commit 339f4fe15e)
2003-01-02 19:25:28 +00:00
Jeremy Allison
98ac4503ac Finish adding strings to all talloc_init() calls.
Jeremy.
(This used to be commit aa8439a49e)
2002-12-23 23:54:10 +00:00
Jeremy Allison
ef8bd7c4f7 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
(This used to be commit 09a218a9f6)
2002-12-20 20:21:31 +00:00
Tim Potter
8c93138982 Merge removal of unpopular winbind client environment variable.
(This used to be commit 0637f582fe)
2002-12-20 01:37:39 +00:00
Tim Potter
45030bcbca Formatting syncup.
(This used to be commit 4277262c74)
2002-12-20 01:36:57 +00:00
Tim Potter
f1fc17ea37 Merge from HEAD.
- null termination of winbind request fix
 - bail out if we can't open winbind socket
(This used to be commit 102e490d68)
2002-12-20 01:25:27 +00:00
Gerald Carter
899b6e6d0f merge of get_dc_name()-like code from APP_HEAD; better support password server = DC1 *
(This used to be commit f49de4c517)
2002-12-13 02:07:05 +00:00
Gerald Carter
3ab6fcc5c6 [merge from APP_HEAD]
90% fix for CR 1076.  The password server parameter will no take things
like

        password server = DC1 *

which means to contact DC1 first and the go to auto lookup if it
fails.


jerry
(This used to be commit 016ef8b36b)
2002-11-23 14:52:34 +00:00
Andrew Tridgell
91b7ac9fb9 merged the %U changes to 3.0
(This used to be commit 58fa6bfee8)
2002-11-20 00:53:24 +00:00
Tim Potter
e20b99f226 Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after.
(This used to be commit 7bdaa03f2f)
2002-11-18 22:50:57 +00:00
Tim Potter
6631577f8a Merge from HEAD:
>must add one to the extra_data size to transfer the 0 string terminator.
>This was causing "wbinfo --sequence" to access past the end of malloced
>memory.
(This used to be commit a3c4f013d6)
2002-11-18 22:49:02 +00:00
Gerald Carter
0899eed4ab enable enumeration of domain local groups using LDAP (and in a native mode domain)
(This used to be commit ff4b2411d1)
2002-11-15 17:57:21 +00:00
Jeremy Allison
2f194322d4 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8)
2002-11-12 23:20:50 +00:00
Jelmer Vernooij
f09109c7bc Last sync with HEAD
(This used to be commit 1175b62337)
2002-11-09 17:08:58 +00:00
Gerald Carter
d7fd0d9409 remove accidental debug code.
(This used to be commit 9bba2199e3)
2002-11-09 04:36:43 +00:00
Gerald Carter
3474ec6d51 fix for defunct winbindd from APP_HEAD
(This used to be commit 856678d69f)
2002-11-08 23:47:51 +00:00
Tim Potter
8cdbdb170b Perform my janitorial duties.
(This used to be commit 3810f13682)
2002-11-07 07:24:10 +00:00
Jeremy Allison
f3fe0aa48c Keep branches in sync.....
Jeremy.
(This used to be commit faf92207e7)
2002-11-07 07:17:09 +00:00
Tim Potter
ab1cf8d1cf Merge of get_dc_list() api change from HEAD.
(This used to be commit 6ba7847ce2)
2002-11-06 05:14:15 +00:00
Jeremy Allison
d21a06bbb4 Merge things that bloody tpot should be doing :-).
Jeremy.
(This used to be commit 77d534f7fd)
2002-11-06 00:10:04 +00:00
Tim Potter
aea57af3e3 Fix --set-auth-user command to delete entries from the secrets file when an
empty username/password is passed on the command line.  Previously we were
leaving the domain name set and the password set to a NULL character.

Added a --get-auth-user command to display the restrict anonymous username
information.  Can only be run successfully by root.
(This used to be commit dcaf21efc5)
2002-11-02 01:51:53 +00:00
Tim Potter
d759a02094 Some winbindd cleanups I made trying to fix cr1020:
- move winbindd client handling into accessor functions in
   winbindd_util.c

 - move some winbindd socket routines into accessor functions in
   winbindd_utils.c

(The deadlock situation mentioned in the appliance branch is probably
not applicable since we don't clear the connection cache on SIGHUP.
Perhaps we should?)
(This used to be commit ee0e3d31a1)
2002-11-02 01:36:42 +00:00
Tim Potter
500905fedb Handle the case where the password used in RPC connections (for restrict
anonymous support) is blank.
(This used to be commit b376b7dad0)
2002-11-02 01:06:10 +00:00