[Samba-TNG] Diagnosis steps fail (repost)

Luke Kenneth Casson Leighton lkcl at samba.org
Wed Feb 16 08:06:34 GMT 2000


*oh.  hang on.... are you using this for samba as pdc or samba as
domain-member?  please send smb.conf file.


On Wed, 16 Feb 2000, Jamie ffolliott wrote:

> Actually I am using the -S .
> It's there in my command history, and I've run it again a few more times to
> be sure.
>   rpcclient -S . -U root% -l log
>   createuser servername$ -j
> Same results.
> 
> I wondered if adding 127.0.0.1 as an interface in smb.conf would make a
> difference.
> Now rpcclient segfaults AND core dumps.
> 
> Here's a backtrace from gdb:
> #0  0x4002f183 in cli_con_get ()
> #1  0x4002f5ec in cli_connection_init_auth ()
> #2  0x4002f56e in cli_connection_init ()
> #3  0x40032ff7 in lsa_open_policy2 ()
> #4  0x80542c6 in cmd_sam_create_dom_user ()
> #5  0x804c837 in do_command ()
> #6  0x804cafa in process ()
> #7  0x804e2af in command_main ()
> #8  0x804e323 in main ()
> #9  0x40157cb3 in __libc_start_main (main=0x804e2e4 <main>, argc=7,
>     argv=0xbffffc64, init=0x804b54c <_init>, fini=0x805d2cc <_fini>,
>     rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc5c)
>     at ../sysdeps/generic/libc-start.c:78
> 
> > > cli_net_use_add: connection failed
> >   ^^^^^^^^^^^^^^^
> > see?  you're using smb, which means you didn't specify -S like i said you
> > had to.
> 
> Well what's happening...? It's using smb even when I specify -S .
> 
> I updated from CVS in the last hour.
> 
> > please read messages when i send them, i have rs.i i don't want to have to
> > type any more than i have to.  the only reason i am responding to messages
> > isbecause you are very kindly helping me track down bugs, which i
> > appreciate very much.
> 
> Oh I definitely read your messages Luke.  The reason I'm helping track down
> bugs is because I appreciate the work you're doing on PDC support ;)
> 
> Jamie
> 

<a href="mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href="http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href="http://samba.org"      > Samba Web site                  </a>
<a href="http://www.iss.net"    > Internet Security Systems, Inc. </a>
<a href="http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list