For SAMBA problems, other users in the same group cannot access smbserver.

Source: Internet
Author: User
For SAMBA problems, other users in the same group cannot access the information about smbserver-Linux Enterprise Application-Linux server application. The following is a detailed description. Samba is installed on centos5.3. Three users are samba, linux1, linux2, and 501 in the same group.
The first user, samba, can be normally accessed from windows. After adding two users, linux1 and linux2, the user finds that the user cannot be accessed. I don't know what the problem is, and the firewall is OK, at first, specify the user statement valid users = @ samba and samba under the linux server folder. Then, comment out the user statement #.
It is reasonable to say that samba can be accessed by users in the same group. linux1 and linux2 can also be accessed normally. In addition, my testparm Detection log is also faulty,
Let me have a look at the problem. Please help me analyze it. Thank you!
Urgent!





[Root @ lcadmin tpd] # testparpm
Bash: testparpm: command not found
[Root @ lcadmin tpd] # testparp
Bash: testparp: command not found
[Root @ lcadmin tpd] # testparm
Load smb config files from/etc/samba/smb. conf
Params. c: Parameter ()-Ignoring badly formed line in configuration file: logs split per machine
Params. c: Parameter ()-Ignoring badly formed line in configuration file: max 50KB per log file, then rotate
Processing section "[homes]"
Processing section "[printers]"
Processing section "[linux server]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[Global]
Netbios name = LINUXSERVER
Server string = linux server
Interfaces = lo, eth0
Log file =/var/log/samba/% m. log
Max log size = 50
OS level = 33
Hosts allow = 127., 192.168.12., 192.168.223.
Cups options = raw

[Homes]
Comment = Home Directories
Read only = No
Browseable = No

[Printers]
Comment = All Printers
Path =/var/spool/samba
Printable = Yes
Browseable = No

[Linux server]
Comment = linux server
Path =/mnt/wind/bk
Read only = No
Create mask = 0755




Cat/etc/passwd
Samba: x: 501: 501:/home/samba:/bin/bash
Linux1: x: 502: 501:/home/linux1:/bin/bash
Linux2: x: 503: 501:/home/linux2:/bin/bash


Cat/etc/shadow
Samba: $1 $ LMkhhhEc $9P9. FTtdC9C6GvEFz. hzN.: 14471: 0: 99999: 7 :::
Linux1: $1 $ f96Rv2uN $ DVDAJO6qbIJn9S1TdLA/00: 14471: 0: 99999: 7 :::
Linux2: $1 $7rocFy89 $ HtM1uP/. 7LBomjipwdak81: 14471: 0: 99999: 7 :::

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.