LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2004, 09:55 AM   #1
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Rep: Reputation: 15
LinNeighborhood help


Ok i can see the server and the shares, but when i try and mount the share an error is displayed ' smbmnt muct be installed suid root for direct users mounts (1000,1000)'

Here are my mount settings,

Mount point:/home/exio/mnt/Server/data/
UID:1000 exio
GID:100users
File Mode:644
Dir Mode:755
SMB User:Exio
SMB Password:********

i dont really understand any of that aprt from mount point.

Also my workgroup is set up, but this is all i have changed to the comfigerations.

So any ideas whats up??

Cheers, Nick.
 
Old 05-13-2004, 10:02 AM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
You cannot mount disks beeing a user... try logging as root or

find smbmount

chown root smbmnt; chmod u+s smbmnt

This will enable "normal" user tu use smbmount .....

But please note there is important security issues and this IS NOT recommanded for corporate production solutions....

good luck!
 
Old 05-13-2004, 10:13 AM   #3
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
OK well when Linhood prompts me o enter my root user and password for the server and then try and mount it again i this message is diaplayed 'SMB connection failed -361:session setup failed: ERRSRV - ERRbadpw' ok so my pw is bad, im not sure what root pw to use, the one for my cliant accessing the file or the pw for the server itsself???
 
Old 05-13-2004, 10:25 AM   #4
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
I dont know Linhood at all, I normaly do all that trough a console... But my guess would be that if you cannot use smbmount from a user on the client machine and then LinHood ask you about a root password, it should the be the client's machine root password.

So from there we could think that Linhood is suid 0 (root) to use smbmount with your username and password.
 
Old 05-13-2004, 10:39 AM   #5
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
How do u mount the though root smbmount \\server\share /way/to/mount/dir???
 
Old 05-13-2004, 10:51 AM   #6
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Here's the exact syntaxe beeing root in a terminal:

smbmount \\\\LINUXBOX\\ShareName /mnt/mountPoint/ -o username=windowz_username workgroup=windoz_workgroup

you will be prompted for a passwd enter the windowz_username password.


sur you will be able to access /mnt/mountPoint/.

Depending of the wrights of the share, you might or might not have permissions on those files...
 
Old 05-13-2004, 06:24 PM   #7
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
OK i can now see my share in windows and linux under the usert exio. But i still do not have write permitions.

the share in smb:

[data]
comment = Nick's Service
path = /data/Data
read only = no
writable = yes
public = yes
write list = exio

Any ideas as to why i do not have wright permitions???
 
Old 05-14-2004, 04:30 AM   #8
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Quote:
Originally posted by Exio
OK i can now see my share in windows and linux under the usert exio. But i still do not have write permitions.

the share in smb:

[data]
comment = Nick's Service
path = /data/Data
read only = no
writable = yes
public = yes
write list = exio

Any ideas as to why i do not have wright permitions???
This section is useless since you want to share from windoze (right?).
If you would have like to share from Lnx that would have been the set up to have...
Did you try to modify your share security to everyone full control in the windows box ??
 
Old 05-14-2004, 04:57 AM   #9
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
yes and it says access dinied.

also
'This section is useless since you want to share from windoze (right?).
If you would have like to share from Lnx that would have been the set up to have...'

Im not quite sure what u mean by this, I would like to access the files on my linux file server with write permition from a linux box and a windows box?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LinNeighborhood ckone Linux - Software 1 12-15-2010 04:09 AM
Question about Linneighborhood Linuxchic Red Hat 2 01-22-2004 06:10 PM
LinNeighborhood not working digiplaya Linux - Networking 4 01-13-2004 06:06 PM
Linneighborhood 24giovanni Linux - Networking 1 02-04-2003 09:41 PM
LinNeighborhood Randall Linux - Networking 12 02-04-2002 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration