Samba PDC set-up with W2K clients
Hi, I am trying to set-up Samba as a PDC for a small network of W2K machines, without much success. I am running SuSE 7.2 with Samba 2.2.2 and W2K SP2 clients. I have read (and re-read) all the how-tos I can find, I have also spent most of the day searching the newsgroups, but I am getting stuck on the last step. When I change my network set-up in W2K from workgroup to domain, it asks for a password. All the docs say that I should enter 'root' here, but this gives me an error "login failure : unknown username or bad password" I have all the required user accounts including root set up in Samba, and I can successfully 'map a driver as...' each user. I have the machine account set up in Samba for each of the clients, and if I try to 'map a driver as...' a machine account samba responds with 'This is a machine account ...' error, so I believe these are set-up correctly. Anyone have any ideas? Phil --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.319 / Virus Database: 178 - Release Date: 28/01/2002
Hello, Phil. I run a Samba 2.2.1a on 7.3 here as a PDC for three W2K boxes. I ran afoul of the same problem you describe here. You say you have each machine account set up in Samba already. That was the accounts with a $ at the end. And you say you added root to the Samba accounts. Did you set a password for root in Samba ? Use smbpasswd to change root's password to something other than what it is in the Linux accounts. Try and keep it under 8 characters, it seems to work better that way. Now, when you go to add your W2K box to the domain, and it prompts you for the user ID and password, enter root as the ID and the pw should be the one you changed above. In some cases, you may need to enter the user ID as domain/root where domain is the actual name of the domain Samba is PDCing. Hope that helps, Stuart. -----Original Message----- From: Phil Shrimpton [mailto:phil@shrimpton.co.uk] Sent: 30 January 2002 01:00 To: suse-linux-e@suse.com Subject: [SLE] Samba PDC set-up with W2K clients Hi, I am trying to set-up Samba as a PDC for a small network of W2K machines, without much success. I am running SuSE 7.2 with Samba 2.2.2 and W2K SP2 clients. I have read (and re-read) all the how-tos I can find, I have also spent most of the day searching the newsgroups, but I am getting stuck on the last step. When I change my network set-up in W2K from workgroup to domain, it asks for a password. All the docs say that I should enter 'root' here, but this gives me an error "login failure : unknown username or bad password" I have all the required user accounts including root set up in Samba, and I can successfully 'map a driver as...' each user. I have the machine account set up in Samba for each of the clients, and if I try to 'map a driver as...' a machine account samba responds with 'This is a machine account ...' error, so I believe these are set-up correctly. Anyone have any ideas? Phil --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.319 / Virus Database: 178 - Release Date: 28/01/2002 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
On Wednesday 30 January 2002 17:38, Stuart Powell wrote: Hi,
I run a Samba 2.2.1a on 7.3 here as a PDC for three W2K boxes.
At least I know it can be done.
You say you have each machine account set up in Samba already. That was the accounts with a $ at the end.
Yes.
And you say you added root to the Samba accounts. Did you set a password for root in Samba ? Use smbpasswd to change root's password to something other than what it is in the Linux accounts. Try and keep it under 8 characters, it seems to work better that way.
I had it the same as the 'real' root, but I have now changed it.
Now, when you go to add your W2K box to the domain, and it prompts you for the user ID and password, enter root as the ID and the pw should be the one you changed above. In some cases, you may need to enter the user ID as domain/root where domain is the actual name of the domain Samba is PDCing.
No, still does not work. I am still getting 'User is not specified'. The funny thing is, if I miss-spell 'root' or use the wrong password, it tells me that the username is wrong or the password is bad, so I wonder what 'user is not specified', 'root', or the user that I have logged onto the W2K box with? Phil -- Linux 2.4.4-4GB 11:07pm up 2 days, 5:06, 2 users, load average: 1.19, 0.47, 0.22
Hello, Phil. Alright, let's think about what could be going wrong here. Firstly, the W2K box is currently in a WORKGROUP and not a DOMAIN, yes ? And you are logged on with a local account on the W2K box ? Windows does not generally like being moved from one domain to another. Does the account you are logged in with on the W2K machine have administrator rights ? Is SAMBA set up to use encrypted passwords ? W2K uses encrypted passwords by default, so SAMBA should be set up likewise. Both of my machines are at W2K SP2, so don't worry about that. We know that doesn't cause any issues. Thinking back over what I did when I set this up, I had the same problem you described until I realised I'd forgotten to add the root account to the SMB users. As soon as I did that, it all worked just fine. And I would imagine I'm following the same docs as you - samba-pdc-howto.html. Check on the two things above, and if they don't help, I'll see what other ideas I can come up with. Bye for now, Stuart. -----Original Message----- From: Phil Shrimpton [mailto:phil@shrimpton.co.uk] Sent: 30 January 2002 23:19 To: Stuart Powell; suse-linux-e@suse.com Subject: Re: [SLE] Samba PDC set-up with W2K clients On Wednesday 30 January 2002 17:38, Stuart Powell wrote: Hi,
I run a Samba 2.2.1a on 7.3 here as a PDC for three W2K boxes.
At least I know it can be done.
You say you have each machine account set up in Samba already. That was the accounts with a $ at the end.
Yes.
And you say you added root to the Samba accounts. Did you set a password for root in Samba ? Use smbpasswd to change root's password to something other than what it is in the Linux accounts. Try and keep it under 8 characters, it seems to work better that way.
I had it the same as the 'real' root, but I have now changed it.
Now, when you go to add your W2K box to the domain, and it prompts you for the user ID and password, enter root as the ID and the pw should be the one you changed above. In some cases, you may need to enter the user ID as domain/root where domain is the actual name of the domain Samba is PDCing.
No, still does not work. I am still getting 'User is not specified'. The funny thing is, if I miss-spell 'root' or use the wrong password, it tells me that the username is wrong or the password is bad, so I wonder what 'user is not specified', 'root', or the user that I have logged onto the W2K box with? Phil -- Linux 2.4.4-4GB 11:07pm up 2 days, 5:06, 2 users, load average: 1.19, 0.47, 0.22
On Thursday 31 January 2002 11:42, Stuart Powell wrote: Hi, Thanks for you help so far.
Firstly, the W2K box is currently in a WORKGROUP and not a DOMAIN, yes ?
Yes
And you are logged on with a local account on the W2K box ?
Yes.
Does the account you are logged in with on the W2K machine have administrator rights ?
Yes.
Is SAMBA set up to use encrypted passwords ? W2K uses encrypted passwords by default, so SAMBA should be set up likewise.
Yes.
Thinking back over what I did when I set this up, I had the same problem you described until I realised I'd forgotten to add the root account to the SMB users. As soon as I did that, it all worked just fine. And I would imagine I'm following the same docs as you - samba-pdc-howto.html.
I have followed that How-to and others to the letter, and I get right to last step (entering the root username/password) and fail. I can map to a share as 'root' so I know the root account is correct in Samba. Cheers Phil -- Linux 2.4.4-4GB 2:16pm up 6 days, 20:15, 3 users, load average: 0.32, 0.15, 0.06
participants (2)
-
Phil Shrimpton
-
Stuart Powell