1827376 Members
4389 Online
109963 Solutions
New Discussion

Re: samba smb.conf file

 
Jade Bulante
Frequent Advisor

samba smb.conf file

I would like to make a UNIX directory \perl\ftp available to to the public with read and write permission.Everytime I try to access the samba server, it prompts me for a username and password. I need this to go away and have the directory available to the domain. Is this possible? Need help.
2 REPLIES 2
Pradeep Sadanapalli
New Member

Re: samba smb.conf file

smb.conf

.
.
workgroup = WORKGROUP
netbios name = Hostname
server string = Perl ftp
security = DOMAIN
username map = usr/local/samba/lib/username.map
.
.
[Perl_ftp]
comment = Perl ftp
path = /perl/ftp
read only = No
guest ok = Yes


#cat /usr/local/samba/lib/username.map
ftpuser=userdomainid

#grep ftpuser /etc/passwd
ftpuser:Nologin:UID:GID:Samba user for perl ftp:/usr/users/ftpuser:/usr/local/bin/bash


Whenever a domain user, say abc, tries \\Hostname , then the samba server validates abc in username.map file and then provides access to /perl/ftp folder with ftpuser access permissions. Set access permissions to /perl/ftp for ftpuser account. If you want to allow everyone to access this share, in username.map, do ftpuser=*(Please verify this)