Howdy, I've run into some problems adding a Unix server to an NT domain. I've followed the instructions in DOMAIN_MEMBER.txt; when running the smbpasswd command: ./bin/smbpasswd -j CS-NT -r CS-NTS1 I get the following errors: modify_trust_password: machine CS-NTS1 rejected the session setup. Error was : code 131. 1999/07/26 11:36:37 : change_trust_account_password: Failed to change password for domain CS-NT. Unable to join domain CS-NT. Oddly enough, nothing shows up in the event log on CS-NTS1, even with all the auditing checkboxes checked. I've poked around Microsoft Technet, and I haven't been able to figure out what "code 131" means. In searching the mailing lists, it looks as if other folks have run into similar problems, but I haven't seen any solutions that look as if they would apply to my situtation. To ward off some of the questions I've seen in response to this sort of problem report:> Did you create a machine account on the PDC for the Samba box?Yes.> Did you set the > workgroup = <DOMAINNAME> > security = domain > password server = <NetBIOS name of PDC> > in smb.conf?Yes. In my config file: password server = pdc_name bdc_name>What version (date of CVS code or Beta release of 2.0) >are you using?2.0.5a Thanks for your help, -- Lars -- Lars Kellogg-Stedman <lars@larsshack.org>
I'm still fighting with this problem too (Though not very hard since samba is pretty low on my priority list at the moment). Duane Lars Kellogg-Stedman wrote:> > Howdy, > > I've run into some problems adding a Unix server to an NT domain. I've > followed the instructions in DOMAIN_MEMBER.txt; when running the > smbpasswd command: > > ./bin/smbpasswd -j CS-NT -r CS-NTS1 > > I get the following errors: > > modify_trust_password: machine CS-NTS1 rejected the session setup. Error > was : code 131. > 1999/07/26 11:36:37 : change_trust_account_password: Failed to change > password for domain CS-NT. > Unable to join domain CS-NT. > > Oddly enough, nothing shows up in the event log on CS-NTS1, even with all > the auditing checkboxes checked. I've poked around Microsoft Technet, and > I haven't been able to figure out what "code 131" means. > > In searching the mailing lists, it looks as if other folks have run into > similar problems, but I haven't seen any solutions that look as if they > would apply to my situtation. To ward off some of the questions I've seen > in response to this sort of problem report: > > > Did you create a machine account on the PDC for the Samba box? > > Yes. > > > Did you set the > > workgroup = <DOMAINNAME> > > security = domain > > password server = <NetBIOS name of PDC> > > in smb.conf? > > Yes. > > In my config file: > > password server = pdc_name bdc_name > > >What version (date of CVS code or Beta release of 2.0) > >are you using? > > 2.0.5a > > Thanks for your help, > > -- Lars > > -- > Lars Kellogg-Stedman <lars@larsshack.org>
> > I've run into some problems adding a Unix server to an NT domain. I've > > followed the instructions in DOMAIN_MEMBER.txt; when running the > > smbpasswd command: > > > > ./bin/smbpasswd -j CS-NT -r CS-NTS1 > > > > I get the following errors: > > > > modify_trust_password: machine CS-NTS1 rejected the session setup.Error> > was : code 131. > > 1999/07/26 11:36:37 : change_trust_account_password: Failed to change > > password for domain CS-NT. > > Unable to join domain CS-NT. > >I've run into many similar problems and have beat them (mostly). Anyway, try checking the /usr/local/samba/private directory. You should see 2 files in there, one called MACHINE.SID and another of the name format DOMAINNAME.MACHINENAME.mac. Delete these files. As mentioned in previous postings, ensure that you've created the machine acct in server manager *and* that the samba daemons are not currently running. If needed, delete the machine name under server manager, wait a bit, re-add it, delete the contents of private, and then try adding it with smbpasswd again. Hope that helps. -- Paul LANtinga Systems Engineer ExtendMedia Inc. Toronto, Ontario http://www.extend.com
Hi, Is it possible to give like below in smb.conf [/export/home/ashish] comment = ashish directory. path = /export/home/ashish valid users = ashish Will samba accept sharename with / , as i thought these r special characters. testparm is not giving any kind of error,it said u may not able to run it in older versions.our version is 2.0.0. when we tried to access this share from unix or windows ,it is saying network path not found. Any help will be appreciated, TIA, Mani.