Les Krawczyk
2014-Jan-15  04:23 UTC
[Samba] Samba 4.0.9 running on centos 6.5 (64bit) share access issues
Hi, 
We are running Samba 4.0.9 running on centos 6.5 (64bit) with SecureLinux
disabled.
Having some share access issues, what are we missing to solve this puzzle?
We are attempting to get the MSDFS share working. Until we can fix this we
cannot continue.
This is the Domain provision and dns, and reverse zone setup.
Dhcp server set point all clients at samba as primary dns server.
Nslookup 
nlsookup 192.168.100.10
Server:         192.168.100.10
Address:        192.168.100.10#53
10.100.168.192.in-addr.arpa     name = roger.test_ad.testdom.org.
nslookup test_ad.testdom.org
Server:         192.168.100.10
Address:        192.168.100.10#53
Name:   test_ad.testdom.org
Address: 192.168.100.10
nslookup roger
Server:         192.168.100.10
Address:        192.168.100.10#53
Name:   roger.test_ad.testdom.org
Address: 192.168.100.10
Normal share
mkdir -p /usr/local/samba/var/<share>
chown root:root /usr/local/samba/var/<share>
chmod 755 /usr/local/samba/var/<share>
Using \\roger\<share> all sysvol, netlogon, profiles, udata, dfs are
accessible
Using \\roger.test_ad.testdom.org\<share> all sysvol, netlogon, profiles,
udata, dfs are accessible
Using \\192.168.100.10\<share> all sysvol, netlogon, profiles, udata, dfs
are accessible
Using \\test_ad.testdom.org\<share> sysvol, netlogon are accessible but
folders profiles, udata, dfs aren't  with error (Element not found.)
Smb.conf
[global]
        workgroup = test_ad
        realm = test_ad.testdom.org
        netbios name = roger
        server role = active directory domain controller
        idmap_ldb:use rfc2307 = yes
[netlogon]
        path = /usr/local/samba/var/locks/sysvol/test_ad.testdom.org/scripts
        read only = No
[sysvol]
        path = /usr/local/samba/var/locks/sysvol
        read only = No
[profiles]
        comment = Network Profiles Share
        path = /usr/local/samba/var/profiles
        read only = No
[udata]
        comment = User Data Share
        path = /usr/local/samba/var/udata
        read only = No
[dfs]
        comment = test dfs Share
        path = /usr/local/samba/var/dfs
        read only = No
Cheers
Les
Daniel Müller
2014-Jan-15  07:11 UTC
[Samba] Samba 4.0.9 running on centos 6.5 (64bit) share access issues
DFS is not working!!!!!!!!!!!!!!
The same problem!!! Dfs is only working for administrator. For no one else :
here with samba 4.1. I was told to patch my samba, but I did not yet because
it is running in production.
The only workaround is to set up a samba3 with dfs pointing to the samba 4
shares. This would do the job.
Daniel
-----------------------------------------------
EDV Daniel M?ller
Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 T?bingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Urspr?ngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
Im
Auftrag von Les Krawczyk
Gesendet: Mittwoch, 15. Januar 2014 05:23
An: 'samba at lists.samba.org'
Betreff: [Samba] Samba 4.0.9 running on centos 6.5 (64bit) share access
issues
Hi, 
We are running Samba 4.0.9 running on centos 6.5 (64bit) with SecureLinux
disabled.
Having some share access issues, what are we missing to solve this puzzle?
We are attempting to get the MSDFS share working. Until we can fix this we
cannot continue.
This is the Domain provision and dns, and reverse zone setup.
Dhcp server set point all clients at samba as primary dns server.
Nslookup 
nlsookup 192.168.100.10
Server:         192.168.100.10
Address:        192.168.100.10#53
10.100.168.192.in-addr.arpa     name = roger.test_ad.testdom.org.
nslookup test_ad.testdom.org
Server:         192.168.100.10
Address:        192.168.100.10#53
Name:   test_ad.testdom.org
Address: 192.168.100.10
nslookup roger
Server:         192.168.100.10
Address:        192.168.100.10#53
Name:   roger.test_ad.testdom.org
Address: 192.168.100.10
Normal share
mkdir -p /usr/local/samba/var/<share>
chown root:root /usr/local/samba/var/<share> chmod 755
/usr/local/samba/var/<share>
Using \\roger\<share> all sysvol, netlogon, profiles, udata, dfs are
accessible Using \\roger.test_ad.testdom.org\<share> all sysvol, netlogon,
profiles, udata, dfs are accessible Using \\192.168.100.10\<share> all
sysvol, netlogon, profiles, udata, dfs are accessible
Using \\test_ad.testdom.org\<share> sysvol, netlogon are accessible but
folders profiles, udata, dfs aren't  with error (Element not found.)
Smb.conf
[global]
        workgroup = test_ad
        realm = test_ad.testdom.org
        netbios name = roger
        server role = active directory domain controller
        idmap_ldb:use rfc2307 = yes
[netlogon]
        path = /usr/local/samba/var/locks/sysvol/test_ad.testdom.org/scripts
        read only = No
[sysvol]
        path = /usr/local/samba/var/locks/sysvol
        read only = No
[profiles]
        comment = Network Profiles Share
        path = /usr/local/samba/var/profiles
        read only = No
[udata]
        comment = User Data Share
        path = /usr/local/samba/var/udata
        read only = No
[dfs]
        comment = test dfs Share
        path = /usr/local/samba/var/dfs
        read only = No
Cheers
Les
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba