]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
18 years agor22009: change TDB_DATA from char * to unsigned char *
Stefan Metzmacher [Thu, 29 Mar 2007 09:35:51 +0000 (09:35 +0000)] 
r22009: change TDB_DATA from char * to unsigned char *

and fix all compiler warnings in the users

metze

18 years agor22008: use string_term_tdb_data()
Stefan Metzmacher [Thu, 29 Mar 2007 08:24:15 +0000 (08:24 +0000)] 
r22008: use string_term_tdb_data()

metze

18 years agor22007: make string_tdb_data(NULL) possible...
Stefan Metzmacher [Thu, 29 Mar 2007 08:08:52 +0000 (08:08 +0000)] 
r22007: make string_tdb_data(NULL) possible...

metze

18 years agor22006: use string_term_tdb_data()...
Stefan Metzmacher [Thu, 29 Mar 2007 07:30:22 +0000 (07:30 +0000)] 
r22006: use string_term_tdb_data()...

metze

18 years agor22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdc
Jeremy Allison [Wed, 28 Mar 2007 19:47:59 +0000 (19:47 +0000)] 
r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdc
call as smb_krb5_locate_kdc to prevent incorrect linking
and crashes on Solaris.
Jeremy.

18 years agor22002: Fix bug #3974, there are still open issues with -N behavior (doc fix next)
Simo Sorce [Wed, 28 Mar 2007 14:16:34 +0000 (14:16 +0000)] 
r22002: Fix bug #3974, there are still open issues with -N behavior (doc fix next)
and -T argument parsing behavior (which is just insane but a separate bug)

18 years agor22001: change prototype of dump_data(), so that it takes unsigned char * now,
Stefan Metzmacher [Wed, 28 Mar 2007 13:34:59 +0000 (13:34 +0000)] 
r22001: change prototype of dump_data(), so that it takes unsigned char * now,
which matches what samba4 has.

also fix all the callers to prevent compiler warnings

metze

18 years agor22000: remove useless casts
Stefan Metzmacher [Wed, 28 Mar 2007 13:31:52 +0000 (13:31 +0000)] 
r22000: remove useless casts

metze

18 years agor21999: remove useless casts
Stefan Metzmacher [Wed, 28 Mar 2007 13:26:43 +0000 (13:26 +0000)] 
r21999: remove useless casts

metze

18 years agor21998: Fix tdb keynames in netsamlogon_clear_cached_user().
Günther Deschner [Wed, 28 Mar 2007 10:00:42 +0000 (10:00 +0000)] 
r21998: Fix tdb keynames in netsamlogon_clear_cached_user().

No point in deleting U/DOMAIN/RID and UG/DOMAIN/RID keys if we only store U/SID
and UG/SID keys :-)

Next we need to verify the need of calling netsamlogon_clear_cached_user() at all.

Guenther

18 years agor21997: Implement the server side of gss seal negotiate.
Jeremy Allison [Wed, 28 Mar 2007 01:11:27 +0000 (01:11 +0000)] 
r21997: Implement the server side of gss seal negotiate.
Jeremy.

18 years agor21994: Ignore keepalives in the correct buffer (out not in :-).
Jeremy Allison [Tue, 27 Mar 2007 22:37:42 +0000 (22:37 +0000)] 
r21994: Ignore keepalives in the correct buffer (out not in :-).
Jeremy.

18 years agor21993: Don't let keepalives interferece with sign or seal
Jeremy Allison [Tue, 27 Mar 2007 22:27:06 +0000 (22:27 +0000)] 
r21993: Don't let keepalives interferece with sign or seal
in the client code.
Jeremy.

18 years agor21992: Fix keepalive processing when encryption turned on.
Jeremy Allison [Tue, 27 Mar 2007 21:55:43 +0000 (21:55 +0000)] 
r21992: Fix keepalive processing when encryption turned on.
Jeremy.

18 years agor21991: I hate Steve French :-). Add support for encryption
Jeremy Allison [Tue, 27 Mar 2007 21:13:31 +0000 (21:13 +0000)] 
r21991: I hate Steve French :-). Add support for encryption
contexts....
Jeremy.

