|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Novell Archives Archived content from Novell openSUSE support forums |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have a simple home network with three Windows XP machines and a SuSe 9.2
Pro machine connected to a Linksys DSL router. As it is now, after several reinstalls and lots of fiddling with the Network Control Center, I have never gotten the XP machines to recognize the Linux machine or vice versa. My previous install was Xandros 2.0 and all was fine, so I know the HW is OK. Before I start rebuilding the smb.conf file from scratch using the hundreds of pages of Samba documentation, is there any obvious problems with SuSe 9.2 and XP? If I need a working smb.conf, can someone here just post it? If I put it in the etc/samba/ directory, will my system start working? For the record, here is my current smb.conf : # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2005-01-28 [global] workgroup = TUX-NET printing = cups printcap name = cups printcap cache time = 750 cups options = raw printer admin = @ntadmin, root, administrator username map = /etc/samba/smbusers map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: [homes] comment = Home Directories valid users = %S browseable = No read only = No inherit acls = Yes [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 Thanks to all! |
|
|||
|
Kamlapati wrote:
> I have a simple home network with three Windows XP machines and a SuSe 9.2 > Pro machine connected to a Linksys DSL router. As it is now, after several > reinstalls and lots of fiddling with the Network Control Center, I have > never gotten the XP machines to recognize the Linux machine or vice versa. > > My previous install was Xandros 2.0 and all was fine, so I know the HW is > OK. > > Before I start rebuilding the smb.conf file from scratch using the hundreds > of pages of Samba documentation, is there any obvious problems with SuSe > 9.2 and XP? > > If I need a working smb.conf, can someone here just post it? If I put it in > the etc/samba/ directory, will my system start working? > > For the record, here is my current smb.conf : > > # smb.conf is the main Samba configuration file. You find a full commented > # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the > # samba-doc package is installed. > # Date: 2005-01-28 > [global] > workgroup = TUX-NET > printing = cups > printcap name = cups > printcap cache time = 750 > cups options = raw > printer admin = @ntadmin, root, administrator > username map = /etc/samba/smbusers > map to guest = Bad User > include = /etc/samba/dhcp.conf > logon path = \\%L\profiles\.msprofile > logon home = \\%L\%U\.9xprofile > logon drive = P: > [homes] > comment = Home Directories > valid users = %S > browseable = No > read only = No > inherit acls = Yes > [profiles] > comment = Network Profiles Service > path = %H > read only = No > store dos attributes = Yes > create mask = 0600 > directory mask = 0700 > [users] > comment = All users > path = /home > read only = No > inherit acls = Yes > veto files = /aquota.user/groups/shares/ > [groups] > comment = All groups > path = /home/groups > read only = No > inherit acls = Yes > [printers] > comment = All Printers > path = /var/tmp > printable = Yes > create mask = 0600 > browseable = No > [print$] > comment = Printer Drivers > path = /var/lib/samba/drivers > write list = @ntadmin root > force group = ntadmin > create mask = 0664 > directory mask = 0775 > > Thanks to all! > This one seems to work first time everytime on 9.1, 9.2 and 9.3. Change the workgroup and server names to names applicable to your situation. In my situation the workgroup name is my last name. The Netbios and Server String are both the same MY_Lastname-Server ie Jones-Server. Hope that helps. [global] workgroup = Last_Name netbios name = Server_Name encrypt passwords = yes security = user server string = Server_Name add machine script = domain master = false domain logons = no local master = no preferred master = auto load printers = no ldap suffix = dc=example,dc=com [homes] comment = Home Directories valid users = %S browseable = no read only = No inherit acls = Yes guest ok = no printable = no [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 browseable = yes guest ok = no printable = no [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ browseable = yes guest ok = no printable = no [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes browseable = yes guest ok = no printable = no [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 browseable = yes guest ok = no printable = no [public] comment = Public Stuff path = /public public = yes writable = yes printable = no browseable = yes guest ok = no -- Linux Websites Links http://myweb.cableone.net/okieman7/linux.htm |
|
|||
|
On Tue, 27 Sep 2005 03:12:16 +0000, Kamlapati wrote:
> I have a simple home network with three Windows XP machines and a SuSe 9.2 > Pro machine connected to a Linksys DSL router. As it is now, after several > reinstalls and lots of fiddling with the Network Control Center, I have > never gotten the XP machines to recognize the Linux machine or vice versa. > What doesn't work? You can't see the machine in network neighbourhood? You can't map a drive? You can't save files on it when you do map it? There are so many possibilities, please give us a clue :-) -- Mark Robinson Novell Volunteer SysOp One by one the penguins steal my sanity... |
|
|||
|
Mark Robinson wrote:
> > What doesn't work? You can't see the machine in network neighbourhood? > You can't map a drive? You can't save files on it when you do map it? > > There are so many possibilities, please give us a clue :-) > I can't see icons for the XP machines on SuSe, and I can't see the Linux machine on the XP network neighborhood. |
|
|||
|
Jim Jones wrote:
> > > This one seems to work first time everytime on 9.1, 9.2 and 9.3. Change > the workgroup and server names to names applicable to your situation. In > my situation the workgroup name is my last name. The Netbios and Server > String are both the same MY_Lastname-Server ie Jones-Server. Hope that > helps. > > Still nothing... Should I delete the other files in etc/samba before I restart Samba? (Like dhcp.conf, lmhosts, smbusers.) Should I turn off the SusE or XP firewall? Thanks for your help. |
|
|||
|
> Mark Robinson wrote:
> > > > > > What doesn't work? You can't see the machine in network neighbourhood? > > You can't map a drive? You can't save files on it when you do map it? > > > > There are so many possibilities, please give us a clue :-) > > > > > I can't see icons for the XP machines on SuSe, and I can't see the Linux > machine on the XP network neighborhood. Start by turning off the firewall and see if it works ok. I've never been able to get my lan to work with the firewall up in Suse 9.0, 9.1, 9.2 or 9.3 |
|
|||
|
On Tue, 27 Sep 2005 13:22:12 +0000, Kamlapati wrote:
> I can't see icons for the XP machines on SuSe, and I can't see the Linux > machine on the XP network neighborhood. OK, sounds like network browsing isn't working. Are the machines all in the same workgroup??? You need to match the entry in smb.conf to the workgroup that your Windows machines are in... -- Mark Robinson Novell Volunteer SysOp One by one the penguins steal my sanity... |
|
|||
|
Kamlapati wrote:
> I have a simple home network with three Windows XP machines and a SuSe 9.2 > Pro machine connected to a Linksys DSL router. As it is now, after several > reinstalls and lots of fiddling with the Network Control Center, I have > never gotten the XP machines to recognize the Linux machine or vice versa. > > My previous install was Xandros 2.0 and all was fine, so I know the HW is > OK. > > Before I start rebuilding the smb.conf file from scratch using the > hundreds of pages of Samba documentation, is there any obvious problems > with SuSe 9.2 and XP? I would try http://www.samba.org the link on left side "By Example". It has few example configurations from simple that work fine for home network, to more sophisticated. The problem with SuSE is that they give you secure configuration that requires authentication. That means that you have to configure your XP box to use user level access to common resources on your network (shares), instead of share level and that is task for more experienced users of both OS-es. One of the first examples from text found on above link works for sure because there is no any security, it uses share level access control. In home network it shouldn't be a problem. > If I need a working smb.conf, can someone here just post it? There is always need for some adjustment to your network. Even the default SuSE smb.conf that you have posted will work if you reconfigure your XP boxes, but you have to understand few more words what they mean, and the best method I see, is to use the above link. For instance, the term "workgroup". XP Home by default uses MSHOME as name for workgroup. That is first thing that you have to change. Either all boxes belong to MSHOME or TUX-NET, or any other name that you like more, in order to see each other. > If I put it > in the etc/samba/ directory, will my system start working? The link http://www.samba.org/samba/docs/man/Samba-Guide/ (this is the same I mentioned before) is not very long to read, and you can find sample configurations for different scenarios, and more important if you read the text before, you will understand what you have to change. <snip> > Thanks to all! HTH -- Regards, Rajko. |
|
|||
|
anglers@texs.com wrote:
>> Mark Robinson wrote: >> > > Start by turning off the firewall and see if it works ok. > > I've never been able to get my lan to work with the firewall up in Suse > 9.0, 9.1, 9.2 or 9.3 Firewall off doesn't seem to change things that I can see... still no Network Neighborhood view. I guess now it is back to the hard stuff... will work through the examples on Samba.org and I found some simple configs in opensuse.org too. I supppose the hardest thing is that I will probably need to dink with my XP setups too... what a mystery. Thanks to all. |
|
|||
|
Rajko M. wrote:
> Kamlapati wrote: > >> I have a simple home network with three Windows XP machines and a SuSe >> 9.2 Pro machine connected to a Linksys DSL router. As it is now, after >> several reinstalls and lots of fiddling with the Network Control Center, >> I have never gotten the XP machines to recognize the Linux machine or >> vice versa. >> >> My previous install was Xandros 2.0 and all was fine, so I know the HW is >> OK. >> >> Before I start rebuilding the smb.conf file from scratch using the >> hundreds of pages of Samba documentation, is there any obvious problems >> with SuSe 9.2 and XP? > > I would try http://www.samba.org the link on left side "By Example". > It has few example configurations from simple that work fine for home > network, to more sophisticated. > > The problem with SuSE is that they give you secure configuration that > requires authentication. That means that you have to configure your XP box > to use user level access to common resources on your network (shares), > instead of share level and that is task for more experienced users of both > OS-es. > > One of the first examples from text found on above link works for sure > because there is no any security, it uses share level access control. In > home network it shouldn't be a problem. > >> If I need a working smb.conf, can someone here just post it? > > There is always need for some adjustment to your network. > Even the default SuSE smb.conf that you have posted will work if you > reconfigure your XP boxes, but you have to understand few more words what > they mean, and the best method I see, is to use the above link. > > For instance, the term "workgroup". XP Home by default uses MSHOME as name > for workgroup. That is first thing that you have to change. Either all > boxes belong to MSHOME or TUX-NET, or any other name that you like more, > in order to see each other. > >> If I put it >> in the etc/samba/ directory, will my system start working? > > The link > http://www.samba.org/samba/docs/man/Samba-Guide/ > (this is the same I mentioned before) is not very long to read, and you > can find sample configurations for different scenarios, and more important > if you read the text before, you will understand what you have to change. > > <snip> >> Thanks to all! > > HTH Rajko, Good tips, especially about XP, I'll check it all out and report back in a while (sorry, I am pretty low bandwidth) and thanks for all the help! K |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|