R: [Samba] Accessing files on a domain-controled network

Gianluca Culot gianlucaculot at dmsware.com
Wed May 2 14:14:32 GMT 2007


> -----Messaggio originale-----
> Da: samba-bounces+gianlucaculot=dmsware.com at lists.samba.org
> [mailto:samba-bounces+gianlucaculot=dmsware.com at lists.samba.org]Per
> conto di Steven Woody
> Inviato: mercoledì 2 maggio 2007 15.36
> A: gary at extremeground.com
> Cc: samba at lists.samba.org
> Oggetto: Re: [Samba] Accessing files on a domain-controled network
>
>
> On 4/27/07, Gary Dale <garydale at torfree.net> wrote:
> > Steven Woody wrote:
> > > On 4/27/07, Gary Dale <garydale at torfree.net> wrote:
> > >> Steven Woody wrote:
> > >> > hi,
> > >> >
> > >> > i am new to samba and it seemed that samba documents
> mainly focus on
> > >> > how to setup a linux box as a samba server.  but i am now
> sitting in a
> > >> > linux box and looking for a easy way to access a shared
> file folder on
> > >> > a domain-controled network.  sorry for my no patience to read every
> > >> > part of the document since i have to let this job done in today.
> > >> >
> > >> > the shared folder is something like:  \\serverA\share, and
> if i need
> > >> > to access it from XP i need to login to our domain ( D ),  using my
> > >> > user name( U ), and password ( P ).  my task is to, do the same
> > >> > accessing from my linux box using same information above.
> what do i
> > >> > do?
> > >> >
> > >> > thanks in advance.
> > >> >
> > >> Here's what I use to access a share. I don't have it mounted
> > >> automatically. Instead I type in mount /home/mnt/aux and I
> get prompted
> > >> for the password. You can remove the noauto and include a password in
> > >> the /etc/fstab file line for the share but that isn't exactly secure.
> > >>
> > >> Note that the filesystem type is cifs. This is similar to
> smbfs but cifs
> > >> is maintained.  :)
> > >>
> > >> //hyperzip/aux$                 /home/mnt/aux   cifs
> > >> noauto,user,rw,user=garydale   0   0
> > >>
> > >> You can also look at authenticating against a domain controller for a
> > >> single sign-on. Check the samba.org howtos and by example
> documents for
> > >> details on how to do this. It's not supposed to be too
> tricky. I've just
> > >> never gotten to it.  :)
> > >> --
> > >> To unsubscribe from this list go to the following URL and read the
> > >> instructions:  https://lists.samba.org/mailman/listinfo/samba
> > >>
> > >
> > > so, i use the similar setting as yours,
> > >
> > > put a line in fstab,
> > >
> > > //foohost/backup  /mnt/aux  cifs noauto,user,rw,user=me  0  0
> > >
> > >
> > > then i do 'mount /mnt/aux', but got following error,
> > >
> > > mount error: could not find target server. TCP name foohost/backup not
> > > found
> > > No ip address specified and hostname not found
> > >
> > > and, smbcliet -L //foohost will report 'Connection to foohost failed.
> > >
> > > what's the clue?
> > >
> > >
> > Look at the error message it's returning. It's telling you it can't find
> > foohost. You can try putting in the IP address instead of the host name.
> > If that works, it's a name resolution issue.
> >
>
> yes, thank you. i've ensured that it is a name resolution problem.
> but i've already set the wins server.  what's else do i need to do?
> thanks.
>
> --
> woody
>
> then sun rose thinly from the sea and the old man could see the other
> boats, low on the water and well in toward the shore, spread out
> across the current.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>

a DNS server would be MUCH better
as if you use a wins server you must enable also a winbind client (winbind
is a microsoft technology)

DNS client is builtin in Unix, so you do not have to install/activate
anything
just fill in /etc/named.conf




More information about the samba mailing list