kai/samba-autobuild/.git
16 years agor11942: patch from Marcin to fix the mkdir() in perfcount daemon
Gerald Carter [Mon, 28 Nov 2005 15:56:10 +0000 (15:56 +0000)]
r11942: patch from Marcin to fix the mkdir() in perfcount daemon

16 years agor11938: Fix cifs to handle non-numeric uid and gid parameters and merge trunk and...
Steve French [Mon, 28 Nov 2005 05:43:21 +0000 (05:43 +0000)]
r11938: Fix cifs to handle non-numeric uid and gid parameters and merge trunk and SAMBA_3 versions of mount.cifs and cleanup cifs vfs help.

Modified version of patch from Olaf Kirch <okir at SuSE dot de> for
Novell Bug 120601

16 years agor11936: Fix bug in returning remote time found by Thomas Bork <tombork@web.de>.
Jeremy Allison [Sun, 27 Nov 2005 21:51:46 +0000 (21:51 +0000)]
r11936: Fix bug in returning remote time found by Thomas Bork <tombork@web.de>.
get_time_zone() was overwriting static buffer returned by
gmtime(). Lars - this is a mandatory fix for the next patch...
Jeremy.

16 years agor11927: No users or groups to return in BUILTIN domain.
Jeremy Allison [Sun, 27 Nov 2005 01:26:52 +0000 (01:26 +0000)]
r11927: No users or groups to return in BUILTIN domain.
Jeremy.

16 years agor11924: Added Volkers's (C) to srv_samr_nt.c, removed separate "builtin"
Jeremy Allison [Sun, 27 Nov 2005 01:17:24 +0000 (01:17 +0000)]
r11924: Added Volkers's (C) to srv_samr_nt.c, removed separate "builtin"
search enumeration, fixed count of groups and users to return
zero if we're getting domain info on the builtin domain (need
to fix the enumgroup and enumuser calls also). Added count_sam_aliases
to return the correct alias count. Need to push the SID arg
down into the group mapping interface so we only return the
correct aliases. Upped passdb version numer for Volkers
changes. SAM-MYSQL guys - you will need to fix your backend
now. More tests needed.
Jeremy.

16 years agor11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels a bit
Volker Lendecke [Sat, 26 Nov 2005 22:28:41 +0000 (22:28 +0000)]
r11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels a bit
wrong, but so far we don't have proper multi-domain support in passdb yet...

Volker

16 years agor11922: Looks bigger than it is: There's no point in allocating arrays in
Volker Lendecke [Sat, 26 Nov 2005 22:04:28 +0000 (22:04 +0000)]
r11922: Looks bigger than it is: There's no point in allocating arrays in
samr_lookup_rids twice. It was done in the srv_samr_nt.c code as well as in
the pdb module. Remove the latter, this might happen more often.

Volker

16 years agor11921: samr_open_domain can only open "our" domain and BUILTIN.
Volker Lendecke [Sat, 26 Nov 2005 21:35:43 +0000 (21:35 +0000)]
r11921: samr_open_domain can only open "our" domain and BUILTIN.

Volker

16 years agor11920: Rename local_lookup_rid to lookup_global_sam_rid, add lookup_builtin_rid.
Volker Lendecke [Sat, 26 Nov 2005 21:02:48 +0000 (21:02 +0000)]
r11920: Rename local_lookup_rid to lookup_global_sam_rid, add lookup_builtin_rid.

Volker

16 years agor11919: The generic mappings in srv_samr_nt.c are only used there -- make them
Volker Lendecke [Sat, 26 Nov 2005 20:28:12 +0000 (20:28 +0000)]
r11919: The generic mappings in srv_samr_nt.c are only used there -- make them
static.

One long overdue simplification: Change local_lookup_sid to local_lookup_rid
its responsible for "our" domain only, in fact it checked for it.

Volker

16 years agor11918: Remove two unused variables
Volker Lendecke [Sat, 26 Nov 2005 19:22:17 +0000 (19:22 +0000)]
r11918: Remove two unused variables

