I'm setting up a new Samba 4 Domain on a Debian Jessie machine. The dc works. Now I'm trying to setup a fileserver following the samba wiki. winbind is running on both machines, getent and wbinfo show the users and groups of the domain. However, when I try net rpc rights list accounts -U"MYDOM\Administrator" Enter MYDOM\Administrator's password: Could not connect to server 127.0.0.1 The username or password was not correct. Connection failed: NT_STATUS_LOGON_FAILURE What's wrong? Greetings Harry
On 29/06/16 10:33, Dr. Harry Knitter wrote:> I'm setting up a new Samba 4 Domain on a Debian Jessie machine. > The dc works. > Now I'm trying to setup a fileserver following the samba wiki. > winbind is running on both machines, getent and wbinfo show the users and > groups of the domain. > > However, when I try > net rpc rights list accounts -U"MYDOM\Administrator" > Enter MYDOM\Administrator's password: > Could not connect to server 127.0.0.1 > The username or password was not correct. > Connection failed: NT_STATUS_LOGON_FAILURE > > What's wrong? > > > Greetings > Harry >Can you post /etc/resolv.conf and /etc/hosts from the domain member (or as you call it, 'fileserver) Rowland
Try, net rpc rights list accounts -U"MYDOM\Administrator" -S servername.domain.tld Since you trying from localhost, it wil always first connect to localhost. And you domain is not know on localhost.. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Dr. Harry Knitter > Verzonden: woensdag 29 juni 2016 11:33 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Authentication problem > > I'm setting up a new Samba 4 Domain on a Debian Jessie machine. > The dc works. > Now I'm trying to setup a fileserver following the samba wiki. > winbind is running on both machines, getent and wbinfo show the users and > groups of the domain. > > However, when I try > net rpc rights list accounts -U"MYDOM\Administrator" > Enter MYDOM\Administrator's password: > Could not connect to server 127.0.0.1 > The username or password was not correct. > Connection failed: NT_STATUS_LOGON_FAILURE > > What's wrong? > > > Greetings > Harry > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Am Mittwoch, 29. Juni 2016, 10:56:02 schrieb Rowland penny:> On 29/06/16 10:33, Dr. Harry Knitter wrote: > > I'm setting up a new Samba 4 Domain on a Debian Jessie machine. > > The dc works. > > Now I'm trying to setup a fileserver following the samba wiki. > > winbind is running on both machines, getent and wbinfo show the users and > > groups of the domain. > > > > However, when I try > > net rpc rights list accounts -U"MYDOM\Administrator" > > Enter MYDOM\Administrator's password: > > Could not connect to server 127.0.0.1 > > The username or password was not correct. > > Connection failed: NT_STATUS_LOGON_FAILURE > > > > What's wrong? > > > > > > Greetings > > Harry > > Can you post /etc/resolv.conf and /etc/hosts from the domain member (or > as you call it, 'fileserver) > > RowlandThanks for your quick reply. /etc/resolv.conf points to the dc as a nameserver search mydom.lan nameserver IP.of.my.dc /etc/hosts 127.0.0.1 localhost xxx.xxx.xxx.xxx fs.mydom.lan fs # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters The IPs are correct Harry
On 29/06/16 11:18, L.P.H. van Belle wrote:> Try, > > net rpc rights list accounts -U"MYDOM\Administrator" -S servername.domain.tld > > Since you trying from localhost, it wil always first connect to localhost. > And you domain is not know on localhost.. > > Greetz, > > Louis > > >Hi Louis, His command works for me, I still think it is a dns problem. Rowland
Am Mittwoch, 29. Juni 2016, 12:18:05 schrieb L.P.H. van Belle:> Try, > > net rpc rights list accounts -U"MYDOM\Administrator" -S > servername.domain.tld > > Since you trying from localhost, it wil always first connect to localhost. > And you domain is not know on localhost.. > > Greetz, > > Louis >Thanks, now it works Harry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: This is a digitally signed message part. URL: <http://lists.samba.org/pipermail/samba/attachments/20160629/e9c2fdea/signature.sig>