Roberto Mason
2003-May-14 19:08 UTC
[Samba] Joining a standalone samba server to a samba hosted domain
I have a samba domain setup at home (called sambanet). I have an XP Pro login on to the domain. I've setup a second Samba Server, which I'm trying to create a machine account for. On my Samba Server (not my domain), this is the Global setup I have [global] workgroup = SAMBANET netbios name = MAIL server string = MAIL server security = DOMAIN encrypt passwords = Yes obey pam restrictions = Yes password server = server pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 preferred master = No local master = No domain master = No dns proxy = No wins server = 192.168.1.2 guest ok = Yes printing = cups On my server, I'm tying to create the machine account with the following command: [root@mail root]# smbpasswd -j sambanet -r server The result follows. cli_net_req_chal: Error NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT cli_nt_setup_creds: request challenge failed modify_trust_password: unable to setup the PDC credentials to machine SERVER. Error was : NT_STATUS_UNSUCCESSFUL. 2003/05/14 15:03:33 : change_trust_account_password: Failed to change password f or domain SAMBANET. Unable to join domain SAMBANET. [root@mail root]# Thank you for your help Roberto
Roberto Mason
2003-May-14 20:59 UTC
[Samba] Joining a standalone samba server to a samba hosted domain
I figured it out, my problem was I wan't using the -U root option... smbpasswd -j 192.168.1.2 -r server -U root The system asked me for the password, and voila. Now 192.168.1.2 is the address of my domain server. Could I have substituted the address for the name of the domain? If I understand the doc properly, that's what I should have done. -----Original Message----- From: samba-bounces@lists.samba.org [mailto:samba-bounces@lists.samba.org] On Behalf Of Roberto Mason Sent: Wednesday, May 14, 2003 3:08 PM To: Samba List Subject: [Samba] Joining a standalone samba server to a samba hosted domain I have a samba domain setup at home (called sambanet). I have an XP Pro login on to the domain. I've setup a second Samba Server, which I'm trying to create a machine account for. On my Samba Server (not my domain), this is the Global setup I have [global] workgroup = SAMBANET netbios name = MAIL server string = MAIL server security = DOMAIN encrypt passwords = Yes obey pam restrictions = Yes password server = server pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 preferred master = No local master = No domain master = No dns proxy = No wins server = 192.168.1.2 guest ok = Yes printing = cups On my server, I'm tying to create the machine account with the following command: [root@mail root]# smbpasswd -j sambanet -r server The result follows. cli_net_req_chal: Error NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT cli_nt_setup_creds: request challenge failed modify_trust_password: unable to setup the PDC credentials to machine SERVER. Error was : NT_STATUS_UNSUCCESSFUL. 2003/05/14 15:03:33 : change_trust_account_password: Failed to change password f or domain SAMBANET. Unable to join domain SAMBANET. [root@mail root]# Thank you for your help Roberto -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba