Strange Roaming profile problem

Carlos Eduardo P. Guidugli carlos at cps.softex.br
Tue Sep 21 03:58:33 GMT 1999


Hello all,


I have a strange problem. I have a pdc running Windows NT 4.0 + SP5 + IE5,
a fileserver running Debian 2.1 + Samba 2.0.5a and clients running Win
NT4.0 + SP5 + IE5. 

Samba acts like a server into the nt domain (security = domain). I have a
dir named Profiles with root as owner and users as group and permissions
0770

Using the User Manager for Domains at the PDC I set the profile path as
\\samba\profiles\%USERNAME%

Now the problem: if the profile exist at samba but do not exist at the
workstation, when the user log on appear this message:
"The operating system was unable to load the locally stored profile. A new
profile will be created (1017)"

Using net helpmsg I found that error 1017 mean: 
"The system has attempted to load or restore a file
into the registry, but the file is not in a registry format"

The test I did: 
	1) clear the user`s profile at samba fileserver
	2) clear all locally stored profiles at the workstation
	3) log on as user john
	4) Log off

	No messages were launched when performing these first 4 steps. If
I logon again using the same account, I get no errors.

	5) log on as local admin and removed all local profiles
	6) log on again as user john and the error msg appear at logon

Solution: delete the roaming user`s profile 

After this test I added the registry value "DeleteRoamingCache" and it
did not work.

Another test was: I created a share at an NT 4 server and changed the
profile path to this new share and did the same steps above and I`ve got
no errors. So, as a last test, I copied john`s profile to the samba server
and changed John's profile path to the profile share at samba. I repeated
the steps above and the error msg appeared again.

Conclusion: it's not the workstation, it's samba (misconfigured ou a bug)

I have this configuration at smb.conf

[Profiles]
browseable = yes
create mask = 0700
directory mask = 0700
public = no
writeable = yes
valid users = @group1, at group2, at group3
write list = @group1, at group2, at group3

The output from log.smb is attached.

Can someone help me? 

TIA,

Carlos

-------------- next part --------------
[1999/09/21 01:56:12, 1] smbd/server.c:main(628)
  smbd version 2.0.5a started.
  Copyright Andrew Tridgell 1992-1998
[1999/09/21 01:56:12, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1014 are available.
[1999/09/21 01:56:13, 1] smbd/service.c:make_connection(521)
  gian (200.136.161.105) connect to service Profiles as user carlos (uid=1005, gid=103) (pid 331)
[1999/09/21 01:56:15, 1] smbd/service.c:make_connection(521)
  gian (200.136.161.105) connect to service Profiles as user carlos (uid=1005, gid=103) (pid 331)
[1999/09/21 01:56:15, 1] smbd/service.c:make_connection(521)
  gian (200.136.161.105) connect to service Profiles as user carlos (uid=1005, gid=103) (pid 331)
[1999/09/21 01:56:15, 1] smbd/service.c:make_connection(521)
  gian (200.136.161.105) connect to service Profiles as user carlos (uid=1005, gid=103) (pid 331)
[1999/09/21 01:56:24, 1] smbd/service.c:make_connection(521)
  gian (200.136.161.105) connect to service carlos as user carlos (uid=1005, gid=103) (pid 331)
[1999/09/21 01:56:24, 0] smbd/open.c:open_directory(1195)
  open_directory: unable to stat name = ??/C:/WINNT/system32. Error was No such file or directory
[1999/09/21 01:56:24, 0] smbd/nttrans.c:call_nt_transact_ioctl(2387)
  call_nt_transact_ioctl: Currently not implemented.
[1999/09/21 01:56:24, 0] smbd/open.c:open_directory(1195)
  open_directory: unable to stat name = ??/C:/WINNT/system32. Error was No such file or directory
[1999/09/21 01:56:32, 1] smbd/service.c:make_connection(521)
  gian (200.136.161.105) connect to service its as user carlos (uid=1005, gid=103) (pid 331)


More information about the samba-ntdom mailing list