16 years agor11917: Move nt_token_to_group_list to srv_netlog_nt.c. srv_util.c is empty now.
Volker Lendecke [Sat, 26 Nov 2005 19:17:57 +0000 (19:17 +0000)]
r11917: Move nt_token_to_group_list to srv_netlog_nt.c. srv_util.c is empty now.

Volker

16 years agor11916: auth_get_sam_account is only used in auth_rhosts.c -- move it there
Volker Lendecke [Sat, 26 Nov 2005 18:20:58 +0000 (18:20 +0000)]
r11916: auth_get_sam_account is only used in auth_rhosts.c -- move it there

16 years agor11915: Remove unused extern declarations
Volker Lendecke [Sat, 26 Nov 2005 17:54:24 +0000 (17:54 +0000)]
r11915: Remove unused extern declarations

16 years agor11914: After talking to Jeremy, implement passdb:expand_explicit with a default of
Volker Lendecke [Sat, 26 Nov 2005 09:50:54 +0000 (09:50 +0000)]
r11914: After talking to Jeremy, implement passdb:expand_explicit with a default of
no. This changes our default behaviour.

Sorry, Ingo, this *is* a bug that needs fixing.

Jerry, you might want to put a marker into the WHATSNEW.txt when this is due.

Volker

16 years agor11909: Implement 'reset on zero vc'. This kills other connections when a session
Volker Lendecke [Fri, 25 Nov 2005 12:31:40 +0000 (12:31 +0000)]
r11909: Implement 'reset on zero vc'. This kills other connections when a session
setup comes in with the vc (virtual connection) field set to zero. This is
done by Windows, probably you can tweak that by some registry key.

This boolean option controls whether an incoming session setup
should kill other connections coming from the same IP. This matches
        the default Windows 2003 behaviour.

Setting this parameter to yes becomes necessary when you have a flaky
network and windows decides to reconnect while the old connection
still has files with share modes open. These files become inaccessible
over the new connection.

The client sends a zero VC on the new connection, and Windows 2003
kills all other connections coming from the same IP. This way the
locked files are accessible again.

Please be aware that enabling this option will kill connections behind
a masquerading router.

Volker

16 years agor11898: Add a missing become_root().
Volker Lendecke [Fri, 25 Nov 2005 10:19:24 +0000 (10:19 +0000)]
r11898: Add a missing become_root().

Volker

16 years agor11886: Fix 3187: logon hours restrictions were off corresponding to our offset from
Jim McDonough [Wed, 23 Nov 2005 22:08:57 +0000 (22:08 +0000)]
r11886: Fix 3187: logon hours restrictions were off corresponding to our offset from
GMT.  Use gmtime() instead of localtime() in the calc, but still use
localtime() in displaying it.

