Web lists-archives.com

Re: [Samba] access domain via ldap failed

Hi, Rowland,

I wanted to access the samba using an administrator account to query some info about the domain or the domain user, such as the sid of a computer in the domain.

At first I thought the problem was the ldap configuration. But it seems not such simple. Today I find that joining the domain also has problem. When I try to join a Windows 7 machine into the domain with samba 4.8.0, it takes a long time before it tells me join succeed. And then a tip come out: Changing the primary domain dns name of this computer to "" failed. The name will remain "abc.local". The error was: The rpc server is unavailable.

Now I’m afraid that my rpms have problem. Could you help find if there is any error in my spec file?



At 2018-04-18 02:04:20, "Rowland Penny via samba" <samba@xxxxxxxxxxxxxxx> wrote:
>On Wed, 18 Apr 2018 00:55:45 +0800 (CST)
>Ryan  <ryanyang51@xxxxxxx> wrote:
>> Hi,Rowland,
>> Thanks for your reply.
>> In fact, I could build samba 4.5.16 and package it into several rpms.
>> Considering 4.5.16 is the last version of samba 4.5.x, I want to use
>> samba 4.8.0 instead.
>You don't want to use 4.8.0 , there is a problem with this version if
>you upgrade to it.
>> I built 4.8.0 in the same way and installed
>> those rpm like before, not directly upgrading from 4.5.16.
>Then this would be a new domain, but I still wouldn't use 4.8.0
>> When I
>> found this problem in 4.8.0, I tried 4.7.6 and 4.7.3, But they also
>> have the same problem. I use ADExplorer to connect the domain. When I
>> use the wrong username or password it remains me the username or
>> password is wrong. And when I use right account info to access domain
>> it says "The directory service is not available". So I geuss maybe it
>> is the permission not authencation that gets something wrong. The
>> account I used to connect domain is a domain administrator account.
>> thanks Ryan Yang
>What exactly are you trying to do ? are you trying to do something the
>user isn't allowed to ?
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba