I have Samba 3.0.0 installed on Mandrake 9.2. I also have Samba 2.8.8a installed per instructions from Mandrake -- but I do NOT start Samba 2.8.8a automatically. In fact, I don't use it at all. Maybe I should uninstall the Samba 2.8.8a rpm??? I will update to 3.0.1 as soon as an rpm is available from Mandrake. Anyway, I have a problem when I try to add a new share to my smb.conf file. I can't make it accessible to my Windows machines unless I reboot the Linux box. Simple restarting Samba3 doesn't do the trick (I think it's making Samba 2.2.8a START after shutting down Samba 3.0.0). Is there any trick to adding new shares and making them accessible to Windows without restarting either Samba3 or the whole server? And if I have to restart Samba3 -- and if I succeed in making it really restart -- won't that disconnect Windows users who are already connected to the server? Thanks for your advice. Andy Liebman
Le lun 22/12/2003 ? 16:49, AndyLiebman@aol.com a ?crit :> Is there any trick to adding new shares and making them accessible to Windows > without restarting either Samba3 or the whole server?it doesn't usually take more than a killall -HUP smbd -- *********************************************** david.morel@amakuru.net OpenPGP public key: http://www.amakuru.net/dmorel.asc 28192ef126bc871757cb7d97f4a44536 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?Url : http://lists.samba.org/archive/samba/attachments/20031222/37d5a98c/attachment.bin
Sounds like you may not be stopping the smbd3 competely. How are you stopping the service? Do verify that the smbd3 is stopped: ps -ae | grep smbd3 Also, here are the latest Mandrake RMPS for Samba: http://ranger.dnsalias.com/mandrake/9.2/samba-3.0.1 Good luck, TJ On Mon, 2003-12-22 at 15:49, AndyLiebman@aol.com wrote:> I have Samba 3.0.0 installed on Mandrake 9.2. I also have Samba 2.8.8a > installed per instructions from Mandrake -- but I do NOT start Samba 2.8.8a > automatically. In fact, I don't use it at all. Maybe I should uninstall the Samba > 2.8.8a rpm??? I will update to 3.0.1 as soon as an rpm is available from Mandrake. > > Anyway, I have a problem when I try to add a new share to my smb.conf file. I > can't make it accessible to my Windows machines unless I reboot the Linux > box. Simple restarting Samba3 doesn't do the trick (I think it's making Samba > 2.2.8a START after shutting down Samba 3.0.0). > > Is there any trick to adding new shares and making them accessible to Windows > without restarting either Samba3 or the whole server? > > And if I have to restart Samba3 -- and if I succeed in making it really > restart -- won't that disconnect Windows users who are already connected to the > server? > > Thanks for your advice. > Andy Liebman
I have samba 3.0.1 running and have successfully set it up to be a print spooler, which is working great, until I tried to add more than 5 printers. I am using cups, using the cups web interface to add printers, today I added 2 more printers. They do not show up in samba, I have restarted cups, smb nmb, everything except the machine itself. Samba is set to load /etc/printcap printers, my /etc/printcap is as follows. # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. 7th_Dock_Laser: Edgeley_Inkjet: Edgeley_Laser: Eng_Laser: Eng_Laser_Color: Front_Office_Big_Laser: Front_Office_Laser: Michigan_Plotter: Any ideas why only the 1st 5 printers show up in samba? Rob
Rob, Sorry. Not enough information. What is in your smb.conf? Have are the printers set up? Are you using Raw interface on CUPS? - If so, did you enable application/octet-stream in CUPS /etc/cups/mime* Was samba-3.0.1 compiled and linked against the cups-devel libraries? - to find out run: smbd -b | grep CUPS If you have CUPS, you should not be using /etc/printcap at all. Samba talks directly to CUPS via a direct printing API. - John T. On Mon, 22 Dec 2003, Rob Sell wrote:> I have samba 3.0.1 running and have successfully set it up to be a print > spooler, which is working great, until I tried to add more than 5 printers. > I am using cups, using the cups web interface to add printers, today I added > 2 more printers. They do not show up in samba, I have restarted cups, smb > nmb, everything except the machine itself. Samba is set to load > /etc/printcap printers, my /etc/printcap is as follows. > > # This file was automatically generated by cupsd(8) from the > # /etc/cups/printers.conf file. All changes to this file > # will be lost. > 7th_Dock_Laser: > Edgeley_Inkjet: > Edgeley_Laser: > Eng_Laser: > Eng_Laser_Color: > Front_Office_Big_Laser: > Front_Office_Laser: > Michigan_Plotter: > > Any ideas why only the 1st 5 printers show up in samba? > > Rob > >-- John H Terpstra Email: jht@samba.org