16 years agor11876: When we are using START_TLS to secure the LDAP connection, we *have* to
Günther Deschner [Wed, 23 Nov 2005 11:29:55 +0000 (11:29 +0000)]
r11876: When we are using START_TLS to secure the LDAP connection, we *have* to
call START_TLS again after rebinding to another LDAP server. (ldaps://
uri's are handled at by recent versions of OpenLDAP).

Guenther

16 years agor11875: Allow to use START_TLS (by manually setting "ldap ssl = start_tls") for
Günther Deschner [Wed, 23 Nov 2005 11:21:16 +0000 (11:21 +0000)]
r11875: Allow to use START_TLS (by manually setting "ldap ssl = start_tls") for
LDAP connections to ADS (Windows 2003).

Guenther

16 years agor11874: Merge LDAP connection setup in lib/smbldap.c and pdb_nds.c.
Günther Deschner [Wed, 23 Nov 2005 11:17:04 +0000 (11:17 +0000)]
r11874: Merge LDAP connection setup in lib/smbldap.c and pdb_nds.c.
Also allow to use START_TLS in the pdb_nds_update_login_attempts
function when doing simple binds to eDir.

Guenther

16 years agor11867: attempt at fixing the compile issue with nss_winbind.so on HP-UX caused by...
Gerald Carter [Tue, 22 Nov 2005 20:48:56 +0000 (20:48 +0000)]
r11867: attempt at fixing the compile issue with nss_winbind.so on HP-UX caused by Solaris specific return codes

16 years agor11865: The only way to stop multiple LDAP searches is to agressively cache
Jeremy Allison [Tue, 22 Nov 2005 20:26:23 +0000 (20:26 +0000)]
r11865: The only way to stop multiple LDAP searches is to agressively cache
results. We now cache them for 10 seconds, down from 30 seconds
(however each re-use will refresh the idle timeout). Any set calls
will flush the cache.
Jeremy.

16 years agor11864: fix build breakage with solaris LDAP patch (my fault)
Gerald Carter [Tue, 22 Nov 2005 19:48:33 +0000 (19:48 +0000)]
r11864: fix build breakage with solaris LDAP patch (my fault)

16 years agor11863: BUG 3196: patch from Alex Deiter <tiamat@komi.mts.ru> to compile against...
Gerald Carter [Tue, 22 Nov 2005 17:15:28 +0000 (17:15 +0000)]
r11863: BUG 3196: patch from Alex Deiter <tiamat@komi.mts.ru> to compile against the Sun LDAP client libs.  But not for AD support; just ldap support

16 years agor11861: Fix inspired by Thomas Neumann <t.neumann@iku-ag.de> to ensure that
Jeremy Allison [Tue, 22 Nov 2005 16:21:52 +0000 (16:21 +0000)]
r11861: Fix inspired by Thomas Neumann <t.neumann@iku-ag.de> to ensure that
default case applies only to new files and correctly examines 8.3
and long names.
Jeremy.

16 years agor11860: BUG 3156: don't use find_service() when explicitly looking for a printer...
Gerald Carter [Tue, 22 Nov 2005 15:52:22 +0000 (15:52 +0000)]
r11860: BUG 3156: don't use find_service() when explicitly looking for a printer as the username map might get in the way

16 years agor11859: Another place where the SE_GROUP constants read better then "7".
Günther Deschner [Tue, 22 Nov 2005 14:41:40 +0000 (14:41 +0000)]
r11859: Another place where the SE_GROUP constants read better then "7".

Guenther

16 years agor11858: Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
Günther Deschner [Tue, 22 Nov 2005 14:38:49 +0000 (14:38 +0000)]
r11858: Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.

Guenther

16 years agor11857: Fix the build.
Günther Deschner [Tue, 22 Nov 2005 14:32:29 +0000 (14:32 +0000)]
r11857: Fix the build.

Guenther

16 years agor11856: Replace unknown1 with group_attr.
Günther Deschner [Tue, 22 Nov 2005 14:29:14 +0000 (14:29 +0000)]
r11856: Replace unknown1 with group_attr.

Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ?

Guenther

16 years agor11855: patch from Aruna Prabakar for checking that the spooler si running on HP-UX
Gerald Carter [Tue, 22 Nov 2005 14:20:02 +0000 (14:20 +0000)]
r11855: patch from Aruna Prabakar for checking that the spooler si running on HP-UX

16 years agor11854: Remove unused DOM_SID.
Günther Deschner [Tue, 22 Nov 2005 14:13:56 +0000 (14:13 +0000)]
r11854: Remove unused DOM_SID.

Guenther

16 years agor11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).
Günther Deschner [Tue, 22 Nov 2005 14:10:49 +0000 (14:10 +0000)]
r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).

Guenther

16 years agor11852: Fill in samr_get_dom_pwinfo based on Samba4.
Günther Deschner [Tue, 22 Nov 2005 13:58:51 +0000 (13:58 +0000)]
r11852: Fill in samr_get_dom_pwinfo based on Samba4.

Guenther

16 years agor11851: Display correct error string.
Günther Deschner [Tue, 22 Nov 2005 13:33:44 +0000 (13:33 +0000)]
r11851: Display correct error string.

Guenther

16 years agor11847: Fix typo.
Günther Deschner [Tue, 22 Nov 2005 12:45:53 +0000 (12:45 +0000)]
r11847: Fix typo.

Guenther