18 years agor21990: Stop messing with the signing engine just because
Jeremy Allison [Tue, 27 Mar 2007 18:04:36 +0000 (18:04 +0000)] 
r21990: Stop messing with the signing engine just because
we're encrypted. This will make further changes and
spec much more clear.
Jeremy.

18 years agor21989: make use of tdb_*_bystring() and string_term_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 11:22:07 +0000 (11:22 +0000)] 
r21989: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21988: make use of string_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 11:20:55 +0000 (11:20 +0000)] 
r21988: make use of string_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21987: split tdb_prs_*() functions in version which take a keystr and a TDB_DATA key
Stefan Metzmacher [Tue, 27 Mar 2007 11:15:59 +0000 (11:15 +0000)] 
r21987: split tdb_prs_*() functions in version which take a keystr and a TDB_DATA key

metze

18 years agor21986: make use of tdb_*_bystring() and string_term_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 11:01:37 +0000 (11:01 +0000)] 
r21986: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21985: make use of string_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 10:59:03 +0000 (10:59 +0000)] 
r21985: make use of string_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21984: make use of tdb_*_bystring() and string_term_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 10:50:32 +0000 (10:50 +0000)] 
r21984: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21983: make use of tdb_*_bystring() and string_term_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 10:46:20 +0000 (10:46 +0000)] 
r21983: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21982: make use of tdb_*_bystring() and string_term_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 10:43:32 +0000 (10:43 +0000)] 
r21982: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21981: as we use tdb_trans_store(), we should also use tdb_trans_delete()
Stefan Metzmacher [Tue, 27 Mar 2007 10:41:30 +0000 (10:41 +0000)] 
r21981: as we use tdb_trans_store(), we should also use tdb_trans_delete()

metze

18 years agor21980: make use of tdb_*_bystring() and string_term_tdb_data() in smbd/
Stefan Metzmacher [Tue, 27 Mar 2007 10:20:50 +0000 (10:20 +0000)] 
r21980: make use of tdb_*_bystring() and string_term_tdb_data() in smbd/
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21979: make use of string_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 10:15:45 +0000 (10:15 +0000)] 
r21979: make use of string_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

note: we can't use the tdb_*_bystring functions here, as the key isn't
null-terminated here...

metze

18 years agor21978: make use of tdb_*_bystring()
Stefan Metzmacher [Tue, 27 Mar 2007 10:13:53 +0000 (10:13 +0000)] 
r21978: make use of tdb_*_bystring()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21977: little cosmetic change to remove a local var that's not really needed
Stefan Metzmacher [Tue, 27 Mar 2007 10:05:20 +0000 (10:05 +0000)] 
r21977: little cosmetic change to remove a local var that's not really needed

metze

18 years agor21976: make use of tdb_*_bystring() and string_term_tdb_data() in lib/
Stefan Metzmacher [Tue, 27 Mar 2007 09:59:32 +0000 (09:59 +0000)] 
r21976: make use of tdb_*_bystring() and string_term_tdb_data() in lib/
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21975: if we use the _bystring() version when storing, we should use it on fetch...
Stefan Metzmacher [Tue, 27 Mar 2007 09:30:40 +0000 (09:30 +0000)] 
r21975: if we use the _bystring() version when storing, we should use it on fetch too...

metze

18 years agor21974: make use of tdb_*_bystring() and string_term_tdb_data() in groupdb/
Stefan Metzmacher [Tue, 27 Mar 2007 09:17:31 +0000 (09:17 +0000)] 
r21974: make use of tdb_*_bystring() and string_term_tdb_data() in groupdb/
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21973: make use of tdb_*_bystring() and string_term_tdb_data()
Stefan Metzmacher [Tue, 27 Mar 2007 09:12:47 +0000 (09:12 +0000)] 
r21973: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze

18 years agor21972: - add string_term_tdb_data() it creates a null-terminates tdb key from a...
Stefan Metzmacher [Tue, 27 Mar 2007 08:41:45 +0000 (08:41 +0000)] 
r21972: - add string_term_tdb_data() it creates a null-terminates tdb key from a string
  (the current string_tdb_data() creates a non-terminates tdb key from a string!)
- pass TDB_DATA instead of const char *, size_t len to some functions

metze

18 years agor21969: Start working on the gss-side of the server negotiation.
Jeremy Allison [Tue, 27 Mar 2007 00:50:53 +0000 (00:50 +0000)] 
r21969: Start working on the gss-side of the server negotiation.
Jeremy.

18 years agor21968: Don't use gss-types in proto headers.
Jeremy Allison [Tue, 27 Mar 2007 00:29:46 +0000 (00:29 +0000)] 
r21968: Don't use gss-types in proto headers.
Jeremy.

18 years agor21967: Add conversion from gss errors to nt status.
Jeremy Allison [Tue, 27 Mar 2007 00:00:50 +0000 (00:00 +0000)] 
r21967: Add conversion from gss errors to nt status.
Jeremy

18 years agor21965: fix compiler warning
Stefan Metzmacher [Mon, 26 Mar 2007 16:40:29 +0000 (16:40 +0000)] 
r21965: fix compiler warning

metze

18 years agor21964: Add tdbtorture target to main makefile -- Thanks to Karolin Seeger
Volker Lendecke [Mon, 26 Mar 2007 10:57:48 +0000 (10:57 +0000)] 
r21964: Add tdbtorture target to main makefile -- Thanks to Karolin Seeger

18 years agor21963: Fix another uninitialized buffer used in test write - valgrind
Jeremy Allison [Sun, 25 Mar 2007 02:17:05 +0000 (02:17 +0000)] 
r21963: Fix another uninitialized buffer used in test write - valgrind
fix.
Jeremy.

18 years agor21962: Make pdbedit use the configfile specified by -s
Volker Lendecke [Sat, 24 Mar 2007 21:29:53 +0000 (21:29 +0000)] 
r21962: Make pdbedit use the configfile specified by -s

18 years agor21961: Repair bug introduced by rev. 21960.
Jeremy Allison [Sat, 24 Mar 2007 18:22:20 +0000 (18:22 +0000)] 
r21961: Repair bug introduced by rev. 21960.
We need to do the initial strtok to set up the internal state.
Jeremy.

18 years agor21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-)
Volker Lendecke [Sat, 24 Mar 2007 18:14:46 +0000 (18:14 +0000)] 
r21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-)

18 years agor21959: Merge a comment fix from Michael Adam -- more to come :-)
Volker Lendecke [Sat, 24 Mar 2007 18:01:39 +0000 (18:01 +0000)] 
r21959: Merge a comment fix from Michael Adam -- more to come :-)

18 years agor21958: Fix Coverity ID 343 (dead code)
Volker Lendecke [Sat, 24 Mar 2007 10:32:34 +0000 (10:32 +0000)] 
r21958: Fix Coverity ID 343 (dead code)

18 years agor21957: minor formatting fix
Herb Lewis [Fri, 23 Mar 2007 23:10:46 +0000 (23:10 +0000)] 
r21957: minor formatting fix

18 years agor21956: Fix bug reported by don.mccall@hp.com for platforms
Jeremy Allison [Fri, 23 Mar 2007 22:23:09 +0000 (22:23 +0000)] 
r21956: Fix bug reported by don.mccall@hp.com for platforms
without utimes() call (only utime()).
Jeremy.

18 years agor21954: Someone misused a '!' instead of a '~' for a binary NOT
Jeremy Allison [Fri, 23 Mar 2007 22:11:26 +0000 (22:11 +0000)] 
r21954: Someone misused a '!' instead of a '~' for a binary NOT
command. Jerry, Simo, please check.
Jeremy.

18 years agor21953: One format fix, clarify a condition that the IBM
Jeremy Allison [Fri, 23 Mar 2007 21:50:44 +0000 (21:50 +0000)] 
r21953: One format fix, clarify a condition that the IBM
checker was worried about.
Jeremy.

18 years agor21952: Fix critical (!) error found by IBM checker.
Jeremy Allison [Fri, 23 Mar 2007 21:11:08 +0000 (21:11 +0000)] 
r21952: Fix critical (!) error found by IBM checker.
Missing break statements meant that no info
levels would ever be returned correctly from
POSIX open/mkdir.
Jeremy.

