1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

5824 Commits

Author SHA1 Message Date
Jeremy Allison
f591ca9f25 Fixes from Jens-Uwe.Walther@force.de to make the -l option behave
consistently.
Jeremy.
-
Simo Sorce
8a2f6fbacd move the global_machine_password_needs_changing where we need it. -
Jeremy Allison
175c640692 Fix usermanager for domains - we were returning no memory when we
should have been returning empty space at end of enumeration.
Jeremy.
-
Jeremy Allison
34244c2a8d iFix from "Shahms E. King" <shahms@shahms.com> to get cups user name
right.
Jeremy.
-
Jeremy Allison
7ebf284ef7 Fix for incorrect creation of print job names, based on a patch by
Jos M.Rodrguez <josemi@iies.es>
Jeremy.
-
Jeremy Allison
956e2a4e37 Fix from bernd@arresum.inka.de for broken krb configure.
Jeremy.
-
Jeremy Allison
5aa3b18f69 Fix from Jim Vopni - muliple definitions of "letter".
Jeremy.
-
Simo Sorce
065d8f69d5 Test if machine password has expired.
This test was lost somehow...
-
Richard Sharpe
83334fc474 A few tweaks around linking libsmbclient -
Tim Potter
ad0cbfbd79 Changed instances of TRUE, FALSE to True, False as some compilers don't
have the first set of symbols.
-
Tim Potter
914e78f053 Removed unused variable. -
Richard Sharpe
b8b5603e0f Fix a stupid error in passing options to CC under AIX -
Jeremy Allison
8db233c8b5 Toomas Soome's fix for joining a domain the old way.
Jeremy.
-
Andrew Bartlett
9bfc480bda Some minor doco on what the build_farm dir does -
Andrew Bartlett
93ff9f6101 I think this was just a typo... If there was some method to the madness then
please yell, but the build has been broken for long enough.

Andrew Bartlett
-
Andrew Bartlett
bd3c2a0cdd This backs out my last change, which broke some of the finer points of RPC
coding :-).  I'll be more carfull in this area in future.

This does not back out the cli_login change, so domain logons still work, but
only for english.

Andrew Bartlett
-
Richard Sharpe
7b392f9f68 A serious set of changes to build libsmbclienmt. Copied much ofthis from
CUPS.
-
Christopher R. Hertel
bbf14e2d4e Andrew B and I were commiting the same fix at the same time in different
trees.  This change simply brings HEAD and 2.2 in line with one another.
Otherwise the code would be differnt but the meaning would be the same,
which is awkward.
Chris 'fifty-seven commits per line changed' Hertel -)-----
-
Andrew Bartlett
cad6f53433 Fix tree breakage, the last change was entirly non-portable, and we already
have this nice variable to do exactly this...
-
Andrew Bartlett
cf1d1cd9d6 This fixes security=domain, which has been broke since the big charset
changeover.  For my own sainity I have created a new function to fill out both
the header and buffer for a string in an RPC struct.  This DOES NOT take a
length argument, only the actual string to be placed.

The RPC code is currently littered with code that does init_uni_hdr() followed
immidiatly by init_unistr2(), and often the length argument is wrong.  (It was
for the code I changed, even before the charset stuff).  Another bug where we
made strings AT LEAST MAX_UNICODE_LEN long hid this bug.

This works for loopback connections to Samba, and can't be any more broke than
it was before :-).  (We had double and revese conversions, fun...).

In particular this makes us multibyte complient.

In any case, if there are no objections I will slowly convert other bits of
code to the same system.
-
Christopher R. Hertel
22ea0770d8 Fix from John Malmberg. When I added the additional information to the
debug block that reports multiple query responses I did not notice that
the local answer_ip variable was only selectively set.