16 years agor11846: Destroy the TALLOC_CTX on error in the Kerberos session setup and give a
Günther Deschner [Tue, 22 Nov 2005 10:22:59 +0000 (10:22 +0000)]
r11846: Destroy the TALLOC_CTX on error in the Kerberos session setup and give a
more precise inline comment why PAC verification may fail.

Guenther

16 years agor11845: Removed error code list as it isn't correct for Linux.
Jeremy Allison [Tue, 22 Nov 2005 06:07:26 +0000 (06:07 +0000)]
r11845: Removed error code list as it isn't correct for Linux.
Jeremy.

16 years agor11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOS
Jeremy Allison [Tue, 22 Nov 2005 06:04:00 +0000 (06:04 +0000)]
r11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOS
attribute errors.
Jeremy.

16 years agor11839: Info level 0x101 is really a protocol NT level.
Jeremy Allison [Tue, 22 Nov 2005 05:21:26 +0000 (05:21 +0000)]
r11839: Info level 0x101 is really a protocol NT level.
Fix bug #3274 from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy.

16 years agor11833: fix build issues in smbget with the Sun compiler. Reported by Richard Bollinger
Gerald Carter [Mon, 21 Nov 2005 15:52:10 +0000 (15:52 +0000)]
r11833: fix build issues in smbget with the Sun compiler. Reported by Richard Bollinger

16 years agor11830: patch from Rashid N. Achilov <shelton@granch.ru> to add descriptions for...
Gerald Carter [Mon, 21 Nov 2005 13:00:36 +0000 (13:00 +0000)]
r11830: patch from Rashid N. Achilov <shelton@granch.ru> to add descriptions for some common services

16 years agor11799: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
Jeremy Allison [Sat, 19 Nov 2005 01:14:05 +0000 (01:14 +0000)]
r11799: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
<dtucker@zip.com.au>
Jeremy.

16 years agor11793: Fix the SAMR cache so it works across completely insane
Jeremy Allison [Fri, 18 Nov 2005 23:15:47 +0000 (23:15 +0000)]
r11793: Fix the SAMR cache so it works across completely insane
client behaviour (ie.:
open pipe/open SAMR handle/enumerate 0 - 1024
close SAMR handle, close pipe.
open pipe/open SAMR handle/enumerate 1024 - 2048...
close SAMR handle, close pipe.
And on ad-nausium. Amazing.... probably object-oriented
client side programming in action yet again.
This change should *massively* improve performance when
enumerating users from an LDAP database.
Jeremy.

16 years agor11790: Avoid infinite retry to gather a connection.
Günther Deschner [Fri, 18 Nov 2005 14:33:12 +0000 (14:33 +0000)]
r11790: Avoid infinite retry to gather a connection.

Guenther

16 years agor11784: Fix minor glitch found by Rainer Weikusat <rainer.weikusat@sncag.com> --...
Volker Lendecke [Fri, 18 Nov 2005 13:02:19 +0000 (13:02 +0000)]
r11784: Fix minor glitch found by Rainer Weikusat <rainer.weikusat@sncag.com> -- Thanks

16 years agor11770: BUG 2718: don't use qpathinfo_basic() call when remote server is Win9x or...
Gerald Carter [Fri, 18 Nov 2005 03:18:54 +0000 (03:18 +0000)]
r11770: BUG 2718: don't use qpathinfo_basic() call when remote server is Win9x or the do_cd() call will fail

16 years agor11769: Looking at a performance problem enumerating accounts, wondered
Jeremy Allison [Thu, 17 Nov 2005 22:40:10 +0000 (22:40 +0000)]
r11769: Looking at a performance problem enumerating accounts, wondered
if changing to support samr_connect5 might help so quickly coded
it up. No it doesn't :-(. Don't merge this for 3.0.21 please.
Jeremy.

16 years agor11767: Doesn't need to be exported.
Jeremy Allison [Thu, 17 Nov 2005 22:39:00 +0000 (22:39 +0000)]
r11767: Doesn't need to be exported.
Jeremy.

16 years agor11764: Doesn't need to be exported from here.
Jeremy Allison [Thu, 17 Nov 2005 21:57:38 +0000 (21:57 +0000)]
r11764: Doesn't need to be exported from here.
Jeremy.

16 years agor11763: fix more build breakage
Gerald Carter [Thu, 17 Nov 2005 21:07:24 +0000 (21:07 +0000)]
r11763: fix more build breakage

16 years agor11762: fix my build breakage
Gerald Carter [Thu, 17 Nov 2005 21:03:22 +0000 (21:03 +0000)]
r11762: fix my build breakage

16 years agor11761: * fix clearing of event logs by truncating the tdb.
Gerald Carter [Thu, 17 Nov 2005 20:08:59 +0000 (20:08 +0000)]
r11761: * fix clearing of event logs by truncating the tdb.
  This feature got broken in some of the other updates.
  Now each open handle stores an pointer to an open tdb
  data structure (not the tdb pointer itself).
  Clearing can be done with a simple elog_close_tdb( elog, True )
  to force a close and then calling elog_open_tdb( logname, True )
  to force an tdb truncate.  Permissions on existing tdbs are
  maintained which is important.

* We don't currently handle backup.  Haven't looked at the
  format of a backuped up eventlog to know what the deal is.

16 years agor11760: fix sequential reads in the eventlog; event viewer is behaving better now...
Gerald Carter [Thu, 17 Nov 2005 17:41:02 +0000 (17:41 +0000)]
r11760: fix sequential reads in the eventlog; event viewer is behaving better now as well but needs more testing

16 years agor11739: As per Jeremy's request, add a panic action for developers. Now configure.in
Volker Lendecke [Wed, 16 Nov 2005 06:54:39 +0000 (06:54 +0000)]
r11739: As per Jeremy's request, add a panic action for developers. Now configure.in
needs something along the lines of

if [ $LOGNAME == "jht" ]
then
   CFLAGS="$CFLAGS -DDEVELOPER"
fi

But that goes a bit far I think.... :-)))

