[Samba] rpcclient error

Gerald Carter jerry at samba.org
Sat Feb 16 06:04:02 GMT 2002


On 15 Feb 2002, Nick Pietraniec wrote:

> Hello all, I'm trying to use CUPSADDSMB to add some printer shares. 
> Using the verbose output, everything looks good except the following
> line.
> 
> session setup ok
> Domain=[WHEELZ] OS=[Unix] Server=[Samba 2.2.3a]
> cmd = addprinter kubrick_linux kubrick_linux "kubrick_linux" ""
> addprinter kubrick_linux kubrick_linux "kubrick_linux" ""
> result was NT code 0xc000070a
> 
> 
> Am I correct in assuming that it is erroring?  What is NT code
> 0xc000070a?  I've done some searches and even looked through the samba
> code, but didn't find anything.  any ideas?

It's not 0xc000070a.  rpcclient is misprinting the error
0x070a (1804).  And from include/doserr.h

	#define ERRprinteralreadyexists 1802





cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list