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
Andrew Tridgell
e6004062a5 fixed toupper_w() and friends on big-endian
this fixes the core dumps on sparc
-
Andrew Tridgell
80841f5763 2nd attempt at fixing lame char tables on big endian machines -
Andrew Tridgell
568425709d fixed lame char tables on big endian machines -
Andrew Tridgell
23ef22f117 fixed some krb5 ifdefs -
Gerald Carter
c60aa6c06f merge from APPLIANCE_HEAD -
Jeremy Allison
c7dd0364f2 space -> tab.
Jeremy.
-
Herb Lewis
5f625f2877 add .po32 files to ignore list -
Jeremy Allison
0187d4ba16 Spelling pedents strike again :-).
Jeremy.
-
Andrew Bartlett
1e4fc749ad Allow kerberos to work on RedHat and other non /usr systems again
the configure test uses the CPPFLAGS when checking that krb5.h exists
-
Andrew Tridgell
e790bb21d3 fixed a core dump in server level security -
Jeremy Allison
1f3dcd99bd Ensure the CAN_WRITE is checked and prevents O_CREAT and O_TRUNC from
being set. Also prevent an open on a file on a readonly share from
setting delete on close.
Jeremy.
-
Jeremy Allison
b69127391b Re-added "Share modes" meaning don't allow deny mode conflict. Due to
user demand (don't talk to me about removing parameters.... :-).
Jeremy.
-
Andrew Tridgell
8698f7ef3e turn off the insure xterm hack for now -
Tim Potter
1d2305c233 Added a 'keys' command to tdbtool which prints out all keys in the tdb. -
Andrew Tridgell
e2ba2383c9 fix a bunch of places where we can double-free a cli structure -
Jeremy Allison
39f076b56c Cross merge to make 2.2 and HEAD closer.
Jeremy.
-
Jean-François Micouleau
99471d2569 added samr_set_domain_info and samr_unknown_2E.
We now get the full account policy window in usermanager, and the
framework to store all those values. I plan to add a TDB file to store
them.

oh, and found that the last value in a sam_unknown_info_12_inf struct is
an uint16 and not a uint32.

andrewb: you hardcoded the MAX_PASSWORD_AGE to 21 days. We can now turn it
to a value setable in usermanager.

        J.F.
-
Tim Potter
6446d2acd5 Some reformatting.
M-x tabify
-
Andrew Tridgell
3b3f8a9350 always send an OID list until we handle raw (unwrapped) NTLMSSP
packets in session setup
-
Jeremy Allison
8150f0f3f7 Fix for the logic bug wrt. existant oplocks. See long message
in samba-technical for explaination.
Jeremy.
-
Jeremy Allison
fceba7dea5 Added negative caching to group lookups.
Jeremy.
-
Andrew Tridgell
17e2f38973 added test for krb5.h
this was causing the kerberos stuff to fail compilation on several
platforms
-
Jeremy Allison
4013ae87a1 Added negative caching to the user pw lookup by name and by uid.
Jeremy.
-
Jeremy Allison
c7f1d3d6f7 Added PRINTER_ALREADY_EXISTS error check from Gerry.
Jeremy
-
Andrew Tridgell
91bc14f430 allow printing of NULL pointers with internal snprintf -
Andrew Tridgell
1bd3235744 fixed the panics on basicsmb-sharelist on sun1 -
Richard Sharpe
6e2c06a6e6 Fix another memory leak spotted by Tom Jansen. -
Andrew Tridgell
4b89fdecfc sigh.
some systems have libkrb5 but not krb5.h
-
Jeremy Allison
014b0973a3 nsswitch/winbindd_group.c nsswitch/winbindd_user.c: formatting fixups.
smbd/open.c: Fix "delete on close" for directories.
Jeremy.
-
Andrew Tridgell
96224fe2d4 reverted incorrect patch -
Andrew Tridgell
8eb4277b12 fixed leak in free_user_info() -
Andrew Tridgell
982d6d447a another memory leak bites the dust -
Andrew Tridgell
37aa2873e5 fixed another memory leak -
Andrew Tridgell
1976a8f875 prevent a bogus insure wild ptr message -
Andrew Tridgell
1a30efdc2c added -i option to nmbd, giving interactive mode (like winbindd) -
Andrew Tridgell
5abf844203 more memory leak fixes -
Andrew Tridgell
8712ac8499 unable to open smbpasswd on initial create should only be a warning -
Andrew Tridgell
911c57403b prevent a memory leak of cli structures -
Andrew Tridgell
1421f2fbcb fix sense of lp_allow_trusted_domains()
fix a memory leak
-
Andrew Tridgell
00e4f0c803 don't try to auto-change the trust password unless we are in domain
security
-
Andrew Tridgell
0120dea7f0 automatically look for /usr/kerberos to make redhat happy -
Andrew Tridgell
b599947348 don't die with a FPE if there are no DCs -
Andrew Tridgell
e3698259af increment the value not the pointer -
Andrew Bartlett
6a919bcf3d Fix --enable-developer shadow warning -
Andrew Bartlett
44224ae156 Fix debug -
Andrew Bartlett
e89b47f65e A number of things to clean up the auth subsytem a bit...
We now default encrypt passwords = yes

We now check plaintext passwords (however aquired) with the 'sam' backend
rather than unix, if encrypt passwords = yes.

(this kills off the 'local' backed.  The sam backend may be renamed in its
place)

The new 'samstrict' wrapper backend checks that the user's domain is one of
our netbios aliases - this ensures that we don't get fallback crazies with
security = domain.

Similarly, the code in the 'ntdomain' and 'smbserver' backends now checks
that the user was not local before contacting the DC.

The default ordering has changed, we now check the local stuff first - but
becouse of the changes above, we will really only ever contact one
auth source.

Andrew Bartlett
-
Andrew Tridgell
b175c42080 add SEC_ADS auth method -
Andrew Tridgell
48df0d2b5d updated server_role for ADS -
Andrew Bartlett
70e9c2efaa prevent proto from picking up this as a defintion for 'main()' becoue it conflicts with nmbd's definition. -
Tim Potter
8227f6909c More compiler warnings fixed. Some minor reformatting. -