Bernd Strieder
2002-Nov-21 17:41 UTC
[Samba] rpcclient: adddriver: lsa_io_sec_qos: length c does not match size 8
Hello, My commandline looks like this: rpcclient localhost -d4 -c 'adddriver "Windows NT x86" "HPLJ4050:PSCRIPT5.DLL:HPLJ4050.PPD:PS5UI.DLL:PSCRIPT.HLP:NULL:RAW:PSCRIPT.NTF,PSCRPTFE.NTF"' The output is: Serverzone is -3600 Initialising global parameters params.c:pm_process() - Processing configuration file "//etc/samba/smb.conf" Processing section "[global]" doing parameter workgroup = AG344 doing parameter server string = Samba 2.2.5 auf doyle doing parameter security = DOMAIN doing parameter encrypt passwords = Yes doing parameter map to guest = Bad User doing parameter password server = gardner.informatik.uni-kl.de doing parameter socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY doing parameter printcap name = cups doing parameter character set = ISO8859-15 doing parameter os level = 2 doing parameter wins server = gardner.informatik.uni-kl.de wins_srv_load_list(): Building WINS server list: gardner.informatik.uni-kl.de, 1 WINS server listed. doing parameter kernel oplocks = No doing parameter printer admin = strieder,root,Administrator doing parameter printing = cups pm_process() returned Yes added interface ip=192.168.16.26 bcast=192.168.16.255 nmask=255.255.255.0 resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20> getlmhostsent: lmhost entry: 127.0.0.1 localhost Password: Connecting to host=localhost share=IPC$ Connecting to 127.0.0.1 at port 445 error connecting to 127.0.0.1:445 (Connection refused) Connecting to 127.0.0.1 at port 139 lsa_io_sec_qos: length c does not match size 8 cmd = adddriver "Windows NT x86" "HPLJ4050:PSCRIPT5.DLL:HPLJ4050.PPD:PS5UI.DLL:PSCRIPT.HLP:NULL:RAW:PSCRIPT.NTF,PSCRPTFE.NTF" result was NT_STATUS_UNSUCCESSFUL What am I doing wrong? I have trouble getting the right printer drivers into samba with cupsaddsmb. That beast has the file names hardcoded, and, obviously I need other files. I tried to follow what cupsaddsmb does, but then I get trapped. I found the place in the sources and whatever, but I did not find a hint, what is wrong. Please include my address in replies, since I'm not subscribed. Thanks, Bernd Strieder
Bernd Strieder
2002-Nov-21 17:54 UTC
[Samba] Re: rpcclient: adddriver: lsa_io_sec_qos: length c does not match size 8
On Donnerstag, 21. November 2002 18:40, Bernd Strieder wrote:> Hello, > > > What am I doing wrong?Probably the version? Samba 2.2.5, cups 1.1.15. I wonder, why google didn't find anything in the samba mailing list archives. Bernd Strieder
Apparently Analagous Threads
- adddriver rpc command generates segmentation fault
- rpcclient adddriver WERR_BADFILE
- cupsaddsmb not working after upgrade to Lenny (rpcclient -> WERR_INVALID_PARAM)
- cupsaddsmb error: cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR received
- cups automatic driver install (WERR_ACCESS_DENIED)