Francesco Pennelli
2014-Jul-21 10:45 UTC
[Samba] Samba 4.1.6 Active Directory Server not properly showing Xubuntu 14.04
Hello to the list! I was trying to follow all the FAQ and guide about it but I still didn't obtain the result. I'm using the samba4 obtained with apt-get and Samba_internal as dns solution. I attached the importants file of my last attempt but the result is always the same. Samba 4 is working properly because the shared folder is visible from the other Windows 7 PCs of the network and also writable. I can access also to the Users folder. I also tried like an older guide said to add the profiles section into smb.conf. Whenever I try to make a samba_dnsupdate --verbose I obtain a failed to find for each line that is is supposed to update. Between the try it happen once that it was properly updating it... but it wasn't visible by the pack on windows that is used to handle a remote Active Directory Server. It happen once that I was able to see it as an Active Directory server... and even check the detail of the users I created but it didn't work after the reboot. So: network 192.168.1.x active directory server on 192.168.1.98 realm internal.playtravel.it hostname samdom.internal.playtravel.it Please help me 'cause I really have no idea what to try next... I even made the active directory server as a wins server and set it up into the clients... no result of course on the client the first DNS Server is 192.168.1.98 Looking forward to the replies Thanks a lot Francesco Pennelli pennelli.francesco at solaristravel.it -------------- next part -------------- samdom.internal.playtravel.it -------------- next part -------------- 127.0.0.1 localhost 192.168.1.98 samdom.internal.playtravel.it samdom # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters -------------- next part -------------- [libdefaults] default_realm = INTERNAL.PLAYTRAVEL.IT dns_lookup_realm = false dns_lookup_kdc = true -------------- next part -------------- # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 192.168.1.98 nameserver 8.8.8.8 search internal.playtravel.it domain internal.playtravel.it -------------- next part -------------- # Global parameters [global] workgroup = playtravel netbios name = SAMDOM wins support = yes local master = yes preferred master = yes os level = 65 server role = active directory domain controller interfaces = 192.168.1.0/24 eth1 bind interfaces only = no dns forwarder = 8.8.8.8 allow dns updates = nonsecure and secure idmap_ldb:use rfc2307 = yes server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate server string = samba 4.1.6-ubuntu username map = /etc/samba/smbusers security = user domain logons = yes logon path = \\%L\profiles\%u\%m time server=yes encrypt passwords = yes guest ok = yes guest account = nobody [netlogon] path = /var/lib/samba/sysvol/internal.playtravel.it/scripts read only = No [sysvol] path = /var/lib/samba/sysvol read only = No [Condivisi] path = /Condivisi writeable = yes browseable = yes guest ok = yes [Users] directory_mode: parameter = 0700 read only = no path = /Users csc policy = documents ; browseable = yes valid users = Administrator, SAMDOM$, giusy, krbtgt, monya, nobody [profiles] path = /home/samba-ntprof writeable = yes create mask = 0600 directory mask = 0700 browseable = no