Unix Technical Forum

Accessing files on a domain-controled network

This is a discussion on Accessing files on a domain-controled network within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> hi, i am on slack 12.0 and i am new to samba and it seemed that samba documents mainly ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:49 PM
Steven Woody
 
Posts: n/a
Default Accessing files on a domain-controled network

hi,

i am on slack 12.0 and 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:49 PM
Two Ravens
 
Posts: n/a
Default Re: Accessing files on a domain-controled network

Steven Woody wrote:

> hi,
>
> i am on slack 12.0


That's a neat trick how did you manage that?
--
Two Ravens
"...hit the squirrel..."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:49 PM
Sylvain Robitaille
 
Posts: n/a
Default Re: Accessing files on a domain-controled network

Steven Woody wrote:

> i am on slack 12.0 and i am new to samba ...


Sorry I can't help with your problem, as I've no experience at all with
Samba, but I'm quite certain that you're not "on slack 12.0" ...

--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca

Systems and Network analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:49 PM
Dan C
 
Posts: n/a
Default Re: Accessing files on a domain-controled network

On Thu, 26 Apr 2007 20:21:29 -0700, Steven Woody wrote:

> i am on slack 12.0


No, you're not.

> X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1


See? You're not even using Linux.

> my no patience to read every part of the document since i have to let
> this job done in today.


Read the documentation for Samba. It's quite good. I guess you should
have started your homework more than a day before it was due, huh?

> ... what do i do?


Do your own homework.

> thanks in advance.


HTH.

--
"Ubuntu" -- an African word, meaning "Slackware is too hard for me".

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 08:49 PM
Steven Woody
 
Posts: n/a
Default Re: Accessing files on a domain-controled network

On Apr 27, 11:33 am, Sylvain Robitaille <s...@alcor.concordia.ca>
wrote:
> Steven Woody wrote:
> > i am on slack 12.0 and i am new to samba ...

>
> Sorry I can't help with your problem, as I've no experience at all with
> Samba, but I'm quite certain that you're not "on slack 12.0" ...
>
> --
> ----------------------------------------------------------------------
> Sylvain Robitaille s...@alcor.concordia.ca
>
> Systems and Network analyst Concordia University
> Instructional & Information Technology Montreal, Quebec, Canada
> ----------------------------------------------------------------------


sorry, sorry, it's 11.0 not 12.0 :-)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 08:49 PM
Steven Woody
 
Posts: n/a
Default Re: Accessing files on a domain-controled network

On Apr 27, 11:40 am, Dan C <youmustbejok...@lan.invalid> wrote:
> On Thu, 26 Apr 2007 20:21:29 -0700, Steven Woody wrote:
> > i am on slack 12.0

>
> No, you're not.
>
> > X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1

>
> See? You're not even using Linux.
>
> > my no patience to read every part of the document since i have to let
> > this job done in today.

>
> Read the documentation for Samba. It's quite good. I guess you should
> have started your homework more than a day before it was due, huh?
>
> > ... what do i do?

>
> Do your own homework.
>


oh, .... please

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 08:49 PM
Canned
 
Posts: n/a
Default Re: Accessing files on a domain-controled network

Steven Woody schreef:
> On Apr 27, 11:40 am, Dan C <youmustbejok...@lan.invalid> wrote:
>> On Thu, 26 Apr 2007 20:21:29 -0700, Steven Woody wrote:
>>> i am on slack 12.0

>> No, you're not.
>>
>>> X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1

>> See? You're not even using Linux.
>>
>>> my no patience to read every part of the document since i have to let
>>> this job done in today.

>> Read the documentation for Samba. It's quite good. I guess you should
>> have started your homework more than a day before it was due, huh?
>>
>>> ... what do i do?

>> Do your own homework.
>>

>
> oh, .... please
>

This is a hint: smbmount.
Google for it. I'm sorry can't help you much but you should find
whatever you need on google.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 08:49 PM
Henrik Carlqvist
 
Posts: n/a
Default Re: Accessing files on a domain-controled network

Steven Woody <narkewoody@gmail.com> wrote:
> it seemed that samba documents mainly focus on how to setup a linux box
> as a samba server.


Yep, Samba is a server software to make a unix box act as a Windows
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.


If you want to mount an smb or cifs share you should smbmount.

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


Something like:

mkdir /mnt/smb
smbmount //serverA/share /mnt/smb -o username=D/U

When smbmount asks for you password you enter your P. Or you could:

smbmount //serverA/share /mnt/smb -o username=D/U password=P

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc1(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 08:49 PM
Kelly Anderson
 
Posts: n/a
Default Re: Accessing files on a domain-controled network


"Steven Woody" <narkewoody@gmail.com> wrote in message
news:1177644089.340762.13810@t39g2000prd.googlegro ups.com...
> hi,
>
> i am on slack 12.0 and 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
>


Try konqueror. Enter smb://, smb://server, or smb://server/share. It's a
lot simpler than messing with samba mounts for simple share access. Of
course mounting makes sense in some cases.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 08:49 PM
Mike Denhoff
 
Posts: n/a
Default Re: Accessing files on a domain-controled network

On Thu, 26 Apr 2007 20:21:29 -0700, Steven Woody wrote:

> hi,
>
> i am on slack 12.0 and 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?
>

I put a line like this in my /etc/fstab file

//server.co.net/Share\044 /mnt/smb smbfs
noauto,users,credentials=/etc/samba/secret 0 0

The above should be one line. server.co.net is the full DNS name of the
host. Using only the Windows name doesn't work for me, unless I put an
entry in the file /etc/samba/lmhosts. In the above example the share name
ends with a "$". This is put into the fstab file as ascii code "\044".
If there is a space in the share name use "\040". On the command line one
can simply escape the "$" like this "\$". My user name and password are
in the file /etc/samba/secret with permissions set so only my user can
read it. This is somewhat better than putting the password in the fstab
file. The secrets file contains these two lines

username=name
password=qwerty

smbclient and nmblookup can be useful for testing and trouble shooting.
Here is a copy and paste of some notes I made. What works depends on the
local Windows networking set up. Our local company network guys, don't
usually know much, I end up Googling error messages a lot.

# write a list of shares to a file
$ smbclient -L //server.co.net -U name%password > zz.txt
#
# Log on to a share
$ smbclient //server.co.net/Name\$ -U name%password
#
# find the smb servers on the local subnet
$ nmblookup '*'
# or a different subnet, this used to work, but not now
$ nmblookup -B xxx.xxx.xxx.255 '*'
#
# change password where xxx.xxx.xxx.xxx is the Primary Domain Controler
PDC
# 14 Nov 06 smbpasswd no longer works
$ smbpasswd -r xxx.xxx.xxx.xxx -U Name
# can find the PDC using the WINS server xxx.xxx.xxx.yyy
$ nmblookup -U xxx.xxx.xxx.yyy -S -R DOMAIN#1B
# where DOMAIN is the domain name
# and #1B stands for PDC
# so together DOMAIN#1B is the netbias name for the PDC
#
# 15 Nov 06 change password using Kerberos
$ kpasswd denhoffm@DS.NRC.CA
#
# DNS inquiry can find the key servers
$ dig _kerberos._udp.DS.NRC.CA srv
#
$ dig _kpasswd._udp.DS.NRC.CA srv

Cheers,
Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com