Skip to contentSkip to conversation

cifs SRV record

DISCUSSION steve 3 participants 11 messages Jun 18, 2014 – Jun 21, 2014 10 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

steve

author
#0 lore raw

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos where clients can look for the service themselves? We'd like to be able to offer shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having to specify a specific server?
Cheers,
Steve

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Why not just use DFS? I believe that this is what it was designed for.

-Bob

Quoted 18 lines

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos where clients can look for the service themselves? We'd like to be able to offer shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having to specify a specific server?
Cheers,
Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 0a840b51be30d5535ae0b7f59f83e5c1.squirrel-vQd1aa0lCeAC/Zx7Cl00UAC/[email protected]

#4 lore raw
Quoted 3 lines · Bob Balsover

Why not just use DFS? I believe that this is what it was designed for.

-Bob

Yes. DFS should be used for this. Fairly easy to setup on server (Samba or Windows or NetApp, although very different setup on Samba than Windows) and the client supports it (whether Linux or Windows).

Quoted 10 lines
Quoted 10 lines

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos where clients can look for the service themselves? We'd like to be able to offer shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having to specify a specific server?

Signature · 3 lines
Thanks,

Steve

A message that is not in the archive (sent off-list or not yet received): CAH2r5ms5sf=vuv4QmiX6Kn6PB147M84RKKWxaEALOc-gkjHW7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author
#6 lore raw
Quoted 9 lines · Steve French
Quoted 3 lines · Bob Balsover

Why not just use DFS? I believe that this is what it was designed for.

-Bob

Yes. DFS should be used for this. Fairly easy to setup on server (Samba or Windows or NetApp, although very different setup on Samba than Windows) and the client supports it (whether Linux or Windows).

Hi
Thanks. I know I can do that for windows clients but our Linux boxes (in the same domain) use autofs e.g.
* -fstype=cifs,sec=krb5,multiuser ://server/share/&
Will the automounter still work from a DFS share and will it still do the wild card like vanilla cifs?

What we'd like to do is add a second samba file server and sync the data between them. Is DFS the way to go for this?
Cheers,
Steve

Quoted 16 lines
Quoted 13 lines
Quoted 13 lines

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos where clients can look for the service themselves? We'd like to be able to offer shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having to specify a specific server?

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

Steve, DFS should still work. The server address is resolved by the kernel cifs code and the share will be resolved correctly.

-Bob

Quoted 47 lines · Steve French
Quoted 9 lines · Bob Balsover
Quoted 3 lines

Why not just use DFS? I believe that this is what it was designed for.

-Bob

Yes. DFS should be used for this. Fairly easy to setup on server (Samba or Windows or NetApp, although very different setup on Samba than Windows) and the client supports it (whether Linux or Windows).

Hi
Thanks. I know I can do that for windows clients but our Linux boxes (in the same domain) use autofs e.g.
* -fstype=cifs,sec=krb5,multiuser ://server/share/&
Will the automounter still work from a DFS share and will it still do the wild card like vanilla cifs?

What we'd like to do is add a second samba file server and sync the data between them. Is DFS the way to go for this?
Cheers,
Steve

Quoted 17 lines
Quoted 5 lines
Quoted 5 lines

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos where

clients

Quoted 8 lines
Quoted 8 lines

can look for the service themselves? We'd like to be able to offer shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having to specify a specific server?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): ade7375f4969bf94f8cd295fd8582175.squirrel-Q0ErXNX1Ruajwy7PQIYkYA@public.gmane.org

author
#10 lore raw
Quoted 5 lines · Bob Balsover

Steve, DFS should still work. The server address is resolved by the kernel cifs code and the share will be resolved correctly.

-Bob

Hi
But we don't want to have to specify the server. We want the share to be either of the servers in the domain containing our synced data. Hence (I think) your suggestion of DFS.

I know that on windows you can specify \\domain\share
and dfs will find any server in the domain that has the share.

1. Can samba/cifs servers be configured to do that?
2. Can Linux clients mount such configurations?
3. Is there a howto?

Thanks,
Steve

Quoted 48 lines
Quoted 47 lines · Steve French
Quoted 9 lines · Bob Balsover
Quoted 3 lines

Why not just use DFS? I believe that this is what it was designed for.

