Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting Samba Shares
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hossie
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2005
Posts: 116

PostPosted: Wed Feb 01, 2006 7:58 am    Post subject: Mounting Samba Shares Reply with quote

Hi,

I recently switched to Gentoo on my work computer, and we have a lot of Windows shares so we can share stuff with each other.

Under SuSE (9.2 8O) mounting samba shares really worked fine.

Code:
xyz xyz # cat fstab-suse | grep smbfs
//xyz/tausch     /windows/xyz/tausch smbfs       credentials=/home/xyz/.smbpasswd,uid=xyz 0 0
//xyz/da_supp_grp /windows/xyz/da_supp_grp smbfs credentials=/home/xyz/.smbpasswd,uid=xyz 0 0
//xyz/Shared     /windows/xyz/shared  smbfs      credentials=/home/xyz/.smbpasswd,uid=xyz 0 0
//xyz/xyz$  /windows/xyz/xyz$ smbfs    credentials=/home/xyz/.smbpasswd,uid=xyz 0 0


It doenst work on Gentoo though. :roll:

Code:
xyz xyz # mount -t smbfs //xyz/tausch temp -o username=xyz,uid=xyz
Password:
7121: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed


Of course I have smbfs support in kernel, and I also have the same hostname and domainname as under SuSE. What did I do wrong???

It would be really important to have my shares back... :(

I have the latest stable samba (x86) and compiled it with:

Code:
xyz xyz # equery u samba
[ Searching for packages matching samba... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf
 ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for net-fs/samba-3.0.14a-r2 ]
 U I
 - - acl       : Adds support for Access Control Lists
 + + cups      : Add support for CUPS (Common Unix Printing System)
 + + doc       : Adds extra documentation (API, Javadoc, etc)
 + + examples  : Install example source code
 - - kerberos  : Adds kerberos support
 - - ldap      : Adds LDAP support (Lightweight Directory Access Protocol)
 - - libclamav : Enables clamav libraries, without needing to use the daemon
 - - mysql     : Adds mySQL support
 - - oav       : Enables support for anti-virus from the openantivirus.org project
 + + pam       : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 - - postgres  : Adds support for the postgresql database
 + + python    : Adds support/bindings for the Python language
 - - quotas    : Enables support for user quotas
 + + readline  : enables support for libreadline, a GNU line-editing library that most everyone wants.
 - - selinux   : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
 - - winbind   : Enables support for the winbind auth daemon
 + + xml       : Check/Support flag for XML library (version 1)
 + + xml2      : Check/Support flag for XML library (version 2)


Thanks for any help ;)
Back to top
View user's profile Send private message
c_m
Guru
Guru


Joined: 29 Jun 2005
Posts: 358

PostPosted: Wed Feb 01, 2006 8:22 am    Post subject: Reply with quote

At work i mount my homefolder with the following:
Code:
smbmount //server/share$/ /media/eis-userhome/ -o username=domain\\username,uid=freak,gid=freak


I always got problems while using the normal mount command, too.
_________________
This must be thursday ...
Back to top
View user's profile Send private message
Hossie
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2005
Posts: 116

PostPosted: Wed Feb 01, 2006 9:16 am    Post subject: Reply with quote

Code:
xyz xyz # smbmount //xyz/tausch temp -o username=xyz,uid=xyz
Password:
7549: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed


:(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum