samba with different authentication not working on RHEL 6.2 ?
we have a samba server which we use for file sharing on windows 7 pc but its not working with different authentications on different folders whenever we enter the server through networking "\\ipaddress" it immediately asking for a username and password ?
Here is the smb.conf [global] # ----------------------- Network Related Options ------------------------- # # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH # # server string is the equivalent of the NT Description field # # netbios name can be used to specify a server name not tied to the hostname # # Interfaces lets you configure Samba to use multiple interfaces # If you have multiple network interfaces then you can list the ones # you want to listen on (never omit localhost) # # Hosts Allow/Hosts Deny lets you restrict who can connect, and you can # specifiy it as a per share option as well # workgroup = MYGROUP server string = Samba Server Version %v ; netbios name = MYSERVER ; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24 ; hosts allow = 127. 192.168.12. 192.168.13. # ----------------------- Standalone Server Options ---------------- # # Scurity can be set to user, share(deprecated) or server(deprecated) # # Backend to store user information in. New installations should # use either tdbsam or ldapsam. smbpasswd is available for backwards # compatibility. tdbsam requires no further configuration. security = user passdb backend = tdbsam #----------------------------- Name Resolution ------------------------------- # Windows Internet Name Serving Support Section: # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both # # - WINS Support: Tells the NMBD component of Samba to enable it's WINS Server # # - WINS Server: Tells the NMBD components of Samba to be a WINS Client # # - WINS Proxy: Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. # # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. ; wins support = yes ; wins server = w.x.y.z ; wins proxy = yes ; dns proxy = yes #============================ Share Definitions============================== [homes] comment = Home Directories browseable = no writable = yes ; valid users = %S ; valid users = MYDOMAIN\%S [samba] comment = Medryte path = /samba public = no writable = yes printable = no browseable = yes write list = adm [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes # Un-comment the following and create the netlogon directory for Domain Logons ; [netlogon] ; comment = Network Logon Service ; path = /var/lib/samba/netlogon ; guest ok = yes ; writable = no ; share modes = no [Webdevelopemt] comment = folder for credential confidentiality path = /Webdevelopment browseable = yes writeable = yes create mask = 0775 valid users = @webdevelopment [SHARE] comment = Medryte path = /home/share writeable = yes ; browseable = yes create mask =0755 valid users = share [HCC] comment = Medryte path = /home/HCC writeable = yes browseable = yes create mask =0755 valid users =medrytehcc Here i created a newshare called "webdevelopment" which was given different authentication, but its not logging in says access is denied and whenever I trid to go into the network via //192.168.1.2 its asking for authentication which I have used for another folder called "SHARE" ? |
All times are GMT -5. The time now is 02:35 PM. |