[Samba-TNG] Diagnosis steps fail (repost)

Jamie ffolliott jffolliott at home.com
Wed Feb 16 07:50:41 GMT 2000


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



More information about the samba-ntdom mailing list