Andreas Buchler
2006-Apr-27 12:37 UTC
[Samba] Samba+Ldap: Properties Dialog doesn't show owner, only groups, shares have R attribute set
Hi all,
I have a samba PDC on linux (kernel 2.6.16-gentoo-r3, amd64, 2cpu's, samba
3.0.22). My
passdb backend is an ldap-server on a different machine. I did an update from a
slower
machine.
The configuration files on the old and new machines are equal. After the update
all seems to be OK. I can login on the windows-clients and access the shares on
the
server. But a closer look shows that the file properties dialog on a windows
machine
doesn't show the user, who ownes the file in the xfs-filesystem on the samba
server (on
the old machine it worked). The domain groups are shown correctly.
Also all directories on a samba share have the R attribute set and some
applications say
that the share is read only. But i can create, copy and delete files on the
share with
explorer.
I googled a lot, but I couldn't find informations which solves the problem
or give me more
informations what the reasons for the problem are. It seems that the
windows-clients
doesn't know the domain users. Have anyone ever seen this problem.
thnx a lot
andy
P.S.: if a log is needed, please tell me which loglevel.
[global]
dos charset = CP437
unix charset = CP437
workgroup = GCD
interfaces = 192.168.20.70/255.255.255.0
client schannel = No
map to guest = Bad User
passdb backend = ldapsam:ldap://IP-of-LDAP-Server
passwd program = /usr/local/bin/passwd_pl.tcl %u
passwd chat = "*new*password*" %n\n "*new*password*" %n\n
"*changed*"
unix password sync = Yes
log level = 2
syslog = 0
log file = /var/log/samba3/log.%m
max log size = 50000
name resolve order = lmhosts host bcast wins
time server = Yes
deadtime = 480
keepalive = 600
socket options = TCP_NODELAY IPTOS_THROUGHPUT SO_SNDBUF=65536 SO_RCVBUF=65536
printcap name = cups
add machine script = /usr/local/bin/nm.tcl %u
logon script = logon.bat
logon path = \\%L\profiles\%U\%m
logon drive = h:
logon home = \\%L\%U
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
ldap admin dn = cn=Manager,dc=de
ldap group suffix = ou=group
ldap idmap suffix = ou=idmaps
ldap machine suffix = ou=machines
ldap replication sleep = 5000
ldap suffix = dc=pl,ou=accounts,dc=mydomain,dc=de
ldap ssl = no
ldap user suffix = ou=user
lock directory = /var/lock/samba
profile acls = Yes
case sensitive = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
strict locking = No
[test]
comment = only for tests
path = /export1/test
read only = No
guest ok = No
markus
2006-Apr-27 12:58 UTC
[Samba] Refreshing Shares with F5 to see new files and folders under XP
Hi all, on a redirected home share into "My Documents" I have to hit F5 under XP refreshing the screen to see a newly created or modified file: [homes] comment = Home Directories valid users = %S writeable = Yes browseable = No nt acl support = No create mask = 0644 On any other share like [shared] comment = Shared Folder valid users = @bla path = /export/data/shared read only = No force create mode = 0775 force directory mode = 0775 browseable = Yes force group = bla inherit acls = Yes it works perfect. So why? I've searched the net for it and it seems to be a known problem, but without any solution. This issue occured on either 3.0.14 and 3.0.22. Any hint? Thanks in advance markus
Iain
2006-Apr-27 13:16 UTC
[Samba] Re: Samba+Ldap: Properties Dialog doesn't show owner, only groups, shares have R attribute set
Andreas Buchler wrote on 04/27/06 14:19 (US date format):> Hi all, > > I have a samba PDC on linux (kernel 2.6.16-gentoo-r3, amd64, 2cpu's, > samba 3.0.22). My passdb backend is an ldap-server on a different > machine. I did an update from a slower machine. > > The configuration files on the old and new machines are equal. After > the update all seems to be OK. I can login on the windows-clients and > access the shares on the server. But a closer look shows that the > file properties dialog on a windows machine doesn't show the user, > who ownes the file in the xfs-filesystem on the samba server (on the > old machine it worked). The domain groups are shown correctly. > > Also all directories on a samba share have the R attribute set and > some applications say that the share is read only. But i can create, > copy and delete files on the share with explorer. > > I googled a lot, but I couldn't find informations which solves the > problem or give me more informations what the reasons for the problem > are. It seems that the windows-clients doesn't know the domain users. > Have anyone ever seen this problem.Andreas, I have the same problem using Gentoo 2.6.15-gentoo-r5, amd64, single core CPU, Samba 3.0.22 with LDAP backend hosted on the same machine. This is a fresh build. Thread is above: "Unable to reset file permissions". Iain.
Apparently Analagous Threads
- Unable to reset file permissions
- iconv.c / static charset prototype/assembler bug?
- RC2: Compile errors Solaris 8 (cc) and suggested fix
- setting files read-only form right click windows properties dialog
- Printer properties dialog looks and behaves different if driver is installed on samba or on XP