mitchbnj_removethis@excite.com
2002-Aug-19 08:52 UTC
[Samba] pblms with samba 2.X /3.x and NT--W2k
There is OBVIOUSLY something wrong somewhere. EITHER a WHOLE bunch of us are stupider than we thought, the documentation left off a step, or there is something SO blatently obvious that we are ALL staring it in the face and missing it inches in front of our faces. This is exactly what I've had, (BUT I *D*I*D* have it running ok ...) and I STILL havent figured it out yet,... Subject: [Samba] join domain problem with Samba 3.0 alpha18 ..snip... I've compiled the SAMBA 3.0 alpha18 with all default options and installed well. Then I would join my NT 4.0 machine using the following steps manually (not On the fly) ** I did same thing, both manually and from script too...*** # useradd -g groupid -d /dev/null -c "comment" -s /bin/false -m machine_name$ # passwd -l machine_name$ # smbpasswd -a -m machine_name$ (exact same steps/messages) then I tried to join my NT4.0 to the Samba PDC, but it failed with this message: "The machine account for this computer either does not exist or is inaccessible".> With Samba 2.2.5 it workes all right, also join domain. My Linux system is RedHead 7.1.Mine was Samba 2.2.3, and then 2.2.5 To me this means we are ALL screwing something so basic up, that we're skipping over it. More info: in my config (and I posted my machine/smbd/nmbd logs earlier) as well as in my messages/and other logs I didnt see anything. please help us! ------------------------------------------------ Join Excite! - http://www.excite.com The most personalized portal on the Web! -------------- next part -------------- HTML attachment scrubbed and removed
On the line "smbpasswd -a -m machine_name$" I thought that smbpasswd tacked on the $ at the end if you use the "-m" option. Therefore, to add a machine account, you should do "smbpasswd -a -m machine_name" without the $ sign. Maybe it doesn't care, but this is the only thing that I can see a little out of place. --Nick "mitchbnj_removethis@excite.com" wrote:> There is OBVIOUSLY something wrong somewhere. > EITHER a WHOLE bunch of us are stupider than we thought, the > documentation left off a step, or there is something SO blatently > obvious that we are ALL staring it in the face and missing it inches > in front of our faces. > > This is exactly what I've had, (BUT I *D*I*D* have it running ok ...) > and I STILL havent figured it out yet,... > > Subject: [Samba] join domain problem with Samba 3.0 alpha18 > > ..snip... I've compiled the SAMBA 3.0 alpha18 > with all default options and installed well. > > Then I would join my NT 4.0 machine using the following steps > manually (not On the fly) > ** I did same thing, both manually and from script too...*** > > > # useradd -g groupid -d /dev/null -c "comment" -s /bin/false > -m machine_name$ > # passwd -l machine_name$ > # smbpasswd -a -m machine_name$ > > (exact same steps/messages) > then I tried to join my NT4.0 to the Samba PDC, but it failed with > this message: "The machine account for this computer either does not > exist or is inaccessible". > > > > With Samba 2.2.5 it workes all right, also join domain. My Linux > system is RedHead 7.1. > > Mine was Samba 2.2.3, and then 2.2.5 > > To me this means we are ALL screwing something so basic up, that we're > skipping over it. > > More info: in my config (and I posted my machine/smbd/nmbd logs > earlier) as well as in my messages/and other logs > I didnt see anything. > > please help us! > > > ----------------------------------------------------------------------- > Join Excite! - http://www.excite.com > The most personalized portal on the Web!-- You can't make a difference until you are willing to be different. -- Nick Couchman SEAKR Engineering 6221 South Racine Circle Centennial, CO 80111 Desk: (303) 784-7724 Main: (303) 790-8499 Fax: (303) 790-8720
try adding to your smb.conf file use spnego = no cheers --------- Kristyan Osborne - IT Technician Longhill High School 01273 391672 -----Original Message----- From: mitchbnj_removethis@excite.com [mailto:faslink@excite.com] Sent: Monday, August 19, 2002 6:52 PM To: j.lu@tiesse.com; samba@lists.samba.org Subject: [Samba] pblms with samba 2.X /3.x and NT--W2k There is OBVIOUSLY something wrong somewhere. EITHER a WHOLE bunch of us are stupider than we thought, the documentation left off a step, or there is something SO blatently obvious that we are ALL staring it in the face and missing it inches in front of our faces. This is exactly what I've had, (BUT I *D*I*D* have it running ok ...) and I STILL havent figured it out yet,... Subject: [Samba] join domain problem with Samba 3.0 alpha18 ..snip... I've compiled the SAMBA 3.0 alpha18 with all default options and installed well. Then I would join my NT 4.0 machine using the following steps manually (not On the fly) ** I did same thing, both manually and from script too...*** # useradd -g groupid -d /dev/null -c "comment" -s /bin/false -m machine_name$ # passwd -l machine_name$ # smbpasswd -a -m machine_name$ (exact same steps/messages) then I tried to join my NT4.0 to the Samba PDC, but it failed with this message: "The machine account for this computer either does not exist or is inaccessible".> With Samba 2.2.5 it workes all right, also join domain. My Linux system is RedHead 7.1.Mine was Samba 2.2.3, and then 2.2.5 To me this means we are ALL screwing something so basic up, that we're skipping over it. More info: in my config (and I posted my machine/smbd/nmbd logs earlier) as well as in my messages/and other logs I didnt see anything. please help us! _____ Join Excite! - HYPERLINK "http://www.excite.com/?PG=Email&SEC=Signature"http://www.excite.com The most personalized portal on the Web! --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002 -------------- next part -------------- HTML attachment scrubbed and removed
I have found the workaround for this issue, naturally looking for the logs with the debuglevel=5. It seems that the samba 3.0 search not only the machine_name$ account , but also domain_name\machine_name$. So you should add this domain\machine$ account in the sam database using the useradd and smbpasswd, pay attention to not include the $ when use smbpasswd. Another adjustment to do is in smb.conf, put "passdb backend = smbpasswd", and try to run it. Cheers! Jianliang Lu -----Messaggio originale----- Da: mitchbnj_removethis@excite.com [mailto:faslink@excite.com] Inviato: luned? 19 agosto 2002 19.52 A: j.lu@tiesse.com; samba@lists.samba.org Oggetto: pblms with samba 2.X /3.x and NT--W2k There is OBVIOUSLY something wrong somewhere. EITHER a WHOLE bunch of us are stupider than we thought, the documentation left off a step, or there is something SO blatently obvious that we are ALL staring it in the face and missing it inches in front of our faces. This is exactly what I've had, (BUT I *D*I*D* have it running ok ...) and I STILL havent figured it out yet,... Subject: [Samba] join domain problem with Samba 3.0 alpha18 ..snip... I've compiled the SAMBA 3.0 alpha18 with all default options and installed well. Then I would join my NT 4.0 machine using the following steps manually (not On the fly) ** I did same thing, both manually and from script too...*** # useradd -g groupid -d /dev/null -c "comment" -s /bin/false -m machine_name$ # passwd -l machine_name$ # smbpasswd -a -m machine_name$ (exact same steps/messages) then I tried to join my NT4.0 to the Samba PDC, but it failed with this message: "The machine account for this computer either does not exist or is inaccessible". > With Samba 2.2.5 it workes all right, also join domain. My Linux system is RedHead 7.1. Mine was Samba 2.2.3, and then 2.2.5 To me this means we are ALL screwing something so basic up, that we're skipping over it. More info: in my config (and I posted my machine/smbd/nmbd logs earlier) as well as in my messages/and other logs I didnt see anything. please help us! ---------------------------------------------------------------------------- -- Join Excite! - http://www.excite.com The most personalized portal on the Web! -------------- next part -------------- HTML attachment scrubbed and removed