Quantcast
Channel: AsusForum.NET -- WL500g
Viewing all articles
Browse latest Browse all 1548

How to change SAMBA security to login by user

$
0
0
I'm using the latest renewed Oleg's firmware (http://code.google.com/p/wl500g/ - WL500gpv2-1.9.2.7-d-r2624). I would like to add security to the default SAMBA.

I was following this post for creating new group, new user, user passwords and changing the /etc/smb.conf
http://wl500g.info/showthread.php?20...094#post152094

but I still can't login to any of the shares (Windows 7 -> map network drive -> user: wl\smblukas , password: ...) -> "The specified network password is not correct" ?? I even tried to change the password with smbpasswd more times, but stil..

/etc/smb.conf
Code:

[global]
        interfaces = br0
        bind interfaces only = yes
        workgroup = WORKGROUP
        server string = WL500gpv2
        guest account = nobody
# change security from "share" to "user"
        security = user
        browseable = yes
# disable guest
        guest ok = yes
        guest only = yes
        log level = 1
        max log size = 100
# enable passwords encryption
        encrypt passwords = yes
        preserve case = yes
        short preserve case = yes
        client code page = 852
        coding system = utf8

[movies]
  comment = Movies
        path = /tmp/mnt/disc0_1
        valid users = @smbgroup,smblukas,admin
        browseable = yes
        writable = yes
        force user = admin
  public = yes

[data]
  comment = Data
        path = /tmp/mnt/disc0_2
  valid users = @smbgroup,smblukas,admin
        browseable = no
        writable = yes
        force user = admin
  public = no

/etc/group

Code:

[admin@wl local]$ cat /etc/group
root:x:0:admin
smbgroup:x:1:smblukas
nobody:x:99:

/etc/passwd

Code:

[admin@wl local]$ cat /etc/passwd
admin:$aa-password-aa:0:0:root:/usr/local/root:/bin/sh
smblukas:$1$LhibDAT4$H.nh806dZpOpo799n21t0/:20:20:smbgroup:/usr/local/smblukas:/bin/sh
nobody:x:99:99:nobody:/:/sbin/nologin


Viewing all articles
Browse latest Browse all 1548

Trending Articles