Er..Actrually I don't use any windows as DC. Windows computer just the domain member for me. I've seen a similar thread https://lists.samba.org/archive/samba/2017-July/209728.html. I want to build a domain only using samba in linux as the DC. It's a new domain and my first DC. I'd like to believe it is not a samba problem. After all, it occurs in 4.7.x and 4.8.x, a such large range. Situation is that, I can get rpms and install them successfully. But function not well. My thought is, firstly confrim my config options during build process are right for a AD DC. Secondly, see if there is any wrong about the configuration after install. But all my configuration is the same as it for 4.5.x. Have no idea to figure it out...>On Sat, 21 Apr 2018 10:08:46 +0800 (CST) >Ryan <ryanyang51 at 163.com> wrote: > >> I tried 'domain\username' in adexplorer as you say.But it doesn't >> work, too. It's the same warning. Do you remember I've ever mentioned >> that when I try to join the domain it succeed but still warned >> 'change the primary domain dns name of this computer to "" failed. >> the rpc server is unavailable.' I tried this in windows 7 and >> windows8.1, bath gave this warning. Do you get any clue from this for >> my problem? Thanks. >> >> > >OK, I found that the Win10 machines I was using were not '1709', one >was '1511', the other '1607' > >[RANT] >Why is windows update so c**p ??? >I tried to update the '1511' machine to 1709, but, what ever I tried, it >failed, so I moved to the '1607' machine. this failed to update several >times until, for no reason what so ever, it decided to work. >[/RANT OFF] > >I can connect using to Ad using adexplorer on the 1709 machine just as >before i.e. I have to specify the DOMAIN with the username. > >All I can suggest is, leave the domain on the windows machine, check >that it is a member of the same dns domain as the AD DC and then >re-join the domain. What ever the problem is, it doesn't seem to be a >Samba problem. > >Rowland > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba
On Sat, 28 Apr 2018 16:38:38 +0800 (CST) Ryan <ryanyang51 at 163.com> wrote:> Er..Actrually I don't use any windows as DC. Windows computer just > the domain member for me. I've seen a similar thread > https://lists.samba.org/archive/samba/2017-July/209728.html. I want > to build a domain only using samba in linux as the DC. It's a new > domain and my first DC. I'd like to believe it is not a samba > problem. After all, it occurs in 4.7.x and 4.8.x, a such large range. > Situation is that, I can get rpms and install them successfully. But > function not well. My thought is, firstly confrim my config options > during build process are right for a AD DC. Secondly, see if there is > any wrong about the configuration after install. But all my > configuration is the same as it for 4.5.x. Have no idea to figure it > out...OK, just how are you building Samba ? What are the configure options? Do you have all the required build packages installed ? How wedded are you to an rpm based distro ? I ask this because if you were to move to Debian, you could use Louis Van Belles packages. Rowland
On Thu, 03 May 2018 10:38:03 +0800 "ryanyang51 at 163.com" <ryanyang51 at 163.com> wrote: The relevant configure options start here:> CONF_OPTS="\ > > --enable-cups \ > > --enable-gnutls \ > > --with-acl-support \ > > --with-automount \ > > --with-pam \ > > --without-profiling-data \ > > --with-quotas \ > > --with-syslog \ > > --with-utmp \ > > --with-winbind \ > > --with-ads \ > > --with-dnsupdate \ > > --with-cluster-support \ > > %if %{with_libarchive} > > --with-libarchive \ > > %else > > --without-libarchive \ > > %endif > > %if %{make_dmapi} > > --with-dmapi \ > > %else > > --without-dmapi \ > > %endif > > --with-shared-modules=%{shared_modules} \"Which, in my opinion, could be just this: CONF_OPTS="\ --with-cluster-support \ --with-shared-modules=%{shared_modules} \" All the rest are just the default settings. There doesn't seem to be any reason why ldap doesn't work, do you have the packages for your distro installed, see here: https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba Failing that, is there a firewall in the way, or selinux ? Rowland> > ./configure $PATH_OPTS $BUILD_OPTS $CONF_OPTS > > > > I use the dependent packages that suit for 4.5.x. It also support me > to complete the compile process. So if it can cause the problem for > the version reason? >
On Tue, 08 May 2018 20:13:15 +0800 "ryanyang51 at 163.com" <ryanyang51 at 163.com> wrote:> What do you mean 'or selinux'? I use samba in sles11 and centos7. > Does it matter? >What I was trying to say was, is a firewall blocking any required ports, or is something denying samba access to files, such as selinux. I mentioned selinux because up until now, you have never mentioned your distro, just that you wanted to create rpms and the main user of rpms is red hat distros (as in Red hat Package Manager), but as you are using sles11, I suppose I should also mention apparmor. Rowland