-Bob

Yes. DFS should be used for this. Fairly easy to setup on server (Samba or Windows or NetApp, although very different setup on Samba than Windows) and the client supports it (whether Linux or Windows).

Hi
Thanks. I know I can do that for windows clients but our Linux boxes (in the same domain) use autofs e.g.
* -fstype=cifs,sec=krb5,multiuser ://server/share/&
Will the automounter still work from a DFS share and will it still do the wild card like vanilla cifs?

What we'd like to do is add a second samba file server and sync the data between them. Is DFS the way to go for this?
Cheers,
Steve

Quoted 17 lines
Quoted 5 lines
Quoted 5 lines

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos where

clients

Quoted 8 lines
Quoted 8 lines

can look for the service themselves? We'd like to be able to offer shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having to specify a specific server?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#12 lore raw

Why don't you try it and tell us if you have a problem.

Quoted 83 lines · Bob Balsover
Quoted 5 lines

Steve, DFS should still work. The server address is resolved by the kernel cifs code and the share will be resolved correctly.

-Bob

Hi
But we don't want to have to specify the server. We want the share to be either of the servers in the domain containing our synced data. Hence (I think) your suggestion of DFS.

I know that on windows you can specify \\domain\share
and dfs will find any server in the domain that has the share.

1. Can samba/cifs servers be configured to do that?
2. Can Linux clients mount such configurations?
3. Is there a howto?

Thanks,
Steve

Quoted 46 lines
Quoted 2 lines · Steve French
Quoted 1 line

On Wed, Jun 18, 2014 at 5:01 PM, Bob Balsover <cifs-MPfZBXey4klWk0Htik3J/[email protected]>

Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line

Why not just use DFS? I believe that this is what it was designed

for.

Quoted 10 lines
Quoted 7 lines
Quoted 2 lines

-Bob

Yes. DFS should be used for this. Fairly easy to setup on server (Samba or Windows or NetApp, although very different setup on Samba than Windows) and the client supports it (whether Linux or Windows).

Hi
Thanks. I know I can do that for windows clients but our Linux boxes

(in

Quoted 6 lines

the same domain) use autofs e.g.
* -fstype=cifs,sec=krb5,multiuser ://server/share/&
Will the automounter still work from a DFS share and will it still do the wild card like vanilla cifs?

What we'd like to do is add a second samba file server and sync the

data

Quoted 23 lines

between them. Is DFS the way to go for this?
Cheers,
Steve

Quoted 17 lines
Quoted 5 lines
Quoted 5 lines

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos where

clients

Quoted 8 lines
Quoted 8 lines

can look for the service themselves? We'd like to be able to offer shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having to specify a specific server?

Quoted 7 lines
Quoted 2 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"

in

Quoted 3 lines

the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1f2c7d0562b364b3e0cb64cfff542572.squirrel-Q0ErXNX1Ruajwy7PQIYkYA@public.gmane.org

author
#14 lore raw
Quoted 1 line · Bob Balsover

Why don't you try it and tell us if you have a problem.

Whilst we can find this:
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html
There seems to be nothing on domain dfs.
Could you give us a pointer?
If it's not possible, no problem. Just that we'd rather use samba servers.
Thanks.

Quoted 85 lines
Quoted 84 lines · Bob Balsover
Quoted 5 lines

Steve, DFS should still work. The server address is resolved by the kernel cifs code and the share will be resolved correctly.

-Bob

Hi
But we don't want to have to specify the server. We want the share to be either of the servers in the domain containing our synced data. Hence (I think) your suggestion of DFS.

I know that on windows you can specify \\domain\share
and dfs will find any server in the domain that has the share.

1. Can samba/cifs servers be configured to do that?
2. Can Linux clients mount such configurations?
3. Is there a howto?

Thanks,
Steve

Quoted 46 lines
Quoted 2 lines · Steve French
Quoted 1 line

On Wed, Jun 18, 2014 at 5:01 PM, Bob Balsover <cifs-MPfZBXey4klWk0Htik3J/[email protected]>

Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line

Why not just use DFS? I believe that this is what it was designed

for.

Quoted 10 lines
Quoted 7 lines
Quoted 2 lines

-Bob

