basti
2016-Aug-24 13:41 UTC
[Samba] samba-tool domain provision no such option: --slapd-path
I have done the nsswitch config (https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member#libnss_winbind) wbinfo -u show the users getent passwd doesn't I also run pam-auth-update On 22.08.2016 17:13, Rowland Penny via samba wrote:> On Mon, 22 Aug 2016 16:33:38 +0200 > basti via samba <samba at lists.samba.org> wrote: > >> >> >> On 22.08.2016 16:07, Marc Muehlfeld via samba wrote: >>> * You can set up a second DC (recommended anyway) to have a >>> failover. Then you don't have to worry if one goes down. By the >>> way, there is no "PDC" in an AD. All are DCs. >> >> i need the users on the linux box in a way like "getent passwd" at the >> moment on my samba4 there is no user how is part of ad there > > I take it you mean that when 'getent passwd auser' is run on the DC, it > doesn't produce any output and there isn't anything on the DC wiki page > to tell me how to get it work. > > Go and have another read of the DC wiki page: > > https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller > > The information was always there, there just wasn't anything linking > the DC page to it. > >> >>> * You can write a script that exports stuff from AD and pushes it to >>> your openLDAP on your mailserver. >> >> how can i get data from samba/ldap >> >> > > How are you getting the info from your original ldap server? > You can get the data in pretty much the same way. > > Rowland > >
Rowland Penny
2016-Aug-24 13:54 UTC
[Samba] samba-tool domain provision no such option: --slapd-path
On Wed, 24 Aug 2016 15:41:01 +0200 basti via samba <samba at lists.samba.org> wrote:> I have done the nsswitch config > (https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member#libnss_winbind) > > wbinfo -u show the users > getent passwd doesn't > > I also run pam-auth-update >Did you try 'getent passwd A_Username', just running 'getent passwd' will not work unless you add: winbind enum users = yes winbind enum groups = yes to smb.conf Rowland
basti
2016-Aug-24 15:19 UTC
[Samba] samba-tool domain provision no such option: --slapd-path
that's it thanks a lot On 24.08.2016 15:54, Rowland Penny via samba wrote:> On Wed, 24 Aug 2016 15:41:01 +0200 > basti via samba <samba at lists.samba.org> wrote: > >> I have done the nsswitch config >> (https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member#libnss_winbind) >> >> wbinfo -u show the users >> getent passwd doesn't >> >> I also run pam-auth-update >> > > Did you try 'getent passwd A_Username', just running 'getent passwd' > will not work unless you add: > > winbind enum users = yes > winbind enum groups = yes > > to smb.conf > > Rowland >