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

2007-05-02 Thread Steven Woody

On 4/27/07, Gary Dale [EMAIL PROTECTED] wrote:

Steven Woody wrote:
 On 4/27/07, Gary Dale [EMAIL PROTECTED] 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


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

2007-05-02 Thread Gianluca Culot

 -Messaggio originale-
 Da: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 conto di Steven Woody
 Inviato: mercoledì 2 maggio 2007 15.36
 A: [EMAIL PROTECTED]
 Cc: samba@lists.samba.org
 Oggetto: Re: [Samba] Accessing files on a domain-controled network


 On 4/27/07, Gary Dale [EMAIL PROTECTED] wrote:
  Steven Woody wrote:
   On 4/27/07, Gary Dale [EMAIL PROTECTED] 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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2007-04-27 Thread Gary Dale

Steven Woody wrote:

On 4/27/07, Gary Dale [EMAIL PROTECTED] 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.




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Accessing files on a domain-controled network

2007-04-26 Thread Steven Woody

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.

--
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


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

2007-04-26 Thread Gary Dale

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


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

2007-04-26 Thread Steven Woody

On 4/27/07, Gary Dale [EMAIL PROTECTED] 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?



--
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