Yes. DFS should be used for this. Fairly easy to setup on server (Samba or Windows or NetApp, although very different setup on Samba than Windows) and the client supports it (whether Linux or Windows).

Hi
Thanks. I know I can do that for windows clients but our Linux boxes

(in

Quoted 6 lines

the same domain) use autofs e.g.
* -fstype=cifs,sec=krb5,multiuser ://server/share/&
Will the automounter still work from a DFS share and will it still do the wild card like vanilla cifs?

What we'd like to do is add a second samba file server and sync the

data

Quoted 23 lines

between them. Is DFS the way to go for this?
Cheers,
Steve

Quoted 17 lines
Quoted 5 lines
Quoted 5 lines

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos where

clients

Quoted 8 lines
Quoted 8 lines

can look for the service themselves? We'd like to be able to offer shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having to specify a specific server?

Quoted 7 lines
Quoted 2 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"

in

Quoted 3 lines

the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#16 lore raw

Steve, you appear to be beating a dead horse. Assuming you are using a somewhat current kernel just place the DFS share in your client's configuration file and try it. I am currently working with this kernel code and it works fine.

Quoted 115 lines · Bob Balsover
Quoted 1 line

Why don't you try it and tell us if you have a problem.

Whilst we can find this:
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html
There seems to be nothing on domain dfs.
Could you give us a pointer?
If it's not possible, no problem. Just that we'd rather use samba servers.
Thanks.

Quoted 90 lines
Quoted 9 lines · Bob Balsover
Quoted 5 lines

Steve, DFS should still work. The server address is resolved by the kernel cifs code and the share will be resolved correctly.

-Bob

Hi
But we don't want to have to specify the server. We want the share to

be

Quoted 1 line

either of the servers in the domain containing our synced data. Hence

(I

Quoted 6 lines

think) your suggestion of DFS.

I know that on windows you can specify \\domain\share
and dfs will find any server in the domain that has the share.

Quoted 12 lines

1. Can samba/cifs servers be configured to do that?
2. Can Linux clients mount such configurations?
3. Is there a howto?

Thanks,
Steve

Quoted 4 lines
Quoted 2 lines · Steve French
Quoted 1 line

On Wed, Jun 18, 2014 at 5:01 PM, Bob Balsover <cifs-MPfZBXey4klWk0Htik3J/[email protected]>

Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line

Why not just use DFS? I believe that this is what it was

designed

Quoted 7 lines
Quoted 7 lines

for.

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

-Bob

Yes. DFS should be used for this. Fairly easy to setup on server (Samba or Windows or NetApp, although very different setup on

Samba

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

than Windows) and the client supports it (whether Linux or

Windows).

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Hi
Thanks. I know I can do that for windows clients but our Linux

boxes

Quoted 4 lines
Quoted 4 lines

(in

Quoted 3 lines

the same domain) use autofs e.g.
* -fstype=cifs,sec=krb5,multiuser ://server/share/& Will the automounter still work from a DFS share and will it still

do

Quoted 11 lines
Quoted 11 lines
Quoted 3 lines

the wild card like vanilla cifs?

What we'd like to do is add a second samba file server and sync the

data

Quoted 7 lines

between them. Is DFS the way to go for this?
Cheers,
Steve

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Hi
Is it possible to have cifs SRV rrs like ldap and kerberos

where

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

clients

Quoted 1 line
Quoted 1 line

can look for the service themselves? We'd like to be able to

offer

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

shares on more than one server without the cluster stuff.

ATM we have e.g.
mount -t cifs //server/share -owhatever

Our question is, would having cifs SRV be a way around having

to

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line

specify a specific server?

--
To unsubscribe from this list: send the line "unsubscribe

linux-cifs"

Quoted 7 lines
Quoted 5 lines

in

Quoted 3 lines

the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 7 lines
Quoted 2 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"

in

Quoted 3 lines

the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 95bba2d5bdc8bace63767403f26e4c79.squirrel-vQd1aa0lCeAC/Zx7Cl00UAC/[email protected]

author
#18 lore raw
Quoted 4 lines · Bob Balsover

Steve, you appear to be beating a dead horse. Assuming you are using a somewhat current kernel just place the DFS share in your client's configuration file and try it. I am currently working with this kernel code and it works fine.

