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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 ---------------------------------------------------------------------- |
| |||
| 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". |
| |||
| 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 :-) |
| |||
| 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 |
| |||
| 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. |
| |||
| 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 |
| |||
| "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. |
| ||||
| 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 |