Oops in domain_namemap.c:lookupsmbpwntnam

Luke Kenneth Casson Leighton lkcl at switchboard.net
Tue Dec 1 15:24:14 GMT 1998


> I'm trying to get my vfs code working with the latest update of the HEAD
> branch, and for some reason I can't even connect to the smb server!  It
> turns out that the lookupsmbpwntnam() function is falling right through to
> the end where there the comment "oops".  (-:

funny, i don;'t see that in the cvs tree as of last night.  a grep for
"Argh" and "OOps" doesn't show up, either.

all very odd...
oh, by the way: "domain name map" doesn't work, right now, as it allows an
NT machine to pretend that its username is a non-unix one, and the rest of
smbd can't cope with that.

if you used "domain name map" _AND_ "map username" then it _might_ work:
one maps the NT->unix name on the domain side, the other maps
some-sort-of-name->unix on the file/smb side.
 
> 
> Any clues from the domain gurus?
> 
> 
> Tim.
> 
> [1998/12/01 15:01:59, 3] smbd/process.c:switch_message(402)
>   switch message SMBsesssetupX (pid 8576)
> [1998/12/01 15:01:59, 3] smbd/reply.c:reply_sesssetup_and_X(628)
>   Domain=[ACSYS-NTDOM]  NativeOS=[Unix] NativeLanMan=[Samba]
> [1998/12/01 15:01:59, 3] smbd/reply.c:reply_sesssetup_and_X(632)
>   sesssetupX:name=[tpot]
> [1998/12/01 15:01:59, 10] lib/domain_namemap.c:lookupsmbpwntnam(952)
>   lookupsmbpwntnam: nt user name ACSYS-NTDOM\tpot
> [1998/12/01 15:01:59, 5] lib/sids.c:split_domain_name(563)
>   name 'ACSYS-NTDOM\tpot' split into 'ACSYS-NTDOM\tpot'
> [1998/12/01 15:01:59, 10] lib/domain_namemap.c:load_name_map(524)
>   initialising map 
> [1998/12/01 15:01:59, 0] lib/domain_namemap.c:lookupsmbpwntnam(1003)
>   Oops!
> [1998/12/01 15:01:59, 0] smbd/reply.c:map_nt_and_unix_username(88)
>   Aargh!  It's all gone horribly wrong!
> [1998/12/01 15:01:59, 3] smbd/error.c:error_packet(138)
>   error packet at line 682 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
> [1998/12/01 15:01:59, 3] smbd/error.c:error_packet(143)
>   error string = No such file or directory
> 
> 
> 
> 
> 

<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton  </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk"       > Samba and Network Consultancy </a>



More information about the samba-technical mailing list