OK, here's our first attempt:

[global]
workgroup = HH3
realm = HH3.SITE
security = ADS
kerberos method = system keytab
host msdfs = yes

[users]
path = /home/users
read only = No

[dfs]
path = /home/samba/dfs
msdfs root = yes
- - -

alfaz:/home/samba/dfs # ls -l
total 0
lrwxrwxrwx 1 root root 17 Jun 20 13:57 users -> msdfs:alfaz\users
- - -

klist -k
Keytab name: FILE:/etc/krb5.keytab
KVNO Principal
----
--------------------------------------------------------------------------
1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 [email protected]
1 [email protected]
1 [email protected]
1 [email protected]
1 [email protected]
1 cifsuser-UiqEU/[email protected]

This works fine:
mount -t cifs //alfaz/dfs/users /mnt
-osec=krb5,username=cifsuser,multiuser

cifsuser gets a ticket:
klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: cifsuser-UiqEU/[email protected]

Valid starting       Expires              Service principal
06/20/2014 13:20:31  06/20/2014 23:20:31  krbtgt/HH3.SITE-UiqEU/[email protected]
	renew until 06/21/2014 13:20:31
06/20/2014 13:35:32  06/20/2014 23:20:31  cifs/alfaz@
	renew until 06/21/2014 13:20:31
06/20/2014 13:35:32  06/20/2014 23:20:31  cifs/alfaz-UiqEU/[email protected]
	renew until 06/21/2014 13:20:31

And the share is mounted:
ls /mnt
Administrator br2 cifsuser julie julie2 lynn2 steve2 steve3 However, there's no advantage in using dfs for that becaause we've had to specify the server.

But that's not what we want. So, after some googling, we include the domain:
mount -t cifs //hh3.site/dfs/users /mnt -osec=krb5,username=cifsuser,multiuser
mount error(126): Required key not available
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) It doesn't mount.

And the KDC responds:
Kerberos: TGS-REQ cifsuser-UiqEU/[email protected] from ipv4:192.168.1.102:51585 for cifs/hh3.site-UiqEU/[email protected] [canonicalize, renewable]
Kerberos: Searching referral for hh3.site
Kerberos: Returning a referral to realm SITE for server cifs/hh3.site-UiqEU/[email protected] that was not found
Failed find a single entry for (&(objectClass=trustedDomain)(|(flatname=SITE)(trustPartner=SITE))): got
0
Kerberos: samba_kdc_fetch: could not find principal in DB
Kerberos: Server not found in database: krbtgt/SITE-UiqEU/[email protected]: no such entry found in hdb
Kerberos: Failed building TGS-REP to ipv4:192.168.1.102:51585
Terminating connection - 'kdc_tcp_call_loop:
tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED'
single_terminate: reason[kdc_tcp_call_loop: tstream_read_pdu_blob_recv()
- NT_STATUS_CONNECTION_DISCONNECTED]
Kerberos: TGS-REQ cifsuser-UiqEU/[email protected] from ipv4:192.168.1.102:51586 for krbtgt/SITE-UiqEU/[email protected] [renewable]
Failed find a single entry for (&(objectClass=trustedDomain)(|(flatname=SITE)(trustPartner=SITE))): got
0
Kerberos: samba_kdc_fetch: could not find principal in DB
Kerberos: Server not found in database: krbtgt/SITE-UiqEU/[email protected]: no such entry found in hdb
Kerberos: Failed building TGS-REP to ipv4:192.168.1.102:51586

How do we tell cifs to look in the domain for a dfs share server?

Samba4 DC running samba with Samba4 file server running smbd all on openSUSE 13.1

Thanks for your patience.
Steve

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#20 lore raw
Quoted 110 lines · steve
Quoted 4 lines · Bob Balsover

Steve, you appear to be beating a dead horse. Assuming you are using a somewhat current kernel just place the DFS share in your client's configuration file and try it. I am currently working with this kernel code and it works fine.

OK, here's our first attempt:

[global]
workgroup = HH3
realm = HH3.SITE
security = ADS
kerberos method = system keytab
host msdfs = yes

[users]
path = /home/users
read only = No

[dfs]
path = /home/samba/dfs
msdfs root = yes
- - -

