Hi, I am relatively new to the samba-suite. We are useing samba for file-Service and printer-service since a while the files residing on Digital-UNIX (DUNIX) and QNX and also the printers. works fine and very stable. Due to a reconfiguration I am looking for connecting the printer (HP-LJ4M) to a WinNT-WS client. and if I try to print out of DUNIX via smbclient this WS tells me something about "access denied" and when I use "-d 10" (debugging) smbclient tells me: "resending login" "Password:" --- I enter the administrator password "Using encrypted passwords" .... "session setup failed for username=ROOT myname=ZCHAXP1 destname=QNXKAMP ERRDOS - ERRnoaccess (access denied)" .... What did I do wrong?? the version is on DUNIX samba-1.9.18p2 I am a bit reluctant to upgrade to a new version (never change a running system - 8-)) A fast response would be appreciated best regards Joerg -- ===========================================================================Medizinische Hochschule Hannover, 30623 Hannover "Rechnergestuetzte Intensivpflege" OE 6204 - Dipl.-Phys. Dr. Joerg Kampmann Telefon: +49-(0)511-532-3438/3356 : Fax:+49-(0)511-532-3438 Mobilfunk (Handy E-Plus): +49-(0)177-276-3140 e-mail: kampmann@thg.mh-hannover.de/joerg.kampmann@t-online.de (Private) www: http://www.mh-hannover.de/institut/ag_dv_intensiv/index.htm ===========================================================================@@@ -----------> QNX is a better OS than B.G.'s Windozeees <---------- @@@ ============================================================================
On 13 Apr 99, "Dipl.-Phys. Dr. Joerg Kampmann" <kampmann@zchaxp1.thg.mh-hannover.de> had questions about NT- Printer and Samba: [snip]> Due to a reconfiguration I am looking for connecting the printer > (HP-LJ4M) to a WinNT-WS client. and if I try to print out of DUNIX via > smbclient this WS tells me something about "access denied" and when I use > "-d 10" (debugging) smbclient tells me: "resending login" "Password:" --- > I enter the administrator password "Using encrypted passwords" ... > "session setup failed for username=ROOT myname=ZCHAXP1 destname=QNXKAMP > ERRDOS - ERRnoaccess (access denied)" ... What did I do wrong??Here's my guess: you have the default smbusers file with the map for root (-> administrator admin) so smbclient is sending the wrong password to the NT box. Try the username switch on smbclient to be sure you're sending the print job as a valid NT user. It might be a good idea to create the same user on the samba side too. Who's doing the authentication in this setup? In my case, I am the same (somewhat) normal user on both my linux/samba box and the shared NT box. Printing from unix or windoze 9x/NT works fine. But RedHat has a good basic SMB printer setup, so that part was trivial... If you need to experiment with printing from the DUNIX side, the linux printing HOWTOs can be very helpful. You might want to think about installing lprng. Hope this helps, Steve ************************************************************* Steve Arnold http://www.rain.org/~sarnold Linux: It's not just for nerds anymore...