You are not logged in.

#1 2013-08-09 10:30:26

funnyman
Member
Registered: 2013-05-30
Posts: 12

smb.conf help

Hello, I have problems with my samba share.
I made three users on server, they are only in group "users"
Their home folders are in mnt/data/homes/*

I'm trying to set it up so every user logs in with his username and password and then sees his own folder, in which he has read/write privileges.
I managed it to samba be running, but I can't connect to server from any computer; I see the server, but can't connect to it (it says that I have no permission to connect)

here is testparm:

[root@alarmpi ~]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        log file = /var/log/samba/%m.log
        max log size = 50
        load printers = No
        dns proxy = No
        idmap config * : backend = tdb

[homes]
        comment = Home Directories
        path = /mnt/data/homes/%S
        valid users = %S
        read only = No
        create mask = 0700
        directory mask = 0700
        browseable = No

pdbedit:

[root@alarmpi ~]# pdbedit -a -u tom
new password:
retype new password:
Unix username:        tom
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-927982934-1268694597-1433504258-1000
Primary Group SID:    S-1-5-21-927982934-1268694597-1433504258-513
Full Name:            tom
Home Directory:       \\alarmpi\tom
HomeDir Drive:
Logon Script:
Profile Path:         \\alarmpi\tom\profile
Domain:               ALARMPI
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    Fri, 09 Aug 2013 12:31:37 CEST
Password can change:  Fri, 09 Aug 2013 12:31:37 CEST
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

Thank you for your suggestions

Last edited by funnyman (2013-08-09 10:32:36)

Offline

#2 2013-08-09 19:48:49

funnyman
Member
Registered: 2013-05-30
Posts: 12

Re: smb.conf help

I deleted "valid users = %S" and its working now... dont know why...

Offline

Board footer

Powered by FluxBB