pb with usernames with spaces

Remy Bruno suprem at multimania.com
Wed Nov 25 13:26:13 GMT 1998


On the NT domain where I am, usernames have spaces, for example, my
login on the domain is "remy bruno". And that seems to cause problems
with samba: I tried to connect myself to my own machine my typing
'smbclient \\\\suprem\\rem -U "remy bruno"' (suprem is my netbios name,
rem is the name of the share I made to myself (for the tries), and I see
in my logs:

(...)
[1998/11/25 14:11:57, 3]
smbd/process.c:switch_message(402)                     
  switch message SMBsesssetupX (pid
7518)                                       
[1998/11/25 14:11:57, 3]
smbd/reply.c:reply_sesssetup_and_X(599)                
  Domain=[REZ]  NativeOS=[Unix]
NativeLanMan=[Samba]                            
[1998/11/25 14:11:57, 3]
smbd/reply.c:reply_sesssetup_and_X(603)                
  sesssetupX:name=[REMY
BRUNO]                                                  
[1998/11/25 14:12:01, 3]
smbd/password.c:setup_groups(192)                      
  remy bruno is in 1 groups:
509                                                
[1998/11/25 14:12:01, 3]
smbd/password.c:register_vuid(270)                     
  uid 100 registered to name remy
bruno                                         
[1998/11/25 14:12:01, 3]
smbd/password.c:register_vuid(272)                     
  Clearing default real
name                                                    
[1998/11/25 14:12:01, 3]
smbd/process.c:process_smb(565)                        
  Transaction 3 of length
67                                                    
[1998/11/25 14:12:01, 3]
smbd/process.c:switch_message(402)                     
  switch message SMBtconX (pid
7518)                                            
[1998/11/25 14:12:01, 4]
smbd/reply.c:reply_tcon_and_X(301)                     
  Got device type
?????                                                         
[1998/11/25 14:12:01, 3]
smbd/password.c:pass_check_smb(500)                    
  account for user remy was
disabled.                                           
>                  ^^^^-------------------- FALSE !
[1998/11/25 14:12:01, 3]
smbd/password.c:pass_check_smb(486)                    
  Couldn't find user
bruno                                                      
>                    ^^^^^----------------- FALSE !
[1998/11/25 14:12:01, 2]
smbd/service.c:make_connection(266)                    
  Invalid username/password for
rem                                             
(...)

and it fails. It is as if there were "2 users": remy and bruno and not
ONE user "remy bruno"... It is a bug?
Furthermore, in order to check if the validations were succesfull, I
made an account for "remy" with "NO PASSWORD", but this doesn't change
anything. I should also say that the "remy bruno" line in smbpasswd has
a valid password field, so it is not disabled. (I think the NT server
does authenticate the good username because when it fails, the log are
different)
Thanks for your answers.

Regards,

Remy BRUNO
http://www.multimania.com/suprem
e-mail: suprem at multimania.com


More information about the samba-ntdom mailing list