Re: [newbie] Configuring Samba
On Tuesday 29 Jul 2003 1:51 pm, David Middlebrook wrote: > Derek Jennings wrote: > >On Monday 28 Jul 2003 12:50 pm, David Middlebrook wrote: > >>I have a small home LAN running through a Netgear RP114 DSL/Cable > >>Router, my PC is running Mandrake 9.1 and the other computers are a Mac > >>OS/X, Win/XP and Win 98. The router is providing DHCP and the printer is > >>connected to the Linux computer. All I want to provide is access for > >>these non-Linux computers to the printer. The other computers are not > >>set up with userids and passwords as they are single user machines. When > >>I go to DrakXServices it is starting smb on boot so the smbd and nmbd > >>daemons are installed. > >> > >>Can anyone advise what to do next or point me to some documentation that > >>will help me get this working? > >> > >>TIA > >>Dave > > > >The default samba configuration will do as you want 'out of the box'. All > > you need change is the workgroup name in your /etc/samba.smb.conf file. > > > >If you prefer using a GUI install the drakwizard RPM and then your > > Mandrake Control Centre will have a new entry for a Samba server wizard > > which will make the edit for you. > > > >HTH > > > >derek > > > > > > > > > > > >Want to buy your Pack or Services from MandrakeSoft? > >Go to http://www.mandrakestore.com > > I have done the configuration as suggested and provided the workgroup > name and the wizard indicated that everything is properly configured. > What do I need to do on the Windows machines to point them to the Linux > computer for their printing? > > Dave At this pount you should be able to see your Linux computer in the Windows 'Network Neighboourhood' together with its printer. Then it is just a matter of selecting that to be the default printer for Windows. Its a long time since I used Windows, but don't you have to right click on the printer and select 'Bind to port' or something like that? If you cannot see your Linux machine in Network Neighbourhood then the favourite reason is a Firewall active blocking Samba traffic. Make sure your firewall is disabled. (You can always enable it again later once Samba is working) If you install the 'LinNeighborhood' and 'samba-client' RPMs then you can run LinNeighborhood which works like Network Neighbourhood. You will see all the Windows computers and the Linux computer/printer. HTH derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuring Samba
On Tuesday 29 Jul 2003 3:55 pm, Tony S. Sykes wrote: > Go into MS explorer on XP and find your Linux box. Then go to the > printer and double click on it, this will ask for drivers which you > need to install and it will then appear in your printers. Not sure > about 98 as never done it but could be the same. > On 98 you have the choice of how you set it up, but I find the easiest to get going is to install the driver on the local machine, then set up samba to use that driver. Use the add-printer wizard on win98, stating that it's a networked printer. It's pretty straightforward - except that you have to find the entry that allows you to change output from EPP (I think it is) to raw. It's also worth electing to automatically connect at bootup (on the win box). HTH Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuring Samba
Tony S. Sykes wrote: Go into MS explorer on XP and find your Linux box. Then go to the printer and double click on it, this will ask for drivers which you need to install and it will then appear in your printers. Not sure about 98 as never done it but could be the same. In 98 just use the Add Printer dialogue. Sir Robin -- "There are other rules, but you'll find out what those are when you break them." - Blake's 7 Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Configuring Samba
Go into MS explorer on XP and find your Linux box. Then go to the printer and double click on it, this will ask for drivers which you need to install and it will then appear in your printers. Not sure about 98 as never done it but could be the same. Tony. -Original Message- From: David Middlebrook [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 1:51 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Configuring Samba Derek Jennings wrote: >On Monday 28 Jul 2003 12:50 pm, David Middlebrook wrote: > > >>I have a small home LAN running through a Netgear RP114 DSL/Cable >>Router, my PC is running Mandrake 9.1 and the other computers are a Mac >>OS/X, Win/XP and Win 98. The router is providing DHCP and the printer is >>connected to the Linux computer. All I want to provide is access for >>these non-Linux computers to the printer. The other computers are not >>set up with userids and passwords as they are single user machines. When >>I go to DrakXServices it is starting smb on boot so the smbd and nmbd >>daemons are installed. >> >>Can anyone advise what to do next or point me to some documentation that >>will help me get this working? >> >>TIA >>Dave >> >> > >The default samba configuration will do as you want 'out of the box'. All you >need change is the workgroup name in your /etc/samba.smb.conf file. > >If you prefer using a GUI install the drakwizard RPM and then your Mandrake >Control Centre will have a new entry for a Samba server wizard which will >make the edit for you. > >HTH > >derek > > > >--- - > >Want to buy your Pack or Services from MandrakeSoft? >Go to http://www.mandrakestore.com > > I have done the configuration as suggested and provided the workgroup name and the wizard indicated that everything is properly configured. What do I need to do on the Windows machines to point them to the Linux computer for their printing? Dave -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either Tony S. Sykes or the postmaster <mailto:[EMAIL PROTECTED]> immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com <http://www.bcpsoftware.com/> Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuring Samba
On Monday 28 Jul 2003 12:50 pm, David Middlebrook wrote: > I have a small home LAN running through a Netgear RP114 DSL/Cable > Router, my PC is running Mandrake 9.1 and the other computers are a Mac > OS/X, Win/XP and Win 98. The router is providing DHCP and the printer is > connected to the Linux computer. All I want to provide is access for > these non-Linux computers to the printer. The other computers are not > set up with userids and passwords as they are single user machines. When > I go to DrakXServices it is starting smb on boot so the smbd and nmbd > daemons are installed. > > Can anyone advise what to do next or point me to some documentation that > will help me get this working? > > TIA > Dave The default samba configuration will do as you want 'out of the box'. All you need change is the workgroup name in your /etc/samba.smb.conf file. If you prefer using a GUI install the drakwizard RPM and then your Mandrake Control Centre will have a new entry for a Samba server wizard which will make the edit for you. HTH derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Configuring Samba
I have a small home LAN running through a Netgear RP114 DSL/Cable Router, my PC is running Mandrake 9.1 and the other computers are a Mac OS/X, Win/XP and Win 98. The router is providing DHCP and the printer is connected to the Linux computer. All I want to provide is access for these non-Linux computers to the printer. The other computers are not set up with userids and passwords as they are single user machines. When I go to DrakXServices it is starting smb on boot so the smbd and nmbd daemons are installed. Can anyone advise what to do next or point me to some documentation that will help me get this working? TIA Dave Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuring Samba
Make sure you are using encrypted passwords. If I remember right the steps to do so are as follows: 1) add system accounts for your users to your samba machine 2) run 'mksmbpass' (I think thats the right name) to convert an existing passwd file for use with encrypted password samba 3) use smbpasswd to set the passwords for each account. That should do the trick. Ken --- tek1 <[EMAIL PROTECTED]> wrote: > try creating samba users with the same user name and > password as those on > your win2k machine using the command: > > smbpasswd -a username > > the username also needs to be defined in /etc/passwd > (in other words, > username has to have a linux system account also) > > after typing in the above command, you will then be > prompted for the > password for the user. again, make this the same as > your win2k user's > password and you should no longer have the problem > with win2k asking for a > uname and pw... > > > > > At 05:00 02/03/21 -0800, you wrote: > >Sorry if this got posted twice > > > > I am finishing the smb.conf file on my Linux > >machine but I have come > >upon a problem. I have a couple of user accounts > on > >Linux and I want to > >connect to them via Win 2k from my home network. > When > >I double click on the > >Linux computer from Network Neighborhood, I get a > >popup asking me for my > >username and password. I supply the correct > username > >and password, but I > >don't connect. However, if I don't enter a > username > >and password, I will > >see all of the shares. > > > > The question: What do I have to insert into > my > >smb.conf file in order > >for me to see my users home directories? My > smb.conf > >file follows (don't worry, it's not that big...) > > > >Thanks, > > > >Paul > > > >- > > > >[global] > > workgroup = OLYMPUS > > server string = Athena's Blah Server %v > > encrypt passwords = Yes > > log file = /var/log/samba/log.%m > > max log size = 50 > > socket options = TCP_NODELAY SO_RCVBUF=8192 > >SO_SNDBUF=8192 > > printcap name = lpstat > > dns proxy = No > > printing = cups > > > >[Share] > > comment = Share Applications > > path = /shares/data > > volume = data-share > > writeable = Yes > > guest Ok = Yes > > > >[homes] > > comment = Home Directories > > browsable = yes > > writable = yes > > > > > >__ > >Do You Yahoo!? > >Yahoo! Movies - coverage of the 74th Academy > Awardsë http://movies.yahoo.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 > __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuring Samba
try creating samba users with the same user name and password as those on your win2k machine using the command: smbpasswd -a username the username also needs to be defined in /etc/passwd (in other words, username has to have a linux system account also) after typing in the above command, you will then be prompted for the password for the user. again, make this the same as your win2k user's password and you should no longer have the problem with win2k asking for a uname and pw... At 05:00 02/03/21 -0800, you wrote: >Sorry if this got posted twice > > I am finishing the smb.conf file on my Linux >machine but I have come >upon a problem. I have a couple of user accounts on >Linux and I want to >connect to them via Win 2k from my home network. When >I double click on the >Linux computer from Network Neighborhood, I get a >popup asking me for my >username and password. I supply the correct username >and password, but I >don't connect. However, if I don't enter a username >and password, I will >see all of the shares. > > The question: What do I have to insert into my >smb.conf file in order >for me to see my users home directories? My smb.conf >file follows (don't worry, it's not that big...) > >Thanks, > >Paul > >- > >[global] > workgroup = OLYMPUS > server string = Athena's Blah Server %v > encrypt passwords = Yes > log file = /var/log/samba/log.%m > max log size = 50 > socket options = TCP_NODELAY SO_RCVBUF=8192 >SO_SNDBUF=8192 > printcap name = lpstat > dns proxy = No > printing = cups > >[Share] > comment = Share Applications > path = /shares/data > volume = data-share > writeable = Yes > guest Ok = Yes > >[homes] > comment = Home Directories > browsable = yes > writable = yes > > >__ >Do You Yahoo!? >Yahoo! Movies - coverage of the 74th Academy Awards$B-k(B http://movies.yahoo.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
[newbie] Configuring Samba
Sorry if this got posted twice I am finishing the smb.conf file on my Linux machine but I have come upon a problem. I have a couple of user accounts on Linux and I want to connect to them via Win 2k from my home network. When I double click on the Linux computer from Network Neighborhood, I get a popup asking me for my username and password. I supply the correct username and password, but I don't connect. However, if I don't enter a username and password, I will see all of the shares. The question: What do I have to insert into my smb.conf file in order for me to see my users home directories? My smb.conf file follows (don't worry, it's not that big...) Thanks, Paul - [global] workgroup = OLYMPUS server string = Athena's Blah Server %v encrypt passwords = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = lpstat dns proxy = No printing = cups [Share] comment = Share Applications path = /shares/data volume = data-share writeable = Yes guest Ok = Yes [homes] comment = Home Directories browsable = yes writable = yes __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuring Samba...
My advice to you is to look at the Samba howto. That should help you set it up properly. On Tue, 07 Nov 2000, you wrote: > Hello, > I am on release 7.2 and I see that there are many applications etc. to > configure Samba. I have fooled around with some before and I can't seem to > get it configured right. I prefer not to use anything web based if possible > and I was wondering does anyone have a checklist or howto of some sort > listing the steps involved with configuring it from scratch? > > Thank You, > Vincent A. Primavera -- Eddie Torres www.veloct.net