Re: [expert] Samba printing - Help!
On Sat, 2002-09-28 at 00:10, Matthew Sutton wrote: > Brian, > > I am not sure if you have resolved your samba issue or not, > > If you have not you could try setting > > wins support = false > > > > I had this problem with my samba server too, but when I would start the > service > > > > #service smb start > > > > smbd would start but, > > nmbd would fail to start and the error messages you gave would be in my > log > > and I fixed it by setting wins support to false. > > > > Hope this helps, > > > > Matthew Sutton > > > Thanks Matthew, That sounds promising. I had just about decided to give up on it, do a fresh install with 9.0 and hope it came right in the wash, but I'll certainly give your suggestion a try. It'll have to wait until Monday as it's a client's machine. I'll report back on the outcome. thanks again Brian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] Samba printing - Help!
I've found that the samba settings work best with options "use encrypted passwords" enabled and "allow null passwords" enabled as well. Also keep in mind that you may have to capture a printer port and browse to the network printer rather than installing the printer as a pure network printer (this applies when printing to a linux box from a windows machine). Some printers (esp HP laserjet) will not install in windows unless it first detects the printer on a "port". Shouldn't apply in the reverse situation though. Hopefully I don't confuse you more. I have less experience printing from linux to windows than windows to linux to be honest. Todd Can we cut the HTML mails from this list... All my printers are on a linux server, multiple io cards are fitted. I use CUP's for printing. My samaba config is quite basic, but the printers that are visible on the Windows network are all installable. I go into the 'Add printer' dialogue and it allows you to browse the network...just select the one that you want and the insaller does the rest. I have never had to capture the port to do this. If you guys want to see my config, let me know and i'll post it. I do agree about the encrypted password token, also are the printers browsable, this makes things easier.. David. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Samba printing - Help!
Brian Parish wrote on Fri, Sep 20, 2002 at 02:04:55PM +1000 : > I am getting a little desperate for some help with a Samba printing > issue. I have configured a number of systems for this without > difficulty, but this one seems to have a mind of its own! > I can see the printer from W$ XP, but access is denied. I see nmb > errors in the log like: I assume that you applied the registry patch to XP to disable the sign or seal function? I found that just applying the registry patch didn't quite disable it. I had to manually edit the registry in three places (because the patch was only modifying one of the three). It's in the samba package somewhere in /usr/share/doc/samba* Blue skies... Todd -- MandrakeSoft USA http://www.mandrakesoft.com Easy things should be easy, and hard things should be possible. --Larry Wall Cooker Version mandrake-release-9.0-0.3mdk Kernel 2.4.19-12mdk msg58017/pgp0.pgp Description: PGP signature
Re: [expert] Samba printing - Help!
I've found that the samba settings work best with options "use encrypted passwords" enabled and "allow null passwords" enabled as well. Also keep in mind that you may have to capture a printer port and browse to the network printer rather than installing the printer as a pure network printer (this applies when printing to a linux box from a windows machine). Some printers (esp HP laserjet) will not install in windows unless it first detects the printer on a "port". Shouldn't apply in the reverse situation though. Hopefully I don't confuse you more. I have less experience printing from linux to windows than windows to linux to be honest. Todd Mark Weaver wrote: Ivailo Josifov wrote: Find the workgroup configuration on you XP machine and then change it in your samba configuration. The two workgroups must be the same. I think it should help. I. Josifov Brian, Also, you may want to turn off "allow hosts" at least for now so that all hosts can connect and handle the restrictions through your firewall. I'd also turn off wins and just allow the machines to connect to the samba server normally. also set the "null passwords" to "no". If you can see it, but permission is being denied I have a real good feeling the first two things I mentioned are the culprits. The third thing can only serve to muddy the waters. Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Samba printing - Help!
Ivailo Josifov wrote: > Find the workgroup configuration on you XP machine and then change it in > your samba configuration. The two workgroups must be the same. > I think it should help. > > I. Josifov > Brian, Also, you may want to turn off "allow hosts" at least for now so that all hosts can connect and handle the restrictions through your firewall. I'd also turn off wins and just allow the machines to connect to the samba server normally. also set the "null passwords" to "no". If you can see it, but permission is being denied I have a real good feeling the first two things I mentioned are the culprits. The third thing can only serve to muddy the waters. Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Samba printing - Help!
Thanks, but not so simple I'm afraid. Anyway, all the samba file shares are seen in the same workgroup, so I don't think that this can be the issue. thanks anyway - any other suggestions out there? Brian On Fri, 2002-09-20 at 18:56, Ivailo Josifov wrote: > Find the workgroup configuration on you XP machine and then change it in > your samba configuration. The two workgroups must be the same. > I think it should help. > > I. Josifov > > - Original Message - > From: "Brian Parish" <[EMAIL PROTECTED]> > To: "expert" <[EMAIL PROTECTED]> > Sent: Friday, September 20, 2002 6:18 AM > Subject: Re: [expert] Samba printing - Help! > > > > On Fri, 2002-09-20 at 14:04, Brian Parish wrote: > > > I am getting a little desperate for some help with a Samba printing > > > issue. I have configured a number of systems for this without > > > difficulty, but this one seems to have a mind of its own! > > > > > > Here is the relevant part of smb.conf: > > > > > > [global] > > > smb passwd file = /etc/samba/smbpasswd > > > printing = cups > > > dns proxy = no > > > security = share > > > encrypt passwords = yes > > > null passwords = yes > > > workgroup = WORKGROUP > > > server string = Samba Server > > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > > log file = /var/log/samba/log.%m > > > load printers = yes > > > wins support = true > > > printcap name = lpstat > > > max log size = 50 > > > hosts allow = 192.168.0. 127. > > > > > > [printers] > > > path = /var/spool/samba > > > writable = yes > > > comment = All Printers > > > printable = yes > > > guest account = root > > > public = yes > > > guest only = yes > > > > > > I can see the printer from W$ XP, but access is denied. I see nmb > > > errors in the log like: > > > > > > nmbd/nmbd_incomingrequests.c:process_name_refresh_request(181) > > > Error - should be sent to WINS server > > > > > > process_name_refresh_request: unicast name registration request received > > > for name WORKGROUP<00> from IP 192.168.0.2 on subnet UNICAST_SUBNET. > > > > > > This suggested to me that I should tell samba to be a WINS server, but > > > this hasn't been required on other installations. Maybe these messages > > > are unrelated, but I guess they should be addressed. > > > > > > Any guidance greatly appreciated! > > > > > > TIA > > > Brian > > > > > More log messages (in case they help): > > > > nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(359) > > find_domain_master_name_query_fail: > > Unable to find the Domain Master Browser name WORKGROUP<1b> for the > > workgroup WORKGROUP. > > Unable to sync browse lists in this workgroup. > > > > Samba is set to be the master browser, but this is setup for share level > > access, not as a domain. H. > > > > > > > > > > > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com > > > > > > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Samba printing - Help!
>From: "Ivailo Josifov" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Re: [expert] Samba printing - Help! >Date: Fri, 20 Sep 2002 10:56:18 +0200 >I. Josifov > >- Original Message - >From: "Brian Parish" <[EMAIL PROTECTED]> >To: "expert" <[EMAIL PROTECTED]> >Sent: Friday, September 20, 2002 6:18 AM >Subject: Re: [expert] Samba printing - Help! > > > > On Fri, 2002-09-20 at 14:04, Brian Parish wrote: > > > I am getting a little desperate for some help with a Samba printing > > > issue. I have configured a number of systems for this without > > > difficulty, but this one seems to have a mind of its own! > > > > > > Here is the relevant part of smb.conf: > > > > > > [global] > > > smb passwd file = /etc/samba/smbpasswd > > > printing = cups > > > dns proxy = no > > > security = share > > > encrypt passwords = yes > > > null passwords = yes > > > workgroup = WORKGROUP > > > server string = Samba Server > > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > > log file = /var/log/samba/log.%m > > > load printers = yes > > > wins support = true > > > printcap name = lpstat > > > max log size = 50 > > > hosts allow = 192.168.0. 127. > > > > > > [printers] > > > path = /var/spool/samba > > > writable = yes > > > comment = All Printers > > > printable = yes > > > guest account = root > > > public = yes > > > guest only = yes > > > > > > I can see the printer from W$ XP, but access is denied. I see nmb > > > errors in the log like: > > > > > > nmbd/nmbd_incomingrequests.c:process_name_refresh_request(181) > > > Error - should be sent to WINS server > > > > > > process_name_refresh_request: unicast name registration request >received > > > for name WORKGROUP<00> from IP 192.168.0.2 on subnet UNICAST_SUBNET. > > > > > > This suggested to me that I should tell samba to be a WINS server, but > > > this hasn't been required on other installations. Maybe these >messages > > > are unrelated, but I guess they should be addressed. > > > > > > Any guidance greatly appreciated! > > > > > > TIA > > > Brian > > > > > More log messages (in case they help): > > > > nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(359) > > find_domain_master_name_query_fail: > > Unable to find the Domain Master Browser name WORKGROUP<1b> for the > > workgroup WORKGROUP. > > Unable to sync browse lists in this workgroup. > > > > Samba is set to be the master browser, but this is setup for share level > > access, not as a domain. H. > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com > > > > >Want to buy your Pack or Services from MandrakeSoft? >Go to http://www.mandrakestore.com probvaj da zemesh ot xp-to ba4kastata ti konfiguracija i ja compiliraj za zambata,imashe nesto takovo i na blacksun.box.sk v samba razdela _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Samba printing - Help!
Find the workgroup configuration on you XP machine and then change it in your samba configuration. The two workgroups must be the same. I think it should help. I. Josifov - Original Message - From: "Brian Parish" <[EMAIL PROTECTED]> To: "expert" <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 6:18 AM Subject: Re: [expert] Samba printing - Help! > On Fri, 2002-09-20 at 14:04, Brian Parish wrote: > > I am getting a little desperate for some help with a Samba printing > > issue. I have configured a number of systems for this without > > difficulty, but this one seems to have a mind of its own! > > > > Here is the relevant part of smb.conf: > > > > [global] > > smb passwd file = /etc/samba/smbpasswd > > printing = cups > > dns proxy = no > > security = share > > encrypt passwords = yes > > null passwords = yes > > workgroup = WORKGROUP > > server string = Samba Server > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > log file = /var/log/samba/log.%m > > load printers = yes > > wins support = true > > printcap name = lpstat > > max log size = 50 > > hosts allow = 192.168.0. 127. > > > > [printers] > > path = /var/spool/samba > > writable = yes > > comment = All Printers > > printable = yes > > guest account = root > > public = yes > > guest only = yes > > > > I can see the printer from W$ XP, but access is denied. I see nmb > > errors in the log like: > > > > nmbd/nmbd_incomingrequests.c:process_name_refresh_request(181) > > Error - should be sent to WINS server > > > > process_name_refresh_request: unicast name registration request received > > for name WORKGROUP<00> from IP 192.168.0.2 on subnet UNICAST_SUBNET. > > > > This suggested to me that I should tell samba to be a WINS server, but > > this hasn't been required on other installations. Maybe these messages > > are unrelated, but I guess they should be addressed. > > > > Any guidance greatly appreciated! > > > > TIA > > Brian > > > More log messages (in case they help): > > nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(359) > find_domain_master_name_query_fail: > Unable to find the Domain Master Browser name WORKGROUP<1b> for the > workgroup WORKGROUP. > Unable to sync browse lists in this workgroup. > > Samba is set to be the master browser, but this is setup for share level > access, not as a domain. H. > > > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Samba printing - Help!
On Fri, 2002-09-20 at 14:04, Brian Parish wrote: > I am getting a little desperate for some help with a Samba printing > issue. I have configured a number of systems for this without > difficulty, but this one seems to have a mind of its own! > > Here is the relevant part of smb.conf: > > [global] > smb passwd file = /etc/samba/smbpasswd > printing = cups > dns proxy = no > security = share > encrypt passwords = yes > null passwords = yes > workgroup = WORKGROUP > server string = Samba Server > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > log file = /var/log/samba/log.%m > load printers = yes > wins support = true > printcap name = lpstat > max log size = 50 > hosts allow = 192.168.0. 127. > > [printers] > path = /var/spool/samba > writable = yes > comment = All Printers > printable = yes > guest account = root > public = yes > guest only = yes > > I can see the printer from W$ XP, but access is denied. I see nmb > errors in the log like: > > nmbd/nmbd_incomingrequests.c:process_name_refresh_request(181) > Error - should be sent to WINS server > > process_name_refresh_request: unicast name registration request received > for name WORKGROUP<00> from IP 192.168.0.2 on subnet UNICAST_SUBNET. > > This suggested to me that I should tell samba to be a WINS server, but > this hasn't been required on other installations. Maybe these messages > are unrelated, but I guess they should be addressed. > > Any guidance greatly appreciated! > > TIA > Brian > More log messages (in case they help): nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(359) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Unable to sync browse lists in this workgroup. Samba is set to be the master browser, but this is setup for share level access, not as a domain. H. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com