[Samba] cupsaddsmb failure
Crowley, Glen L
GLCROWLEY at arkbluecross.com
Wed Nov 27 13:38:00 GMT 2002
When running the cupsaddsmb command, I get the following: Since I am
running as root, what do I not have access to and why?
linuxi:~ # cupsaddsmb -v -U root im_hp4
Password for root required to access localhost via SAMBA:
Running command: smbclient //localhost/print\$ -N -U'root%linux' -c 'mkdir
W32X86;put /var/spool/cups/tmp/3ddd2e78aaf79 W32X86/im_hp4.PPD;put
/usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put
/usr/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put
/usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP'
added interface ip=172.16.14.101 bcast=172.16.14.255 nmask=255.255.255.0
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.6]
ERRSRV - ERRaccess (The requester does not have the necessary access
rights within the specified context for the requested function. The
context is defined by the TID or the UID.) making remote directory \W32X86
ERRDOS - ERRnoaccess (Access denied.) opening remote file \W32X86/im_hp4.PPD
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\W32X86/ADOBEPS5.DLL
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\W32X86/ADOBEPSU.DLL
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\W32X86/ADOBEPSU.HLP
Running command: smbclient //localhost/print\$ -N -U'root%linux' -c 'mkdir
WIN40;put /var/spool/cups/tmp/3ddd2e78aaf79 WIN40/im_hp4.PPD;put
/usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put
/usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put
/usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put
/usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put
/usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put
/usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;'
added interface ip=172.16.14.101 bcast=172.16.14.255 nmask=255.255.255.0
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.6]
ERRSRV - ERRaccess (The requester does not have the necessary access
rights within the specified context for the requested function. The
context is defined by the TID or the UID.) making remote directory \WIN40
ERRDOS - ERRnoaccess (Access denied.) opening remote file \WIN40/im_hp4.PPD
ERRDOS - ERRnoaccess (Access denied.) opening remote file \WIN40/ADFONTS.MFM
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\WIN40/ADOBEPS4.DRV
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\WIN40/ADOBEPS4.HLP
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\WIN40/DEFPRTR2.PPD
ERRDOS - ERRnoaccess (Access denied.) opening remote file \WIN40/ICONLIB.DLL
ERRDOS - ERRnoaccess (Access denied.) opening remote file \WIN40/PSMON.DLL
Running command: rpcclient localhost -N -U'root%linux' -c 'adddriver
"Windows NT x86"
"im_hp4:ADOBEPS5.DLL:im_hp4.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
session setup ok
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.6]
result was NT_STATUS_ACCESS_VIOLATION
Running command: rpcclient localhost -N -U'root%linux' -c 'adddriver
"Windows 4.0"
"im_hp4:ADOBEPS4.DRV:im_hp4.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,
DEFPRTR2.PPD,ICONLIB.DLL"'
session setup ok
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.6]
result was NT_STATUS_NOT_IMPLEMENTED
Running command: rpcclient localhost -N -U'root%linux' -c 'setdriver im_hp4
im_hp4'
session setup ok
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.6]
SetPrinter call failed!
result was NT_STATUS_ACCESS_VIOLATION
Any help would be appreciated.
Glen Crowley
More information about the samba
mailing list