View previous topic :: View next topic |
Author |
Message |
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Mon Nov 18, 2002 3:00 am Post subject: Samba troubles |
|
|
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 |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Mon Nov 18, 2002 10:07 am Post subject: |
|
|
try:
mount -t smbfs -o username=<username>,workgroup=<domainname>
//device/share /mnt/<mnt point> |
|
Back to top |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Mon Nov 18, 2002 4:47 pm Post subject: |
|
|
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 |
|
|
humpback Retired Dev
Joined: 19 Oct 2002 Posts: 394 Location: Coimbra - Portugal
|
Posted: Mon Nov 18, 2002 5:17 pm Post subject: |
|
|
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 |
|
|
psharp Tux's lil' helper
Joined: 16 Sep 2002 Posts: 76 Location: London, UK
|
Posted: Mon Nov 18, 2002 5:36 pm Post subject: |
|
|
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 |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Tue Nov 19, 2002 12:22 am Post subject: |
|
|
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 |
|
|
securiteaze Tux's lil' helper
Joined: 24 Oct 2002 Posts: 77 Location: Tulsa,Oklahoma
|
Posted: Tue Nov 19, 2002 8:09 am Post subject: |
|
|
It appears to me that what you need is to configure your samba for kerberos authentication. _________________ Blah.. |
|
Back to top |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Tue Nov 19, 2002 7:18 pm Post subject: |
|
|
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 |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Thu Nov 21, 2002 12:28 am Post subject: |
|
|
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 |
|
|
|