benjamin.revel@free.fr
2006-Dec-11 10:41 UTC
[Samba] Can't mount share DFS fron AD on a Linux Box.
Hello, I've got an Ubuntu Workstation integrated in an Active Directory domain. I'm really authenticated to the domain (with Kerberos clients, Winbind and Samba) and I can list the users of the domain with the wbinfo command. There's a DFS root share that is defined on each DC of the AD domain. When I try to mount that share with the mount.smbfs command : # mount -t smbfs //IP_ADDRESS/dc /opt -o username=login, password=pass I see all the directories but they are empty so I think I'm on the DFS root. When I try to mount it with the mount.cifs command : # mount -t cifs //IP_ADDRESS/dc /opt -o username=login, password=pass I've got an error "mount error 20 = Not a directory" . I can navigate through this share with the smbclient command : # smbclient //IP_ADDRESS/dc -o username=user What's wrong ? Another question: When opening a session with a domain user login, I do not see Kerberos tickets with the klist command ("No tickects cached"). Is it correct ? regards,
Gerald (Jerry) Carter
2006-Dec-14 14:56 UTC
[Samba] Can't mount share DFS fron AD on a Linux Box.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 benjamin.revel@free.fr wrote:> When I try to mount that share with the mount.smbfs command : > # mount -t smbfs //IP_ADDRESS/dc /opt -o username=login, password=pass > I see all the directories but they are empty so I think I'm on the DFS root. > > > When I try to mount it with the mount.cifs command : > # mount -t cifs //IP_ADDRESS/dc /opt -o username=login, password=pass > I've got an error "mount error 20 = Not a directory" . > > > I can navigate through this share with the smbclient command : > # smbclient //IP_ADDRESS/dc -o username=user > > What's wrong ?Neither smbfs nor cifs support DFS currently.> Another question: > When opening a session with a domain user login, I do not see Kerberos tickets > with the klist command ("No tickects cached"). > Is it correct ?yes. But read the release notes for 3.0.23 about the new krb5 support for user logins via pam_winbind. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFgWYEIR7qMdg1EfYRAi6IAJwMJ6WEZ/qP80T1T31WyCTJXI6ODQCg3J5X 6k00reKb30W9U91WyX8DReg=D/i6 -----END PGP SIGNATURE-----