Re: Connecting and authentication on server



Tony Kidd wrote:

OK
I've set up my samba server. Everything went fine until I fired up the
winXP machine. I should start by saying I know nothing about
windows-even less than I know about linux. I have 2 machines the
server (SUSE linux running samba-don't worry I know how to use this
one. Just assume it's running XP server)

Anyway the samba server works. I have been able to connect to shares
and printers. The problem is when I wanted to authenticate from the
server. I set up the smbpassd file etc and went to the windows
machine. I set the "domain" and tried to log on. When I did it told
me:

The following error occurred attempting to join the domain "fedora":

Multiple connections to a server or shared resurce by the same user,
using more than one user name, are not allowed. Disconnect all previus
connections to the server or shared resource and try again...

OK, fair enough but (finally the question):

how do I disconnect from the server? I can't turn off file sharing or
the server coz I won't be able to re-connect. When I fire up the
windows machine it automatically connects. This is a pretty simple
question i know but can't find the answer. Anyone help? Please?


OK, I think you've set up your Samba server incorrectly. From your
description, there is no reason to be emulating a Windows domain.
Usually you would only be involved with the Samba domain settings when
you want your Linux box to join a Windows Server domain. What does
Fedora have to do with this? I thought you only have two machines: a
Windows XP one and a SUSE (which version please?).

Here is my standard blurb on setting up Samba. Doing it this way works
perfectly on both my small network of 5 XP boxen, 1 Win2k box, and 2
SUSE 10.1 machines. I've also used this successfully when setting up a
Samba server for a school laptop program (~170 laptops and a Samba
server running SUSE 9.3).

1. On Windows boxen, make sure all accounts are properly named (no
damned spaces) and there are no null passwords. Configure any firewalls
to allow lan traffic. Create shares as desired. Note that if any boxen
are XP Pro, you should disable Simple Sharing (Folder Options>View).

2. On SUSE, create identical user account/passwords with YaST.
3. Make sure you've installed Samba server/client with YaST.
4. Using YaST System Services (Runlevel), make sure nmb and smb daemons
will start at bootup.

5. Now add your users to Samba. Make these match the ones on Windows. I
think the easiest way is from the console, so open one, su to root, and
type:
smbpasswd -a username [enter]
(enter password)
(enter password again)

6. Go to YaST and under Network Services set your Samba server and
client Identity to match your Windows Workgroup name.

(Perhaps this is where you went wrong - you do *not* want to set SUSE to
be the domain controller - you have no domain.)

7. I use KDE, so if you use Gnome or another window manager you'll need
to figure this next bit out yourself. Open up the Control Center and go
to Internet/Network and then Samba. Click on the Administrator Mode
(enter root password). I use User security level. Check to make sure
Shares (these are for the SUSE box of course) are the way you want
them. Apply and close that part.

8. Click on File Sharing and enable Administrator Mode. Check "Enable
local network file sharing". I have mine set on "Advanced sharing".
Check the box for "Use Samba" rather than NFS.

And that's pretty much it. Now if you want to make a new share - say a
folder that isn't in your /home, you can right-click it to set Sharing
Properties. If all you want to share is your /home, you're done. Since
9.3, SUSE has a useful Network icon on the desktop (at least in KDE it
does) where you can find your Windows Workgroup and see all the smb
shares.

Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
.



Relevant Pages

  • Re: My Annual Linux Adventure
    ... I have 12 workstations, two laptops, and 8 servers running Windows ... Windows 2003 Advanced Server. ... SUSE 9.1, Mandrake 10.0, and I'm trying to find a version of RH that I ...
    (alt.os.linux.redhat)
  • Re: My Annual Linux Adventure
    ... I have 12 workstations, two laptops, and 8 servers running Windows ... Windows 2003 Advanced Server. ... SUSE 9.1, Mandrake 10.0, and I'm trying to find a version of RH that I ...
    (alt.os.linux.redhat)
  • Re: sick of Linux bias
    ... > users would not benefit from a Linux system unless they were ONLY ... if you run a Windows based system you don't have to ... one more for the server. ... Both SuSE ...
    (comp.security.firewalls)
  • Re: sick of Linux bias
    ... > users would not benefit from a Linux system unless they were ONLY ... if you run a Windows based system you don't have to ... one more for the server. ... Both SuSE ...
    (alt.computer.security)
  • Re: newby needs help on networking pt2
    ... > cable company which assigns this windows machine a new ip address ... > My second and most beloved machine has Suse 9.2 professional on it. ... Make it easy on yourself and buy a usb print server for about $40-$50. ... plug the printer into the server and the server into the same belkin router ...
    (alt.os.linux.suse)

Loading