[Samba] vista: error accessing profile, xp works

Rainer Traut tr.ml at gmx.de
Mon Feb 26 08:35:24 GMT 2007


Hi,

I have problems with our fist Vista machine to create/access the server 
profile.
The machine has joined the domain without hitch.
When logging in I am informed by vista the userprofile could not be 
retrieved.
Logging in the user a XP machine works perfect. Server profile is 
created with xp but not with vista.

The user is allowed to create a new dir in the profile folder.

With vista/ethereal I see:
SMB_NETLOGON SAM Response - user unknown
and
SMB Trans2 Request, GET_DFS_REFERRAL, File: \jupiter\profiles
SMB Trans2 Response, GET_DFS_REFERRAL, Error: STATUS_NO_SUCH_FILE

Any help is greatly appreciated!

Thx
Rainer


smb.conf:
[global]
         workgroup = XXX
         server string = XXX Fileserver
         netbios name = jupiter
         wins support = yes
         dns proxy = yes
         os level = 64
         domain master = yes
         time server = yes
         security = user
         domain logons = yes
         passdb backend = tdbsam:/etc/samba/passdb.tdb
         log file = /var/log/samba/%m.log
         max log size = 50
         username map = /etc/samba/smbusers
         guest account = nobody
         map to guest = Bad User
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         add machine script = /usr/sbin/useradd -g machines -c
         unix password sync = no
	admin users = root
[netlogon]
         comment = Network Logon Service
         path = /etc/samba/netlogon
         public = no
         read only = yes
         writeable = no
         browseable = no
         valid users = @xxx root
[profiles]
         comment = Roaming profiles share
         path = /shares/profiles
         writeable = yes
         create mask = 0600
         directory mask = 0700
         browsable = no
         valid users = @xxx root
         profile acls = yes
         hide dot files = no
         csc policy = disable


Sys: Redhat EL4.4 x86, Samba 3.0.24-SerNet with Vista Patches.

Tethereal:
0.067682 192.168.200.10 -> 192.168.200.194 SMB Negotiate Protocol Response
   0.068500 192.168.200.194 -> 192.168.200.10 SMB Session Setup AndX 
Request, NTLMSSP_NEGOTIATE
   0.088672 192.168.200.10 -> 192.168.200.194 SMB Session Setup AndX 
Response, NTLMSSP_CHALLENGE, Error: STATUS_MORE_PROCESSING_REQUIRED
   0.089291 192.168.200.194 -> 192.168.200.10 SMB Session Setup AndX 
Request, NTLMSSP_AUTH, User: \
   0.111089 192.168.200.10 -> 192.168.200.194 SMB Session Setup AndX 
Response
   0.111494 192.168.200.194 -> 192.168.200.10 SMB Tree Connect AndX 
Request, Path: \\JUPITER\IPC$
   0.145849 192.168.200.10 -> 192.168.200.194 SMB Tree Connect AndX Response
   0.146268 192.168.200.194 -> 192.168.200.10 SMB NT Create AndX 
Request, Path: \NETLOGON
   0.147794 192.168.200.10 -> 192.168.200.194 SMB NT Create AndX 
Response, FID: 0x72a8
   0.148153 192.168.200.194 -> 192.168.200.10 SMB Trans2 Request, 
QUERY_FILE_INFO, FID: 0x72a8, Query File Standard Info
   0.148870 192.168.200.10 -> 192.168.200.194 SMB Trans2 Response, 
QUERY_FILE_INFO, Error: STATUS_NETWORK_ACCESS_DENIED
   0.149239 192.168.200.194 -> 192.168.200.10 SMB Trans2 Request, 
QUERY_FILE_INFO, FID: 0x72a8, Query File Standard Info
   0.149726 192.168.200.10 -> 192.168.200.194 SMB Trans2 Response, 
QUERY_FILE_INFO, Error: STATUS_NETWORK_ACCESS_DENIED
   0.150179 192.168.200.194 -> 192.168.200.10 DCERPC Bind: call_id: 1, 2 
context items, 1st RPC_NETLOGON V1.0
   0.151769 192.168.200.10 -> 192.168.200.194 SMB Write AndX Response, 
FID: 0x72a8, 153 bytes
   0.152115 192.168.200.194 -> 192.168.200.10 SMB Read AndX Request, 
FID: 0x72a8, 1024 bytes at offset 0
   0.152905 192.168.200.10 -> 192.168.200.194 DCERPC Bind_ack: call_id: 
1 accept max_xmit: 4280 max_recv: 4280
   0.153425 192.168.200.194 -> 192.168.200.10 RPC_NETLOGON 
NetrLogonSamLogon request
   0.159934 192.168.200.10 -> 192.168.200.194 SMB Write AndX Response, 
FID: 0x72a8, 384 bytes
   0.160252 192.168.200.194 -> 192.168.200.10 SMB Read AndX Request, 
