[Samba] rpcclient: adddriver: lsa_io_sec_qos: length c does not match size 8

Bernd Strieder strieder at informatik.uni-kl.de
Thu Nov 21 17:41:01 GMT 2002


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




More information about the samba mailing list