Greets to all, Recently, I was given the task of setting up a Samba server where I work, to accept domain logons for Win9x machines and also NT-based machines, which consist of mostly XP boxes, with a couple 2K machines as well. This domain would be replacing an older one, that was using a very out of date Samba (from RedHat 6.1) that couldn't do XP/2K at all. The new one is from RedHat 7.3, which has v.2.2.3a-6 of Samba. As I have learned in the past, XP can sometimes be a great pain to get to join a Samba domain. This time, however, using what I learned in the past, it went pretty flawlessly. I did my testing mostly on 2 machines, a 2K box, and an XP box. All went well, until it was time for the server to go live. I had to change the domain name on the server, and before doing so, I had the 2 machines un-join the domain, just in case that would cause a problem. After changing the domain name and restarting Samba, I had the machines join the new domain. The 2K box was OK with this, but the XP box, however, was not. I went ahead and prepared the rest of the XP boxes in the building for joining the domain, by changing the "signorseal" registry entry, adding their machine accounts to Samba, etc., and they all joined the domain just fine, and are doing the domain logon thing perfectly. The original XP box I tested with, though, still gives me problems. It always gives the following error: "The following error occurred attempting to join the domain "techland": Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again." The only thing that was changed on the Samba server, was the domain/workgroup name. I'm totally stumped. I've tried changing the netbios name of the XP box, and added the new machine account to the server, and got the same error. I tried refreshing the network adaptor on the XP box, and got the same thing. I tried deleting the machine account from the server and then re-adding it, to no avail. Checking the Samba logs for this particular machine, shows nothing. I even did a "tail -f" on the log, while trying to have the machine join the domain, and it shows nothing. I searched Google for this problem, and only got one Samba-related hit, and it wasn't quite the same problem I'm experiencing. I'm about ready to wipe the machine and reformat/reinstall XP, but before going to that extreme, I figured I'd try this list. So, does anyone have any ideas? :-) Stace -- Stacy J. Dunkle LAN Manager, Pennswoods.net
>-----Original Message----- >From: samba-admin@lists.samba.org >[mailto:samba-admin@lists.samba.org] On Behalf Of Stacy J.Dunkle >Sent: Wednesday, September 25, 2002 7:38 PM >To: Samba Mailing List >Subject: [Samba] Samba and WinXP problem > > >Greets to all, > > Recently, I was given the task of setting up a Samba server where I >work, to accept domain logons for Win9x machines and also NT-based >machines, which consist of mostly XP boxes, with a couple 2K machines >as well. This domain would be replacing an older one, that was using a >very out of date Samba (from RedHat 6.1) that couldn't do >XP/2K at all. >The new one is from RedHat 7.3, which has v.2.2.3a-6 of Samba.[...]>"The following error occurred attempting to join the domain "techland": >Multiple connections to a server or shared resource by the same user, >using more than one username, are not allowed. Disconnect all previous >connections to the server or shared resource and try again."Not sure if you did this as well, there are two things that helped me against this message. 1) when asked for credentials to join the domain, try different combinations of plain admin username and admin username prefixed with "domainname\" and "xpclientsname\" (no quotes) 2) try changing the XP client from domain to workgroup mode, making sure that the workgroup name does not equal the domain's name, reboot as asked and then try again. HTH, -Malte
You might have tried this already but... I got this error when there was an existing drive mapping to the server. Make sure you do a 'net use * /d /y' before trying to join the domain. HTH Noel -----Original Message----- From: Phil Chambers [mailto:P.A.Chambers@exeter.ac.uk] Sent: 26 September 2002 11:32 To: Stacy J.Dunkle Cc: Samba Mailing List Subject: Re: [Samba] Samba and WinXP problem On Wed, 25 Sep 2002 15:23:53 -0400 "Stacy J.Dunkle" <sdunkle@staceman.net> wrote:> > >> Recently, I was given the task of setting up a Samba server where I > >> work, to accept domain logons for Win9x machines and also NT-based > >> machines, which consist of mostly XP boxes, with a couple 2K machines > >> as well. This domain would be replacing an older one, that was using a > >> very out of date Samba (from RedHat 6.1) that couldn't do > >> XP/2K at all. > >> The new one is from RedHat 7.3, which has v.2.2.3a-6 of Samba. > > [...] > >> "The following error occurred attempting to join the domain > >> "techland": > >> Multiple connections to a server or shared resource by the same user, > >> using more than one username, are not allowed. Disconnect all previous > >> connections to the server or shared resource and try again." > > Not sure if you did this as well, there are two things that helped me > > against this message. 1) when asked for credentials to join the domain, > > try different combinations of plain admin username and admin username > > prefixed with "domainname\" and "xpclientsname\" (no quotes) > > 2) try changing the XP client from domain to workgroup mode, making > > sure > > that the workgroup name does not equal the domain's name, reboot as > > asked and then try again. > > Just tried all that you suggested, and nothing worked. > > Interestingly, though, is that no matter what username/pass I try, I > get the exact same error, and the attempts are still not showing up on > the samba logs for the machine. > > It has to be something screwy with Windows, since it's apparently not > even attempting to authenticate with the domain server. The task, is > just finding exactly what it is. > > But, OTOH, what would make XP prompt for username/pass at all, if it's > not authenticating with the domain server? If I try entering an invalid > domain, it knows, since it doesn't prompt for anything, and just tells > me the server wasn't found. > > Any other ideas? > > I highly appreciate the help! :-) > > StaceHave a look in the event log to see if the netlogon worked when the machine is booted. XP does a netlogon for the machine before putting up the user login window, if that fails it will be recored in the event log. Phil. --------------------------------------- Phil Chambers (postmaster@exeter.ac.uk) University of Exeter -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/2002
Run sysprep on the machine and try again. That should change all the RIDS for the machine. Donald On Wed, 2002-09-25 at 10:38, Stacy J.Dunkle wrote:> Greets to all, > > Recently, I was given the task of setting up a Samba server where I > work, to accept domain logons for Win9x machines and also NT-based > machines, which consist of mostly XP boxes, with a couple 2K machines > as well. This domain would be replacing an older one, that was using a > very out of date Samba (from RedHat 6.1) that couldn't do XP/2K at all. > The new one is from RedHat 7.3, which has v.2.2.3a-6 of Samba. > > As I have learned in the past, XP can sometimes be a great pain to get > to join a Samba domain. This time, however, using what I learned in the > past, it went pretty flawlessly. I did my testing mostly on 2 > machines, a 2K box, and an XP box. > > All went well, until it was time for the server to go live. I had to > change the domain name on the server, and before doing so, I had the 2 > machines un-join the domain, just in case that would cause a problem. > After changing the domain name and restarting Samba, I had the machines > join the new domain. The 2K box was OK with this, but the XP box, > however, was not. > > I went ahead and prepared the rest of the XP boxes in the building for > joining the domain, by changing the "signorseal" registry entry, adding > their machine accounts to Samba, etc., and they all joined the domain > just fine, and are doing the domain logon thing perfectly. The original > XP box I tested with, though, still gives me problems. It always gives > the following error: > > "The following error occurred attempting to join the domain "techland": > Multiple connections to a server or shared resource by the same user, > using more than one username, are not allowed. Disconnect all previous > connections to the server or shared resource and try again." > > The only thing that was changed on the Samba server, was the > domain/workgroup name. I'm totally stumped. I've tried changing the > netbios name of the XP box, and added the new machine account to the > server, and got the same error. I tried refreshing the network adaptor > on the XP box, and got the same thing. I tried deleting the machine > account from the server and then re-adding it, to no avail. Checking > the Samba logs for this particular machine, shows nothing. I even did a > "tail -f" on the log, while trying to have the machine join the domain, > and it shows nothing. > > I searched Google for this problem, and only got one Samba-related > hit, and it wasn't quite the same problem I'm experiencing. I'm about > ready to wipe the machine and reformat/reinstall XP, but before going > to that extreme, I figured I'd try this list. > > So, does anyone have any ideas? :-) > > Stace > > -- > Stacy J. Dunkle > LAN Manager, > Pennswoods.net > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
I got this error as I had an existing network mapping to the samba server - try a 'net use * /d /y'. Also I found setting the IP Policies to 'Permit' in Control Panel/Admin Tools/Local Security made XP start chatting freely. Noel -----Original Message----- From: Donald Saltarelli [mailto:djs@uci.edu] Sent: 29 September 2002 06:07 To: Stacy J.Dunkle Cc: samba@lists.samba.org Subject: Re: [Samba] Samba and WinXP problem> > "The following error occurred attempting to join the domain "techland": > Multiple connections to a server or shared resource by the same user, > using more than one username, are not allowed. Disconnect all previous > connections to the server or shared resource and try again." >--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/2002