Volker

16 years agor11734: Remove unused variable
Volker Lendecke [Tue, 15 Nov 2005 20:15:46 +0000 (20:15 +0000)]
r11734: Remove unused variable

16 years agor11732: Remember to return early if -1 returned from *BSD EA call.
Jeremy Allison [Tue, 15 Nov 2005 18:54:33 +0000 (18:54 +0000)]
r11732: Remember to return early if -1 returned from *BSD EA call.
Pointed out by timur@com.bat.ru.
Jeremy.

16 years agor11729: Remove space from DYNEXP flags declaration for HPUX. Fixes bugzilla
Tim Potter [Mon, 14 Nov 2005 23:09:46 +0000 (23:09 +0000)]
r11729: Remove space from DYNEXP flags declaration for HPUX.  Fixes bugzilla
#3260.

16 years agor11728: Ensure to check for the config.log in ${SRCDIR}.
Lars Müller [Mon, 14 Nov 2005 21:18:09 +0000 (21:18 +0000)]
r11728: Ensure to check for the config.log in ${SRCDIR}.

Revert jerry's revert from 11685. :)

At the moment I don't see a way to check if there is an empty
${SMBWRAPPER} or none.  If there is a way to check if ${SMBWRAPPER}
isn't set at all we could make the installman script even work if
config.log does not exist.

16 years agor11725: build smbget by default
Gerald Carter [Mon, 14 Nov 2005 14:17:24 +0000 (14:17 +0000)]
r11725: build smbget by default

16 years agor11719: Remove silly #define of close -> close_fn as this borks
Jeremy Allison [Mon, 14 Nov 2005 06:42:44 +0000 (06:42 +0000)]
r11719: Remove silly #define of close -> close_fn as this borks
any code that includes libsmbclient.h that also calls the
system close() fn. Doh ! Thanks to John Terpstra for
reporting this.
Jeremy.

16 years agor11718: Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK (0x7f).
Jeremy Allison [Mon, 14 Nov 2005 06:29:48 +0000 (06:29 +0000)]
r11718: Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK (0x7f).
Jeremy.

16 years agor11707: alt_names[i] might be NULL for i>0 also...
Volker Lendecke [Sun, 13 Nov 2005 11:53:18 +0000 (11:53 +0000)]
r11707: alt_names[i] might be NULL for i>0 also...

Volker

16 years agor11706: Implement dsr_getdcname client code. It's handy: It not only gives you the IP
Volker Lendecke [Sun, 13 Nov 2005 11:38:17 +0000 (11:38 +0000)]
r11706: Implement dsr_getdcname client code. It's handy: It not only gives you the IP
address but also the fqdn of the remote dc and site info.

Volker

16 years agor11704: methods->alternate_name is not used anymore -- remove it
Volker Lendecke [Sat, 12 Nov 2005 18:22:12 +0000 (18:22 +0000)]
r11704: methods->alternate_name is not used anymore -- remove it

16 years agor11685: reverting Lar's change to nistallman from r11224 since it breaks 'make instal...
Gerald Carter [Fri, 11 Nov 2005 21:11:33 +0000 (21:11 +0000)]
r11685: reverting Lar's change to nistallman from r11224 since it breaks 'make installman' outside the source tree; will fix up after the rc1 release

16 years agor11667: Fix a debug message
Volker Lendecke [Fri, 11 Nov 2005 07:03:17 +0000 (07:03 +0000)]
r11667: Fix a debug message

16 years agor11661: Store the INFO3 in the PAC data into the netsamlogon_cache.
Gerald Carter [Fri, 11 Nov 2005 03:03:41 +0000 (03:03 +0000)]
r11661: Store the INFO3 in the PAC data into the netsamlogon_cache.
Also remove the mem_ctx from the netsamlogon_cache_store() API.

Guenther, what should we be doing with the other fields in
the PAC_LOGON_INFO?

16 years agor11658: Someone broke the initialization of the static modules by adding a 'NTSTATUS'
Jeremy Allison [Fri, 11 Nov 2005 00:16:43 +0000 (00:16 +0000)]
r11658: Someone broke the initialization of the static modules by adding a 'NTSTATUS'
declaration before their call.
The compiler sees : { NTSTATUS fn_foo(); NT_STATUS fn_bar(); }
as *definitions: They need to be : { fn_foo(); fn_bar(); }
Jeremy.

16 years agor11657: Tiny improvement to debug error message in dir_check_ftype.
Paul Green [Thu, 10 Nov 2005 21:34:25 +0000 (21:34 +0000)]
r11657: Tiny improvement to debug error message in dir_check_ftype.

16 years agor11655: Two small fixes
Gerald Carter [Thu, 10 Nov 2005 21:10:24 +0000 (21:10 +0000)]
r11655: Two small fixes

* remove redundant call to sub_set_smb_name() in session setup code.
* Fix lockup when running 'wbinfo -t' on a Samba PDC.  Cause
  was new authenticated session setup from winbindd which
  resulted in a mangled username (machine_) that was not found
  in the local files and so was queiued up to nss_winbindd.
  Deadlock....
  So now make sure to keep the trailing '$' for machine account
  names when calling sub_set_smb_name().

16 years agor11653: Declare the correct return value for the static initialization functions.
Paul Green [Thu, 10 Nov 2005 20:32:00 +0000 (20:32 +0000)]
r11653: Declare the correct return value for the static initialization functions.
Some compilers (guess whose) have ABIs that return int values using a
different method than returning struct values.

16 years agor11652: Reinstate the netsamlogon_cache in order to work
Gerald Carter [Thu, 10 Nov 2005 20:28:23 +0000 (20:28 +0000)]
r11652: Reinstate the netsamlogon_cache in order to work
around failed query_user calls.  This fixes
logons to a member of a Samba domain as a user from a
trusted AD domain.

As per comments on samba-technical, I still need to add

(a) cache the PAC info as werll as NTLM net_user_info_3
(b) expire the cache when the SMB session goes away

Both Jeremy and Guenther have signed off on the idea.

