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

6468 Commits

Author SHA1 Message Date
Andrew Tridgell
5296b20ad8 the next step in the intl changeover. This should get us compiling agian,
and also completes the switch to lang_tdb.c. SWAT should now work
with a po file in the lib/ directory

also removed useless SYSLOG defines in many files
-
Andrew Tridgell
8ca8875cd9 bit neater talloc_asprintf() implementation -
Andrew Tridgell
1bcdf9106a minor Realloc() fix - pedantic -
Tim Potter
5fc97e72eb Some reformatting. -
Tim Potter
c6338d7eae Pass domain structure around in cache code rather than the domain name. -
Tim Potter
295dd2a581 Resurrected sam sequence number code.
Pass domain structure around in cache code rather than the domain name.

Some misc reformatting to make things look prettier.
-
Andrew Tridgell
131010e9fb fixed NTLMSSP with XP servers (who don't send the duplicate challenge
in the asn1 spnego structures)
-
Andrew Tridgell
b218d465a1 fixed two bugs in the NTLMSSP code
- handle servers that don't send a kerberos principle (non-member servers)
 - enable spnego without KRB5
-
Simo Sorce
7264d611ef introduce mangle backward compatibility functions
add talloc_asprintf()
-
Jeremy Allison
ebba334c15 Made nt acl support a local parameter for w2ksp2 profile fix.
Jeremy.
-
Tim Potter
3e9a80d5be Converted a few winbind functions to use a talloc context that is destroyed
immediately after the call.
-
Tim Potter
2d5b0f7ad8 fixed compiler warning. -
Tim Potter
ffef3c3869 This file is really old and not used anymore. -
Tim Potter
f6f0a444fa Moved from include subdir. -
Tim Potter
3baa90470b Moved to rpcclient subdirectory. -
Tim Potter
a40facba96 Some old stuff hanging around since the CIFS conference. Big cleanup of
rpcclient code.  Refactored cmd_* functions to move common mem_ctx and pipe
opening stuff up one level.  Moved rpcclient.h into rpcclient directory and
out of includes/smb.h
-
Andrew Tridgell
7092beef9d moved some OIDs to the ASN.1 header -
Andrew Tridgell
076aa97bee added NTLMSSP authentication to libsmb. It seems to work well so I have enabled it by default if the server supports it. Let me know if this breaks anything. Choose kerberos with the -k flag to smbclient, otherwise it will use SPNEGO/NTLMSSP/NTLM -
Tim Potter
4f12df9fc5 Removed some unused code from the recent cleanup. -
Jeremy Allison
2b135fba62 Fix for tdb_oob() on TDB_INTERNAL databases.
Jeremy.
-
Gerald Carter
062bba07f2 merge from 2.2 -
Andrew Tridgell
8b692d8326 improve the error handling in the ASN1 code a bit -
Andrew Tridgell
395cfeea94 added a ASN.1 parser, so now I can properly parse the negTokenInit
packet which means I can extract the service and realm, so we should
now work with realms other than the local realm.

it also means we now check the list of OIDs given by the server just
in case it says that it doesn't support kerberos. In that case we
should fall back to NTLMSSP but that isn't written yet.
-
Simo Sorce
39409a20f6 remove unused function in mangle.c
fix some alloc leaks spotted by andreas moroder.
-
Andrew Tridgell
919734c1a6 fixed some memory leaks, started adding asn1 decoder for server side -
Andrew Tridgell
ab7f67677a first step in converting the head branch to use lang_tdb.c instead
of gettext for internationalisation support. There is more to do
-
Andrew Tridgell
13d168f13f profile.h is now known as smbprofile.h due to a conflict with badly
written MIT kerberos5 header files :(
-
Andrew Tridgell
d330575856 initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To
activate you need to:

- install krb5 libraries
- run configure
- build smbclient
- run kinit to get a TGT
- run smbclient with the -k option to choose kerberos auth
-
Jeremy Allison
d1adaee373 Fixed bug when status=no and max smbd processes > 0.
Jeremy.
-
Tim Potter
c6a01f0a67 Merge from 2.2 -
Tim Potter
dc4ca0e0bd Got the rest of the group functions working. Did some reformatting (man
what was I thinking with those 4 character tabs?)

We now pass our winbindd test suite again!

Still to do:

 - talloc_ctx on a per winbindd request basis not per connection
 - clean up old crap we don't use any more
 - test against multiple BDCs (I know this isn't going to work - group/user
   handles have to be made against the same DC the domain and basic handles
   are.
 - implement network and dc failure recovery
-
Jeremy Allison
3b56239c51 Back-out the share acl fix. Not needed (Gerald has been telling porkies
again :-) :-).
Jeremy.
-
Gerald Carter
c76bf8ed32 mega-merge from 2.2 -
Gerald Carter
96c9df577b merge from 2.2 -
Simo Sorce
de70a56e04 ops, remove my test code, sorry.
fix some return codes missed in previous commit.
-
Tim Potter
c9b3e6c714 Fixed some compile warnings. -
Tim Potter
63731d4a00 Implemented sam group handle stuff. getent group now works. -
Jeremy Allison
4d57c7520f Fix bug where removing root from a share SD stops further edit access.
Jeremy.
-
Jeremy Allison
29730027d8 Fixes from John Trostel (modified somewhat by me) to ensure that all lookup_XX
functions correctly deal with the SID_NAME_TYPE. One fix for connection user
lookup in LSA.
Jeremy.
-
Simo Sorce
7895593929 old fixes I forgot to commit -
Simo Sorce
53b95b3c0f initial support to error report in smbclient, useful when using smbclient -c in scripts.
Thanks to Claudio Cicali aka FleXer for the initial patch
-
Jeremy Allison
129c640810 Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-).
Jeremy.
-
Simo Sorce
c0bb484e0f tim suggested to add a copyright note :) -
Tim Potter
4f8ea87787 More work on winbindd connection rewrite:
- implemented some of the sam related connection manager routines
 - fill in group id and gecos fields for getpwnam/getpwuid routines
 - convert querydispinfo to cm
 - getent passwd now works

Now for the group related routines...
-
Simo Sorce
74f746fee2 more fixing and testing.
added ucs2_to_dos83 function.
the code should be ok now.
further test with japanese and other languages is needed at this point.
-
Andrew Tridgell
67017619af fixed lame valid table -
Gerald Carter
831530d93d merge from 2.2 -
Anton Blanchard
6612abf827 PPC spinlocks work again. Sorry, my bad. -
Andrew Bartlett
ac11a23125 Fix up indenting in out SAM password check code. -
Andrew Bartlett
154d0ea4df move libsmb/domain_client_validate.o around in the makefile again, it really is
an authenticaion object that happens to also be used by winbind.  We need to
fix this up at some stage.

In the end it will probably be best if winbind does the login over its own
internally managed connections, not a new one per authenticiaon.  Then this
would no longer be an issue, as it could call cli_nt_login_network() directly.

Andrew Bartlett
-