Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-16-2005, 08:10 PM
|
#1
|
Member
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855
Rep:
|
can't mount my windows file system
hi there,
i'm running fedora core 1 and i have samba-3.0.7, whenever i try to mount my windows file system like this
# mount -t smbfs -o username=****,password=******** //senior-server/d$ /home/pma/senior_main
i get this message,
mount: wrong fs type, bad option, bad superblock on \192.168.1.1d$,
or too many mounted file systems
can someone help me out ...
|
|
|
01-17-2005, 12:21 AM
|
#2
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Quote:
# mount -t smbfs -o username=****,password=******** //senior-server/d$ /home/pma/senior_main
|
The only thing I can think of is maybe it doesn't like that ( d$ ) part.
Here's from my notes....
mount -t smbfs -o uid=linuxuser,gid=linuxgroup //hostname/share /mnt/shares
or
mount -t smbfs -o username=<user>,password=<passwd> //hostname/share /mnt/shares
Last edited by homey; 01-17-2005 at 12:23 AM.
|
|
|
01-17-2005, 12:23 AM
|
#3
|
Member
Registered: Dec 2004
Location: Australia
Distribution: Fedora 2/3
Posts: 40
Rep:
|
Alrite, the reason you can't do it is that Fedora Core dosen't intergrate ntfs support. Normally, Windows automatically sets its partition to ntfs. To fix this download a patch from this website;
http://linux-ntfs.sourceforge.net/rpm/fedora1.html
Find the patch that suits your kernel (to find out what kernel you are running [uname -r]). Try now and post back if it still dosen't work
|
|
|
01-17-2005, 12:27 AM
|
#4
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
matt_com911
I think you are talking about accessing an NTFS partition on a dual boot system where he is trying to access a network share.
|
|
|
01-17-2005, 01:45 AM
|
#5
|
Member
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855
Original Poster
Rep:
|
yea, thats right i am trying to access a network drive, but it is under windows 2000 server so it is a NTFS file system i'll try and download that patch and give it a go then
|
|
|
01-17-2005, 01:52 AM
|
#6
|
Member
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57
Rep:
|
If you're trying to access it, I did this exact thing today. Edit the fstab as follows:
/dev/(hard drive windows stuff is on) /home/win2k (mount point) ro,user,umask=000,users 0 0
That should take care of it. This will cause the windows shares to be auto-mounted and grant you access. by doing mount -t ntfs -o username="",password="" //server/share /home/folder you won't achieve the desired results and because mounting can only be done by root, only root will be able to view these files let alone access any subdir.
|
|
|
01-17-2005, 03:41 AM
|
#7
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
Quote:
Originally posted by rsmith
If you're trying to access it, I did this exact thing today. Edit the fstab as follows:
/dev/(hard drive windows stuff is on) /home/win2k (mount point) ro,user,umask=000,users 0 0
That should take care of it. This will cause the windows shares to be auto-mounted and grant you access. by doing mount -t ntfs -o username="",password="" //server/share /home/folder you won't achieve the desired results and because mounting can only be done by root, only root will be able to view these files let alone access any subdir.
|
He is trying to access a network share, in which case the NTFS drivers won't do anything for you so don't worry about installing them. Try dropping the dollar sign or maybe samba isn't configured right, does typing smbmount in a console output a usage page?
|
|
|
01-17-2005, 02:53 PM
|
#8
|
Member
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57
Rep:
|
Ah okay. Well then:
mount -t smbfs -o username=user,password=pass //server/D$ /home/rsmith/smbmount
That's what I do on my home network and I have no problems whatsoever. Windows shares are all on NTFS.
|
|
|
01-17-2005, 05:19 PM
|
#9
|
Member
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855
Original Poster
Rep:
|
hey there, DJ P@CkMaN, you were right i installed the NTFS file and it didn't help at all i'm still having the problem, as for samba being install correctly the only install i can get to work is the install from the original fedora CD's i've download the tar.gz file uncompressed it, cd'ed into samba-3.0.10/packaging/Fedora and used the command sh makerpms.sh and then a mammoth list of file operations come up and two hours later it tells me there is an error. i'll do that again and tel you the error maybe that'll help ... see you in two hours
ps: just to tell you what kinda samba i'm running if i run the command rpm -qa | grep samba this is the result i get:
# rpm -qa | grep samba
samba-common-3.0.7-2.FC1
samba-3.0.7-2.FC1
|
|
|
01-17-2005, 07:15 PM
|
#10
|
Member
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855
Original Poster
Rep:
|
extracting debug info from /var/tmp/samba-3.0.10-root/lib/libnss_wins.so
cpio: samba-3.0.10/source/getdate.c: No such file or directory
cpio: samba-3.0.10/source/getdate.y: No such file or directory
19992 blocks
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: samba-3.0.10-1
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.65645
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd samba-3.0.10
+ DOCDIR=/var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ export DOCDIR
+ rm -rf /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ /bin/mkdir -p /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr README COPYING Manifest /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr WHATSNEW.txt Roadmap /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr docs /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ cp -pr examples/printing /var/tmp/samba-3.0.10-root/usr/share/doc/samba-3.0.10
+ exit 0
Provides: audit.so cap.so config(samba) = 3.0.10-1 default_quota.so expand_msdfs.so extd_audit.so fake_perms.so full_audit.so netatalk.so pam_smbpass.so perl(smbldap_conf) = 1.00 perl(smbldap_tools) = 1.00 readonly.so recycle.so shadow_copy.so
Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /bin/sh /bin/sh /etc/pam.d/system-auth config(samba) = 3.0.10-1 initscripts >= 5.54-1 libacl.so.1 libacl.so.1(ACL_1.0) libattr.so.1 libattr.so.1(ATTR_1.0) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber.so.2 libldap.so.2 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libresolv.so.2 libssl.so.4 logrotate >= 3.4 pam >= 0.64 perl(Exporter) perl(smbldap_conf) perl(strict) perl(vars) samba-common = 3.0.10
Processing files: samba-client-3.0.10-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/sh /usr/bin/perl libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber.so.2 libldap.so.2 libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpopt.so.0 libreadline.so.4 libresolv.so.2 samba-common = 3.0.10
Obsoletes: smbfs
Processing files: samba-common-3.0.10-1
Provides: CP437.so CP850.so config(samba-common) = 3.0.10-1 libnss_winbind.so libnss_wins.so libsmbclient.so.0 pam_winbind.so
Requires(interp): /bin/sh /bin/sh /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /sbin/ldconfig
Requires: /bin/sh config(samba-common) = 3.0.10-1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber.so.2 libldap.so.2 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libresolv.so.2 libssl.so.4
Processing files: samba-swat-3.0.10-1
Provides: config(samba-swat) = 3.0.10-1
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires: config(samba-swat) = 3.0.10-1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber.so.2 libldap.so.2 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libresolv.so.2 libssl.so.4 samba = 3.0.10 xinetd
Processing files: samba-debuginfo-3.0.10-1
Provides: CP437.so.debug CP850.so.debug audit.so.debug cap.so.debug default_quota.so.debug expand_msdfs.so.debug extd_audit.so.debug fake_perms.so.debug full_audit.so.debug libnss_winbind.so.debug libnss_wins.so.debug libsmbclient.so.debug netatalk.so.debug pam_smbpass.so.debug pam_winbind.so.debug readonly.so.debug recycle.so.debug shadow_copy.so.debug
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.0.10-root
error: Installed (but unpackaged) file(s) found:
/usr/share/man/man8/pam_winbind.8.gz
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/man/man8/pam_winbind.8.gz
Done.
yes when i go into /usr/share/man8 i can't find this file :S i'm not sure whats going on i've tried removing the older samba packages before installing this one, i've tried doing a fresh install with no samba files being installed and then trying to install it but once again to no avail i get the same message
|
|
|
All times are GMT -5. The time now is 10:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|