16 years agor11651: After talking to Jeremy, commit my winbindd "Do the Right Thing" patch.
Gerald Carter [Thu, 10 Nov 2005 19:50:09 +0000 (19:50 +0000)]
r11651: After talking to Jeremy, commit my winbindd "Do the Right Thing" patch.
Still needs some more testing ni domains with multiple DCs. Coming next....

16 years agor11645: mklogon updates from Ricky Nance
Gerald Carter [Thu, 10 Nov 2005 14:30:39 +0000 (14:30 +0000)]
r11645: mklogon updates from Ricky Nance

16 years agor11617: fix typo
Gerald Carter [Wed, 9 Nov 2005 19:37:13 +0000 (19:37 +0000)]
r11617: fix typo

16 years agor11614: Replace old crc32 code with one from the FreeBSD tree.
Jeremy Allison [Wed, 9 Nov 2005 19:35:23 +0000 (19:35 +0000)]
r11614: Replace old crc32 code with one from the FreeBSD tree.
 *  COPYRIGHT (C) 1986 Gary S. Brown.  You may use this program, or
 *  code or tables extracted from it, as desired without restriction.
Jeremy.

16 years agor11613: fixing versions
Gerald Carter [Wed, 9 Nov 2005 18:33:37 +0000 (18:33 +0000)]
r11613: fixing versions

16 years agor11591: bumping version 3.0.22pre1
Gerald Carter [Wed, 9 Nov 2005 02:13:53 +0000 (02:13 +0000)]
r11591: bumping version 3.0.22pre1

16 years agor11585: Implement the possibility to have AFS users as SIDs in pts.
Volker Lendecke [Tue, 8 Nov 2005 20:13:26 +0000 (20:13 +0000)]
r11585: Implement the possibility to have AFS users as SIDs in pts.

Volker

16 years agor11583: r10556@cabra: derrell | 2005-11-08 13:20:56 -0500
Derrell Lipman [Tue, 8 Nov 2005 18:23:51 +0000 (18:23 +0000)]
r11583:  r10556@cabra:  derrell | 2005-11-08 13:20:56 -0500
 fix copy/paste error

16 years agor11582: r10193@cabra: derrell | 2005-11-08 13:12:39 -0500
Derrell Lipman [Tue, 8 Nov 2005 18:23:47 +0000 (18:23 +0000)]
r11582:  r10193@cabra:  derrell | 2005-11-08 13:12:39 -0500
 Fixed "clean" target -- bin/libmsrpc.a was not being deleted.

 Jerry, the shared version of libmsrpc is not using a version number.  For consistency, I added LIBMSRPC_MAJOR and LIBMSRPC_MINOR definitions but they are not
 currently being used.  I don't know if the non-use of version is intentional
 or not.

16 years agor11580: fix an uninitialized variable that was causing winbindd to die in winbindd_du...
Gerald Carter [Tue, 8 Nov 2005 18:22:32 +0000 (18:22 +0000)]
r11580: fix an uninitialized variable that was causing winbindd to die in winbindd_dual_getsidaliases()

16 years agor11579: syncing up perf counter code cfrom trunk
Gerald Carter [Tue, 8 Nov 2005 16:33:45 +0000 (16:33 +0000)]
r11579: syncing up perf counter code cfrom trunk

16 years agor11577: adding perl interpreter she-bang to top of parselog.pl script
Gerald Carter [Tue, 8 Nov 2005 16:29:15 +0000 (16:29 +0000)]
r11577: adding perl interpreter she-bang to top of parselog.pl script

