[Samba] (Samba 3.0.21c) rpcclient getform 'segmentation fault'

Marcos Cavalcanti macmjr at yahoo.com.br
Fri Mar 31 21:07:20 GMT 2006

  I have an RHEL 4 Update 3 machine connected to a Active Directory.
I'm running samba 3.0.21c, compiled from an SRPM:
  # rpm -q samba
  Does any one knows why I'm getting a 'segmentation fault' when I try to get the forms from a printer?
  # rpcclient -U <user> -W <domain> -c "setform <printer> <form>" localhost
  I runned the program through gdb:
  # gdb --args rpcclient -U <user> -W <domain> -c "setform <printer> <form>" localhost
  Starting program: /usr/bin/rpcclient -U <user> -W <domain> -c setform\ <printer>\ <form> localhost
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
WARNING: The "write cache size" option is deprecated
  Program received signal SIGSEGV, Segmentation fault.
0x0026db29 in make_spoolss_q_open_printer_ex () from /usr/bin/rpcclient
(gdb) bt
#0  0x0026db29 in make_spoolss_q_open_printer_ex () from /usr/bin/rpcclient
#1  0x002cc47a in rpccli_spoolss_open_printer_ex () from /usr/bin/rpcclient
#2  0x09348948 in ?? ()
#3  0x00334f0f in se_priv_none () from /usr/bin/rpcclient
#4  0x02000000 in ?? ()
#5  0x09372620 in ?? ()
#6  0x00000000 in ?? ()
  I can't figure out what that means. Could someone translate this to me? Could it be any kind of permissions of some file?

 Yahoo! Search
 Imposto de Renda 2006: o prazo está acabando. Faça já a sua declaração no site da Receita Federal.

More information about the samba mailing list