1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00
Commit Graph

6063 Commits

Author SHA1 Message Date
Tim Potter
1876632100 Get list of trusted domains if we haven't fetched them yet. -
Tim Potter
a7ef2d20b1 Fixed display of uninitialised buffer in debug.
Get list of trusted domains if we haven't fetched them yet.
-
Tim Potter
1212591095 Bit of a cleanup of signal handling code.
Ignore the SIGUSR1 signal before we install a handler for it as glibc (?)
seems to just print out "User defined signal 1" and exit if no handler
is installed.
-
Jeremy Allison
a55a63a4ca Fix detection of RedHat 7.2.
Remove unused old file.
Test 42 byte reply to SMBntcreate (W2K does this).
Jeremy.
-
Jeremy Allison
b14ac75666 Fix compile on RedHat 7.2 systems with broken system headers.
Jeremy.
-
Jeremy Allison
a9f7974cb8 Make signal handling safer (handle EINTR on read/write/accept), don't
call slprintf within a signal handler.
Jeremy.
-
Jeremy Allison
22e323ca47 Got ready to implement Martin's idea, but request doesn't have a length
field.... well, now at least the code is there when it does :-).
Jeremy.
-
Tim Potter
caef54e400 Random connection robustness related fixes. Display some debugs about
the currently open connections when winbindd receives a USR1 signal.

Hmm - I've just realised this will conflict with the messaging code
but we don't use that yet.
-
Tim Potter
bedd9c8215 Close the socket and set the file descriptor to -1 if there was a socket
error in cli_receive_smb() and cli_send_smb().
-
Martin Pool
f07915072f Clean up message. -
Martin Pool
8952f8763e #ifdef'd out suggestion for tim on making the winbindd protocol more
robust.
-
Jeremy Allison
804f232398 Added needed debugs...
Jeremy.
-
Jeremy Allison
e6afe40f85 Removed the "reestablish" code. Tridge - scream if this was needed....
Jeremy.
-
Martin Pool
7d8610c4fe Too much of samba depends on finding files in their installed
locations, so we can't do "make check" yet, only "make installcheck".
-
Jeremy Allison
60983782ed Fix from Herb. mincount/maxcount need to be ssize_t for comparisons.
Jeremy.
-
Tim Potter
c8c7da237d Removed unused variable. -
Tim Potter
104899391c Reformatted to 75 columns.
Converted from DOS CRLF format (hmm).

Added suggestion about C vs C++ comments.
-
Martin Pool
7b5b5693f4 Add basic "make check" and "make installcheck" targets, using the
Satyr framework from the buildfarm.  This will eventually be copied
into the Samba source tree, but it is not yet.   See
cvs://samba.org:/data/cvs/satyr

