Hello, I would like to share my progression with samba4. I had a try with Samba3 with ldap ... Samba4 is so much easier !! I was able to install Samba 4 on CentOS6.4 by following the wiki on wiki.samba.org. I kept a trace on my blog in French language of what I've done. It may help somebody one day. Now, I have a win 7 workstation that has join the domain and a user, with a roaming profile, that is working on it. I have also configured the folder redirection for the desktop and my documents folder ... But ,looks like it's not working as expected. Users folders and files are both on the local machines and on the server. I though, files will not stay on the workstation. So I'm not sure to understand what folder redirection is for. I would like now to configure linux client. But I'm not sure where to start and didn't find clear (for me) explanation of how to do it. If I'm not wrong, I can use sssd with kerberos (https://wiki.samba.org/index.php/Local_user_management_and_authentication/sssd) Is this step "Configuring sssd" have to be done on the server, and this one ( Configuring PAM ) on the client ? And do I have to add the workstation to the AD ? Sorry for theses trivials questions. Regards, Cyril.
Hello, I would like to share my progression on samba4 with you. I had a try with Samba3 with ldap ... Samba4 is so much easier !! I was able to install Samba 4 on CentOS6.4 by following the wiki on wiki.samba.org. I'm keeping a trace on my blog (in French language) of what I've done. It may help somebody one day. Now, I have a win 7 workstation that has join the domain and a user, with a roaming profile, that is working on it. I have also configured the folder redirection for the desktop and my documents folder ... But ,looks like it's not working as expected. Users folders and files are both on the local machines and on the server. I though, files will not stay on the workstation. So I'm not sure to understand what folder redirection is for. I would like now to configure linux client and users with roaming profile too. But I'm not sure where to start and didn't find clear (for me) explanation of how to do it. If I'm not wrong, I can use sssd with kerberos for authentication (https://wiki.samba.org/index.php/Local_user_management_and_authentication/sssd) Is steps "Configuring sssd" and "Configuring PAM" have to be done on the client ? Is there previous requirement on the server? And do I have to add the workstation to the AD ? Sorry for theses trivials questions. When with above fix, I plan to use nfs share to have roaming profile on linux box too. Regards, Cyril.
L.P.H. van Belle
2013-Dec-17 14:55 UTC
[Samba] Success with samba4 ( debian wheezy member server )
A very simple setup. OS used: Debian Wheezy 64Bit. Ok, just did a join of a domain member in my ad. wbinfo -u wbinfo -g getent passwd getent group al work ok. This was a 5 min install to make it work. how.. a very simpel setup for a domain member. clean debian wheezy system is used. ( time is in sync !! ) IMPORTANT. 1) point your dns ( /etc/resolv.conf ) to the ad server. 2) make user hostname.domainname works. test it with : hostname -s ( single name ) hostname -d ( domainname ) hostname -f ( hostname.domainname ) 3) TIME MUST BE IN SYNC !! ( apt-get install ntp , edit /etc/ntp.conf put in server IPofADserver if this works.. apt-get install krb5-user sernet-samba-winbind sernet-samba check the /etc/krb5.conf file if you dont see your domain ( realm ) type : dpkg-reconfigure -plow krb5-user it should fill it, if not fix it yourselve. then go here and copy the smb.conf and put it in /etc/samba http://wiki.samba.org/index.php/Samba/Domain_Member !! change the workgroup and realm, and keep the CAPS ! edit /etc/default/sernet-samba put in classic start samba. almost there. check /etc/nsswitch.conf should have. passwd: compat winbind group: compat winbind wait 10-20 sec. test kinit administrator ( you should see administrator at YOURREALM ! ) test ok, Join the domain. net ads join -U administrator joined ? now wbinfo -u etc works Greetz, Louis
Damned ! I sent the mail two time. As lot of people ask me the link to my blog ... okay, just one .. Here it is : http://blogacyril.patoda.net/centos-6-controleur-de-domaine-samba4/ Cyril. Le 17/12/2013 13:43, Cyril Lalinne a ?crit :> Hello, > > I would like to share my progression with samba4. > I had a try with Samba3 with ldap ... Samba4 is so much easier !! > > I was able to install Samba 4 on CentOS6.4 by following the wiki on > wiki.samba.org. > > I kept a trace on my blog in French language of what I've done. It may > help somebody one day. > > Now, I have a win 7 workstation that has join the domain and a user, > with a roaming profile, that is working on it. > > I have also configured the folder redirection for the desktop and my > documents folder ... But ,looks like it's not working as expected. Users > folders and files are both on the local machines and on the server. I > though, files will not stay on the workstation. > So I'm not sure to understand what folder redirection is for. > > I would like now to configure linux client. But I'm not sure where to > start and didn't find clear (for me) explanation of how to do it. > > If I'm not wrong, I can use sssd with kerberos > (https://wiki.samba.org/index.php/Local_user_management_and_authentication/sssd) > > Is this step "Configuring sssd" have to be done on the server, and this > one ( Configuring PAM ) on the client ? > And do I have to add the workstation to the AD ? > > Sorry for theses trivials questions. > > Regards, > Cyril.