[Samba] Unable to add attrib +r for directory
mallapadi niranjan
niranjan.ashok at gmail.com
Thu May 25 11:39:33 GMT 2006
Hi all
I have a Samba PDC (samba 3.0.21c) with Openldap , and a BDC (samba 3.0.21c)
with slave ldap server.
I have some foxpro files on the share created on BDC, and the users logon on
and access
the foxpro files on the shares declared on BDC. In the fox pro program uses
attrib command to make
file /directory read only and remove read only. but when users tries to use
attrib command, it says
"Access Denied".
I would like to know, how do i make my user able to attrib command for the
file/directory to which he
has permission.
It works for the file, but it doesn't work for directory,
Is it a bug
the following is the smb.conf of my BDC.
##################################################################################
ollowing is the smb.conf of BDC
[global]
unix charset = LOCALE
workgroup = msdpl.com
netbios name = fosrv001
passdb backend = ldapsam:ldap://192.168.130.3
enable privileges = Yes
server string = Factory Backup Domain Controller
log level = 1
remote announce = 192.168.129.20 <http://192.168.129.255/>
remote browse sync = 192.168.129.20 <http://192.168.129.255/>
syslog = 0
log file = /usr/local/samba-fo/var/%U.%m.log
max log size = 100
smb ports = 139
printcap name = cups
show add printer wizard = no
logon script = %u.bat
logon path =
logon drive = X:
logon home =
domain logons = yes
domain master = No
hide unreadable = yes
deadtime = 15
wins server = 192.168.129.20
name resolve order = lmhosts wins bcast hosts
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = eth0, lo
bind interfaces only = yes
hide dot files = yes
dns proxy = no
nt acl support = yes
ldap passwd sync = yes
ldap suffix = dc=msdpl,dc=com
ldap admin dn = cn=foreplica,dc=msdpl,dc=com
ldap group suffix = ou=Groups
ldap user suffix = ou=People
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Idmap
ldap ssl = no
ldap timeout = 50
idmap backend = ldap:ldap://192.168.130.3
idmap uid = 10000-20000
idmap gid = 10000-20000
map acl inherit = yes
printing = cups
######################################################[Share
Definations]###########################################
[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = no
nt acl support = Yes
# Un-comment the following and create the netlogon directory for Domain
Logons
[netlogon]
comment = Network Logon Service
path = /netlogon/scripts
guest ok = yes
browseable = no
write list = root
#Profiles Share
[profiles]
comment = Profiles Share
path = /profiles/%U
read only = No
browseable = yes
writeable = yes
guest ok = Yes
[foxpro-data]
Comment = Fox Pro Data
path = /data/Server
browseable = yes
writeable = yes
inherit permissions = yes
inherit acls = yes
dos filemode = yes
vfs objects = recycle
##################################################################################
Please guide me
Regards
Niranjan
More information about the samba
mailing list