18 years agor21950: After discussion with the Apple and Linux client maintainers,
James Peach [Fri, 23 Mar 2007 19:31:11 +0000 (19:31 +0000)] 
r21950: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. The length field does not count any null.

Also add call to chflags(2) in the default VFS module so that this
will work be default on BSD-derived platform. Add UNIX-INFO2 test
to the build farm to get some non-BSD coverage.

Jeremy and Jerry, please review for inclusion in 3.0.25.

18 years agor21948: Fix valgrind error in build farm samba3 smbtorture. We were
Jeremy Allison [Fri, 23 Mar 2007 19:12:08 +0000 (19:12 +0000)] 
r21948: Fix valgrind error in build farm samba3 smbtorture. We were
using an uninitialized buffer for read/write tests.
Jeremy.

18 years agor21947: Fix the equivalent of memcpy(x, x, 16). Found
Jeremy Allison [Fri, 23 Mar 2007 17:00:00 +0000 (17:00 +0000)] 
r21947: Fix the equivalent of memcpy(x, x, 16). Found
by valgrind on the build farm.
Jeremy.

18 years agor21944: move acl header checks to the correct place only
Stefan Metzmacher [Fri, 23 Mar 2007 10:30:51 +0000 (10:30 +0000)] 
r21944: move acl header checks to the correct place only

jeremy: please merge this to 3.0.25:-)

metze

18 years agor21942: Hoist by our own petard :-). Older smbclient binaries
Jeremy Allison [Thu, 22 Mar 2007 22:15:35 +0000 (22:15 +0000)] 
r21942: Hoist by our own petard :-). Older smbclient binaries
were not able to connect to the rewritten dfs code as
they set the dfs flag bit but then send local paths.

