LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 11-19-2012, 08:15 AM   #1
kleinde66
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
ubuntu 10.04 samba one share two users


hi
i have a computer that i have install quite a bit on:
ubuntu 10.04 desktop (computer name t5026)
set ip to static
samba
wakeonlaN
openssh-server
ethtool
x11vnc

mounted a second hard drive fstab:
/dev/sdb1 /media/st1 ext4 rw,suid,dev,exec,auto,user,async 0 0

klein@t5026:/media$ ls -l
drwx------ 6 klein klein 4096 2012-11-17 12:33 st1

klein@t5026:/media/st1$ ls -l
drwxr-xr-x 4 klein klein 12288 2012-11-18 21:47 old computer


in ubuntu there are two users created klein,beth
i have done as i always do:

sudo smbpasswd -a klein

i'm on a local network at home and i use the same passwd for samba as
well as my ubuntu login

everything works as expected the problem comes when i try to add beth to samba first i did:
sudo smbpasswd -a beth
my passwd
her passwd
her passwd

sudo smbpasswd -e beth
my passwd
beth added

then i added her to the valid user:
valid users = beth, klein

after rebooting from another ubuntu 10.04 computer i can browse to places > network > t5026 > old computer find and open it but if i try to login and browse using beth it says failed to mount window share

from t5026 i did testparm and the only problem it had was:

rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)

service definitions





PHP Code:
[global]
    
server string = %h server (SambaUbuntu)
    
map to guest Bad User
    obey pam restrictions 
Yes
    pam password change 
Yes
    passwd program 
= /usr/bin/passwd %u
    passwd chat 
= *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
    
unix password sync Yes
    syslog 
0
    log file 
= /var/log/samba/log.%m
    max log size 
1000
    dns proxy 
No
    usershare allow guests 
Yes
    panic action 
= /usr/share/samba/panic-action %d

[printers]
    
comment All Printers
    path 
= /var/spool/samba
    create mask 
0700
    printable 
Yes
    browseable 
No
    browsable 
No

[print$]
    
comment Printer Drivers
    path 
= /var/lib/samba/printers

[old computer]
    
comment old files
    path 
= /media/st1/old_computer
    valid users 
bethklein
    read only 
No 

did i add her to samba correctly?
is the permission of media, st1,old computer the problem they are all klein:klein do i need to change this?
i just can't seem to find the problem

Last edited by kleinde66; 11-19-2012 at 08:16 AM. Reason: forgot to set email
 
  


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
[SOLVED] Samba share for two users skinney Linux - Networking 2 10-26-2012 12:45 PM
SAMBA - unix user created, added to samba, and valid users on share, still cannot... mitchell7man Linux - Server 12 03-17-2010 08:37 PM
samba share for domain users mukundmurari Linux - Newbie 0 01-18-2010 05:11 AM
Samba Share Working with Some Users and Not Others robh Linux - Server 3 05-12-2009 04:42 AM
Samba users/share setup johncarr05 Linux - Software 2 02-01-2006 04:17 PM


All times are GMT -5. The time now is 01:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration