Re: [newbie] samba wizard
On Apr 7, 2005 8:54 AM, Isak Lyberth [EMAIL PROTECTED] wrote: Where do i find the samba wisard that is shown on the screenshots on mandrakelinux.com? http://www.mandrakelinux.com/en/10.1/features/8.php3 i can't seem to find it. Regards Isak Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com You need to install drakwizard - urpmi drakwizard -- Christopher Taylor - Registered Linux User #383327 If this message is sent to a mailing list please 'Reply to List' or re-write the To field. This will save on a lot of duplicate emails going out. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba Server
On Saturday 19 Mar 2005 08:33, Elwyn wrote: Hiya Folks What I'd like to do is set up a shared area within our network that all our (family) music files are on, plus other bits and bobs, that will only share files for most of its hard drive. I've already got a working Samba place on this machine but I'm debating how to go about this. Basically the box wil be without monitor, keyboard, mouse etc. Just have power and network to it. However, the small problem I have is that as it is a closed secured network I don't want any username and passwords? Is that possible?? Because one of the problems I have is any files created with one ID cannot be moved/deleted with another ID, or have I missed something fundemental out?? Using Groups it's possible to sort that problem. Make sure that everyone is in one group - either use User or create one for the purpose. Then, in konqueror, go to the folder that represents the whole of the shared area. As root, change the group to the chosen one and Set GID on the advanced permissions page, then check Apply changes to all subdirectories and their contents. That should work. Be aware, though, that you no longer have any kind of control over who does what, so anything you value should be copied there, not moved there. Anne -- Registered Linux User No.293302 (http://counter.li.org/) Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels pgpk7cOq5beI1.pgp Description: PGP signature
Re: [newbie] Samba Server
Alas my plans have gone a bit pear shaped. The machine destined to become a server, whilst quiet and with enough memory has transpired to not support the required drives. A variety of words spring to mind, most unrepeatable here ;( So the 80gb drive is going in this linux machine and I'll modify the network to suit. Thank you Anne for your description. Having also spoken to anther network freind here I think it'll be easier to stick to a shared user ID and password. Cheers Elwyn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba Server
Elwyn wrote: Hiya Folks What I'd like to do is set up a shared area within our network that all our (family) music files are on, plus other bits and bobs, that will only share files for most of its hard drive. I've already got a working Samba place on this machine but I'm debating how to go about this. Basically the box wil be without monitor, keyboard, mouse etc. Just have power and network to it. However, the small problem I have is that as it is a closed secured network I don't want any username and passwords? Is that possible?? Because one of the problems I have is any files created with one ID cannot be moved/deleted with another ID, or have I missed something fundemental out?? Cheers, Elwyn This all depends on how you set up the share. You can use the force user and force group options when defining the share so that all files will be owned by the same user/group. You may also want to set it up so that guests can read, but not create/change/delete files. Another way would be to set up security = share instead of user. It isn't used as often, and I am not sure how well the GUI config tools work with it, but it is something to look into. I prefer to leave security set to user, and the force user option. That way, you can still have private home shares for each user, but that is just me... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba Server
Thanks, I'll keep looking into options... Elwyn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba Newbie!
On Monday 24 January 2005 06:09 am, et wrote: On Sunday 23 January 2005 04:22 pm, Mike Adolf wrote: On Sunday 23 January 2005 02:19 pm, Siposs Attila wrote: 2005. január 23. 17.12 dátummal Mike Adolf ezt írta: I recently went to 10.1 and now would like to set up a simple home network consisting of: Dlink DI-514 router connected to my linux box (it has my cloned mac) XP wireless labtop Another XP 10/100 connected machine. I would like to: share printer (connected to my linux box) share files between all machines What I know--not much 1. I setup private IPs in the router. (I am assuming router firewall is sufficient). 2. All machines have internet access via router. 3. I can ping machines from my machine by ip and name (I've populated the hosts file) 4 I can only ping by ip from the XP machines. (I guess I need a DNS ??, How??) 5. Using mdk control center, sbm mount points, search for servers shows the other machines, but I can't connect. (no domain?) 6. Using XP network wizzard, seems to want a 10/100 connection not a wireless. 7. The more I read the less I know. What do I do on my box? What do I do on the XP machines? Mike 1. install samba server and client, and smb4k packages if they are not installed. 2. goto Mandrake Control Center and in section servers configure your samba server by the wizard. don't worry, it's easy 3. start smb4k for browsing windows machines 4. on win machines try to browse the local network. you should see your linux share as Samba Server ... 5. enjoy :) Ati I installed drakwizard and now have the samba server wizard. I configured samba to share my printer and a public folder. However, from XP I can't see the printer or the public folder. I tried adding a printer from XP by letting it look for one. It only found the windows work group containing the local machine. I identified the windows work group to samba. What now.? Mike create samba users (as root) with smbpasswd giving them the same names and passwords as the windows users on the windows boxes Got it working! Thanks. Mike Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba Newbie!
On Sunday 23 January 2005 04:22 pm, Mike Adolf wrote: On Sunday 23 January 2005 02:19 pm, Siposs Attila wrote: 2005. január 23. 17.12 dátummal Mike Adolf ezt írta: I recently went to 10.1 and now would like to set up a simple home network consisting of: Dlink DI-514 router connected to my linux box (it has my cloned mac) XP wireless labtop Another XP 10/100 connected machine. I would like to: share printer (connected to my linux box) share files between all machines What I know--not much 1. I setup private IPs in the router. (I am assuming router firewall is sufficient). 2. All machines have internet access via router. 3. I can ping machines from my machine by ip and name (I've populated the hosts file) 4 I can only ping by ip from the XP machines. (I guess I need a DNS ??, How??) 5. Using mdk control center, sbm mount points, search for servers shows the other machines, but I can't connect. (no domain?) 6. Using XP network wizzard, seems to want a 10/100 connection not a wireless. 7. The more I read the less I know. What do I do on my box? What do I do on the XP machines? Mike 1. install samba server and client, and smb4k packages if they are not installed. 2. goto Mandrake Control Center and in section servers configure your samba server by the wizard. don't worry, it's easy 3. start smb4k for browsing windows machines 4. on win machines try to browse the local network. you should see your linux share as Samba Server ... 5. enjoy :) Ati I installed drakwizard and now have the samba server wizard. I configured samba to share my printer and a public folder. However, from XP I can't see the printer or the public folder. I tried adding a printer from XP by letting it look for one. It only found the windows work group containing the local machine. I identified the windows work group to samba. What now.? Mike create samba users (as root) with smbpasswd giving them the same names and passwords as the windows users on the windows boxes -- linux counter #167806 (http://counter.li.org/) website=http://ed-tharp.kicks-ass.org; Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba Newbie!
2005. janur 23. 17.12 dtummal Mike Adolf ezt rta: I recently went to 10.1 and now would like to set up a simple home network consisting of: Dlink DI-514 router connected to my linux box (it has my cloned mac) XP wireless labtop Another XP 10/100 connected machine. I would like to: share printer (connected to my linux box) share files between all machines What I know--not much 1. I setup private IPs in the router. (I am assuming router firewall is sufficient). 2. All machines have internet access via router. 3. I can ping machines from my machine by ip and name (I've populated the hosts file) 4 I can only ping by ip from the XP machines. (I guess I need a DNS ??, How??) 5. Using mdk control center, sbm mount points, search for servers shows the other machines, but I can't connect. (no domain?) 6. Using XP network wizzard, seems to want a 10/100 connection not a wireless. 7. The more I read the less I know. What do I do on my box? What do I do on the XP machines? Mike 1. install samba server and client, and smb4k packages if they are not installed. 2. goto Mandrake Control Center and in section servers configure your samba server by the wizard. don't worry, it's easy 3. start smb4k for browsing windows machines 4. on win machines try to browse the local network. you should see your linux share as Samba Server ... 5. enjoy :) Ati Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba Newbie!
On Sunday 23 January 2005 02:19 pm, Siposs Attila wrote: 2005. január 23. 17.12 dátummal Mike Adolf ezt írta: I recently went to 10.1 and now would like to set up a simple home network consisting of: Dlink DI-514 router connected to my linux box (it has my cloned mac) XP wireless labtop Another XP 10/100 connected machine. I would like to: share printer (connected to my linux box) share files between all machines What I know--not much 1. I setup private IPs in the router. (I am assuming router firewall is sufficient). 2. All machines have internet access via router. 3. I can ping machines from my machine by ip and name (I've populated the hosts file) 4 I can only ping by ip from the XP machines. (I guess I need a DNS ??, How??) 5. Using mdk control center, sbm mount points, search for servers shows the other machines, but I can't connect. (no domain?) 6. Using XP network wizzard, seems to want a 10/100 connection not a wireless. 7. The more I read the less I know. What do I do on my box? What do I do on the XP machines? Mike 1. install samba server and client, and smb4k packages if they are not installed. 2. goto Mandrake Control Center and in section servers configure your samba server by the wizard. don't worry, it's easy 3. start smb4k for browsing windows machines 4. on win machines try to browse the local network. you should see your linux share as Samba Server ... 5. enjoy :) Ati I installed drakwizard and now have the samba server wizard. I configured samba to share my printer and a public folder. However, from XP I can't see the printer or the public folder. I tried adding a printer from XP by letting it look for one. It only found the windows work group containing the local machine. I identified the windows work group to samba. What now.? Mike Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 15 Dec 2004 00:41, Danesh Daroui wrote: Anne Wilson wrote: /*Thanks, here is my samba configurations file:*/ # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2004/12/14 22:25:01 # Global parameters [global] workgroup = HOME server string = Print Server security = SHARE map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no printer admin = @adm [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes use client driver = Yes browseable = No [print$] path = /var/lib/samba/printers write list = @adm, root inherit permissions = Yes guest ok = Yes [pdf-gen] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes printing = bsd print command = /usr/share/samba/scripts/print-pdf %s %H //%L/%u %m %I %J lpq command = /bin/true lprm command = lprm -P'%p' %j [HPLaserJet1010] comment = HP LaserJet 1010 path = /var/spool/samba read only = No create mask = 0700 guest ok = Yes printable = Yes printer name = HPLaserJet1010 use client driver = Yes oplocks = No share modes = No [HPColorLaserJet2550] comment = HP Color LaserJet 2550 path = /var/spool/samba read only = No create mask = 0700 guest ok = Yes printable = Yes printer name = HPColorLaserJet2550 use client driver = Yes oplocks = No share modes = No OK - I see nothing there about shares, other than home directories. Is that what you intend? Here is my homes section: [homes] comment = Home Directories browseable = yes writable = yes Try changing your settings to match. Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBv/fokFAvMr/nNX8RAt3eAJwKwm7kvX2dWDXe/4yCZeOaewyfHgCglIET w2MENoUPddJJZoEw4JSw1tk= =hZ47 -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
[ SNIP ] -- OK - I see nothing there about shares, other than home directories. Is that what you intend? Here is my homes section: [homes] comment = Home Directories browseable = yes writable = yes Try changing your settings to match. Anne Anne, With this setting, don't all of the user's home directories show up in the share list, and not just their own? I have been using browsable = no in my [homes] share for years, and it works, with the only home directory matching the user name showing in when you brows the Network Neighborhood. I believe this is still the default setting... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 15 Dec 2004 15:43, [EMAIL PROTECTED] wrote: [ SNIP ] -- OK - I see nothing there about shares, other than home directories. Is that what you intend? Here is my homes section: [homes] comment = Home Directories browseable = yes writable = yes Try changing your settings to match. Anne Anne, With this setting, don't all of the user's home directories show up in the share list, and not just their own? I have been using browsable = no in my [homes] share for years, and it works, with the only home directory matching the user name showing in when you brows the Network Neighborhood. I believe this is still the default setting... I don't have a windows box here to see what's happening, Mikkel, and some things that did work with samba2 don't with samba3 - this is why I changed mine. As far as I know they do show up, but you can't do anything you don't have permission for, so you will see a folder but not be able to enter it. Feel free to correct me, as I rarely have access to a windows box on this lan now. Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBwFyikFAvMr/nNX8RAsWzAJ9Z9r1fmvCpqOfdTAZn+sCR4HU+fQCfe7WO 4fWLVo6XFXNMk0oDewA0rlw= =noiy -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 15 Dec 2004 16:01, [EMAIL PROTECTED] wrote: Ok - that was what happened if you set brosable = yes in samba2. That is why the default was to have it set to no - so you could only see your own home directory. Ether way is ok for a home network, but it can cause problems in a larger setting. Too many shares visable that you can not connect to makes it hard to find the ones you want. I can see that. You can get a list of visable shares using smbclient -L machine name under Linux. It gives you more information then from Windows. Linneighborhood will give you about the same picture as Windows sees. Just pick scan as user to see what that user would see. I use smb4k to connect. I see 'homes' and am invited to put in a username and password, so I don't see any others. In konqueror's lan browser I see only my own home directory on the server machine. As I said, I'm mainly concerned these days with linux to linux, but I've just borrowed my granddaughter's Win98 box to test this out. She can only see her own home directory. There is a folder called 'homes' which may be a bit confusing, but in there she again sees only her own home directory. I struggled so long to sort out problems I had a couple of months ago, and it's possible that I've changed more than strictly necessary, but at least it is working. I think Danesh's problem stems from write-access permissions, but we'll see what he reports back. Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBwGjckFAvMr/nNX8RAg7VAJ0V1WQpC4MtGDArr/DJamtGV28LGACfbLxH uBa7UphvSP9qBAOt78ntIWI= =TfFg -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
From: [EMAIL PROTECTED] Ok - that was what happened if you set brosable = yes in samba2. That Careful about typographical errors, Mikkel. browsable. {^_-} Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 15 Dec 2004 15:43, [EMAIL PROTECTED] wrote: [ SNIP ] -- OK - I see nothing there about shares, other than home directories. Is that what you intend? Here is my homes section: [homes] comment = Home Directories browseable = yes writable = yes Try changing your settings to match. Anne Anne, With this setting, don't all of the user's home directories show up in the share list, and not just their own? I have been using browsable no in my [homes] share for years, and it works, with the only home directory matching the user name showing in when you brows the Network Neighborhood. I believe this is still the default setting... I don't have a windows box here to see what's happening, Mikkel, and some things that did work with samba2 don't with samba3 - this is why I changed mine. As far as I know they do show up, but you can't do anything you don't have permission for, so you will see a folder but not be able to enter it. Feel free to correct me, as I rarely have access to a windows box on this lan now. Anne Ok - that was what happened if you set brosable = yes in samba2. That is why the default was to have it set to no - so you could only see your own home directory. Ether way is ok for a home network, but it can cause problems in a larger setting. Too many shares visable that you can not connect to makes it hard to find the ones you want. You can get a list of visable shares using smbclient -L machine name under Linux. It gives you more information then from Windows. Linneighborhood will give you about the same picture as Windows sees. Just pick scan as user to see what that user would see. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
Danesh Daroui wrote: Hi all, I have installed samba on mandk 10.1 official for act as server for a small LAN (4 clients). All clietns have Windows XP. I have added unix user to server for all clients too. My server is visible to all clients but none of them can connect to server. The error message is The user doesn't have permission or something like that. I guess that there is something wrong with samba users. I have added samba users first by using SWAT but it is just confusing and Iused sambaclient at command line to add a user and it added succesfully. I couls even connect locally to my samba server by using added samba user. I used to install FC3 and it has a great graphical tool (except SWAT) to manage samba users ans shares and also to congifure Apache in a graphical UI and both was great. I did use that and it was working perfectly but I don't know here in mndk is anything like that. Can anybody help ? Regards, Danesh What is the exact command you used to add the Samba users? It should be: smbpasswd -a username It will then ask for your password. For consistency it should match the password of the corresponding Unix user and the corresponding Windows user. Watch the messages displayed after entering this info. to make sure that the addition was successful. -- Brant Fitzsimmons [EMAIL PROTECTED] --- Linux user #322847 | Linux machine #207465 | http://counter.li.org/ Mandrake 10.1 for i586, kernel 2.6.8.1-12mdk 18:20:00 up 5:28, 1 user, load average: 0.18, 0.37, 0.26 --- Press on: nothing in the world can take the place of perseverance. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination alone are omnipotent. -Calvin Coolidge Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
Anne Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 14 Dec 2004 21:20, Danesh Daroui wrote: Hi all, I have installed samba on mandk 10.1 official for act as server for a small LAN (4 clients). All clietns have Windows XP. I have added unix user to server for all clients too. My server is visible to all clients but none of them can connect to server. The error message is The user doesn't have permission or something like that. I guess that there is something wrong with samba users. I have added samba users first by using SWAT but it is just confusing and Iused sambaclient at command line to add a user and it added succesfully. I couls even connect locally to my samba server by using added samba user. I used to install FC3 and it has a great graphical tool (except SWAT) to manage samba users ans shares and also to congifure Apache in a graphical UI and both was great. I did use that and it was working perfectly but I don't know here in mndk is anything like that. Can anybody help ? If you can see the shares from XP but have permission problems you must be well on the way to a working configuration. It's possible to do all this from Webmin, but I think it is quicker and easier to manually edit the files. Open (as root) /etc/samba/smb.conf and copy the shares information to a message here. Also, give one share as an example of what you are trying to achieve - give the path to the share, and whether you want all users to read and write to it. If you only want some users to do this you will have to control access by user groups. Give us this information and someone should be able to help. Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBv2PfkFAvMr/nNX8RAjaTAKCD2+wqnXyECxFbXdlkmHcv7VlU8wCdFpq/ gNOKOn6F4OEJA3hiqfB56Hs= =EZ9A -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com Thanks, here is my samba configurations file: # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2004/12/14 22:25:01 # Global parameters [global] workgroup = HOME server string = Print Server security = SHARE map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no printer admin = @adm [homes] comment = Home Directories read > browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes use client driver = Yes browseable = No [print$] path = /var/lib/samba/printers write list = @adm, root inherit permissions = Yes guest ok = Yes [pdf-gen] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes printing = bsd print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" lpq command = /bin/true lprm command = lprm -P'%p' %j [HPLaserJet1010] comment = HP LaserJet 1010 path = /var/spool/samba read > create mask = 0700 guest ok = Yes printable = Yes printer name = HPLaserJet1010 use client driver = Yes oplocks = No share modes = No [HPColorLaserJet2550] comment = HP Color LaserJet 2550 path = /var/spool/samba read > create mask = 0700 guest ok = Yes printable = Yes printer name = HPColorLaserJet2550 use client driver = Yes oplocks = No share modes = No
Re: [newbie] Samba user adding
TURN OFF YOUR HTML MAIL FORMAT PLEASE Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba user adding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 14 Dec 2004 21:20, Danesh Daroui wrote: Hi all, I have installed samba on mandk 10.1 official for act as server for a small LAN (4 clients). All clietns have Windows XP. I have added unix user to server for all clients too. My server is visible to all clients but none of them can connect to server. The error message is The user doesn't have permission or something like that. I guess that there is something wrong with samba users. I have added samba users first by using SWAT but it is just confusing and Iused sambaclient at command line to add a user and it added succesfully. I couls even connect locally to my samba server by using added samba user. I used to install FC3 and it has a great graphical tool (except SWAT) to manage samba users ans shares and also to congifure Apache in a graphical UI and both was great. I did use that and it was working perfectly but I don't know here in mndk is anything like that. Can anybody help ? If you can see the shares from XP but have permission problems you must be well on the way to a working configuration. It's possible to do all this from Webmin, but I think it is quicker and easier to manually edit the files. Open (as root) /etc/samba/smb.conf and copy the shares information to a message here. Also, give one share as an example of what you are trying to achieve - give the path to the share, and whether you want all users to read and write to it. If you only want some users to do this you will have to control access by user groups. Give us this information and someone should be able to help. Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBv2PfkFAvMr/nNX8RAjaTAKCD2+wqnXyECxFbXdlkmHcv7VlU8wCdFpq/ gNOKOn6F4OEJA3hiqfB56Hs= =EZ9A -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba and WinXP Ok, now Internet
On Sat, 11 Sep 2004 17:04:48 +0300, EE [EMAIL PROTECTED] wrote: Dears, I am really happy. Even though I am a newbie, I managed to Setup a Samba server that works from WinXP. I can now access both computer from each other. I even can surf my local website in Linux from WinXP. The next step is that I would like to sign on the Internet from Linux and be able to surf it from my WinXP. How can I do this? Cheers EE Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com The way I've always done this before is through iptables. See if this Howto on IP-Masqerade helps you: http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba, Windows XP and Mdk10
You might want to try 'webmin'. It's a web based interface that you can use to change the settings of most functions/servers on MDK. I used it to set up Samba on my MDK10 and it was relatively easy. =) Cheers! On Mon, 16 Aug 2004 18:49:58 +0300, EE [EMAIL PROTECTED] wrote: Dears, I would like to connect a laptop running WinXP to MDK10 box through an Ethernet Cable (cards of course). I installed Samba to start with but beside that I have no idea. I will try to search the net but if anyone have an idea or an article that will help me out, I will appreciate. Thank you EE Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
On Wed, 2004-07-28 at 14:55, Lee Wiggers wrote: I'm going to get this unless it kills me. I've been rtfming my butt off on samba. smbadduser as root goes like this: [EMAIL PROTECTED] lee]# smbadduser lee:lee bash: smbadduser: command not found [EMAIL PROTECTED] lee]# What have I overlooked? smb daemon is running and I can browse one win2k box from black. Lee Lee - the easiest - EASIEST way to configure Samba (and/or add/remove users and all that fancy jazz) is to use Webmin and the SWAT plugin in Webmin - not a joke. It's a PITA dealing with administration of Samba from the command line - and you should make absolutely sure you have all the wonderful Samba tools installed as well (urpmi --fuzzy samba ; and choose all the packages); I have to rely on Samba here at home and on quite a few job sites...ain't no better way to deal with it than with Webmin (it's a tool that everyone using GNU/Linux should have) stephen kuhn - proprietor __ illawarra computer services :: a kuhn media australia venture http://kma.0catch.com :: mobile 0410.728.389 Serving Sydney, The Illawarra, South Coast and Rural NSW __ * This message was composed on a 100% Microsoft free computer * We expressly refuse to utilise Microsoft DRM encoded documents __ Mandrake GNU/Linux 10.0 OE/Kernel 2.6.3-7/ No Viruses here. Finagle's First Law: To study a subject best, understand it thoroughly before you start. Finagle's Second Law: Always keep a record of data -- it indicates you've been working. Finagle's Fourth Law: Once a job is fouled up, anything done to improve it only makes it worse. Finagle's Fifth Law: Always draw your curves, then plot your readings. Finagle's Sixth Law: Don't believe in miracles -- rely on them. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
Stephen Kühn wrote: Finagle's First Law: To study a subject best, understand it thoroughly before you start. Finagle's Second Law: Always keep a record of data -- it indicates you've been working. Finagle's Fourth Law: Once a job is fouled up, anything done to improve it only makes it worse. Finagle's Fifth Law: Always draw your curves, then plot your readings. Finagle's Sixth Law: Don't believe in miracles -- rely on them. OK, This really pisses me off Stephen! You forgot Finagle's Third Law, and it's driving me nuts! What is it? You can't just leave something this important out of your SIG! The suspense is killing me! grin! OH, Lee? Stephen is 110% right about webmin and Samba BTW. Lanman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
On Wed, 28 Jul 2004 19:07:09 +1000 Stephen Kühn [EMAIL PROTECTED] wrote: Lee - the easiest - EASIEST way to configure Samba (and/or add/remove users and all that fancy jazz) is to use Webmin and the SWAT plugin in Webmin - not a joke. I know, Stephen, and I've done it like that before, but obviously didn't learn anything. This time I'm going to understand it. I have 7 boxes here that I set up with a combination of webmin and luck before. I never had full network communication between all boxes, but didn't care because I had the old original win2k box serving files to everyone and all was well. Well, that box crashed Sunday and I can't get it's replacement or the Linux boxes together because I didn't understand what put them together in the first place. Hell, I can't even add a smbuser. Lee Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
On Wed, 28 Jul 2004 19:07:09 +1000 Stephen Kühn [EMAIL PROTECTED] wrote: Lee - the easiest - EASIEST way to configure Samba (and/or add/remove users and all that fancy jazz) is to use Webmin and the SWAT plugin in Webmin - not a joke. To add to the confusion: Samba or Samba3? Lee Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
On Wed, 28 Jul 2004 05:31:07 -0400 Lanman [EMAIL PROTECTED] wrote: OH, Lee? Stephen is 110% right about webmin and Samba BTW. Lanman No doubt, but I'm never going to learn anything if I just make it work. Why can't I do the one command all the tutorials lead me to: [EMAIL PROTECTED] lee]# smbadduser lee:lee bash: smbadduser: command not found [EMAIL PROTECTED] lee]# Lee Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
On Wed, 2004-07-28 at 15:36, Lee Wiggers wrote: On Wed, 28 Jul 2004 19:07:09 +1000 Stephen Kühn [EMAIL PROTECTED] wrote: Lee - the easiest - EASIEST way to configure Samba (and/or add/remove users and all that fancy jazz) is to use Webmin and the SWAT plugin in Webmin - not a joke. I know, Stephen, and I've done it like that before, but obviously didn't learn anything. This time I'm going to understand it. I have 7 boxes here that I set up with a combination of webmin and luck before. I never had full network communication between all boxes, but didn't care because I had the old original win2k box serving files to everyone and all was well. Well, that box crashed Sunday and I can't get it's replacement or the Linux boxes together because I didn't understand what put them together in the first place. Hell, I can't even add a smbuser. Lee Ok - long and short of it is that you have to have the same users on the network as you do on the linux box that you want to be the server; you can setup the shares on the server in such a way as to either have them protected by user authentication, domain authentication or share authentication; I personally prefer share authentication as I have customer machines that i back up to the server constantly, so domain or user authentication means diddly to me here. Another issue is having SWAT trim down your /etc/samba/smb.conf so that you don't have to spend three days reading through it; and you can use the functionality in Webmin to synchronise the users for unix=samba really easy... If you tell more of the story, perchance that would give us more info to set you straight? stephen kuhn - proprietor __ illawarra computer services :: a kuhn media australia venture http://kma.0catch.com :: mobile 0410.728.389 Serving Sydney, The Illawarra, South Coast and Rural NSW __ * This message was composed on a 100% Microsoft free computer * We expressly refuse to utilise Microsoft DRM encoded documents __ Mandrake GNU/Linux 10.0 OE/Kernel 2.6.3-7/ No Viruses here. serendipity, n.: The process by which human knowledge is advanced. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
On Wednesday 28 July 2004 04:31, Lanman wrote: Stephen Kühn wrote: Finagle's First Law: To study a subject best, understand it thoroughly before you start. Finagle's Second Law: Always keep a record of data -- it indicates you've been working. Finagle's Fourth Law: Once a job is fouled up, anything done to improve it only makes it worse. Finagle's Fifth Law: Always draw your curves, then plot your readings. Finagle's Sixth Law: Don't believe in miracles -- rely on them. OK, This really pisses me off Stephen! You forgot Finagle's Third Law, and it's driving me nuts! What is it? You can't just leave something this important out of your SIG! The suspense is killing me! grin! OH, Lee? Stephen is 110% right about webmin and Samba BTW. Lanman Talk about walking into one. -- Regards; Hoyt Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
Hoyt Bailey wrote: On Wednesday 28 July 2004 04:31, Lanman wrote: Stephen Kühn wrote: Finagle's First Law: To study a subject best, understand it thoroughly before you start. Finagle's Second Law: Always keep a record of data -- it indicates you've been working. Finagle's Fourth Law: Once a job is fouled up, anything done to improve it only makes it worse. Finagle's Fifth Law: Always draw your curves, then plot your readings. Finagle's Sixth Law: Don't believe in miracles -- rely on them. OK, This really pisses me off Stephen! You forgot Finagle's Third Law, and it's driving me nuts! What is it? You can't just leave something this important out of your SIG! The suspense is killing me! grin! OH, Lee? Stephen is 110% right about webmin and Samba BTW. Lanman Talk about walking into one. fifth law third law takes priority Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
Lee Wiggers wrote: On Wed, 28 Jul 2004 19:07:09 +1000 Stephen Kühn [EMAIL PROTECTED] wrote: Lee - the easiest - EASIEST way to configure Samba (and/or add/remove users and all that fancy jazz) is to use Webmin and the SWAT plugin in Webmin - not a joke. To add to the confusion: Samba or Samba3? Lee Lee; Your best bet is to lose Samba and to move up to Samba 3, but there's a trick to doing it.If any , and i mean ANY remnants of Samba are left on the Linux box, Webmin will try to use that set of files and the default folder as the home of Samba. Typically, that will mean that Webmin will spit out an error about not finding Samba. What you need to do, is to un-install Samba and Samba3, making sure to visually check that their folders in /etc are completely gone, and then urpmi Samba3. If you successfully removed any leftovers of Samba and Samba3, Mandrake will install Samba3 in /etc/samba and NOT /etc/samba3. Then Webmin will detect that Samba3 is in the Samba folder, and you're in business. Of course, make sure that any usernames and matching passwords on any of your systems are also added to the Linux box before converting Unix users to Samba users. If you set up folder access as Shared, it helps if you make sure that each PC is in the correct workgroup, and that you create the appropriate User groups on each PC, then add the proper users to those groups. So on PC #2, you would create a user (only an example) called linus and you would also create a workgroup called torvalds. This same user and group should exist on the Linux box and that user linus (on the server) should belong to the torvalds group on the server. Then convert your Unix users in Samba to Samba users. It's not so much a question of whether this will work or not (although it will certainly help), but more of a question of removing any possibilities that something might gum up the works. It will also help to create a standard way of setting up Samba for you so that you will have consistent results every time you need to set up Samba. Add any users on your network to the torvalds workgroup as needed, and feel free to put some users in different workgroups both on the PC's and on the Linux box. This will give you a clearer idea of samba's quirks and the results you can expect in the future. One thing to watch out for though - I noticed that Webmin is back to its old tricks. If you go to Webmin/Samba/Edit Samba users and passwords/Samba users, and select one of your Samba users, you will probably see that 2 of the 4 check-boxes have checkmarks in them. Until you fix this, it's unlikely that you will be able to connect to the samba server at all, or it's more likely that Samba will reject your username and password. This minor irritation has been around for a while, and it seems to confuse Samba quite a bit. The second checkbox is the problem, because the default setting is to use the current Samba password for that user, but the second checkbox also states that NO password is required. Just uncheck the second box, select new password and type in the user's existing password. Do this for all Samba users on your network, then restart the Samba server and you should be good to go! HTH Lanman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
Hoyt Bailey wrote: On Wednesday 28 July 2004 04:31, Lanman wrote: Stephen Kühn wrote: Finagle's First Law: To study a subject best, understand it thoroughly before you start. Finagle's Second Law: Always keep a record of data -- it indicates you've been working. Finagle's Fourth Law: Once a job is fouled up, anything done to improve it only makes it worse. Finagle's Fifth Law: Always draw your curves, then plot your readings. Finagle's Sixth Law: Don't believe in miracles -- rely on them. OK, This really pisses me off Stephen! You forgot Finagle's Third Law, and it's driving me nuts! What is it? You can't just leave something this important out of your SIG! The suspense is killing me! grin! OH, Lee? Stephen is 110% right about webmin and Samba BTW. Lanman Talk about walking into one. LOL! Lanman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
Aron Smith wrote: Hoyt Bailey wrote: On Wednesday 28 July 2004 04:31, Lanman wrote: Stephen Kühn wrote: Finagle's First Law: To study a subject best, understand it thoroughly before you start. Finagle's Second Law: Always keep a record of data -- it indicates you've been working. Finagle's Fourth Law: Once a job is fouled up, anything done to improve it only makes it worse. Finagle's Fifth Law: Always draw your curves, then plot your readings. Finagle's Sixth Law: Don't believe in miracles -- rely on them. OK, This really pisses me off Stephen! You forgot Finagle's Third Law, and it's driving me nuts! What is it? You can't just leave something this important out of your SIG! The suspense is killing me! grin! OH, Lee? Stephen is 110% right about webmin and Samba BTW. Lanman Talk about walking into one. fifth law third law takes priority Oh, I see! You're trying to Finagle your way out of telling us Number Three, eh? OK, I get it. Lanman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba
On Tuesday 27 July 2004 09:55 pm, Lee Wiggers wrote: | I'm going to get this unless it kills me. | | I've been rtfming my butt off on samba. | | smbadduser as root goes like this: | | [EMAIL PROTECTED] lee]# smbadduser lee:lee | bash: smbadduser: command not found | [EMAIL PROTECTED] lee]# | | What have I overlooked? | | smb daemon is running and I can browse one win2k box from black. | | Lee As root, edit your /etc/samba/smbuser and make it look like this # Unix_name = SMB_name1 SMB_name2 ... Unix_name = SMB_lee root = administrator admin nobody = guest pcguest smbguest Then from a root console: smbpasswd -a lee follow the prompt to add the password Also, keep in mind that lee must be a log-in on each box that you want to browse via samba, and the password must be identical for lee on every box. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Samba server not working
Can you read/write on a EXT2 FAT with a Windows machine connected to Samba? I thought that FAT32 was required for that? But maybe I'm confused with sharing a partition with a dual boot machine with Win and Linux (which I don't have). Bas From: Bill Shirley [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [newbie] Samba server not working Date: Wed, 26 May 2004 21:39:15 -0400 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Video 4Linux Sent: Wednesday, May 26, 2004 8:01 AM To: [EMAIL PROTECTED] Subject: [newbie] Samba server not working I'm trying to set up a Samba server on my Linux Mandrake 10 machine. I've copied the smb.conf settings from the Samba Howto and look like this: [global] workgroup = Thuis netbios name = Linux printcap name = cups disable spoolss = Yes show add printer wizard = No printing = cups [homes] comment = Home Directories valid users = %S read only = No browseable = No [public] comment = Data path = /share force user = bas force group = users guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printer admin = root, bas create mask = 0600 guest ok = Yes printable = Yes use client driver = Yes browseable = No I started the smb and nmb services which repsond both with [OK]. But when I run the command smbclient -L localhost I get: session request to LOCALHOST failed (Call returned zero bytes (EOF)) session request to *SMBSERVER failed (Call returned zero bytes (EOF)) It's 'smbclient -L netbiosname', so for you it's: smbclient -L Linux Note that because I want to share a certain partition with a windows XP machine /share is mounted at a FAT32 partition. No idea if that has samba can share out any partition. You don't have to make it a FAT partition. All my shares are ext3. Unless this is a partition that already has data, I would recomment NOT to use FAT. something to do with my problems. I also cannot chown the /share folder (operation not permitted). It is now owned by root. Help is very welcome. Bas _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com _ Play online games with your friends with MSN Messenger http://messenger.msn.nl/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba server not working
On Thursday 27 May 2004 12:00, Video 4Linux wrote: Can you read/write on a EXT2 FAT with a Windows machine connected to Samba? I thought that FAT32 was required for that? But maybe I'm confused with sharing a partition with a dual boot machine with Win and Linux (which I don't have). Bas The remote Windows machine neither knows nor cares what file system the host is using. The server can serve any type of file system to clients using Samba. The only thing you have to worry about is the permissions. A Samba client can only read/write to folders to which they have permission. For example a Samba client 'fred' cannot write to a Linux folder owned by 'joe' unless the appropriate permissions are set. This is true for FAT32 partitions as well as Ext3 (there is little need to use Ext2 anymore). But because a FAT32 partition has no concept of permissions, when Linux mounts a FAT32 partition it will apply the permissions defined in your /etc/fstab file to the entire partition. If you want all your Samba clients to be able to read/write to a FAT32 partition you must set the option umask=0 in the line for that partition in the fstab file. This makes the perms 777 and anyone can read/write to the partition derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba server not working
On Wednesday 26 May 2004 13:00, Video 4Linux wrote: I'm trying to set up a Samba server on my Linux Mandrake 10 machine. I've copied the smb.conf settings from the Samba Howto and look like this: [global] workgroup = Thuis netbios name = Linux printcap name = cups disable spoolss = Yes show add printer wizard = No printing = cups [homes] comment = Home Directories valid users = %S read only = No browseable = No [public] comment = Data path = /share force user = bas force group = users guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printer admin = root, bas create mask = 0600 guest ok = Yes printable = Yes use client driver = Yes browseable = No I started the smb and nmb services which repsond both with [OK]. But when I run the command smbclient -L localhost I get: session request to LOCALHOST failed (Call returned zero bytes (EOF)) session request to *SMBSERVER failed (Call returned zero bytes (EOF)) Note that because I want to share a certain partition with a windows XP machine /share is mounted at a FAT32 partition. No idea if that has something to do with my problems. I also cannot chown the /share folder (operation not permitted). It is now owned by root. Help is very welcome. Bas Did you try with the default smb.conf file? Samba works out of the box in mandrake. The only line you have to change is workgroup = There is a copy of the default file at usr/share/samba The reason /share is owned by root is because it is FAT32 and has no perm bits. It will have the permissions defined in /etc/fstab and will default to whoever mounted it (root) You need to set the uid=value and gid=value options in the fstab line. You might also like to set the umask= option as well See 'man mount' Mounting the FAT32 partition at /share may not be a good idea. The msec security system expects everything under / to be owned by root and will try to alter the perms. Being FAT32 it will not be able to, but all the same a better location would be /mnt/share. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Samba server not working
Hello.. First time writing I think that is a matter of resolving the localhost the box you got and not a matter of permissions. Have you tried? name of the box , IP of the box e.t.c Check the checklist form samba documentation. since pretty new in Samba but I did had the same problem using SWAT...so I assume the problem is how to resolve your host.. -Original Message- From: Derek Jennings [mailto:[EMAIL PROTECTED] Sent: , 26 2004 4:05 To: [EMAIL PROTECTED] Subject: Re: [newbie] Samba server not working On Wednesday 26 May 2004 13:00, Video 4Linux wrote: I'm trying to set up a Samba server on my Linux Mandrake 10 machine. I've copied the smb.conf settings from the Samba Howto and look like this: [global] workgroup = Thuis netbios name = Linux printcap name = cups disable spoolss = Yes show add printer wizard = No printing = cups [homes] comment = Home Directories valid users = %S read only = No browseable = No [public] comment = Data path = /share force user = bas force group = users guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printer admin = root, bas create mask = 0600 guest ok = Yes printable = Yes use client driver = Yes browseable = No I started the smb and nmb services which repsond both with [OK]. But when I run the command smbclient -L localhost I get: session request to LOCALHOST failed (Call returned zero bytes (EOF)) session request to *SMBSERVER failed (Call returned zero bytes (EOF)) Note that because I want to share a certain partition with a windows XP machine /share is mounted at a FAT32 partition. No idea if that has something to do with my problems. I also cannot chown the /share folder (operation not permitted). It is now owned by root. Help is very welcome. Bas Did you try with the default smb.conf file? Samba works out of the box in mandrake. The only line you have to change is workgroup = There is a copy of the default file at usr/share/samba The reason /share is owned by root is because it is FAT32 and has no perm bits. It will have the permissions defined in /etc/fstab and will default to whoever mounted it (root) You need to set the uid=value and gid=value options in the fstab line. You might also like to set the umask= option as well See 'man mount' Mounting the FAT32 partition at /share may not be a good idea. The msec security system expects everything under / to be owned by root and will try to alter the perms. Being FAT32 it will not be able to, but all the same a better location would be /mnt/share. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Samba server not working
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Video 4Linux Sent: Wednesday, May 26, 2004 8:01 AM To: [EMAIL PROTECTED] Subject: [newbie] Samba server not working I'm trying to set up a Samba server on my Linux Mandrake 10 machine. I've copied the smb.conf settings from the Samba Howto and look like this: [global] workgroup = Thuis netbios name = Linux printcap name = cups disable spoolss = Yes show add printer wizard = No printing = cups [homes] comment = Home Directories valid users = %S read only = No browseable = No [public] comment = Data path = /share force user = bas force group = users guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printer admin = root, bas create mask = 0600 guest ok = Yes printable = Yes use client driver = Yes browseable = No I started the smb and nmb services which repsond both with [OK]. But when I run the command smbclient -L localhost I get: session request to LOCALHOST failed (Call returned zero bytes (EOF)) session request to *SMBSERVER failed (Call returned zero bytes (EOF)) It's 'smbclient -L netbiosname', so for you it's: smbclient -L Linux Note that because I want to share a certain partition with a windows XP machine /share is mounted at a FAT32 partition. No idea if that has samba can share out any partition. You don't have to make it a FAT partition. All my shares are ext3. Unless this is a partition that already has data, I would recomment NOT to use FAT. something to do with my problems. I also cannot chown the /share folder (operation not permitted). It is now owned by root. Help is very welcome. Bas _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Samba server for shares
Thanx Will do. Regards, Jargon -Original Message- From: Derek Jennings [mailto:[EMAIL PROTECTED] Sent: 24 May 2004 10:01 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Samba server for shares On Monday 24 May 2004 06:07, Tobias Cloete wrote: Thanx, I'll setup die security to high only. I don't want anonymous access to the shares. Each user must access only their share and nothing more. They will only have read access too. Eg. \share\jargon; \share\someone; etc... I did read upon samba a bit more. I'm trying to get dit box to use samba-winbind for domain authentication. Any ideas? I do use die net join . command but, when I try to see the usr's om the windows dc, I get an error. I read somewhere on the list someone said something about, Keberos and using that to authenticate against a windows domain. Regards, Jargon I know what you want to do is possible, but it is outside my own experience. If you get no further replies here, I suggest you ask in the forum at MandrakeClub www.mandrakeclub.com. One of your fellow countrymen Buchan Milne posts there and is a real whizz at all things to do with Samba. He responds to virtually every Samba question on the forum. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Samba server for shares
Ok. I had a type its port : 139/tcp for samba J -Original Message- From: Tobias Cloete [mailto:[EMAIL PROTECTED] Sent: 22 May 2004 04:50 PM To: [EMAIL PROTECTED] Subject: [newbie] Samba server for shares Greetz all. Ive installed mdk10 with only a console and networking utils, selected samba as addon. Security mode is set to Highest. I want to use this server to store some documents from different usrs on our domain. Like their cvs, monthly claims etc I installed webmin afterwards, to enable me to administer the box remotely and only opened ports 138 (smb) and 1 (webmin). I want out domain users to be able to access \share\usernamehere with their windows domain account. I dont want to setup a 1000 unix users with 1000 different passwords, thats not going be easy to administer. I dont want the box to be on the domain, but I want to be able to administer the shares with my normal windows usr account. Well, this is easy by creating a unix usr account for myself only and giving me full access to be \share and its contents, so that I can see it through my windowsbox and backup the data to a cdrw. I want the permissions on the usernamehere to only allow the users domain account name. Im confused as to how webmin works and if this will solve the problem Any ideas? Thanx, Jargon
Re: [newbie] Samba server for shares
On Sat, 22 May 2004 16:49:30 +0200, Tobias Cloete [EMAIL PROTECTED] wrote: Greetz all. I've installed mdk10 with only a console and networking utils, selected samba as addon. Security mode is set to Highest. I want to use this server to store some documents from different usr's on our domain. Like their cv's, monthly claims etc... I installed webmin afterwards, to enable me to administer the box remotely and only opened ports 138 (smb) and 1 (webmin). I want out domain user's to be able to access \share\'usernamehere' with their windows domain account. I don't want to setup a 1000 unix users with 1000 different passwords, that's not going be easy to administer. I don't want the box to be on the domain, but I want to be able to administer the shares with my normal windows usr account. Well, this is easy by creating a unix usr account for myself only and giving me full access to be \share and its contents, so that I can see it through my windowsbox and backup the data to a cdrw. I want the permissions on the 'usernamehere' to only allow the user's domain account name. I'm confused as to how webmin works and if this will solve the problem Any ideas? Thanx, Jargon A few points :- With security level set to highest (paranoid), you are going to be quite restricted. If you are just getting to know Linux then you might find it easier to work with 'High' or 'Higher' Otherwise you will may get quite frustrated at how much the security system interferes with you. One way the security system will interfere is on the ownership and permissions on your shared folders. The msec security script will check on which user/group owns folders and the read/write/execute permissions on them. If the permissions do not conform to the levels appropriate for your security level msec will **change the permissions** without consulting you. This confuses the socks off a lot of people. To define the permissions you want to use on your shared folders use drakperm in the security section of Mandrake Control Centre. Samba cannot override the permissions on the linux folder, so any Samba user can only have the permissions appropriate for the user thay are logged in as. It is not necessary to have a 1:1 mapping between Samba users and Linux users, but if the Samba access is not to be anonymous, then the Samba users must be mapped to a Linux Group or User. In your case I suspect anonymous access would be all you need unless you want to either set up 1000 Samba users, or else implement an LDAP authentication server. If you are using anonymous access then you must map your users to the guest user 'nobody' and the shared folders must allow access to 'nobody'. You will find an example configuration for an anonymous share in the default /etc/samba/smb.conf file. It is not clear if you have webmin working or not. After installing the webmin package run chkconfig webmin on service webmin start That will make the webmin server run automatically when you boot the server. Then https://server_ip_addy:1 from any browser on the local network will access webmin (Note https not http) The Samba module in webmin is simply a graphical way of editing the /etc/samba/smb.conf file HTH derek -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba server for shares
On Sun, 2004-05-23 at 00:49, Tobias Cloete wrote: -- Greetz all. Ive installed mdk10 with only a console and networking utils, selected samba as addon. Security mode is set to Highest. I want to use this server to store some documents from different usrs on our domain. Like their cvs, monthly claims etc I installed webmin afterwards, to enable me to administer the box remotely and only opened ports 138 (smb) and 1 (webmin). I want out domain users to be able to access \share\usernamehere with their windows domain account. I dont want to setup a 1000 unix users with 1000 different passwords, thats not going be easy to administer. I dont want the box to be on the domain, but I want to be able to administer the shares with my normal windows usr account. Well, this is easy by creating a unix usr account for myself only and giving me full access to be \share and its contents, so that I can see it through my windowsbox and backup the data to a cdrw. I want the permissions on the usernamehere to only allow the users domain account name. Im confused as to how webmin works and if this will solve the problem Any ideas? Thanx, Jargon You're going to have to set the box up for domain logins; it's highly suggested you install SWAT if you haven't already; this is a very useful tool for not only configuring your Samba box via Webmin, but also comes with heaps of Help Files concerning Samba and it's configuration as well as offering some of the more advanced configuration options. stephen kuhn - owner == illawarra computer services a kuhn media australia company http://kma.0catch.com -- * This message was composed on a 100% Microsoft free computer * We expressly refuse to utilise Microsoft DRM encoded documents -- What George Washington did for us was to throw out the British, so that we wouldn't have a fat, insensitive government running our country. Nice try anyway, George. -- D.J. on KSFO/KYA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Samba server for shares
On Sun, 2004-05-23 at 01:02, Tobias Cloete wrote: -- Ok. I had a type its port : 139/tcp for samba J ...port 137, 138 and 139 should be opened. stephen kuhn - owner == illawarra computer services a kuhn media australia company http://kma.0catch.com -- * This message was composed on a 100% Microsoft free computer * We expressly refuse to utilise Microsoft DRM encoded documents -- 'What shall we do?' said Twoflower. 'Panic?' said Rincewind hopefully. (The Light Fantastic) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] samba configuration in 10.0
Yes, make a copy of your /etc/samba/smb.conf. The 3.0 rpm borked mine. HTH, Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Raffaele BELARDI Sent: Wednesday, May 12, 2004 3:32 AM To: [EMAIL PROTECTED] Subject: [newbie] samba configuration in 10.0 I'll install shortly 10.0 Official on my office PC, which I currently use with 9.2 as samba server to share some Linux partitions (no printers) with windows co-workers. I understand 10.0 includes samba 3.x, while 9.2 uses samba 2.x. Are there any gotchas I should be aware of for the porting of the samba configuration files, or is it painless? I am not using any graphical configuration tool for this task. thanks, raffaele Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
Klemens Arro wrote: whats with samba and shorewall? I cant use samba server or Smb4K (guess that shorewall blocks it). When I take the whole firewall down Everything (no firewall) then samba works perfectly, but then I can't share my ADSL connection. My /etc/shorewall/rules below, part relevant to samba server. It was taken from the shorewall documentation, it works for me. raffaele #ACTION SOURCE DESTPROTO DESTSOURCE ORIGINAL # PORTPORT(S)DEST # samba ports ACCEPT net fw udp 137:139 ACCEPT net fw tcp 137,139 ACCEPT net fw udp 1024: 137 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
On Friday 30 Apr 2004 07:35, Raffaele BELARDI wrote: Klemens Arro wrote: whats with samba and shorewall? I cant use samba server or Smb4K (guess that shorewall blocks it). When I take the whole firewall down Everything (no firewall) then samba works perfectly, but then I can't share my ADSL connection. My /etc/shorewall/rules below, part relevant to samba server. It was taken from the shorewall documentation, it works for me. raffaele #ACTION SOURCE DESTPROTO DESTSOURCE ORIGINAL # PORTPORT(S)DEST # samba ports ACCEPT net fw udp 137:139 ACCEPT net fw tcp 137,139 ACCEPT net fw udp 1024: 137 Well I hope you have another firewall further upstream from your computer, because what these lines do is to open up Windows networking directly to the Internet so anyone+dog can browse your shared folders. If you want to enable Samba to computers in your local network, the lines ACCEPT loc fw udp 137,138,139 ACCEPT loc fw tcp 137,138,139 will do the trick (assuming the local network is called 'loc' in some cases it may be called 'masq' ) As an additional precaution it is a good idea to set the line interfaces= eth1 (where eth1 is the local network) in your /etc/samba/smb.conf file. This will force samba to only use that interface instead of the default which is all interfaces. Not only will it prevent people from outside connecting to samba, but it will stop samba timing out when it sends packets to the network interface which are then dropped by shorewall. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
Derek Jennings wrote: On Friday 30 Apr 2004 07:35, Raffaele BELARDI wrote: Well I hope you have another firewall further upstream from your computer, because what these lines do is to open up Windows networking directly to the Internet so anyone+dog can browse your shared folders. Yes I do, and also I use the hosts allow entry in smb.conf to limit access to a very limited set of co-workers' machines. Anyway, thanks for the tip, I admit I did not do much study on the samba/shorewall configuration. raffaele Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
On Friday 30 April 2004 03:02, Steve Jeppesen wrote: Klemens, I maybe wrong, but I thought you had to open ports 137, 138 and 139. Double check to be sure Yes, you are right. But this didn't help either. -- Klemens Arro My software never has bugs; it just develops random features. Using: Mandrake Linux 10 Registered Linux User#: 346118 ICQ#: 179198850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
On Friday 30 April 2004 09:35, Raffaele BELARDI wrote: Klemens Arro wrote: whats with samba and shorewall? I cant use samba server or Smb4K (guess that shorewall blocks it). When I take the whole firewall down Everything (no firewall) then samba works perfectly, but then I can't share my ADSL connection. My /etc/shorewall/rules below, part relevant to samba server. It was taken from the shorewall documentation, it works for me. raffaele #ACTION SOURCE DESTPROTO DESTSOURCE ORIGINAL # PORTPORT(S)DEST # samba ports ACCEPT net fw udp 137:139 ACCEPT net fw tcp 137,139 ACCEPT net fw udp 1024: 137 This doenn't help either :( My /etc/shorewall/rules looks like this (made by mcc) ACCEPT net fw udp 137,138,139 - ACCEPT net fw tcp 80,443,20,21,25,137,138,139 - ACCEPT loc fw udp 137,138,139 - ACCEPT loc fw tcp 80,443,20,21,25,137,138,139 - REDIRECTloc 3128tcp www - ACCEPT fw net tcp www -- Klemens Arro My software never has bugs; it just develops random features. Using: Mandrake Linux 10 Registered Linux User#: 346118 ICQ#: 179198850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
On Friday 30 April 2004 09:35, Raffaele BELARDI wrote: Klemens Arro wrote: whats with samba and shorewall? I cant use samba server or Smb4K (guess that shorewall blocks it). When I take the whole firewall down Everything (no firewall) then samba works perfectly, but then I can't share my ADSL connection. My /etc/shorewall/rules below, part relevant to samba server. It was taken from the shorewall documentation, it works for me. raffaele #ACTION SOURCE DESTPROTO DESTSOURCE ORIGINAL # PORTPORT(S)DEST # samba ports ACCEPT net fw udp 137:139 ACCEPT net fw tcp 137,139 ACCEPT net fw udp 1024: 137 This doenn't help either :( My /etc/shorewall/rules looks like this (made by mcc) ACCEPT net fw udp 137,138,139 - ACCEPT net fw tcp 80,443,20,21,25,137,138,139 - ACCEPT loc fw udp 137,138,139 - ACCEPT loc fw tcp 80,443,20,21,25,137,138,139 - REDIRECTloc 3128tcp www - ACCEPT fw net tcp www * Sorry, I had a spelling error, I fixed this ;) -- Klemens Arro My software never has bugs; it just develops random features. Using: Mandrake Linux 10 Registered Linux User#: 346118 ICQ#: 179198850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
On Friday 30 Apr 2004 10:20, Klemens Arro wrote: On Friday 30 April 2004 09:35, Raffaele BELARDI wrote: Klemens Arro wrote: whats with samba and shorewall? I cant use samba server or Smb4K (guess that shorewall blocks it). When I take the whole firewall down Everything (no firewall) then samba works perfectly, but then I can't share my ADSL connection. My /etc/shorewall/rules below, part relevant to samba server. It was taken from the shorewall documentation, it works for me. raffaele #ACTION SOURCE DESTPROTO DESTSOURCE ORIGINAL # PORTPORT(S) DEST # samba ports ACCEPT net fw udp 137:139 ACCEPT net fw tcp 137,139 ACCEPT net fw udp 1024: 137 This doenn't help either :( My /etc/shorewall/rules looks like this (made by mcc) ACCEPT net fw udp 137,138,139 - You DO NOT want this line. As I commented to Raffaele this opens the firewall to Windows networking over the Internet interface *very insecure!* ACCEPT net fw tcp 80,443,20,21,25,137,138,139 - This line opens your computer to the internet for Web server (80), Secure web server (443), ftp (20,21), SMTP (25), and Windows networking (137,138,139) You should only have these ports open if you actually want to use them, and of course 137,138, and 139 should not be exposed to the Internet ACCEPT loc fw udp 137,138,139 - ACCEPT loc fw tcp 80,443,20,21,25,137,138,139 - REDIRECTloc 3128tcp www - ACCEPT fw net tcp www Try adding the line to /etc/shorewall/policy fw loc ACCEPT That will allow all services running on your firewall device samba, etc to connect to the local network. If that is too broad for you then add ACCEPT fw loc udp 137,138,139 - ACCEPT fwloc tcp 137,138,139 - to /etc/shorewall/rules instead After making any change to shorewall restart it with 'shorewall restart' in a root terminal. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
On Friday 30 April 2004 13:54, Derek Jennings wrote: On Friday 30 Apr 2004 10:20, Klemens Arro wrote: On Friday 30 April 2004 09:35, Raffaele BELARDI wrote: Klemens Arro wrote: whats with samba and shorewall? I cant use samba server or Smb4K (guess that shorewall blocks it). When I take the whole firewall down Everything (no firewall) then samba works perfectly, but then I can't share my ADSL connection. My /etc/shorewall/rules below, part relevant to samba server. It was taken from the shorewall documentation, it works for me. raffaele #ACTION SOURCE DESTPROTO DESTSOURCE ORIGINAL # PORT PORT(S) DEST # samba ports ACCEPT net fw udp 137:139 ACCEPT net fw tcp 137,139 ACCEPT net fw udp 1024: 137 This doenn't help either :( My /etc/shorewall/rules looks like this (made by mcc) ACCEPT net fw udp 137,138,139 - You DO NOT want this line. As I commented to Raffaele this opens the firewall to Windows networking over the Internet interface *very insecure!* ACCEPT net fw tcp 80,443,20,21,25,137,138,139 - This line opens your computer to the internet for Web server (80), Secure web server (443), ftp (20,21), SMTP (25), and Windows networking (137,138,139) You should only have these ports open if you actually want to use them, and of course 137,138, and 139 should not be exposed to the Internet ACCEPT loc fw udp 137,138,139 - ACCEPT loc fw tcp 80,443,20,21,25,137,138,139 - REDIRECTloc 3128tcp www - ACCEPT fw net tcp www Try adding the line to /etc/shorewall/policy fwloc ACCEPT That will allow all services running on your firewall device samba, etc to connect to the local network. If that is too broad for you then add ACCEPT fw loc udp 137,138,139 - ACCEPT fwloc tcp 137,138,139 - to /etc/shorewall/rules instead After making any change to shorewall restart it with 'shorewall restart' in a root terminal. derek now it shows me all computers at my network, but when i try to connect it tells me: Connection to X failed and nobody can't see me. -- Klemens Arro My software never has bugs; it just develops random features. Using: Mandrake Linux 10 Registered Linux User#: 346118 ICQ#: 179198850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
On Friday 30 Apr 2004 19:24, Klemens Arro wrote: On Friday 30 April 2004 13:54, Derek Jennings wrote: On Friday 30 Apr 2004 10:20, Klemens Arro wrote: On Friday 30 April 2004 09:35, Raffaele BELARDI wrote: Klemens Arro wrote: whats with samba and shorewall? I cant use samba server or Smb4K (guess that shorewall blocks it). When I take the whole firewall down Everything (no firewall) then samba works perfectly, but then I can't share my ADSL connection. My /etc/shorewall/rules below, part relevant to samba server. It was taken from the shorewall documentation, it works for me. raffaele #ACTION SOURCE DESTPROTO DESTSOURCE ORIGINAL # PORT PORT(S) DEST # samba ports ACCEPT net fw udp 137:139 ACCEPT net fw tcp 137,139 ACCEPT net fw udp 1024: 137 This doenn't help either :( My /etc/shorewall/rules looks like this (made by mcc) ACCEPT net fw udp 137,138,139 - You DO NOT want this line. As I commented to Raffaele this opens the firewall to Windows networking over the Internet interface *very insecure!* ACCEPT net fw tcp 80,443,20,21,25,137,138,139 - This line opens your computer to the internet for Web server (80), Secure web server (443), ftp (20,21), SMTP (25), and Windows networking (137,138,139) You should only have these ports open if you actually want to use them, and of course 137,138, and 139 should not be exposed to the Internet ACCEPT loc fw udp 137,138,139 - ACCEPT loc fw tcp 80,443,20,21,25,137,138,139 - REDIRECTloc 3128tcp www - ACCEPT fw net tcp www Try adding the line to /etc/shorewall/policy fw loc ACCEPT That will allow all services running on your firewall device samba, etc to connect to the local network. If that is too broad for you then add ACCEPT fw loc udp 137,138,139 - ACCEPT fwloc tcp 137,138,139 - to /etc/shorewall/rules instead After making any change to shorewall restart it with 'shorewall restart' in a root terminal. derek now it shows me all computers at my network, but when i try to connect it tells me: Connection to X failed and nobody can't see me. You need to check that the firewall is open from 'fw' to 'loc', and from 'loc' to 'fw' If you look at your syslog you will be able to see if any packets are being discarded. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba / Shorewall
On Fri, 30 Apr 2004 00:23:41 +0300 Klemens Arro [EMAIL PROTECTED] wrote: whats with samba and shorewall? I cant use samba server or Smb4K (guess that shorewall blocks it). When I take the whole firewall down Everything (no firewall) then samba works perfectly, but then I can't share my ADSL connection. By allowing ports 193-194 doesn't help, neither by telling shorewall to allow Samba server! -- Klemens Arro Klemens, I maybe wrong, but I thought you had to open ports 137, 138 and 139. Double check to be sure -- Linux user #280097 Machines #162480 #191825 http://counter.li.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba problem
Thanks everybody, I got it working :P -- Klemens Arro My software never has bugs; it just develops random features. Using: Mandrake Linux 10 Registered Linux User#: 346118 ICQ#: 179198850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba problem
On Wednesday 07 April 2004 23:58, Klemens Arro wrote: Hi, I have samba server running, but I can't connect to any other win server's neither can they connect to my server. I have tried to configure it with MCC samba wizard, but it fails when it asks for allowed users and I have tried to configure it with SWAT, but I cant get it to work. :'( I added my smb.conf file as attachment. Thanks! I forgot to tell, I have a samba 3 server (default from mdk 10/cooker) sorry -- Klemens Arro My software never has bugs; it just develops random features. Using: Mandrake Linux 10 Registered Linux User#: 346118 ICQ#: 179198850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba problem
On Thu, 2004-04-08 at 06:58, Klemens Arro wrote: Hi, I have samba server running, but I can't connect to any other win server's neither can they connect to my server. I have tried to configure it with MCC samba wizard, but it fails when it asks for allowed users and I have tried to configure it with SWAT, but I cant get it to work. :'( I added my smb.conf file as attachment. Thanks! Could be that your firewall is blocking port 137, 138 and 139? stephen kuhn - owner == illawarra computer services a kuhn media australia company http://kma.0catch.com -- * This message was composed on a 100% Microsoft free computer * We expressly refuse to utilise Microsoft DRM encoded documents -- All over the place, from the popular culture to the propaganda system, there is constant pressure to make people feel that they are helpless, that the only role they can have is to ratify decisions and to consume. -- Noam Chomsky Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba problem
On Thursday 08 April 2004 00:50, Stephen Kuhn wrote: Could be that your firewall is blocking port 137, 138 and 139? I don't think so. I have allowed Samba server from mcc Firewall -- Klemens Arro My software never has bugs; it just develops random features. Using: Mandrake Linux 10 Registered Linux User#: 346118 ICQ#: 179198850 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba problem
On Wednesday 07 Apr 2004 21:58, Klemens Arro wrote: Hi, I have samba server running, but I can't connect to any other win server's neither can they connect to my server. I have tried to configure it with MCC samba wizard, but it fails when it asks for allowed users and I have tried to configure it with SWAT, but I cant get it to work. :'( I added my smb.conf file as attachment. Thanks! The trouble with using SWAT is that it replaces the original Mandrake config file which is heavily annotated and has defaults which work out of the box. I suggest you replace your config file with the default you will find at /usr/share/samba/smb.conf.clean and then start again from there. Reading the default config file will give you a lot of hints. Before users can connect to their home directories on your server you must execute the command smbpasswd -a user_name where user_name is a logon name that exits in both windows and Linux environments. You will be prompted for the *Windows* password of that user which does not have to be the same as that users Linux password. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] samba is not accessible
On Tuesday 09 Mar 2004 03:15, David Sexton wrote: can any one tell me why I cant access my samba server I keep getting the followingerror below. I also will put in my smb.conf file. thanks David \\testserver is not accessible You might not have permission access this network resource. Contact the administrator of the server to find out if you have access permissions. The network path was not found. First of all. Are you running a firewall on your Linux box? By default Mandrake sets up the shorewall firewall to block access from the Internet to the Linux server, and *also* block access from the local network to the Linux server. If you want to run Samba on a firewalled box you must open up ports 137,138,139 from the local network to the server. # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user nobody is used ; guest account = pcguest # Allow users to map to guest: map to guest = Bad User You have a linux account called 'Bad User' do you? If so then you ought to put quotes around the name in this statement since Linux regards a space as delineating parameters. I would have thought using spaces in user names would have all sorts of nasty implications. # Share Definitions == [homes] comment = Home Directories browsable = yes available = yes read only = no In order for Windows users to see their home directory on the Linux server you must open a root terminal in Lux and enter smbpasswd -a user_name where user_name is the name of a user with a Linux AND a Windows identity when prompted give the **Windows** password for that user. HTH derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba inconsistencies
On 1 Jan 2004 at 18:56, David wrote: On Fri, 02 Jan 2004 01:44:30 +0200 robin pulled out a pad and began to scribble.: David wrote: I have some craziness going on with my Samba. Samba seems to be set correctly. My XP pro box can connect with no problems, but my XP home box will not. Whenever I attempt to add/connect to a Samba share with the XP home machine, I get a login dialog box. The dialog has guest as the login name and it is grayed out. This does not happen on th4e XP pro box. XP Home is LAN-disabled - it will connect to other Winboxes via Network Neighborhood but will not talk to any non-Windows machines. I've spent hours trying to print to an XP Home box via Samba, and extensive googling indicates that it just isn't possible, so I suspect the same is true the other way round. The only solution is to upgrade XP Home to Win 98 ;-) Sir Robin You just gotta love those reverse-chronological microsoft upgrades! goodbye eXtra craPpy home edition = David Steiner www.DavidLSteiner.com Proud Linux User #262493 = David, A couple of weeks ago I was having similar problems. My solution ended up replacing the onboard nic on my samba server with a fully supported nic. I do not know if your problem is the same but xphome will definitely connect to the samba server and visa versa. Pat Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba inconsistencies
On Friday 02 January 2004 02:49, E. Hines wrote: Screw XP Home--dual boot that machine with Mandrake. You will use Windows less and less as time goes by, and you will NEVER regret it. Put a Fat partition on it to share files between XP and Linux. My home has 8 machines, all but one dual boot. I am in Windows maybe once a month. If you play games it will be more, but dual boot is the answer. My wife is on a Linux machine, and she said to a friend last week, If I can use Linux, it must be easy (we were talking about him installing dual boot with XP and Mandrake on a new machine he was buying). Our friend is tired of virus crap and constant updates. Aren't you??? And Mandrake is easy enough even your wife and kids can use it. E Of course, if they want to go on using windows, let them until the next time they are infected g Make sure that the data is being saved to a fat32 partition, then when their windows won't run show them that they can access all their work without it. ;-) Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba inconsistencies
On Friday 02 January 2004 04:19, David wrote: Yeah, that was the first thing I did was install Mandrake on it. I'm only keeping the xp on it to run visual studio for a course I got next semester and for watching DVDs at the moment. The dvd issue you can tackle, but as long as colleges insist on you learning windows software there's nothing much you can do about that :-( Don't get me going about the EU 'Computer Driving License' that is nothing but a course in using M$ Office! Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba inconsistencies
Screw XP Home--dual boot that machine with Mandrake. You will use Windows less and less as time goes by, and you will NEVER regret it. Put a Fat partition on it to share files between XP and Linux. My home has 8 machines, all but one dual boot. I am in Windows maybe once a month. If you play games it will be more, but dual boot is the answer. My wife is on a Linux machine, and she said to a friend last week, If I can use Linux, it must be easy (we were talking about him installing dual boot with XP and Mandrake on a new machine he was buying). Our friend is tired of virus crap and constant updates. Aren't you??? And Mandrake is easy enough even your wife and kids can use it. E On Thursday 01 January 2004 03:44 pm, robin wrote: David wrote: I have some craziness going on with my Samba. Samba seems to be set correctly. My XP pro box can connect with no problems, but my XP home box will not. Whenever I attempt to add/connect to a Samba share with the XP home machine, I get a login dialog box. The dialog has guest as the login name and it is grayed out. This does not happen on th4e XP pro box. XP Home is LAN-disabled - it will connect to other Winboxes via Network Neighborhood but will not talk to any non-Windows machines. I've spent hours trying to print to an XP Home box via Samba, and extensive googling indicates that it just isn't possible, so I suspect the same is true the other way round. The only solution is to upgrade XP Home to Win 98 ;-) Sir Robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba inconsistencies
Yeah, that was the first thing I did was install Mandrake on it. I'm only keeping the xp on it to run visual studio for a course I got next semester and for watching DVDs at the moment. = David Steiner www.DavidLSteiner.com Proud Linux User #262493 = On Thu, 1 Jan 2004 18:49:10 -0800 E. Hines pulled out a pad and began to scribble.: Screw XP Home--dual boot that machine with Mandrake. You will use Windows less and less as time goes by, and you will NEVER regret it. Put a Fat partition on it to share files between XP and Linux. My home has 8 machines, all but one dual boot. I am in Windows maybe once a month. If you play games it will be more, but dual boot is the answer. My wife is on a Linux machine, and she said to a friend last week, If I can use Linux, it must be easy (we were talking about him installing dual boot with XP and Mandrake on a new machine he was buying). Our friend is tired of virus crap and constant updates. Aren't you??? And Mandrake is easy enough even your wife and kids can use it. E On Thursday 01 January 2004 03:44 pm, robin wrote: David wrote: I have some craziness going on with my Samba. Samba seems to be set correctly. My XP pro box can connect with no problems, but my XP home box will not. Whenever I attempt to add/connect to a Samba share with the XP home machine, I get a login dialog box. The dialog has guest as the login name and it is grayed out. This does not happen on th4e XP pro box. XP Home is LAN-disabled - it will connect to other Winboxes via Network Neighborhood but will not talk to any non-Windows machines. I've spent hours trying to print to an XP Home box via Samba, and extensive googling indicates that it just isn't possible, so I suspect the same is true the other way round. The only solution is to upgrade XP Home to Win 98 ;-) Sir Robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba inconsistencies
On Thursday 01 January 2004 11:19 pm, David wrote: - - Yeah, that was the first thing I did was install Mandrake on it. I'm only keeping the xp on it to run visual studio for a course I got next semester and for watching DVDs at the moment. - but you can watch DVDs under Linux just fine... :-) -- /\ Dark Lord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba inconsistencies
On Wednesday 31 December 2003 10:28 am, David droned on: I have some craziness going on with my Samba. Samba seems to be set correctly. My XP pro box can connect with no problems, but my XP home box will not. Whenever I attempt to add/connect to a Samba share with the XP home machine, I get a login dialog box. The dialog has guest as the login name and it is grayed out. This does not happen on th4e XP pro box. Anyone have any ideas on what's going on here or anything to try? I've pasted my entire smb.conf below my sig. Having just wrestled with my own Samba problems, I'm gonna say that its not Samba giving you the problem, its XP home that is giving you the problem. I found that the O'Reilley Book on Samba was a great time saver for me while I was wrestling with Samba, and it allowed me to win. -- Linux: For the people, by the people. Linux Counter #183693 http://counter.li.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba 3
Try the samba mailing lists @ samba.org. A very helpful group. On Friday 26 December 2003 09:23 am, robin wrote: Has anyone here used Samba 3.0.*? I've got smbclient3 working, but smbtar3 seems to be broken - I get error messages about an unacceptable user-password combination, even thought the same password works in smbclient3. Sir Robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba 3
Paul Kaplan wrote: Try the samba mailing lists @ samba.org. A very helpful group. Thanks, I'll check them out (nothing came up in a search of the archives). Sir Robin -- The other major kind of computer is the Apple, which I do not recommend, because it is a wuss-o-rama New-Age computer that you basically just plug in and use. - Dave Barry 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] Samba help please?
- Original Message - From: Lanman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 07, 2003 6:04 PM Subject: Re: [newbie] Samba help please? On 12/7/2003 at 5:51 PM Al Destiny wrote: Hi all, I have MDK 9.1 setup on an old box to link with my XP box. Samba seems to work great as a server...I can browse my home dir from the XP box. But I cannot see any files on the XP box from Linux. I can browse the network. I can find the XP box. I can see the share name ddrive (I know, not very imaginative, but it does the trick..I know what it is.) After opening ddrive there are no files shown. Any ideas what I could be doing wrong??? TIA Shaz *** REPLY SEPARATOR *** Is there a user on the XP box that is identical to the Samba box? This sounds like a permissions issue. Make sure that the new user not only has a password that is common to both boxes, but is also in the same workgroup. Speaking of Samba, has anyone tried Samba 3.0 ? Anything to know in advance about it? Lanman XP User/Password:al/11 Linux User/Password: al/11 Easy passwords huh? but only temporary till i can get it all up and running how I want it to be. How do I change workgroup with Mandrake? I know how to change XP, but it wants a reboot(as usual with M$) but I've heard that linux very rarely needs rebooting. Also, I keep hearing about Webmin as a configuration tool...where/how do I find it??? TIA Shaz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba help please?
On Sunday 07 Dec 2003 6:32 pm, Al Yaemes wrote: XP User/Password:al/11 Linux User/Password: al/11 Easy passwords huh? but only temporary till i can get it all up and running how I want it to be. Don't leave it too long. How do I change workgroup with Mandrake? I know how to change XP, but it wants a reboot(as usual with M$) but I've heard that linux very rarely needs rebooting. Edit /etc/samba/smb.conf - BUT - make a backup copy of that file to smb.conf.orig first. There's a lot of useful info in there that you may well want to read later, and it's too easy to lose it all, especially if you edit in Webmin. Webmin is a great tool, but it does overwrite the existing file. Also, I keep hearing about Webmin as a configuration tool...where/how do I find it??? It comes as standard with Mandrake distros, but it's not installed by default. Use Mandrake Control Center Software Management to find and install it. It can be accessed from a browser by https://localhost:1 (notice that it is http*s*) or from a root console by just typing Webmin. You have to give a root password to use it. You'll see tabbed pages with links to configuration files for a huge number of programs. Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba help please?
On Sunday 07 Dec 2003 7:54 pm, Al Yaemes wrote: Ok, changed workgroup to match xp box..stopped and started samba. usernames and passwords match. same problem... can navigate all the way to ddrive but 0 files/0 directories.. long/verbose explanations are not boring...they contain a lot of helpful information..especially when presented in plain English. I actually prefer long explanations :) A common problem is case sensitivity in the workgroup name. It's not helped by the fact that you can't easily tell in windows whether you used capitals or not. I got round it by deliberately changing my windows workgroup to all lower-case, knowing that then I could guarantee that I had set the identically. HTH Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba help please?
Al Destiny wrote: Hi all, I have MDK 9.1 setup on an old box to link with my XP box. Samba seems to work great as a server...I can browse my home dir from the XP box. But I cannot see any files on the XP box from Linux. I can browse the network. I can find the XP box. I can see the share name ddrive (I know, not very imaginative, but it does the trick..I know what it is.) After opening ddrive there are no files shown. Any ideas what I could be doing wrong??? What flavour of XP is it? In XP Professional, there is a setting you need to turn off in the XP box (enable easy something-or-other - a google on samba and XP will turn it up). As far as I (and the assembled brains of our univeristy computer centre) can tell, if it's XP Home, you're screwed. That's why, since they've taken the printer off my box and hooked it up to a Windows box, if I want to print a document I have to convert it to a format that Windows can read, copy to a floppy, and take it over to one of the Windows boxes. G. Sir Robin -- Certitude is possible for those who only own one encyclopedia. - Robert Anton Wilson 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] Samba help please?
On 12/8/2003 at 8:54 AM Al Yaemes wrote: Ok, changed workgroup to match xp box..stopped and started samba. usernames and passwords match. same problem...can navigate all the way to ddrive but 0 files/0 directories..long/verbose explanations are not boring...they contain a lot of helpful information..especially when presented in plain English. I actually prefer long explanations :) *** REPLY SEPARATOR *** Al; You shouldn't be having these problems. If I understand you correctly, your Mandrake Box isn't seeing the files on your XP box, right? Ok, so we go through the process starting with the stupid questions, and working our way up from there. I ask you 2 or 3 questions, you check things out on the XP box, and we cross them off the list, until we find the answer, OK? Here goes, 1) Is it XP Home or Pro? 2) Are there files in the XP share ( ddrive ) ? 3) Can you COPY files from the Mandrake Box to the XP box ? 4) Why is the sky blue? Just Kidding - wanted to see if you were paying attention ! Grin! 5) Have you checked to see what permissions are set for the ddrive folder or hard disk? Note; In XP, you have to select permissions for each user, and you should be able to select the workgroup, add users in that group, and set permissions as well. Users in an XP group that ONLY belong to a group on that one PC are the only ones who have access permissions. If you right-click on the shared folder, and select Sharing and Security you should be able to find an applet window that lists the users who can access the shared folder. The list usually starts with the user everyone, and at the bottom of the applet window you should see what permissions that this user has. Above the user list, should be a drop-down dialog box that shows the name of the computer. If you select the drop-down arrow, you'll also see the workgroup that you created ( IE; Al's Worlkgroup ). Select the workgroup your users belong to, and then look at the permissions. While you're at it, you can now add the user Al to the list and set some permissions for him. I know that sounds silly, but XP assigns different permissions to Al - an administrator on that PC, as opposed to Al - a member of the workgroup MyGroup ( just an example ), even though the workgroup MyGroup may exist on that PC. Wierd huh? You have to set new permissions for anyone who belongs to the workgroup MyGroup, and it might be simpler to delete the share you made and create a new one. While you're at it, make sure that you go to Control PanelAdministrative Tools Computer ManagementUsers and Groups, then create the new workgroup and add your user Al to that group. Then set permissions to the folder you want to share as I described above. Get back to me. Lanman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba help please?
On 12/7/2003 at 5:51 PM Al Destiny wrote: Hi all, I have MDK 9.1 setup on an old box to link with my XP box. Samba seems to work great as a server...I can browse my home dir from the XP box. But I cannot see any files on the XP box from Linux. I can browse the network. I can find the XP box. I can see the share name ddrive (I know, not very imaginative, but it does the trick..I know what it is.) After opening ddrive there are no files shown. Any ideas what I could be doing wrong??? TIA Shaz *** REPLY SEPARATOR *** Is there a user on the XP box that is identical to the Samba box? This sounds like a permissions issue. Make sure that the new user not only has a password that is common to both boxes, but is also in the same workgroup. Speaking of Samba, has anyone tried Samba 3.0 ? Anything to know in advance about it? Lanman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba help please?
On Sun, 7 Dec 2003 17:51:28 +1300 Al Destiny [EMAIL PROTECTED] wrote: Hi all, I have MDK 9.1 setup on an old box to link with my XP box. Samba seems to work great as a server...I can browse my home dir from the XP box. But I cannot see any files on the XP box from Linux. I can browse the network. I can find the XP box. I can see the share nameddrive (I know, not very imaginative, but it does the trick..I know what it is.) That's the important part :-) After opening ddrive there are no files shown. Any ideas what I could be doing wrong??? Depending on which application you are using to browse the network, you may have to right click and choose scan group as and enter the user/password of a user set up on your windows box. I have found the easiest way is to use LinNeighborhood to mount the shares and browse them that way. In LinNeighborhood right click on the workgroup of your windows box and choose scan group as user. Hope that helps. I used to use komba as well and had to do basically the same thing. You may need to check your user/password permissions and make sure they match between boxen. Jerry. -- _||_ Registered linux user #300600 (o_ Registered linux machine # 185855 //\at V_/_ http://counter.li.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba/NFS/SSH to access a Mandrake Box
On Monday 20 Oct 2003 2:03 pm, Thinker wrote: 2nd try... I am currently using SuSE 8.2 (ftp version). I have Mandrake 9.0(MDK) installed on one box and Windows 2000 Professional (W2K)on another. The ultimate goal is to use the SuSE 8.2 box for work and such until SuSE 9.0 gets here. When the new SuSE gets here, I would like to have the MDK box clean and available. In order to do that, I need to copy my home directory from the MDK box to both the SuSE 8.2 box (for use of files) and more importantly to the W2K box (since it is the only machine with a working CD Burner). I cannot get ssh server installed correctly on the Mandrake box. I can see the box in LinNeighborhood but I cannot copy any files. How do I 'share' a directory so that I can copy the contents to both the Windows and SuSE 8.2 boxes? What is the easiest way to do this? Thanks in advance, -=Thinker With the default samba comfiguration in Mandrake you will be able to see the home directories for any user so long as you run smbpasswd -a user_name as root. When prompted give the *windows* password for that user. You will also need to set the workgroup name in the samba config file /etc/samba/smb.conf The default config file also contains lots of examples on how to set up different types of shares. derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba vs LinNieghborhood
[EMAIL PROTECTED] wrote: Mark Weaver wrote: Burrows, Scott wrote: Hi all, I have my MDK 9.1 box connected to our Windows network here at work using Samba. From a windows box I can see my linux box on the network. Using Samba alone should I be able to browse the windows network? Currently I dont seem to be able to. If yes can I log onto the Windows network from my linux box and browse the network? If I can use Samba for that then what is LinNieghborhood used for? Thanks from a newbie. Scott Hi Scott, In order to browse the Windows network you would be using LinNeighborhood and Samba together. LN would use the SambaClient to access the negotiate the connection to the windows network. For this all that is necessary is to have the Samba-client package installed on your machine. LinNeighborhood would do the rest. Do you mean that once we install LinNeighborhood we can do all of that without the need for SWAT and WEBMIN? Thanx, ayoub890 something like that because all you need is the samba client and LinNeighborhood -- Mark If you don't share your concepts and ideals, they end up being worthless, Sharing is what makes them powerful. Registered Linux User # 186492 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba vs LinNieghborhood
On Thursday 02 Oct 2003 7:46 pm, [EMAIL PROTECTED] wrote: Derek Jennings wrote: On Thursday 02 Oct 2003 6:25 pm, Burrows, Scott wrote: Hi all, I have my MDK 9.1 box connected to our Windows network here at work using Samba. From a windows box I can see my linux box on the network. Using Samba alone should I be able to browse the windows network? Currently I dont seem to be able to. If yes can I log onto the Windows network from my linux box and browse the network? If I can use Samba for that then what is LinNieghborhood used for? Thanks from a newbie. Scott It is not a question of Samba vs LinNeighborhood Samba itself is split into 2 parts Samba client - to allow you to browse windows networlks, and Samba server - to allow Windows computers to browse you LinNeighborhood is simply a GUI which uses Samba-client to browse Windows networks. Alternatively you can browse Win networks with Komba2, xffm, Gnomba, or after installing the lisa RPM by clicking on that little 'cog wheel' in the konqueror tool bar between the left and right panes, and selecting 'Lan Browser' Whichever method you use they all require Samba-client. If you are having trouble browsing your Windows network, then the first thing I would check is your firewall. If you have a firewall between your Linux box and the Windows net, it will kill Samba dead. derek Will we still need to have SWAT and WEBMIN after we install LinNeighborhood? Thanx, ayoub890 Samba client does not need any configuration. Just install samba-client and LinNeighborhood and you are ready to browse Windows networks. samba-sever requires configuration. But the default configuration works out of the box All you have to do is edit the config file /etc/samba/smb.conf to set your Windows Workgroup name. You can use webmin to do that if you wish. I would advise against SWAT, because although it has a nice GUI, and has some nice help files, it will delete the (working) default smb.conf file. One tool you might like to try is ksambaplugin (RPM in Contrib) It will put a new tool in your KDE Control Centre to configure Samba server. derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Samba vs LinNieghborhood
Derek, I can seek the Linux box on the lan from windows. Yet when I bring up MCC to see what samba packages I have available to install it shows Samba server, Samba client. And to make it even more wierd Web Admin shows Samba server is running and available for configuring. I did btw simply add the windows domain name to configure Samba server. Wierd that the server package appears avail for installing when it must already be. I would prefer to use Kongueror to browse the lan from the linux side just like I would use Explorer to browse the lan from the windows side. I'll see if the Lisa rpm you mentioned is available. Right now I'm installing Samba server (though it must be already) and Samba client. Scott PS: Derek, are you avail for online chatting? -Original Message- From: Derek Jennings [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 3:18 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Samba vs LinNieghborhood On Thursday 02 Oct 2003 7:46 pm, [EMAIL PROTECTED] wrote: Derek Jennings wrote: On Thursday 02 Oct 2003 6:25 pm, Burrows, Scott wrote: Hi all, I have my MDK 9.1 box connected to our Windows network here at work using Samba. From a windows box I can see my linux box on the network. Using Samba alone should I be able to browse the windows network? Currently I dont seem to be able to. If yes can I log onto the Windows network from my linux box and browse the network? If I can use Samba for that then what is LinNieghborhood used for? Thanks from a newbie. Scott It is not a question of Samba vs LinNeighborhood Samba itself is split into 2 parts Samba client - to allow you to browse windows networlks, and Samba server - to allow Windows computers to browse you LinNeighborhood is simply a GUI which uses Samba-client to browse Windows networks. Alternatively you can browse Win networks with Komba2, xffm, Gnomba, or after installing the lisa RPM by clicking on that little 'cog wheel' in the konqueror tool bar between the left and right panes, and selecting 'Lan Browser' Whichever method you use they all require Samba-client. If you are having trouble browsing your Windows network, then the first thing I would check is your firewall. If you have a firewall between your Linux box and the Windows net, it will kill Samba dead. derek Will we still need to have SWAT and WEBMIN after we install LinNeighborhood? Thanx, ayoub890 Samba client does not need any configuration. Just install samba-client and LinNeighborhood and you are ready to browse Windows networks. samba-sever requires configuration. But the default configuration works out of the box All you have to do is edit the config file /etc/samba/smb.conf to set your Windows Workgroup name. You can use webmin to do that if you wish. I would advise against SWAT, because although it has a nice GUI, and has some nice help files, it will delete the (working) default smb.conf file. One tool you might like to try is ksambaplugin (RPM in Contrib) It will put a new tool in your KDE Control Centre to configure Samba server. derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba vs LinNieghborhood
On Thursday 02 Oct 2003 9:19 pm, Burrows, Scott wrote: Derek, I can seek the Linux box on the lan from windows. Yet when I bring up MCC to see what samba packages I have available to install it shows Samba server, Samba client. And to make it even more wierd Web Admin shows Samba server is running and available for configuring. I did btw simply add the windows domain name to configure Samba server. Wierd that the server package appears avail for installing when it must already be. I would prefer to use Kongueror to browse the lan from the linux side just like I would use Explorer to browse the lan from the windows side. I'll see if the Lisa rpm you mentioned is available. Right now I'm installing Samba server (though it must be already) and Samba client. Scott PS: Derek, are you avail for online chatting? I expect what you are seeing is that there is an upgrade available for Samba on one of your urpmi sources rpm -q samba-server will tell you the version you are currently running. With lisa there will be a new config window in KDE Control Centre to configure it. To be honest I got turned off Lisa in Mandrake 8.1 because it was flaky. I hope it is better now. My favourite Windows network browser is komba2 (in contrib) Unfortunately the version for 9.1 is a bit buggy so now I am using LinNeighborhood. I can be reached on jabber (when I remember to start it) on [EMAIL PROTECTED] derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba in Mandrake 9.1
On Friday 26 Sep 2003 5:47 am, Kevin B. O'Brien wrote: At 11:21 PM 9/25/2003, Miark said something remarkably like (but somehow subtly different from): On Thu, 25 Sep 2003 21:04:53 -0400, Kevin B. O'Brien [EMAIL PROTECTED] wrote: Thank you again for the help. Yer welcome. I looked at samba.org, and they have rpms. I tried the latest RPM available, which is for Red Hat 9, and it is 2.2.8, but it would not install. Is that what I should be using? As a rule, no--use Mandrake-specific RPMs. As Vincent demonstrated in the last day or so, it's often best to use Mandrake RPMs, even if it's not the latest. Go to http://plf.zarb.org/~nanardon/index.php and configure urpmi sources. Then whenever you want to install something, do a urpmi packagename It'll take care of downloading, installing, and dependencies. Thank you. I now have Samba server running on my system. Now all I need to do is figure out how to configure it.g To get Samba working all you need to do is set the Workgroup name in the config file. You can do that by GUI simply by installing the drakwizard RPM using your Mandrake Software Manager. Restart Mandrake control Centre and there will be a new 'server' category. Go through the Samba Wizard. At the end of the wizard it tells you to open a terminal. Enter 'su' to become root and then for each user of your system enter smbpasswd -a user_name The user_name must exist in both Linux and Windows. The password given is the **WIndows** password for that user. It does not have to be the same as the Linux password. Afterwards users will be able to access theit /home folders from a Windows computer. HTH derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba in Mandrake 9.1
At 03:27 AM 9/26/2003, Derek Jennings said something remarkably like (but somehow subtly different from): To get Samba working all you need to do is set the Workgroup name in the config file. You can do that by GUI simply by installing the drakwizard RPM using your Mandrake Software Manager. Restart Mandrake control Centre and there will be a new 'server' category. Go through the Samba Wizard. At the end of the wizard it tells you to open a terminal. Enter 'su' to become root and then for each user of your system enter smbpasswd -a user_name The user_name must exist in both Linux and Windows. The password given is the **WIndows** password for that user. It does not have to be the same as the Linux password. Afterwards users will be able to access theit /home folders from a Windows computer. Thank you. I think I got this working right, but I am getting errors from my Windows machines. I suspect the problem is now on the Windows side. -- Kevin B. O'Brien TANSTAAFL [EMAIL PROTECTED] One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important. -- Bertrand Russell Help fight SPAM. Join CAUCE. http://www.cauce.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba in Mandrake 9.1
On Friday 26 Sep 2003 4:22 pm, Kevin B. O'Brien wrote: At 03:27 AM 9/26/2003, Derek Jennings said something remarkably like (but somehow subtly different from): To get Samba working all you need to do is set the Workgroup name in the config file. You can do that by GUI simply by installing the drakwizard RPM using your Mandrake Software Manager. Restart Mandrake control Centre and there will be a new 'server' category. Go through the Samba Wizard. At the end of the wizard it tells you to open a terminal. Enter 'su' to become root and then for each user of your system enter smbpasswd -a user_name The user_name must exist in both Linux and Windows. The password given is the **WIndows** password for that user. It does not have to be the same as the Linux password. Afterwards users will be able to access theit /home folders from a Windows computer. Thank you. I think I got this working right, but I am getting errors from my Windows machines. I suspect the problem is now on the Windows side. What kind of errors? Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba in Mandrake 9.1
Anne Wilson wrote: On Friday 26 Sep 2003 7:49 pm, Kevin B. O'Brien wrote: At 02:08 PM 9/26/2003, Anne Wilson said something remarkably like (but somehow subtly different from): Afterwards users will be able to access theit /home folders from a Windows computer. Thank you. I think I got this working right, but I am getting errors from my Windows machines. I suspect the problem is now on the Windows side. What kind of errors? Using Windows Explorer, I can see the Samba server, and when I click on it I get a login screen. But when I try to login I get: *** *** \\LOCALHOST is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again. *** *** Now, I know that my home network does not have duplicate computer names. I have a workgroup setup among three Windows machines and it works fine. Might the problem be that I cannot belong to two different workgroups? The Samba server shows up as part of MDKGROUP. In /etc/smb/conf you must set the workgroup to the same name (case-sensitive) that your windows users have. Is there any way to configure samba to work for more than one workgroup? Sir Robin -- I can say: 'Thank these bees for their honey as though they were kind people who have prepared it for you'; that is intelligible and describes how I should like you to conduct yourself. But I cannot say: 'Thank them because, look, how kind they are!'--since the next moment they may sting you. - Wittgenstein 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] Samba in Mandrake 9.1
Kevin, You can answer this yourself in a terminal: rpm -qa | grep samba This will list all the installed RPMs that have samba in the name. Miark On Thu, 25 Sep 2003 12:50:17 -0400, Kevin B. O'Brien [EMAIL PROTECTED] wrote: I just installed WebMin on my Mandrake 9.1 machine, and it tells me that it cannot find Samba. Does this mean that Samba is not installed? -- Kevin B. O'Brien TANSTAAFL [EMAIL PROTECTED] It is of interest to note that while some dolphins are reported to have learned English -- up to fifty words used in correct context -- no human being has been reported to have learned dolphinese. -- Carl Sagan Help fight SPAM. Join CAUCE. http://www.cauce.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba in Mandrake 9.1
At 02:00 PM 9/25/2003, Miark said something remarkably like (but somehow subtly different from): Kevin, You can answer this yourself in a terminal: rpm -qa | grep samba This will list all the installed RPMs that have samba in the name. Miark On Thu, 25 Sep 2003 12:50:17 -0400, Kevin B. O'Brien [EMAIL PROTECTED] wrote: I just installed WebMin on my Mandrake 9.1 machine, and it tells me that it cannot find Samba. Does this mean that Samba is not installed? OK, it looks like I have two rpms installed Both are 2.2.7a-8mdk, and one is a client, the other is common. Is common the server? -- Kevin B. O'Brien TANSTAAFL [EMAIL PROTECTED] Angels can fly because they take themselves lightly. -- G.K. Chesterton Help fight SPAM. Join CAUCE. http://www.cauce.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba in Mandrake 9.1
At 04:50 PM 9/25/2003, Miark said something remarkably like (but somehow subtly different from): On Thu, 25 Sep 2003 15:31:17 -0400, Kevin B. O'Brien [EMAIL PROTECTED] wrote: OK, it looks like I have two rpms installed Both are 2.2.7a-8mdk, and one is a client, the other is common. Is common the server? No, you'll need samba-server too. Thank you again for the help. I looked at samba.org, and they have rpms. I tried the latest RPM available, which is for Red Hat 9, and it is 2.2.8, but it would not install. Is that what I should be using? -- Kevin B. O'Brien TANSTAAFL [EMAIL PROTECTED] I have not failed. I have discovered 1,000 things that do not work. -- Thomas Edison Help fight SPAM. Join CAUCE. http://www.cauce.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba in Mandrake 9.1
On Thu, 25 Sep 2003 21:04:53 -0400, Kevin B. O'Brien [EMAIL PROTECTED] wrote: Thank you again for the help. Yer welcome. I looked at samba.org, and they have rpms. I tried the latest RPM available, which is for Red Hat 9, and it is 2.2.8, but it would not install. Is that what I should be using? As a rule, no--use Mandrake-specific RPMs. As Vincent demonstrated in the last day or so, it's often best to use Mandrake RPMs, even if it's not the latest. Go to http://plf.zarb.org/~nanardon/index.php and configure urpmi sources. Then whenever you want to install something, do a urpmi packagename It'll take care of downloading, installing, and dependencies. Miark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba in Mandrake 9.1
At 11:21 PM 9/25/2003, Miark said something remarkably like (but somehow subtly different from): On Thu, 25 Sep 2003 21:04:53 -0400, Kevin B. O'Brien [EMAIL PROTECTED] wrote: Thank you again for the help. Yer welcome. I looked at samba.org, and they have rpms. I tried the latest RPM available, which is for Red Hat 9, and it is 2.2.8, but it would not install. Is that what I should be using? As a rule, no--use Mandrake-specific RPMs. As Vincent demonstrated in the last day or so, it's often best to use Mandrake RPMs, even if it's not the latest. Go to http://plf.zarb.org/~nanardon/index.php and configure urpmi sources. Then whenever you want to install something, do a urpmi packagename It'll take care of downloading, installing, and dependencies. Thank you. I now have Samba server running on my system. Now all I need to do is figure out how to configure it.g -- Kevin B. O'Brien TANSTAAFL [EMAIL PROTECTED] Every government is run by liars and nothing they say should be believed. -- I.F. Stone Help fight SPAM. Join CAUCE. http://www.cauce.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba configuration
On Saturday 06 Sep 2003 3:12 pm, Flávio Henrique wrote: Hi all... Please I need help to configure the Samba I have a network with a server running win2kserver and workstations with win98, and I want to change the server to Mandrake9.1 I already installed MD9.1 but how to configure the Samba to validate my users/groups and share some files in Linux... it is all I need: validate the users and share some files... thanx all Samba will work out of the box All you need to do is configure the Workgroup name and create users. There is a Wizard to help you. Just install the drakwizard RPM from your CDs then your Mandrake Control Centre will have a 'Server' section with a Samba Wizard in it. After running the wizard run the command (as root ) smbpasswd -a user_name for each remote user with files on the server. (The user name must exist in Linux and Windows) It is also possible to configure Samba for an authentication server, but I have never done that. derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba configuration
hmmm... DrakWizard... it's seems to help me... I'll try to install it... thanx... - Original Message - From: Derek Jennings [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 06, 2003 1:19 PM Subject: Re: [newbie] Samba configuration On Saturday 06 Sep 2003 3:12 pm, Flávio Henrique wrote: Hi all... Please I need help to configure the Samba I have a network with a server running win2kserver and workstations with win98, and I want to change the server to Mandrake9.1 I already installed MD9.1 but how to configure the Samba to validate my users/groups and share some files in Linux... it is all I need: validate the users and share some files... thanx all Samba will work out of the box All you need to do is configure the Workgroup name and create users. There is a Wizard to help you. Just install the drakwizard RPM from your CDs then your Mandrake Control Centre will have a 'Server' section with a Samba Wizard in it. After running the wizard run the command (as root ) smbpasswd -a user_name for each remote user with files on the server. (The user name must exist in Linux and Windows) It is also possible to configure Samba for an authentication server, but I have never done that. derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org 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: [newbie] samba security premissions.
On Thu, 2003-07-24 at 00:33, Daniel Buchanan wrote: couldn't find a log that lold me the login info. Greg Meyer wrote: On Tuesday 22 July 2003 02:48 pm, Daniel Buchanan wrote: the share as well. I would really like to know where to look to see a login/activity log. /var/log/samba You should also be able to watch network information in the /var/log/messages for Samba accesses and logins -- Thu Jul 24 01:55:00 EST 2003 01:55:00 up 9 days, 17:58, 3 users, load average: 0.63, 0.58, 0.34 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * compuberty, n: The uncomfortable period of emotional and hormonal changes a computer experiences when the operating system is upgraded and a sun4 is put online sharing files. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] samba security premissions.
doh, i should have see that. Too many 'trees' in that directory. Still need to figure out where i went wrong with the security setup, but hopefully seeing that log will help. Stephen Kuhn wrote: On Thu, 2003-07-24 at 00:33, Daniel Buchanan wrote: couldn't find a log that lold me the login info. Greg Meyer wrote: On Tuesday 22 July 2003 02:48 pm, Daniel Buchanan wrote: the share as well. I would really like to know where to look to see a login/activity log. /var/log/samba You should also be able to watch network information in the /var/log/messages for Samba accesses and logins 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: [newbie] samba security premissions.
On Wednesday 23 Jul 2003 4:58 pm, Stephen Kuhn wrote: On Thu, 2003-07-24 at 00:33, Daniel Buchanan wrote: couldn't find a log that lold me the login info. Greg Meyer wrote: On Tuesday 22 July 2003 02:48 pm, Daniel Buchanan wrote: the share as well. I would really like to know where to look to see a login/activity log. /var/log/samba You should also be able to watch network information in the /var/log/messages for Samba accesses and logins Samba log messages appear in /var/log/samba/log.user_name The depth of messages you see depends on the logging level defined in your /etc/samba/smb.conf file log level = 3 (should give you about the right level of detail) After editing the file restart samba with service smb restart in a root terminal derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] samba security premissions.
ok that worked, I now know that i'm attaching as nobody even though i should be attaching with my id. I even went and maped the drive using the sign on as this user function in windoze. I was under the impression that this should work. No i don't have guest only selected but guest access allowed. Derek Jennings wrote: On Wednesday 23 Jul 2003 4:58 pm, Stephen Kuhn wrote: On Thu, 2003-07-24 at 00:33, Daniel Buchanan wrote: couldn't find a log that lold me the login info. Greg Meyer wrote: On Tuesday 22 July 2003 02:48 pm, Daniel Buchanan wrote: the share as well. I would really like to know where to look to see a login/activity log. /var/log/samba You should also be able to watch network information in the /var/log/messages for Samba accesses and logins Samba log messages appear in /var/log/samba/log.user_name The depth of messages you see depends on the logging level defined in your /etc/samba/smb.conf file log level = 3 (should give you about the right level of detail) After editing the file restart samba with service smb restart in a root terminal derek 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: [newbie] samba security premissions.
On Tuesday 22 July 2003 02:48 pm, Daniel Buchanan wrote: the share as well. I would really like to know where to look to see a login/activity log. /var/log/samba -- /g Outside of a dog, a man's best friend is a book, inside a dog it's too dark to read -Groucho Marx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba Print problem
On Sun, 2003-07-06 at 10:56, Chuck Stuettgen wrote: Samba has a default setting of a maximum 1000 print jobs per queue. You can see this by running the following command: testparm /etc/samba/smb.conf. You can override default setting by adding Max Print Jobs = xx to your smb.conf file which I have done but the queue still will not hold more than 1000 print jobs. Until I can figure out how to get the queue to hold more than 1000 print jobs, I have created 5 additional hold queues all servicing the same printer and we have modified the script that creates the print jobs to the spread the jobs among all the queues. ...but that's like a bandage... I'm trying to read up on some Samba print things at the moment so that I get a better understanding of how Samba deals with issues like this one discussed - but in the meantime, have you posted this to the Samba list for John Terpstra to check out? Might be something they've either found a way to patch, or something that might be taken care of in Samba v3... -- Sun Jul 6 16:40:00 EST 2003 16:40:00 up 43 min, 2 users, load average: 0.09, 0.18, 0.14 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1 RH 7.3 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * The rule on staying alive as a program manager is to give 'em a number or give 'em a date, but never give 'em both at once. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba Print problem
On Sun, 2003-07-06 at 04:10, Chuck Stuettgen wrote: Anyone know how to increase the maximum number of print jobs under LPRNG and Samba to something above 1000? We need to be able to spool 6000 print jobs to a queue that is in a HOLDALL status. When the spool gets to 1000 it starts discarding the printjobs. I have increased both the Max Print Jobs and Total Print Jobs parameters in the smb.conf to ridiculously high numbers and restarted samba and the testparm command shows the new settings, but the jobs are still being discarded... Any print job is going to be temporarily held in the /var directory - first, how much space is on /var ? Another thing to think about is what backend is it using - CUPS? LPRNG? - you might need to address the backend driver for that. So, between the actual printer memory, space on /var and the backend driver, you should be able to get the printer to spool as much as you want... -- Sun Jul 6 08:55:00 EST 2003 08:55:00 up 3 days, 22:15, 2 users, load average: 0.37, 0.24, 0.12 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1 RH 7.3 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * optimist, n.: A proponent of the belief that black is white. A pessimist asked God for relief. Ah, you wish me to restore your hope and cheerfulness, said God. No, replied the petitioner, I wish you to create something that would justify them. The world is all created, said God, but you have overlooked something -- the mortality of the optimist. -- Ambrose Bierce, The Devil's Dictionary Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba Print problem
On Sat, 2003-07-05 at 17:57, Stephen Kuhn wrote: On Sun, 2003-07-06 at 04:10, Chuck Stuettgen wrote: Anyone know how to increase the maximum number of print jobs under LPRNG and Samba to something above 1000? We need to be able to spool 6000 print jobs to a queue that is in a HOLDALL status. When the spool gets to 1000 it starts discarding the printjobs. I have increased both the Max Print Jobs and Total Print Jobs parameters in the smb.conf to ridiculously high numbers and restarted samba and the testparm command shows the new settings, but the jobs are still being discarded... Any print job is going to be temporarily held in the /var directory - first, how much space is on /var ? The system was built specifically to be a print server to service one HP9000 printer. It has a 20GB hard drive with three partitions /boot = 100MB /swap = 768MB / = rest of drive The spool directory is /var/spool/lpd/hp9000 Each print job varies between 800k and 1 MB. Assuming all jobs were 1MB then total space needed is only about 6GB so there should be more than enough space for the 6000 print jobs. Another thing to think about is what backend is it using - CUPS? LPRNG? - you might need to address the backend driver for that. The back end is LPRng. CUPS does not support Hold queues. So, between the actual printer memory, space on /var and the backend driver, you should be able to get the printer to spool as much as you want... Printer memory is not an a factor. The print queue is set with a HOLDALL status. This means the jobs go to queue and stay there until they are manually released by an operator. Samba has a default setting of a maximum 1000 print jobs per queue. You can see this by running the following command: testparm /etc/samba/smb.conf. You can override default setting by adding Max Print Jobs = xx to your smb.conf file which I have done but the queue still will not hold more than 1000 print jobs. Until I can figure out how to get the queue to hold more than 1000 print jobs, I have created 5 additional hold queues all servicing the same printer and we have modified the script that creates the print jobs to the spread the jobs among all the queues. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com