I am trying to get my linux box running slackware with kernel 2.0.36 and samba 2.0.0 (full version not BETA) to join our NT domain. I first added to computer to the domain. Then I typed this (computer and domain names altered for protection): linux_computer:/usr/local/samba/bin# smbpasswd -j MY_DOMAIN -r MY_PDC Where linux_computer is the linux computer (like you needed that) MY_DOMAIN is the NT domain I want to join MY_PDC is the Primary Domain Controller for MY_DOMAIN I got back the following errors: modify_trust_password: machine MY_PDC rejected the session setup. Error was : code 131. 1999/01/15 13:50:39 : change_trust_account_password: Failed to change password for domain MY_DOMAIN. Unable to join domain MY_DOMAIN. Can anyone help my with this problem? Thanks, Matt *********************************** Matt Turner matt@book.tamu.edu DRL Webmaster Texas A&M University http://mothra.tamu.edu/matt/ ***********************************
Hi, I had the same problem. My SAMBA computer was still existing in the NT Domain. I removed him and after a while I added him again. Then I saw that still a smbd service was running. I think no smbd and nmbd process should run, when you try to join the domain. I don't know what resolved the problem, the removing or adding to the NT domain, or the processes, but it worked. bye Armin -------------- next part -------------- A non-text attachment was scrubbed... Name: vcard.vcf Type: text/x-vcard Size: 387 bytes Desc: Card for Armin Amon Url : http://lists.samba.org/archive/samba/attachments/19990118/63fcea7e/vcard.vcf
Hello, I am trying to configure my Samba server (2.0.3) to join an NT 4.0 domain. Here are the steps I followed: - created machine account for Samba server using Server Manager on the PDC - set the following parameters security = domain workgroup = domain_name password server = PDC BDC1 BDC2 encrypt passwords = yes - I then stopped all the Samba daemons and ran 'smbpasswd -j domain_name'. I got the following error: smb password encryption not selected in Makefile Any ideas what is going wrong and what I should do to correct it? Rod Sanborn rsanborn@ew.elan.af.mil
Rod Sanborn wrote:> > I got the following error: > > smb password encryption not selected in Makefile > > Any ideas what is going wrong and what I should do to correct it?Easy. Recompile Samba with password encryption :-) I guess you used some obscure precompiled binaries (the ones in samba.org are compiled with encryption). Depending on what your UN*X box is, you can do the following: - download binaries for your system from ftp.samba.org - download sources from ftp.samba.org and compile the stuff, checking in source/Makefile that there is encryption enabled (you may need -DREPLACE_GETPASS for HP-UX systems). Cheers Michal
I am attempting to setup samba using an NT server for authentication but am unable to get samba to join the domain. I've added the samba server into the NT's Server Manager as instructed in the docs and this is what I get: # ./smbpasswd -j domain doing parameter local master = No pm_process() returned Yes Added interface ip=10.0.0.23 bcast=10.0.0.255 nmask=255.255.255.0 resolve_name: Attempting lmhosts lookup for name AERIS-NT-SERVER<0x20> Connecting to 10.0.0.135 at port 139 modify_trust_password: machine AERIS-NT-SERVER rejected the session setup. Error was : code 131. 1999/06/15 14:20:27 : change_trust_account_password: Failed to change password for domain DOMAIN. Unable to join domain DOMAIN. Here's my smb.conf: # more smb.conf # Samba config file created using SWAT # from sft012 (10.0.0.32) # Date: 1999/06/15 14:11:01 # Global parameters [global] workgroup = DOMAIN netbios name = FILE-SERVER security = DOMAIN min passwd length = 3 password server = aeris-nt-server log level = 3 local master = No [homes] comment = home directory space path = %H valid users = $S read only = No create mask = 0600 directory mask = 0700 locking = No Any help would be appreciated. Duane
I'm trying to configure Winbindd on a Linux/390 system. I'm not getting any of the crashes or obvious errors, but I can't join the NT domain using the smbpasswd command. Included below is a portion of the -D 99 debug listing. I can ping the PDC under it's FQDN, and I've also added it's IP address to LMHOSTS, but nothing changes. I've also tried the smbpasswd command specifying the IP address of the PDC, but that doesn't help either. This is Samba 2.2.4, and the PDC is Windows NT 4. Two possible issues come to mind. 1) My Samba server doesn't have a DNS entry of it's own (yet). 2) The machine is on a VM "Guest LAN" that doesn't support broadcast/multicast. I am connected to a WINS server though, and I can browse and access shares from Windows. Does anyone have any idea what might be going on here? Where is IP address "0.0.0.1" coming from? Thanks much. -------------------------------------------------------------------------------------------------------------------- Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/smb.conf" Processing section "[global]" doing parameter workgroup = MLAMRS doing parameter server string = Samba 2.2.4 on VM Linux doing parameter security = DOMAIN doing parameter encrypt passwords = Yes doing parameter map to guest = Bad User doing parameter log file = /var/log/smb.log doing parameter keepalive = 30 doing parameter os level = 2 doing parameter preferred master = False doing parameter domain master = False doing parameter wins server = 146.125.87.65 wins_srv_load_list(): Building WINS server list: 146.125.87.65, 1 WINS server listed. doing parameter kernel oplocks = No doing parameter winbind uid = 1000-2000 doing parameter winbind gid = 1000-2000 pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: ROLE_DOMAIN_MEMBER codepage_initialise: client code page = 850 (lots of codepage stuff omitted) added interface ip=146.125.251.80 bcast=146.125.251.127 nmask=255.255.255.192 Password: cli_init_creds: user administrator domain MLAMRS flgs: 0 ntlmssp_cli_flgs:0 cli_establish_connection: LINXKEN<00> connecting to WSTRESSMS2<20> (0.0.0.1) - administrator [MLAMRS] Connecting to 0.0.0.1 at port 445 error connecting to 0.0.0.1:445 (Invalid argument) Connecting to 0.0.0.1 at port 139 error connecting to 0.0.0.1:139 (Invalid argument) Error connecting to 0.0.0.1 (Invalid argument) cli_establish_connection: failed to connect to WSTRESSMS2<20> (0.0.0.1) Error connecting to wstressms2 Unable to join domain MLAMRS.
Hello, I am having problems joining a Linux computer to an NT domain. Our office is still running NT 4.0, we have not upgraded to Windows 2000. The domain is JUBILEE. The computer I am attempting to add to the domain is LX-IS5. The PDC is HQ-NTDC3. I am running samba 2.2.3a-6 on RedHat 7.3. This is the procedure I followed: 1) Shutdown the samba server 2) Edit smb.conf to add/modify the netbios name, password server, workgroup, and security settings. (Security = domain) 3) remove MACHINE.SID, secrets.tdb 4) smbpasswd -j JUBILEE -r HQ-NTDC3 This results in the following error message: cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT cli_nt_setup_creds: auth2 challenge failed modify_trust_password: unable to setup the PDC credentials to machine HQ-NTDC3. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. 2002/08/07 13:55:26 : change_trust_account_password: Failed to change password for domain JUBILEE. Unable to join domain JUBILEE. If, instead, I use this smbpasswd command: smbpasswd -j JUBILEE -r hq-ntdc3 -Ushadow I get this error: error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE Unable to join domain JUBILEE. I get these errors whether or not the computer has been added to the domain using "Server Manager for Domains". If anyone can help me, I would be most appreciative. thank-you, joseph Jubilee Tech International
Maybe Matching Threads
- Can't join linux machine to linux pdc controlled domain.
- Winbind issue - Again
- Problem browsing my unix-client - session setup failed: NT_STATUS _CANT_ACCESS_DOMAIN_INFO
- Samba-2.2.8a & LDAP - Can't join Domain - SID mapping error
- Help requested for Aeris Dive Computer interface