I Setup a Printer in Samba 2.2.1a Win2k machine see it fine prints to fine but I always get the status message Unable to connect, access denied. I have it set to share added account pcguest everything I can to let anyone print to that printer what am I doing wrong? I also setup a shared folder same permissions (Everyone and their grandmother) and it always asks me for a user name and password I put all the accounts available on the Linux machine and it will not let me in. Please Help. -------------- next part -------------- HTML attachment scrubbed and removed
On Mon, 22 Oct 2001, Martin Tully wrote:> I Setup a Printer in Samba 2.2.1a Win2k machine see it fine prints to > fine but I always get the status message Unable to connect, access > denied. I have it set to share added account pcguest everything I can > to let anyone print to that printer what am I doing wrong? > > I also setup a shared folder same permissions (Everyone and their > grandmother) and it always asks me for a user name and password I put > all the accounts available on the Linux machine and it will not let me > in.See the "use client driver" in 2.2.2 :-) cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Hi All, The good news - I can print absolutely fine. The bad news - I cannot see the queue from Windoze, let alone pause, delete etc. The printer status box gives 'Access denied, unable to connect' in the title. I have set the permissions on the relevant spool directory (/tmp now) to 777 but to no avail. In the logs, it seems to be failing at this command: [2001/11/27 11:34:03, 3] rpc_server/srv_spoolss_nt.c:_spoolss_open_printer_ex(829) access DENIED for printer open Anyone have any insights as to what might be causing this ? I am running RH 6.2 with Samba 2.2.2 and ACLs using Winbind. Many thanks, Noel =============================================================[global] log file = /usr/local/samba/var/log.%m log level = 3 workgroup = UK netbios name = BELLY server string = 2.2.2 Samba Server invalid users = root bin uucp sys encrypt passwords = Yes update encrypted = Yes os level = 0 preferred master = False local master = No domain master = False security = domain password server = BRAIN smb passwd file = /usr/local/samba/private/smbpasswd wins server = 192.168.5.4 name resolve order = wins host bcast winbind uid = 10000-20000 winbind gid = 10000-20000 winbind enum users = yes winbind enum groups = yes winbind separator = + nt acl support = yes oplocks = yes level2 oplocks = yes load printers = yes printcap name = /etc/printcap printing = BSD print command = /usr/bin/lpr -P%p -r %s lpq command = /usr/bin/lpq -P%p %s lprm command = /usr/bin/lprm -P%p %j queuepause command = /usr/sbin/lpc -P%p stop queuepause command = /usr/sbin/lpc -P%p start [printers] guest ok = yes public = yes printable = yes ============================================================= [2001/11/27 11:34:03, 3] rpc_server/srv_pipe.c:api_rpcTNP(1184) api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX checking name: \\BELLY\canon405 [2001/11/27 11:34:03, 3] rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(377) Setting printer type=\\BELLY\canon405 [2001/11/27 11:34:03, 3] lib/util_seaccess.c:se_access_check(242) se_access_check: user sid is S-1-5-21-2025429265-764733703-725345543-1189 [2001/11/27 11:34:03, 3] lib/util_seaccess.c:se_access_check(246) se_access_check: also S-1-5-21-2025429265-764733703-725345543-513 [2001/11/27 11:34:03, 3] lib/util_seaccess.c:se_access_check(246) se_access_check: also S-1-5-21-2025429265-764733703-725345543-1114 [2001/11/27 11:34:03, 3] lib/util_seaccess.c:se_access_check(246) se_access_check: also S-1-1-0 [2001/11/27 11:34:03, 3] lib/util_seaccess.c:se_access_check(246) se_access_check: also S-1-5-2 [2001/11/27 11:34:03, 3] lib/util_seaccess.c:se_access_check(246) se_access_check: also S-1-5-11 **************************************************************************** ******************** [2001/11/27 11:34:03, 3] rpc_server/srv_spoolss_nt.c:_spoolss_open_printer_ex(829) access DENIED for printer open **************************************************************************** ******************** [2001/11/27 11:34:03, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(186) Closed policy [2001/11/27 11:34:03, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(417) free_pipe_context: destroying talloc pool of size 4841 [2001/11/27 11:34:05, 3] smbd/process.c:process_smb(860) Transaction 533 of length 96 [2001/11/27 11:34:05, 3] smbd/process.c:switch_message(667) switch message SMBntcreateX (pid 1289) [2001/11/27 11:34:05, 3] smbd/nttrans.c:nt_open_pipe(561) nt_open_pipe: Known pipe spoolss opening. [2001/11/27 11:34:05, 3] smbd/process.c:process_smb(860) Transaction 534 of length 124 [2001/11/27 11:34:05, 3] smbd/process.c:switch_message(667) switch message SMBwrite (pid 1289) [2001/11/27 11:34:05, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(752) api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolss [2001/11/27 11:34:05, 3] smbd/pipes.c:reply_pipe_write(143) Noel Kelly Tarsus PLC Commonwealth House Chalk Hill Road London W6 8DW United Kingdom Direct Line : (44) 020 8846 2701 Switchboard : (44) 020 8846 2700 Fax : (44) 020 8846 2801
Hi Kohei, Brilliant! Works perfectly - thanks a million for that. I owe you one, Cheers, Noel -----Original Message----- From: Kohei Yoshida [mailto:kyoshida@mesco.com] Sent: 27 November 2001 19:44 To: Noel Kelly Cc: samba@lists.samba.org Subject: Re: Access denied, unable to connect Hi Noel, Putting 'use client driver = yes' under [global] should solve the problem. Kohei On Tue, 2001-11-27 at 10:20, Noel Kelly wrote:> Hi All, > > The good news - I can print absolutely fine. > The bad news - I cannot see the queue from Windoze, let alone pause,delete> etc. The printer status box gives 'Access denied, unable to connect' inthe> title. > > I have set the permissions on the relevant spool directory (/tmp now) to777> but to no avail. In the logs, it seems to be failing at this command: > > [2001/11/27 11:34:03, 3] > rpc_server/srv_spoolss_nt.c:_spoolss_open_printer_ex(829) > access DENIED for printer open > > Anyone have any insights as to what might be causing this ? > > I am running RH 6.2 with Samba 2.2.2 and ACLs using Winbind. > > Many thanks, > Noel > > =============================================================> [global] > log file = /usr/local/samba/var/log.%m
Dear Sir/Ma'am, I searched a lot of sites and newsgroups but I have not found any answer to this problem but it seems to be pretty common .. When I try to browse the samba printer from winXP and it works from win95/98 so I know that that it is not in smb.conf .. It could be the encrypted password thing but then that field is yes in smb.conf and through testprms and also I tried to set the browseable to yes in smb.conf but in testprms it is still no .. I don't know how to fix that ... Please help Thank you Nabheet -------------- next part -------------- HTML attachment scrubbed and removed
Try use client driver = yes in your printers smb.conf. -----Original Message----- From: Nabheet S. Sandhu [mailto:nabheet@yahoo.com] Sent: 08 March 2002 04:39 To: samba@samba.org Subject: [Samba] Access Denied, Unable to connect Dear Sir/Ma'am, I searched a lot of sites and newsgroups but I have not found any answer to this problem but it seems to be pretty common .... When I try to browse the samba printer from winXP and it works from win95/98 so I know that that it is not in smb.conf .... It could be the encrypted password thing but then that field is yes in smb.conf and through testprms and also I tried to set the browseable to yes in smb.conf but in testprms it is still no .... I don't know how to fix that ....... Please help Thank you Nabheet -------------- next part -------------- HTML attachment scrubbed and removed
> I already have that installed by default on all> workstations which are win2k. Is that what you > are running down there? We too have a mix of clients, and found that we have to map the ports in the login script, and then create local ports on the Win2K clients ... this works. We have also uninstalled the File/Print sharing for M$ Network in all clients ... Mailed Lee
I have several SAMBA servers deployed throughout our organization, and I have not been able to get Windows 2000 clients to connect to the printers. I have set use client driver = yes in each of the shares, but no luck. The SAMBA server is setup using User level security and null passwords are allowed. Users are logging into the Windows 2000 domain controlled by our parent organization and the SAMBA servers are used just for resources such as printing, etc. Following are the pertinent portions of the smb.conf file. I am running 2.2.3a 20020226 [global] # workgroup = NT-Domain-Name or Workgroup-Name workgroup = SPRINGFIELD netbios name = MO-SPF-S1 domain master = Yes # server string is the equivalent of the NT Description field server string = Springfield Server # if you want to automatically load your printer list rather # than setting them up individually then you'll need this printcap name = /etc/printcap load printers = No # use client driver = Yes # It should not be necessary to spell out the print system type unless # yours is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx printing = lprng # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used guest account = winguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. security = user null passwords = Yes # Use password server option only with security = server # password server = mo-hq-s1 encrypt passwords = Yes #============================ Share Definitions =============================[Apps] comment = Applications Swap Area browseable = Yes writeable = Yes valid users = Administrator path = /hdd2/apps [SPF_Optra] use client driver = yes comment = Springfield Optra S Printer browseable = Yes printable = Yes path = /var/spool/samba printer = Springfield [SPF_Richo] use client driver = yes comment = Springfield RICHO Copier browseable = Yes printable = Yes path = /var/spool/samba printer = SPF_Richo valid users = Administrator I am able to print to each of these devices from the Linux server using LPR without any problems. What should I look at next? Thanks in advance for your assistance. Jay
Hi all, I have a printer configured that works with win98 clients but doesn't work with Windows 2000/xp clients. In the 2000/xp system I get the error message: Access denied, Unable to connect What could be wrong? This is my configuration: [printers] comment = All Printers path = /usr/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes [printer_tests] comment = Impressora a cores path = /tmp printer = color4500 public = yes writable = yes printable = yes Thanks in advance Regards, Hugo Sousa -------------- next part -------------- HTML attachment scrubbed and removed