[opensuse] Trouble setting up SAMBA
hi all ! I have tried setting up samba via both ways: KDE Control Center Yast but the result, is that my shares are only RO in Windows XP. Why ? Running openSUSE 10.2. opensuse:/etc/samba # cat smb.conf # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2007/04/10 22:05:23 [global] workgroup = WIN-XP map to guest = Bad User printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ logon path = \\%L\profiles\.msprofile logon drive = P: logon home = \\%L\%U\.9xprofile domain master = No usershare allow guests = Yes usershare max shares = 100 cups options = raw include = /etc/samba/dhcp.conf [homes] comment = Home Directories valid users = %S, %D%w%S read only = No inherit acls = Yes browseable = No [users] comment = All users path = /home/ read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ guest ok = yes [E] path = /E/ read only = No inherit acls = No store dos attributes = Yes guest ok = yes [F] path = /F/ read only = No inherit acls = No guest ok = yes ---------------- I also did: rcsmb restart after changin this file. What may be the problem? -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
If you have it installed, you can try YaST: Network services - Samba Server. First tab 'Start' - start Samba during start-up + open port in firewall. Second tab 'Shares' - inactivate everything but Netlogon + mark 'Allow users to share...'. Third tab 'Identity' - I never change anything there. That usually does it for me: sharing folders over the network between Linux and XP - users in Linux decide if they want to share a folder and to what extent (right-click on a folder and choose 'Sharing options'). /Lars Alexey Eremenko skrev:
hi all !
I have tried setting up samba via both ways: KDE Control Center Yast
but the result, is that my shares are only RO in Windows XP. Why ?
Running openSUSE 10.2.
opensuse:/etc/samba # cat smb.conf
# Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2007/04/10 22:05:23
[global] workgroup = WIN-XP map to guest = Bad User printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ logon path = \\%L\profiles\.msprofile logon drive = P: logon home = \\%L\%U\.9xprofile domain master = No usershare allow guests = Yes usershare max shares = 100 cups options = raw include = /etc/samba/dhcp.conf
[homes] comment = Home Directories valid users = %S, %D%w%S read only = No inherit acls = Yes browseable = No
[users] comment = All users path = /home/ read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ guest ok = yes
[E] path = /E/ read only = No inherit acls = No store dos attributes = Yes guest ok = yes
[F] path = /F/ read only = No inherit acls = No guest ok = yes
---------------- I also did: rcsmb restart after changin this file.
What may be the problem?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/11/07, Lars Norén
If you have it installed, you can try YaST: Network services - Samba Server. First tab 'Start' - start Samba during start-up + open port in firewall. Second tab 'Shares' - inactivate everything but Netlogon + mark 'Allow users to share...'. Third tab 'Identity' - I never change anything there. That usually does it for me: sharing folders over the network between Linux and XP - users in Linux decide if they want to share a folder and to what extent (right-click on a folder and choose 'Sharing options'). /Lars
1. Yast didn't help. Shares on, 'Allow users to share...'. is on. 2. Firewall is off. 3. Users can share only their directories, not entire hard disk. How to share RW entire hard disk? (like Win98 or XP) -- -Alexey Eremenko "Technologov" N�����r��y隊Z)z{.�ﮞ˛���m�)z{.��+�Z+i�b�*'jW(�f�vǦj)h���Ǿ��i�������
Alexey Eremenko wrote:
On 4/11/07, Lars Norén
wrote: If you have it installed, you can try YaST: Network services - Samba Server. First tab 'Start' - start Samba during start-up + open port in firewall. Second tab 'Shares' - inactivate everything but Netlogon + mark 'Allow users to share...'. Third tab 'Identity' - I never change anything there. That usually does it for me: sharing folders over the network between Linux and XP - users in Linux decide if they want to share a folder and to what extent (right-click on a folder and choose 'Sharing options'). /Lars
1. Yast didn't help. Shares on, 'Allow users to share...'. is on. 2. Firewall is off. 3. Users can share only their directories, not entire hard disk.
How to share RW entire hard disk? (like Win98 or XP)
Not surprising, I do not not let Yast anywhere my Samba config, has a bad habit of removing the bits it does not know about, and re-organising the rest. I am not too sure whether you are using XP home edition or Professional, Home edition only does workgroups .... badly!. I would spend some time reading the SAMBA HowTo anyway. The problem is probably in the mapping between XP accounts and samba accounts, but not knowing the version of XP in use cannot comment further. I suspect there are no workgroup accounts so everyone is getting as guest with ro rights.
How to share RW entire hard disk? (like Win98 or XP)
Not surprising, I do not not let Yast anywhere my Samba config, has a bad habit of removing the bits it does not know about, and re-organising the rest. I am not too sure whether you are using XP home edition or Professional, Home edition only does workgroups .... badly!.
I would spend some time reading the SAMBA HowTo anyway. The problem is probably in the mapping between XP accounts and samba accounts, but not knowing the version of XP in use cannot comment further. I suspect there are no workgroup accounts so everyone is getting as guest with ro rights.
Well, I have XP Pro - but I use it as XP Home (no user, no password, full RW access, simple sharing) Is there any simple GUI to share my hard disk ("/") in RW mode, without user/password, without Domains and all the bull....? I want it to "just work". (like Win95/98/XP Home does) -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
hi all !
I have tried setting up samba via both ways: KDE Control Center Yast
but the result, is that my shares are only RO in Windows XP. Why ? What are the Linux permissions on the shared volumes? I don't know if
On 2007-04-10 13:32, Alexey Eremenko wrote: that will have any effect, but it might. As for setting up a Samba server, try SWAT (http://localhost:901). It gives you full control over everything, far better than Yast does. -- Moral indignation is jealousy with a halo. -- HG Wells -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 11 April 2007 01:54:06 pm Darryl Gregorash wrote:
On 2007-04-10 13:32, Alexey Eremenko wrote:
hi all !
I have tried setting up samba via both ways: KDE Control Center Yast
but the result, is that my shares are only RO in Windows XP. Why ?
What are the Linux permissions on the shared volumes? I don't know if that will have any effect, but it might.
As for setting up a Samba server, try SWAT (http://localhost:901). It gives you full control over everything, far better than Yast does.
That looks interesting - the Samba Web Administration Tool. Seems similar to CUPS: http://tweakhound.com/linux/samba/page_3.htm Where in the blazes do I get it? I looked in YaST and SMART and cannot for the life of me find anything with SWAT or web administration. -- kai Free Compean and Ramos http://www.grassfire.org/142/petition.asp http://www.perfectreign.com/?q=node/46 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
OK, I'm running SWAT now, but I get lost in it ! Its so-called basic-mode has about 100 parameters to configure and it's advanced mode has 1000 parameters to configure !!!! Where to start? -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I need something like SWAT but only 3 parameters: -sharing on (equals to RW sharing for "/" for all users) -read-only -off -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Allright, I have it solved with SWAT. The problem was the samba shared my shares with user "nobody"'s priviledges, resulting in RO shares, instead of my normal user priviledges or root priviledges, which is required for full RW access. So I have configured SWAT's "guest account" setting differently and suddenly all worked ! -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Pueblo: Unfortunately, there is *no* simple way to configure samba (Windows File Sharing) easily on Linux. I consider myself experienced user, and still had major problems with samba, not to mention users who barely knows computers, they will be unable to do this. The simplest way: look at Novell documentation on your SUSE DVD: opensuse-kdeuser_en.pdf It explains some basics. -or- Setup simple file sharing via: right click on KDE taskbar->add applet->public file server this is read-only HTTP file sharing, the easiest you can get on Linux, but this is by far more complex than sharing on Win98/XP -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
OK, I'm running SWAT now, but I get lost in it !
Maybe try reading the [excellent] documentation? http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/
Its so-called basic-mode has about 100 parameters to configure and it's advanced mode has 1000 parameters to configure !!!!
Of course it does. -- -- Adam Tauno Williams Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Well, it is available offline too (install samba-doc package) at link: /usr/share/doc/packages/samba/htmldocs/Samba3-HOWTO/index.html -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Maybe somebody can help me out with exactly what I need here. I have a Windows Computer and a Linux Computer hooked up through a router to share a cable modem. I want to get them to where they can see each other and share files, is there a site that shows step by step how to do this without assuming a person knows anything about Samba? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 11 April 2007 07:44:09 pm Pueblo Native wrote:
Maybe somebody can help me out with exactly what I need here.
I have a Windows Computer and a Linux Computer hooked up through a router to share a cable modem.
I want to get them to where they can see each other and share files, is there a site that shows step by step how to do this without assuming a person knows anything about Samba?
This appears to be a great site: http://swik.net/SuSE+samba I still have no clue, however, how to get SWAT working. -- kai Free Compean and Ramos http://www.grassfire.org/142/petition.asp http://www.perfectreign.com/?q=node/46 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
So I have configured SWAT's "guest account" to be "=root". I believe it should not be too major security problems with this, as it's at my Home, behind a firewall. -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/12/07, Alexey Eremenko
So I have configured SWAT's "guest account" to be "=root". I believe it should not be too major security problems with this, as it's at my Home, behind a firewall.
besides the "/" partition is not shared at all. Only "data" partitions are shared. -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Alexey Eremenko wrote:
On 4/12/07, Alexey Eremenko
wrote: So I have configured SWAT's "guest account" to be "=root". I believe it should not be too major security problems with this, as it's at my Home, behind a firewall.
besides the "/" partition is not shared at all. Only "data" partitions are shared.
The default configuration gives a basic Windows 95 style access. The Samba documentation does tell you how to change this. Samba is not easy in part because one is trying to emulate one system model on top of a very different model. The samba Howtos do give some basic configurations for simple access (just cut and paste). Samba+SWAT is not really targetted at the home user, but more for sys admins looking after mixed Windows and Linux environments. SWAT for the home user is a case of taking a sledgehammer to a walnut. I also hope that you have port 901 blocked on the firewall as the above option effectively gives anyone a complete open house on your linux box. It is quite possible for someone to redefine samba access with SWAT in such way that they get can get that access.
G.T.Smith wrote:
Alexey Eremenko wrote:
On 4/12/07, Alexey Eremenko
wrote: So I have configured SWAT's "guest account" to be "=root". I believe it should not be too major security problems with this, as it's at my Home, behind a firewall.
besides the "/" partition is not shared at all. Only "data" partitions are shared.
The default configuration gives a basic Windows 95 style access. The Samba documentation does tell you how to change this. Samba is not easy in part because one is trying to emulate one system model on top of a very different model. The samba Howtos do give some basic configurations for simple access (just cut and paste).
Samba+SWAT is not really targetted at the home user, but more for sys admins looking after mixed Windows and Linux environments. SWAT for the home user is a case of taking a sledgehammer to a walnut.
I also hope that you have port 901 blocked on the firewall as the above option effectively gives anyone a complete open house on your linux box. It is quite possible for someone to redefine samba access with SWAT in such way that they get can get that access.
I have just remembered SWAT does not have a guest account! It looks like you have set the SAMBA guest account to root. The default security should under SuSE also only allow access to standalone SWAT via localhost. (I do remember remotely accessing SWAT via webmin remotely at one time).
Kai Ponte wrote:
On Wednesday 11 April 2007 07:44:09 pm Pueblo Native wrote:
Maybe somebody can help me out with exactly what I need here.
I have a Windows Computer and a Linux Computer hooked up through a router to share a cable modem.
I want to get them to where they can see each other and share files, is there a site that shows step by step how to do this without assuming a person knows anything about Samba?
This appears to be a great site:
I still have no clue, however, how to get SWAT working.
Swat is enabled via the Network services -> Network Services option in YaST,
On Thursday 12 April 2007 12:51:34 am G.T.Smith wrote:
Kai Ponte wrote:
On Wednesday 11 April 2007 07:44:09 pm Pueblo Native wrote:
Maybe somebody can help me out with exactly what I need here.
I have a Windows Computer and a Linux Computer hooked up through a router to share a cable modem.
I want to get them to where they can see each other and share files, is there a site that shows step by step how to do this without assuming a person knows anything about Samba?
This appears to be a great site:
I still have no clue, however, how to get SWAT working.
Swat is enabled via the Network services -> Network Services option in YaST,
Very cool, thanks! Now on to figure out what everything is. :P -- kai bis zum bitteren ende... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-04-12 22:44, Kai Ponte wrote:
On Thursday 12 April 2007 12:51:34 am G.T.Smith wrote:
<snip> Swat is enabled via the Network services -> Network Services option in YaST,
Very cool, thanks! You can also enable it as a service in xinetd. The Samba package installs the necessary config file into /etc/xinetd.d/, you only need to enable the service in Yast/Network --> Network Services.
-- Moral indignation is jealousy with a halo. -- HG Wells -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Adam Tauno Williams
-
Alexey Eremenko
-
Darryl Gregorash
-
G.T.Smith
-
Kai Ponte
-
Lars Norén
-
Pueblo Native