Find the answer to your Linux question:
Results 1 to 1 of 1
I could really need some help - I did addgroup samba, and added users to that group: jossy and johnny. - Then I did smbpasswd -a <user> Now this is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    1

    Can't access samba server


    I could really need some help

    - I did addgroup samba, and added users to that group: jossy and johnny.
    - Then I did smbpasswd -a <user>
    Now this is my /etc/samba/smbusers file:

    Code:
    johannes = johannes
    johnny = johnny
    jossy = jossy

    And my smb.conf file:

    Code:
    [global]
    	server string = Samba Server
    	map to guest = Bad User
    	log file = /var/log/samba.%m
    	max log size = 50
    	dns proxy = No
    	ldap ssl = no
    
    [printers]
    	comment = All Printers
    	path = /var/spool/samba
    	printable = Yes
    	browseable = No
    
    [filserver]
    	comment = filserver
    	path = /home/johannes/Filserver
    	username = @samba
    	admin users = jossy
    	read list = *
    	read only = No
    	only user = Yes
    Here is what I want to do (which is not working):
    - Log into the share: [filserver] from johnny and jossy, and none else can go into it withouth a user
    - Johnny: windows vista
    - Jossy: another ubuntu machine

    As you can see, the path is /home/johannes.. Is that a problem? It's another user on the computer, my "main" user on the server..

    I can see [filserver] from both machines, in the "network places". But I can't login with any of the users!

    Thanks
    -----------------------------

    EDIT:
    Omg.. all the reading, and I've overseen the sbmpasswd -e ... LOOOL!

    Sorry.. :P
    Last edited by johannes_h; 04-21-2009 at 05:40 PM. Reason: Fixed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •