Move the detection of which LAN adapter to use from smb_Init to
smb_NetbiosInit so that it is executed after the service is resumed
via a power management event. Otherwise, when the network comes back
up the service attempts to bind to all LAN adapters instead of just
the loopback or the configured one.
(cherry picked from commit 5332348bdf68491670cc94ff1f9bc527876304fa)
FIXES 55234
The "fs checkservers" command when not being used to change the check
interval should not require admin privilege.
(cherry picked from commit e4d3681e3d9ba58c315f39d3852833b11811474c)
find lana by name is used by the afs control panel to populate the
lana list box. don't use the function to find by name. just use
it to generate the list of all lana names.
(cherry picked from commit 561f8b742fceeed10e6f3d9639c96efb085ad2a9)
Remove the find lana by name functionality. It is crucial that the
name computed by the afs service can also be computed by the pioctl
function executed by generic end users without privilege. Unfortunately,
the undocumented functions used to implement find lana by name require
access to registry keys that a generic user cannot read.
(cherry picked from commit b2ed3c527b831f329a380203433312653bcd91a4)
In preparation for KFW 3.2, add conditional help registration.
When used with a version of NetIdMgr that supports the functionality
the OpenAFS plug-in will register its HtmlHelp on the NetIdMgr Help
menu.
(cherry picked from commit b00dddcd7da6f38893f408024f250254a5e1ff25)
back in 2001 rxdebug was moved from src/rx to src/rxdebug for Unix
but not for Windows. Move it for Windows as well.
(cherry picked from commit 5ae8e5064c2aae067a32c94e98f2ed8a597417ae)
Ensure that removing a directory containing existing files returns
the correct error to the caller.
(cherry picked from commit 1f530ff095a8ffa38114373c80d8f4c5ead103d8)
FIXES 53441
based on suggested change from cg2v@andrew.cmu.edu
tasklist_lock not being exported makes this useless otherwise
S: ----------------------------------------------------------------------
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 53441
based on suggested change from cg2v@andrew.cmu.edu
tasklist_lock not being exported makes this useless otherwise
(cherry picked from commit 5b0ba22734f8a354f26ca2600e96608e72a3f9e4)
FIXES 53878
When parsing a path containing a symlink to ".", do not short circuit
the evaluation. Allow cm_Lookup to do its job. Its slower but correct.
(cherry picked from commit 4d5138c4030c581c2d52f1d59279e4b997ef59fd)
MIT Kerberos version 5 release 1.6 adds support for referrals in the
client. As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.
aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.
(cherry picked from commit 645f7e8f81be8c096b2fd3d9b852b8614d9dc690)
When processing exclusive locks for files that were opened read-only,
obtain a read-lock instead of a write-lock.
In NTCreateX, if the file is being opened as OPEN_ALWAYS and the file
already exists, do not require write permission
(cherry picked from commit 25c7f567f2c831d62152104c3b84ec31d9fd330f)
MIT Kerberos version 5 release 1.6 adds support for referrals in the
client. As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.
aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.
This will be required for KFW 3.2 support.
(cherry picked from commit 584e1bd98eb4258a2cd1a517f7d49c71407983b5)
MIT Kerberos version 5 release 1.6 adds support for referrals in the
client. As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.
aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.
This will be required for KFW 3.2 support.
(cherry picked from commit 2287f5f578fa40a0229699a4e90263300ca79e50)
FIXES 53212
clean up ktc code, prototyping et al
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 53212
restore ktc_GetToken prototype
(cherry picked from commit a05fa83336df6cd11d60cc64882c68cc01243aad)