FID: 0x72a8, 1024 bytes at offset 0
   0.161317 192.168.200.10 -> 192.168.200.194 RPC_NETLOGON 
NetrLogonSamLogon response
   0.190782 192.168.200.194 -> 192.168.200.255 SMB_NETLOGON SAM LOGON 
request from client
   0.190866 192.168.200.194 -> 192.168.200.10 SMB_NETLOGON SAM LOGON 
request from client
   0.191002 192.168.200.10 -> 192.168.200.194 SMB_NETLOGON SAM Response 
- user unknown
   0.191142 192.168.200.10 -> 192.168.200.194 SMB_NETLOGON SAM Response 
- user unknown
   0.352211 192.168.200.194 -> 192.168.200.10 TCP 49186 > microsoft-ds 
[ACK] Seq=1626 Ack=1669 Win=65536 Len=0
   0.819308 192.168.200.194 -> 192.168.200.255 SMB_NETLOGON SAM LOGON 
request from client
   0.819378 192.168.200.194 -> 192.168.200.10 SMB_NETLOGON SAM LOGON 
request from client
   0.820043 192.168.200.10 -> 192.168.200.194 SMB_NETLOGON SAM Response 
- user unknown
   0.820134 192.168.200.10 -> 192.168.200.194 SMB_NETLOGON SAM Response 
- user unknown
  15.493388 192.168.200.194 -> 192.168.200.10 SMB Close Request, FID: 0x72a8
  15.494239 192.168.200.10 -> 192.168.200.194 SMB Close Response
  15.696288 192.168.200.194 -> 192.168.200.10 TCP 49186 > microsoft-ds 
[ACK] Seq=1671 Ack=1708 Win=65536 Len=0
  25.993492 192.168.200.194 -> 192.168.200.10 SMB Tree Disconnect 
Request


Parts of the machine log:
[2007/02/26 09:15:23, 1] smbd/service.c:make_connection_snum(950)
   pc0496 (192.168.200.194) connect to service ckuhn initially as user 
ckuhn (uid=24472, gid=1000) (pid 31119)
[2007/02/26 09:15:23, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/02/26 09:15:23, 3] smbd/reply.c:reply_tcon_and_X(716)
   tconX service=CKUHN
[2007/02/26 09:15:24, 3] smbd/process.c:process_smb(1110)
   Transaction 19 of length 110
[2007/02/26 09:15:24, 3] smbd/process.c:switch_message(914)
   switch message SMBtrans2 (pid 31119) conn 0x9bc9e20
[2007/02/26 09:15:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (24472, 1000) - sec_ctx_stack_ndx = 0
[2007/02/26 09:15:24, 3] smbd/msdfs.c:get_referred_path(527)
   get_referred_path: .NETLOGON. in dfs path \JUPITER\NETLOGON is not a 
dfs root.
[2007/02/26 09:15:24, 3] smbd/error.c:error_packet(146)
   error packet at smbd/trans2.c(4951) cmd=50 (SMBtrans2) 
NT_STATUS_NO_SUCH_FILE
[2007/02/26 09:15:38, 3] smbd/process.c:process_smb(1110)
   Transaction 20 of length 39
[2007/02/26 09:15:38, 3] smbd/process.c:switch_message(914)
   switch message SMBtdis (pid 31119) conn 0x9bc9e20
[2007/02/26 09:15:38, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/02/26 09:15:38, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/02/26 09:15:38, 3] smbd/service.c:close_cnum(1150)
   pc0496 (192.168.200.194) closed connection to service IPC$
[2007/02/26 09:15:38, 3] smbd/connection.c:yield_connection(69)
   Yielding connection to IPC$
[2007/02/26 09:15:38, 4] smbd/vfs.c:vfs_ChDir(741)
   vfs_ChDir to /
[2007/02/26 09:15:38, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/02/26 09:16:38, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/02/26 09:16:38, 3] smbd/process.c:process_smb(1110)
   Transaction 21 of length 114
[2007/02/26 09:16:38, 3] smbd/process.c:switch_message(914)
   switch message SMBntcreateX (pid 31119) conn 0x9bcb0a8
[2007/02/26 09:16:38, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (24472, 1000) - sec_ctx_stack_ndx = 0
[2007/02/26 09:16:38, 4] smbd/vfs.c:vfs_ChDir(741)
   vfs_ChDir to /home/ckuhn
[2007/02/26 09:16:38, 3] smbd/dosmode.c:unix_mode(147)
   unix_mode(Desktop.ini) returning 0744
[2007/02/26 09:16:38, 3] smbd/error.c:error_packet(146)
   error packet at smbd/trans2.c(2679) cmd=162 (SMBntcreateX) 
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2007/02/26 09:16:38, 3] smbd/process.c:process_smb(1110)
   Transaction 22 of length 114




More information about the samba mailing list