alfaz:/home/samba/dfs # ls -l
total 0
lrwxrwxrwx 1 root root 17 Jun 20 13:57 users -> msdfs:alfaz\users
- - -

klist -k
Keytab name: FILE:/etc/krb5.keytab
KVNO Principal
----
--------------------------------------------------------------------------
1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz.hh3.site-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 host/alfaz-UiqEU/[email protected] 1 [email protected]
1 [email protected]
1 [email protected]
1 [email protected]
1 [email protected]
1 cifsuser-UiqEU/[email protected]

This works fine:
mount -t cifs //alfaz/dfs/users /mnt
-osec=krb5,username=cifsuser,multiuser

cifsuser gets a ticket:
klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: cifsuser-UiqEU/[email protected]

Valid starting       Expires              Service principal
06/20/2014 13:20:31  06/20/2014 23:20:31  krbtgt/HH3.SITE-UiqEU/[email protected]
	renew until 06/21/2014 13:20:31
06/20/2014 13:35:32  06/20/2014 23:20:31  cifs/alfaz@
	renew until 06/21/2014 13:20:31
06/20/2014 13:35:32  06/20/2014 23:20:31  cifs/alfaz-UiqEU/[email protected]
	renew until 06/21/2014 13:20:31

And the share is mounted:
ls /mnt
Administrator br2 cifsuser julie julie2 lynn2 steve2 steve3 However, there's no advantage in using dfs for that becaause we've had to specify the server.

But that's not what we want. So, after some googling, we include the domain:
mount -t cifs //hh3.site/dfs/users /mnt -osec=krb5,username=cifsuser,multiuser
mount error(126): Required key not available
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) It doesn't mount.

And the KDC responds:
Kerberos: TGS-REQ cifsuser-UiqEU/[email protected] from ipv4:192.168.1.102:51585 for cifs/hh3.site-UiqEU/[email protected] [canonicalize, renewable]
Kerberos: Searching referral for hh3.site
Kerberos: Returning a referral to realm SITE for server cifs/hh3.site-UiqEU/[email protected] that was not found
Failed find a single entry for (&(objectClass=trustedDomain)(|(flatname=SITE)(trustPartner=SITE))): got
0
Kerberos: samba_kdc_fetch: could not find principal in DB
Kerberos: Server not found in database: krbtgt/SITE-UiqEU/[email protected]: no such entry found in hdb
Kerberos: Failed building TGS-REP to ipv4:192.168.1.102:51585
Terminating connection - 'kdc_tcp_call_loop:
tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED'
single_terminate: reason[kdc_tcp_call_loop: tstream_read_pdu_blob_recv()
- NT_STATUS_CONNECTION_DISCONNECTED]
Kerberos: TGS-REQ cifsuser-UiqEU/[email protected] from ipv4:192.168.1.102:51586 for krbtgt/SITE-UiqEU/[email protected] [renewable]
Failed find a single entry for (&(objectClass=trustedDomain)(|(flatname=SITE)(trustPartner=SITE))): got
0
Kerberos: samba_kdc_fetch: could not find principal in DB
Kerberos: Server not found in database: krbtgt/SITE-UiqEU/[email protected]: no such entry found in hdb
Kerberos: Failed building TGS-REP to ipv4:192.168.1.102:51586

Quoted 7 lines

How do we tell cifs to look in the domain for a dfs share server?

Samba4 DC running samba with Samba4 file server running smbd all on openSUSE 13.1

Thanks for your patience.
Steve

Our second try with the Microsoft ad dfs tools:
https://lists.samba.org/archive/samba/2014-June/182387.html

Third attempt:
We add a second file server to the domain called villena:

lrwxrwxrwx 1 root root 17 Jun 20 13:57 users -> msdfs:villena \users,msdfs:alfaz\users

We can mount shares fine from villena but if villena is not available
and we call alfaz for the share (exactly as before):

mount -t
cifs //alfaz/dfs/users /mnt-osec=krb5,username=cifsuser,multiuser

it fails to mount:
Unable to find address.
It seems that if the first file server is unavailable, the second one is not consulted.

Any comments or guidance on what should work and what we can and cannot expect to work with samba/dfs/cifs would be most welcome.

Thanks for your patience,
Steve