Add "make showlayout" target to show where installation will put
things.
-
Martin Pool
87d27265a5 Cosmetic fix for libpopt-checking test. -
Jeremy Allison
763fd1c787 Look for DOMAIN\group in group lists and ask winbind.
Jeremy.
-
Jeremy Allison
86b7cf7f85 Fix winbind client code so that winbind calls are not made if the
requested name does not have a winbind separator character. This
makes the intent explicit. Tim, contact me if this is not what
you indended.
Jeremy.
-
Steve French
98b9ff2dd8 List of coding suggestions for submitters -
Gerald Carter
253c5eadc2 verified two new win2k rpc's EnumPrinterDataEx() and DeletePrinterdataEx() -
Martin Pool
33904decbc Fix typo. -
Gerald Carter
d636e73295 new Win2k spoolss rpc opnum (unknown right now). -
Jeremy Allison
27081355a9 Formatting fixes only.
Jeremy.
-
Steve French
3623fbb4f0 Minor fixes to help display, and domain enumeration , and also preparation for new command option -
Tim Potter
5c486bd28a Spelling fixes. -
Jeremy Allison
9391efb38e Don't check space on every extend if strict allocate not set.
Jeremy
-
Simo Sorce
023514a0b6 messed up with patches, this should be the right one,
sorry
-
Jeremy Allison
9ff6b0c20c Fixed allocation bug in database prog. Some format fixes.
Jeremy.
-
Simo Sorce
8bb5cb27c2 some bugfix and new functions,
modified mangle.c to use mosltly acnv_????() functions.
this should make also build farm happy
-
Andrew Bartlett
a82c863857 Code duplication is bad. So add an add_signiture() function and just refernce
that.
-
Andrew Bartlett
9590144915 Kill off 'restrict anonymous' becouse it is useless in its current form.
To be replaced with a real restriction in consultation with jra.  (Hence why
I've not touched loadparm.c).

Andrew Bartlett
-
Andrew Bartlett
0c7eefcb5c Fix up some DEBUG()s
Add and fix comments

Add 'const' to some more input paramaters.
-
Andrew Bartlett
1808cd5210 Add back the not null checks in a better place.
Check the pdb_init_sam() for failure.
-
Andrew Bartlett
3eada888fd make sam_account_ok static.
remove rudundent  not null checks

fix indenting
-
Andrew Bartlett
600d83e43f This extra check isn't needed, we can only get here if secuirty=domain -
Andrew Bartlett
80667cb0dd Minor updates. A small dose of const. -
Andrew Bartlett
1a60305f7a autoconf -
Andrew Bartlett
3235880b41 Remove built-in support for clear-text kerberos authentication.
This should remove some confusion from the ./configure, but does not affect the
'real' kerberos support currently residing in smbd/sesssetup.c.

This code is vunerable to a spoofed KDC, and is best replaced by --with-pam and
the pam_krb5 module.  This module includes measures to prevent such spoofing.

Andrew Bartlett
-
Simo Sorce
64dde3b64f fixed, moved and added some functions
note the useful acnv_uxu2 and acnv_u2ux functions in charcnv.c
-
Jeremy Allison
d20949fe50 Use defined constants not integers.
Jeremy.
-
Volker Lendecke
7d70b30dbd As pdb_ldap.c does not compile in HEAD anyway, a not-compiled merge
from 2_2.

Volker
-
Gerald Carter
d4cafc076b Fixed a few typos and added the opnum for ADDPRINTERDRIVEREX to the
rpc_spoolss.h header file.
-
Jeremy Allison
ab607cdf15 Fixup __LPID -> _LPID.
Jeremy.
-
Andrew Bartlett
8e708332ed This change updates lp_guestaccount() to be a *global* paramater, rather than
per-share.  I beleive that almost all the things that this could have done on
a per-share basis can be done with other tools, like 'force user'.

Almost all the user's of this paramater used it as a global anyway...

While this is one step at a time, I hope it will allow me to considerably
simplfy the make_connection() code, particularly for the user-level security
case.

This already removes an absolute truckload of extra attempted password lookups
on the guest account.

Andrew Bartlett
-
Andrew Tridgell
72c1af6f8d fix the tree so it compiles again
grumble, mumble, ...
-
Tim Potter
dad688d8c6 Removed #ifdef TDB_DEBUG around tdb_dump_all() and tdb_printfreelist()
so that tdbtool can be compiled without having to make clean.
-
Andrew Bartlett
62f4e4bd0a Change to guest logon code.
This changes the way we process guest logons - we now treat them as normal
logons, but set the 'guest' flag.  In particular this is needed becouse Win2k
will do an NTLMSSP login with username "", therefore missing our previous guest
connection code - this is getting a pain to do as a special case all over the
shop.

Tridge:  We don't seem to be setting a guest bit for NTLMSSP, in either the
anonymous or authenticated case, can you take a look at this?

Also some cleanups in the check_password() code that should make some of the
debugs clearer.

Various other minor cleanups:

 - change the session code to just take a vuser, rather than having to do a
   vuid lookup on vuser.vuid

 - Change some of the global_client_caps linking

 - Better debug in authorise_login(): show the vuid.

Andrew Bartlett
-