Hi!
I am having difficult times with my Samba server and I would like your help for some issues I am facing.
I am running a Windows PDC for password serving only for my windows users.
I am also running a SAMBA/NIS/NFS server on a linux box for my unix users.
I have created a folder on the NIS/SAMBA/NFS server so unix users can see it via NFS.
The thing I am not able to do is how to add this folder into my SAMBA configuration file in order my Windows users can also access the same folder.
Both WINDOWS AND UNIX users have the same usernames but the authenticate to a different server with different passwords depending where the wish to logon (windows pcs or linux pcs).
My problem now is with the authentication of a user....
The folder that is created by the "ZZZ" user for example (ZZZ user has unix password) on the linux box cannot be accessed via samba.
"ZZZ" user also exists on the windows password server, but with another password.
As a result when I am trying to access my unix folder on the linux box from samba shares (\\linuxbox\sharedfolder) I can not be authenticated because when I provide my windows password, Samba server cannot grant me access telling me that "chdir (/sharedfolder) failed". If I try to login with as a windows ZZZ user with my windows password a windows pop ups indicating that my Access is Denied....
Here is my smb.conf file from my samba server.
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/09/11 13:28:32
[global]
workgroup = WORKGROUP
realm = TEST.COM
server string = Samba Server (%h)
security = ADS
password server = xxx.xxx.xxx.xxx
log level = 2
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
idmap uid = 10000-11000
idmap gid = 10000-11000
template shell = /bin/bash
[msdata]
comment = Microsoft Data
path = /msdata
read only = No
create mask = 0777
inherit permissions = Yes
[sharedfolder]
comment = Projects
path = /sharedfolder
create mask = 0777
inherit permissions = Yes
[profiles$]
comment = User Profiles
path = /msdata/profiles
read only = No
create mask = 0700
inherit permissions = Yes
[printers]
comment = All Printers
path = /var/tmp
read only = No
create mask = 0600
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
Does anyone have a solution, suggestion on this?
Thank you very much.
Kostas