Now that our dfs code is a *lot* more robust in
detecting this sort of braindamage we can just
call into it directly on getting a DFS flag
and let the parser sort it out without having
to check it's actually connecting to a dfs
enabled share (I'm proud of this code :-).

Jeremy.

18 years agor21941: Attempt to fix bug 4460
Volker Lendecke [Thu, 22 Mar 2007 22:00:48 +0000 (22:00 +0000)] 
r21941: Attempt to fix bug 4460

18 years agor21940: Sorry Volker, I have to revert your revert in r21935.
Gerald Carter [Thu, 22 Mar 2007 21:41:36 +0000 (21:41 +0000)] 
r21940: Sorry Volker,  I have to revert your revert in r21935.
We can talk about this later if you still feel that strongly
but I need to fix the build for now.

18 years agor21939: Fix missing initialization that
Jeremy Allison [Thu, 22 Mar 2007 19:41:17 +0000 (19:41 +0000)] 
r21939: Fix missing initialization that
broke the build farm. Thanks to
Metze for the heads up.
Jeremy.

18 years agor21935: Revert obviously not sufficiently tested code -- sorry for the pain. I am...
Volker Lendecke [Thu, 22 Mar 2007 18:36:09 +0000 (18:36 +0000)] 
r21935: Revert obviously not sufficiently tested code -- sorry for the pain. I am afraid I was basically off the net for the day

18 years agor21934: fix the build sorry
Stefan Metzmacher [Thu, 22 Mar 2007 18:16:36 +0000 (18:16 +0000)] 
r21934: fix the build sorry

metze

18 years agor21933: Change the write_sock() call in pam_winbind_request()
Gerald Carter [Thu, 22 Mar 2007 18:09:21 +0000 (18:09 +0000)] 
r21933: Change the write_sock() call in pam_winbind_request()
to not request a privileged pipe operation for everything
as this cannot be done from a process running under the
context of a user (e.g. screensaver).

Thanks to Danilo Almeida <dalmeida@centeris.com> for the help
in pointing out the change to write_sock().

18 years agor21932: fix compiler warning.
Stefan Metzmacher [Thu, 22 Mar 2007 17:37:01 +0000 (17:37 +0000)] 
r21932: fix compiler warning.

maybe also for 3.0.25

metze

18 years agor21931: include acl/libacl.h is present
Stefan Metzmacher [Thu, 22 Mar 2007 17:35:34 +0000 (17:35 +0000)] 
r21931: include acl/libacl.h is present

I'm not sure if this should go into 3.0.25... it fixes a compiler warning about
a missing acl_get_perm() prototype

metze

18 years agor21927: Removed unused variable.
Jeremy Allison [Thu, 22 Mar 2007 02:25:16 +0000 (02:25 +0000)] 
r21927: Removed unused variable.
Jeremy.

18 years agor21926: Fix missing enum specifier pointed out by Don McCall @ HP.
Jeremy Allison [Thu, 22 Mar 2007 02:24:12 +0000 (02:24 +0000)] 
r21926: Fix missing enum specifier pointed out by Don McCall @ HP.
Thanks Don !
Jeremy.

18 years agor21925: Start to code up the gss acquire creds calls.
Jeremy Allison [Thu, 22 Mar 2007 01:14:55 +0000 (01:14 +0000)] 
r21925: Start to code up the gss acquire creds calls.
Jeremy.

18 years agor21923: Add in the gss decrypt.
Jeremy Allison [Thu, 22 Mar 2007 00:08:22 +0000 (00:08 +0000)] 
r21923: Add in the gss decrypt.
Jeremy.

18 years agor21922: Fixed the build by rather horrid means. I really need
Jeremy Allison [Wed, 21 Mar 2007 23:49:57 +0000 (23:49 +0000)] 
r21922: Fixed the build by rather horrid means. I really need
to restructure libsmb/smb_signing.c so it isn't in
the base libs path but lives in libsmb instead (like
smb_seal.c does).
Jeremy.

18 years agor21919: now that the local passdb abd BUILTIN have been blacklisted and they always
Simo Sorce [Wed, 21 Mar 2007 21:10:59 +0000 (21:10 +0000)] 
r21919: now that the local passdb abd BUILTIN have been blacklisted and they always
point to the passdb module, remove this comment and move the explanation in
the dimap_ad man page.

Simo.

18 years agor21918: Reverting this change as it is now causing aborts() in
Gerald Carter [Wed, 21 Mar 2007 21:08:15 +0000 (21:08 +0000)] 
r21918: Reverting this change as it is now causing aborts() in
find_builtin_domain().    This all needs more testing
before anyone starts changing these lookup routines again.

18 years agor21917: Start to do the gss versions of sign+seal.
Jeremy Allison [Wed, 21 Mar 2007 19:15:14 +0000 (19:15 +0000)] 
r21917: Start to do the gss versions of sign+seal.
Jeremy.

18 years agor21916: Fix couple of "return" calls on void functions.
Jeremy Allison [Wed, 21 Mar 2007 18:33:13 +0000 (18:33 +0000)] 
r21916: Fix couple of "return" calls on void functions.
Ensure we ignore reqests to free keepalive buffers
as we only copied these.
Jeremy.

18 years agor21913: fix one bug in build 717: correctly check the return from sid_peek_check_rid...
Gerald Carter [Wed, 21 Mar 2007 17:43:49 +0000 (17:43 +0000)] 
r21913: fix one bug in build 717: correctly check the return from sid_peek_check_rid() when trying to find a matching domain

18 years agor21912: There's no point checksumming the packet length
Jeremy Allison [Wed, 21 Mar 2007 17:13:35 +0000 (17:13 +0000)] 
r21912: There's no point checksumming the packet length
this already has to be right. This makes the
signed+sealed area the same as it will be with
gss calls. Now to go implement them.
Jeremy.

18 years agor21908: update with the 3.0.25 packaging
Gerald Carter [Wed, 21 Mar 2007 15:55:45 +0000 (15:55 +0000)] 
r21908: update with the 3.0.25 packaging

18 years agor21905: Rename
Gerald Carter [Wed, 21 Mar 2007 15:21:28 +0000 (15:21 +0000)] 
r21905: Rename
  idmap expire time  -> idmap cache time
  idmap negative time -> idmap negative cache time

18 years agor21904: Fix HP build -- thanks, Don
Volker Lendecke [Wed, 21 Mar 2007 14:13:42 +0000 (14:13 +0000)] 
r21904: Fix HP build -- thanks, Don

18 years agor21903: Get the length calculations right (I always forget
Jeremy Allison [Wed, 21 Mar 2007 02:02:09 +0000 (02:02 +0000)] 
r21903: Get the length calculations right (I always forget
the 4 byte length isn't included in the length :-).
We now have working NTLMSSP transport encryption
with sign+seal. W00t!
Jeremy.

18 years agor21902: Don't free the thing you're trying to set in the cli state.
Jeremy Allison [Wed, 21 Mar 2007 01:32:01 +0000 (01:32 +0000)] 
r21902: Don't free the thing you're trying to set in the cli state.
Jeremy.

18 years agor21901: Don't use fstrcat when you mean fstrcpy. Doh !
Jeremy Allison [Wed, 21 Mar 2007 01:21:16 +0000 (01:21 +0000)] 
r21901: Don't use fstrcat when you mean fstrcpy. Doh !
Jeremy.

18 years agor21900: Token exchange now seems to work, now why does the
Jeremy Allison [Wed, 21 Mar 2007 01:04:56 +0000 (01:04 +0000)] 
r21900: Token exchange now seems to work, now why does the
client encrypt fail ?
Jeremy.

18 years agor21899: At least we're getting to stage 2 of the blob
Jeremy Allison [Wed, 21 Mar 2007 00:56:40 +0000 (00:56 +0000)] 
r21899: At least we're getting to stage 2 of the blob
exchange. Still not working but closer.
Jeremy.

18 years agor21898: Added test command, fixed first valgrind bugs.
Jeremy Allison [Wed, 21 Mar 2007 00:44:15 +0000 (00:44 +0000)] 
r21898: Added test command, fixed first valgrind bugs.
Now to investigate why it doesn't work :-).
Jeremy.

18 years agor21897: Add in a basic raw NTLM encrypt request. Now
Jeremy Allison [Wed, 21 Mar 2007 00:25:08 +0000 (00:25 +0000)] 
r21897: Add in a basic raw NTLM encrypt request. Now
for testing.
Jeremy.

18 years agor21894: Some refactoring of server side encryption context. Support
Jeremy Allison [Tue, 20 Mar 2007 22:01:02 +0000 (22:01 +0000)] 
r21894: Some refactoring of server side encryption context. Support
"raw" NTLM auth (no spnego).
Jeremy.

18 years agor21893: Update comments so they actually reflect reality...
Rafal Szczesniak [Tue, 20 Mar 2007 21:21:04 +0000 (21:21 +0000)] 
r21893: Update comments so they actually reflect reality...

rafal

18 years agor21892: Mini-Patch from Michael
Volker Lendecke [Tue, 20 Mar 2007 20:47:17 +0000 (20:47 +0000)] 
r21892: Mini-Patch from Michael

18 years agor21891: Finish server-side NTLM-SPNEGO negotiation support.
Jeremy Allison [Tue, 20 Mar 2007 18:11:48 +0000 (18:11 +0000)] 
r21891: Finish server-side NTLM-SPNEGO negotiation support.
Now for the client part, and testing.
Jeremy.

18 years agor21888: Add the osname and osver options to 'net ads join' as discussed
Gerald Carter [Tue, 20 Mar 2007 15:29:33 +0000 (15:29 +0000)] 
r21888: Add the osname and osver options to 'net ads join' as discussed
on the samba-technical ml.

I'll add a 'net ads set attribute=value' utility later
rather than the original 'net ads setmachineupn' patch that
was also posted to the tech ml.

18 years agor21887: Fix annoying bug where in a pam_close_session (or a pam_setcred with the
Günther Deschner [Tue, 20 Mar 2007 12:44:40 +0000 (12:44 +0000)] 
r21887: Fix annoying bug where in a pam_close_session (or a pam_setcred with the
PAM_DELETE_CREDS flag set) any user could delete krb5 credential caches.
Make sure that only root can do this.

Jerry, Jeremy, please check.

Guenther

18 years agor21885: Chown logic should be activated only if nfs4:chown=yes
Alexander Bokovoy [Tue, 20 Mar 2007 08:17:27 +0000 (08:17 +0000)] 
r21885: Chown logic should be activated only if nfs4:chown=yes

18 years agor21884: * Blacklist BUILTIN and MACHINE domains from the
Gerald Carter [Tue, 20 Mar 2007 02:43:20 +0000 (02:43 +0000)] 
r21884: * Blacklist BUILTIN and MACHINE domains from the
  idmap domains as these should only be handled by the
  winbindd_passdb.c backend

* Allow the alloc init to fail for backwards compatible
  configurations like

     idmap backend = ad
     idmap uid = 1000-100000
....

* Remove the deprecated flags from idmap backend, et. al.
  These are mutually exclusive with the new configuration
  options (idmap domains).  Logging annoying messages
  about deprecated parameters is confusing.  So we'll try
  this apprpach for now.

18 years agor21883: Try and fix the build by removing the prototypes for
Jeremy Allison [Tue, 20 Mar 2007 02:20:16 +0000 (02:20 +0000)] 
r21883: Try and fix the build by removing the prototypes for
functions that take a gss context handle in includes.h
Jeremy.

18 years agor21882: The server part of the code has to use an AUTH_NTLMSSP struct,
Jeremy Allison [Tue, 20 Mar 2007 01:17:47 +0000 (01:17 +0000)] 
r21882: The server part of the code has to use an AUTH_NTLMSSP struct,
not just an NTLMSSP - grr. This complicates the re-use of
common client and server code but I think I've got it right.
Not turned on of valgrinded yet, but you can see it start
to take shape !
Jeremy.

18 years agor21881: Make sure we are very specific when testing whether a backand can handle a
James Peach [Tue, 20 Mar 2007 00:13:42 +0000 (00:13 +0000)] 
r21881: Make sure we are very specific when testing whether a backand can handle a
particular SID. Make sure that the passdb backend will accept the same set
range of local SIDs that the idmap system sends it.

Simo, Jerry - this is a 3_0_25 candidate. Can you please review?

18 years agor21880: Make client and server calls into encryption code symetrical,
Jeremy Allison [Mon, 19 Mar 2007 22:45:35 +0000 (22:45 +0000)] 
r21880: Make client and server calls into encryption code symetrical,
depending on encryption context pointer.
Jeremy.

18 years agor21879: Move process_blocking_lock_queue to a timed event.
Volker Lendecke [Mon, 19 Mar 2007 21:52:27 +0000 (21:52 +0000)] 
r21879: Move process_blocking_lock_queue to a timed event.

The idea is that we have blocking.c:brl_timeout as a timed
event that is present whenever we do have a blocking lock
pending. It fires brl_timeout_fn() which calls
process_blocking_lock_queue().

Whenever we make changes to blocking_lock_queue, we trigger
a recalc_brl_timeout() which sets a new brl_timout event if
necessary. This makes the call to
blocking_locks_timeout_ms() in setup_select_timeout()
unnecessary, this is implicitly done in
event_add_to_select_args() from the timed events.

Volker

18 years agor21878: Fix a bug with smbd serving a windows terminal server: If winbind decides...
Volker Lendecke [Mon, 19 Mar 2007 21:04:56 +0000 (21:04 +0000)] 
r21878: Fix a bug with smbd serving a windows terminal server: If winbind decides smbd
to be idle it might happen that smbd needs to do a winbind operation (for
example sid2name) as non-root. This then fails to get the privileged
pipe. When later on on the same connection another authentication request
comes in, we try to do the CRAP auth via the non-privileged pipe.

This adds a winbindd_priv_request_response() request that kills the existing
winbind pipe connection if it's not privileged.

Volker

18 years agor21877: Missed one line.
Jeremy Allison [Mon, 19 Mar 2007 21:03:30 +0000 (21:03 +0000)] 
r21877: Missed one line.
Jeremy.

18 years agor21876: Start adding in the seal implementation - prototype code
Jeremy Allison [Mon, 19 Mar 2007 20:39:58 +0000 (20:39 +0000)] 
r21876: Start adding in the seal implementation - prototype code
for the server side enc. (doesn't break anything).
I'll keep updating this until I've got NTLM seal working
on both client and server, then add in the gss level
seal.
Jeremy.