16 years agor11573: Adding Andrew Bartlett's patch to make machine account
Jeremy Allison [Tue, 8 Nov 2005 06:19:34 +0000 (06:19 +0000)]
r11573: Adding Andrew Bartlett's patch to make machine account
logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT
or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes
the auth module interface to 2 (from 1). The effect of this is
that clients can access resources as a machine account if they
set these flags. This is the same as Windows (think of a VPN
where the vpn client authenticates itself to a VPN server
using machine account credentials - the vpn server checks
that the machine password was valid by performing a machine
account check with the PDC in the same was as it would a
user account check. I may add in a restriction (parameter)
to allow this behaviour to be turned off (as it was previously).
That may be on by default.
Andrew Bartlett please review this change carefully.
Jeremy.

16 years agor11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138.
Jeremy Allison [Mon, 7 Nov 2005 23:28:42 +0000 (23:28 +0000)]
r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138.
Jeremy.

16 years agor11560: Fix core dump if setmntent returns NULL.
Jeremy Allison [Mon, 7 Nov 2005 19:18:00 +0000 (19:18 +0000)]
r11560: Fix core dump if setmntent returns NULL.
Pointed out by Jay Fanlason @ Red Hat.
Jeremy.

16 years agor11556: Fix "make everything"
Volker Lendecke [Mon, 7 Nov 2005 16:00:35 +0000 (16:00 +0000)]
r11556: Fix "make everything"

16 years agor11551: Add a few more initialize_krb5_error_table
Volker Lendecke [Mon, 7 Nov 2005 14:16:50 +0000 (14:16 +0000)]
r11551: Add a few more initialize_krb5_error_table

16 years agor11549: fixing GPL notices
Gerald Carter [Mon, 7 Nov 2005 13:45:28 +0000 (13:45 +0000)]
r11549: fixing GPL notices

16 years agor11548: adding simple script to tail syslog and write to eventlog tdb
Gerald Carter [Mon, 7 Nov 2005 13:43:06 +0000 (13:43 +0000)]
r11548: adding simple script to tail syslog and write to eventlog tdb

16 years agor11530: Add the "time offset" parameter back in for people who
Jeremy Allison [Sun, 6 Nov 2005 01:55:09 +0000 (01:55 +0000)]
r11530: Add the "time offset" parameter back in for people who
might use it.
Jeremy.

16 years agor11511: A classic "friday night check-in" :-). This moves much
Jeremy Allison [Sat, 5 Nov 2005 04:21:55 +0000 (04:21 +0000)]
r11511: A classic "friday night check-in" :-). This moves much
of the Samba4 timezone handling code back into Samba3.
Gets rid of "kludge-gmt" and removes the effectiveness
of the parameter "time offset" (I can add this back
in very easily if needed) - it's no longer being
looked at. I'm hoping this will fix the problems people
have been having with DST transitions. I'll start comprehensive
testing tomorrow, but for now all modifications are done.
Splits time get/set functions into srv_XXX and cli_XXX
as they need to look at different timezone offsets.
Get rid of much of the "efficiency" cruft that was
added to Samba back in the day when the C library
timezone handling functions were slow.
Jeremy.

16 years agor11508: Removed incorrect patch hunk. Thanks to Andrew
Jeremy Allison [Sat, 5 Nov 2005 00:02:01 +0000 (00:02 +0000)]
r11508: Removed incorrect patch hunk. Thanks to Andrew
Bartlett for pointing this out.
Jeremy.

16 years agor11506: Added description of ACL in usage message.
Jeremy Allison [Fri, 4 Nov 2005 17:40:35 +0000 (17:40 +0000)]
r11506: Added description of ACL in usage message.
Jeremy.

16 years agor11504: Added Andrew Bartletts removal of another NTLMSSP implementation
Jeremy Allison [Fri, 4 Nov 2005 17:39:42 +0000 (17:39 +0000)]
r11504: Added Andrew Bartletts removal of another NTLMSSP implementation
patch.
Jeremy.

16 years agor11494: Finally fix #3192 - remember iDiskfreeCacheTime is
Jeremy Allison [Fri, 4 Nov 2005 01:21:46 +0000 (01:21 +0000)]
r11494: Finally fix #3192 - remember iDiskfreeCacheTime is
an *integer*, not a pointer. Doh !
Jeremy.

16 years agor11492: Fix bug #3224 (I hope). Correctly use machine_account_name
Jeremy Allison [Fri, 4 Nov 2005 00:03:55 +0000 (00:03 +0000)]
r11492: Fix bug #3224 (I hope). Correctly use machine_account_name
and client_name when doing netlogon credential setup.
Jeremy.