Problem with enumprinterdataex
Gerald (Jerry) Carter
jerry at samba.org
Tue Aug 22 12:23:22 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin,
> The client system is Windows XP SP2.
> When calling "enumprinterdataex" and receiving a response
> with a length that is not 4-byte aligned, I receive
> an error 1783 (RPC_X_BAD_STUB_DATA)
Can you send me the trace and details on how to reproduce this?
I'm pretty hesitant to to change things unless I have some more
proof. Not that I don't believe you. This is just really
fiddly code. What driver are you using?
> BTW the EnumPrinterDataEx call returns an aligned
> size for the required buffer (when asking for the buffer size)
> although samba reports a different size.
I'd have to go back in time to remember whether or not
that is intentional or not.
cheers, jerry
=====================================================================
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
"What man is a man who does not make the world better?" --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE6vc6IR7qMdg1EfYRAnyiAJ9LhLA1N+DZrnkqVm+5iaCdG3sKDwCgl6+x
Mx42QVQoHeoUpL0QghxsW3U=
=TPvn
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list