Chris -)-----
-
Andrew Bartlett
9c9fe2674d Try to avoid clashes with OpenSSL when built --with-ssl, they also have md5.h,
but with a more 'interesting' licence.
-
Richard Sharpe
7631bade9c Change the order of the -fPIC and -KPIC tests to ensure that UnixWare
is handled.
-
Andrew Tridgell
a83d506e5c much better handling of broken DNS servers
we no longer lookup our own name when we create a socket in
open_socket_in(). That makes things work much better with the
broken DNS server at VA
-
Andrew Tridgell
d472ee3a69 added winbind_exclude_domain() so smbd can tell the winbind client
code not to do lookups for a particular domain. This allows winbind to
operate on a Samba PDC
-
Tim Potter
fa1dfb681b Removed unused local variables. -
Jean-François Micouleau
3056357cd8 implement:
LSA_ENUM_PRIVS
	LSA_PRIV_GET_DISPNAME
	LSA_ENUM_ACCOUNTS
	LSA_OPENACCOUNT
	LSA_ENUMPRIVSACCOUNT
	LSA_GETSYSTEMACCOUNT

It's a work in progress. nobody should expect it to work

	J.F.
-
Jean-François Micouleau
3f14dda2a2 add query user info level 20 (for RAS)
add query dominfo level 5
some cleanup, don't free talloced memory.
implement delete domain and local groups.

	J.F.
-
Jean-François Micouleau
a8006e6f3e when converting ascii to unicode, if the ascii string is NULL, don't
convert it, rpcstr_push doesn't like it.
-
Jean-François Micouleau
c08e22713e split the nt_drivers.tdb in 3 separate tdb files. Should speed-up lookups
J.F.
-
Jean-François Micouleau
f47797fa95 when retrieving by sid fill also the map.sid field -
Jean-François Micouleau
42fc4f4154 allow to rename an NT group -
Andrew Tridgell
b2a4a62b5e fixed anonymous login in rpcclient -
Andrew Tridgell
abe01facea removed remnants of libtool -
Andrew Tridgell
29d8f9bcb3 improved the command line parsing of rpcclient -
Andrew Tridgell
001129e215 allow winbindd to run as non-root so we can test it more easily -
Andrew Tridgell
3dc9fd076a formatting fix -
Andrew Tridgell
9449544428 added sec_initial_uid() function so we can ask if a file is owned by
the initial uid
-
Andrew Tridgell
66632782c5 fixed the auto-initialisation of the iconv descriptors -
Andrew Bartlett
51903dbfee Update tests, start testing password server code, now I have it working and
know what it does...

Andrew Bartlett
-
Andrew Bartlett
04f090c224 This removes unused paramaters from various authtication functions, and should
not change behaviour.

This should make my later diffs smaller, where I actualy start cleaning up this
mess...

Andrew Bartlett
-
Andrew Bartlett
ebd2f9b07c Fix the loading of configuration files using the include syntax.
We had a problem where if a % macro in the smb.conf could be ignored if the
various files it pointed to had the same time-stamp.

This changes the code to insted check that the both the time-stamp and the
substituted filename are the same over each change.

This was picked up only becouse the build-farm automaticly generates its config
files, and hence gets identical timestamps.

(Why this doesn't happen all the time I'm not entirly sure, somthing to do with
the 'test' paramater to reload_services(), but this fixes this problem).

Andrew Bartlett
-
Andrew Tridgell
d5097b2f20 fixed some unicode and LANMAN2 bugs in trans2 find first/next -
Andrew Tridgell
dc99b9ddf8 fixed some unicode and LANMAN2 bugs in trans2 find first -
Andrew Bartlett
7a478e050f Add a new paramater: add machine script
This allows the administrator to define different scripts for adding unix users
and automaticly adding machines.  If it is not defined, it falls back to the
value of 'add user script'.

Andrew Bartlett
-
Andrew Bartlett
8df8e84144 Add backend encryption support for NTLMv2.
The leg-work for this was done by the folks at samba-tng.org, I'm just bringing
it accross to HEAD.

The MD5 implementation is seperatly derived, and does not have the copyright
problems that the one in TNG has.

Also add const to a few places where it makes sence.

Andrew Bartlett
-
Andrew Bartlett
4f7b2f51b0 You can't dump_data() a function pointer...
Andrew Bartlett
-
Andrew Bartlett
dc588ee87a Update smbtorture in line with SAMBA_2_2
Andrew Bartlett
-
Jeremy Allison
79574c07ed Password changing via PAM works now. DONT CHANGE THIS UNLESS YOU RE-TEST !!!!!!
Jeremy.
-
Andrew Tridgell
f4359b5f7f fixed strrchr_m -