Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Mon Nov 18, 2002 3:00 am    Post subject: Samba troubles Reply with quote

My school uses Samba on unix servers to share files to Windows users, but I'm not quite sure how to get Samba on my Gentoo box to connect to their servers. When I scan using Gnomba it finds a couple of servers but they appear to just be other users in my reshall.

There is a set-up guide for Windows, but I'm not experienced enough with networking to be able to figure out how to make the same steps on Linux.

It says I have to enable DNS, and specify the host, domain, dns server search order, and the domain suffix search order.

Do I have to run a special program to do this? If so what would that program be. Or what config changes do I have to make.

Secondly,the server requires Samba with Kerberos authentication. Does Samba use Kerberos automatically, or can I set this somehow?
_________________
Excellent..
Back to top
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Mon Nov 18, 2002 10:07 am    Post subject: Reply with quote

try:

mount -t smbfs -o username=<username>,workgroup=<domainname>
//device/share /mnt/<mnt point>
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Mon Nov 18, 2002 4:47 pm    Post subject: Reply with quote

Code:

mount -t smbfs -o username=jthorndy,workgroup=itd.umich.edu //ifsviasamba/jthorndy /mnt/ifs
30568: Connection to ifsviasamba failed
SMB connection failed

_________________
Excellent..
Back to top
View user's profile Send private message
humpback
Retired Dev
Retired Dev


Joined: 19 Oct 2002
Posts: 394
Location: Coimbra - Portugal

PostPosted: Mon Nov 18, 2002 5:17 pm    Post subject: Reply with quote

smbclient -L ifsviasamba this will list shares on the server. If it gives a conection error maybe the problem is a wrong server name.
_________________
Gustavo Felisberto
Humpback @ #gentoo-pt
------------
It's most certainly GNU/Linux, not Linux. Read more at
http://www.gnu.org/gnu/why-gnu-linux.html .
-------------
Back to top
View user's profile Send private message
psharp
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2002
Posts: 76
Location: London, UK

PostPosted: Mon Nov 18, 2002 5:36 pm    Post subject: Reply with quote

I have to use

Code:
username=DOMAIN\\USER,


you can try it.... (Only one \ required by the server, but you need to escape it I think.
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Tue Nov 19, 2002 12:22 am    Post subject: Reply with quote

Well, I tried smbclient -L ifsviasamba and it gave me a connection error. I double checked the server name with the university's intstructions, but it's right. the documentation is rather old though, so it could be that I'm just out of luck since I don't know what the new name is or something like that. If anyone has knows a lot about Samba and thinks they can figure it out based on the documentaiton page it is here.[/url]
_________________
Excellent..
Back to top
View user's profile Send private message
securiteaze
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 77
Location: Tulsa,Oklahoma

PostPosted: Tue Nov 19, 2002 8:09 am    Post subject: Reply with quote

It appears to me that what you need is to configure your samba for kerberos authentication.
_________________
Blah..
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Tue Nov 19, 2002 7:18 pm    Post subject: Reply with quote

I've been trying to install Samba with kerberos five by changing the config line in the ebuild but it just does not want to do it. I have krb5 emerged but even when I had the line --with-krb5=/usr or --with-krb5=/usr/bin or --with-krb5=/usr/lib or --with-krb5=/ (those are the only directories kerberos put files in) it still comes up no in ./configure when it says checking for whether or not to use Kerberos 5.

Anyone know how I can get Samba to configure correctly to use kerberos?
_________________
Excellent..
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Thu Nov 21, 2002 12:28 am    Post subject: Reply with quote

Ok, well.. still working on this. I got samba to install with krb5 support (according to the configure step) and I can successfully get a kerberos ticket from my realm using kinit, but when I try to mount a drive using mount or connect using smbclient it does not use my kerberos ticket and if I try to enter my password without a ticket it says

Code:

14565: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
SMB connection failed


Does anyone know how to get samba to use kerberos tickets?
_________________
Excellent..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum