SAMBA digest 1493

Graham Allan ALLAN at mnhep1.hep.umn.edu
Mon Nov 17 18:02:51 GMT 1997


On Sat, 15 Nov 1997, Luke Kenneth Casson Leighton wrote:
>On Sat, 15 Nov 1997, Gerald W. Carter wrote:
>
>> > If I am using the password server as an NT box then there
>> > is no local NIS/passwd/smbpasswd file and so if I connect
>> > via an NT box how does samba know where the home directory
>> > is? Or do I have to maintain a local passwd file as well?
>> 
>> You will have to specify \\sambaserver\homes in the NT user profile as
>> the home directory.
>
>ah, this is the right approach, but will throw up a slight difficulty.  
>
>when a user logs in, no connection is established under the user's account,
>because the user has not been verified.  a connection is made under the
>_machine_ account: a "Workstation Trust Account", i believe it is called. 
>
>unfortunately, once this connection is made, it is maintained 
>continuously until the machine is switched off.  no users are involved, 
>therefore the [homes] %U substitution doesn't work.
>
>the NT workstations _still_ try and read the profile using this machine 
>account, and fail to do so, because it only exists once the _user_ is 
>connected...

Is this a recent change, in samba 1.9.17p4? NT roaming profiles suddenly
stopped working for me when changing from 1.9.17p2 to 1.9.17p4.
This is with both home directories and roaming profiles stored on the
samba server:
user home directory = \\samba-server\username		[homes]
roaming profile     = \\samba-server\username\profile   [subdir of home]
and using security = server

Worked ok in 1.9.16 (with max mux fix) - 1.9.17p2. Now with 1.9.17p4,
the connection to the roaming profile is refused when a user logs in.
But when login is complete, the home directory is mounted correctly and
all other services are available.

Graham


More information about the samba mailing list