1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

5853 Commits

Author SHA1 Message Date
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
-
Tim Potter
a99d9cec7e Fixed incorrect debug message. )-: -
Martin Pool
be5d32eb9c spoolss_io_devmode private data is binary and should be shown in hex,
not ascii.
-
Jeremy Allison
c339a99a89 Only 1mb allocate slop.
Jeremy.
-
Jeremy Allison
36ea09d3a0 Merge overdue changes from 2.2. Fix <4gb write problem.
Jeremy.
-
Jeremy Allison
eba8204bfa Added more define bits. Fixed error in vol attributes.
Jeremy.
-
Jeremy Allison
970ec14b4b Added debug in truncate, fixed warning with gcc3.
Jeremy.
-
Steve French
3fd96a4754 Add function to add those hosts who have added msbrowse (domain master browsers) -
Tim Potter
cd9334bd57 Added delheaders as a dependency for clean. -
Simo Sorce
8b494b0be3 add convert_string_allocate() function -
Andrew Bartlett
39f9c78d07 UGLY HACK to get machines to join tdbsam domains again.
The problem is that we don't use the bitmap field, and so have to guess what
feilds to change.  NT4 sets the RID to NULL in its reply, (as a no-change
value) and we were attempting to set that as a RID.

jfm:  Can you get me the info on that bitmap, so I can construct a proper fix
to all this?

Thanks!
-