[Samba] Samba+Ldap: Properties Dialog doesn't show owner, only groups, shares have R attribute set

Andreas Buchler a.buchler at gcd-printlayout.de
Thu Apr 27 12:19:06 GMT 2006


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



More information about the samba mailing list