1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

6902 Commits

Author SHA1 Message Date
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.
-
Andrew Tridgell
228d4fc47b up the log level for server level security to try to track down the
segvs in the build farm
-
Andrew Tridgell
067a4f87ac don't use /dev/null for a smbpasswd file -
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 Tridgell
9ee13fecb1 basic ADS HOWTO -
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. -
Andrew Tridgell
477b6d27fd we can safely give NO_SUCH_USER if the ticket decodes but the local
account doesn't exist
-
Tim Potter
4ab9ca31a0 Another merge from appliance-head: in [ug]id_to_sid don't call the
winbind function if the id is obviously going to be local.  Cleanup
of winbind [ug]id parameter handling.
-
Tim Potter
d6318add27 challange -> challenge -
Tim Potter
f85c976acc Merge from appliance-head: when creating a default security descriptor
for a printer, save it in ntprinters.tdb instead of recreating it
every time it is required.  This can save at least one winbind lookup
per secdesc creation.  Opening a port monitor and viewing the security
tab in the properties dialog required the security descriptor to be
returned 25 times!
-
Tim Potter
778f5f77a6 Got medieval on another pointless extern. Removed extern struct ipzero
and replaced with two functions:

	void zero_ip(struct in_adder *ip);
	BOOL is_zero_ip(struct in_addr ip);
-
Andrew Bartlett
042b9e3a63 Fix up the build farm again.
This should get us 'green' for once...

Andrew Bartlett
-
Tim Potter
7d10fa2082 dyn_CONFIGFILE fixups. -
Tim Potter
bf491d2aa2 Fixed compiler warnings and dyn_CONFIGFILE related breakage. -
Andrew Bartlett
6caca4301b And delete domain_client_validate.c...
Andrew Bartlett
-
Andrew Bartlett
782835470c This compleats the of the authenticaion subystem into the new 'auth'
subdirectory.

(The insertion of these files was done with some CVS backend magic, hence the
lack of a commit message).

This also moves libsmb/domain_client_validate.c back into auth_domain.c,
becouse we no longer share it with winbind.

Andrew Bartlett
-
Tim Potter
dd2048c418 Removed bogus SAFE_FREE() call of talloced return data from
winbindd_lookup_usergroups()
-
Tim Potter
091f01f34a Ignore *.po files. -
Tim Potter
1dd462844a Fixed some indentation. -
Andrew Tridgell
5100ae4ae0 use DEBUG() not d_printf() in libraries -