[Samba] wrong file owner name in shares
Daniel
daniel.rampanelli at gmail.com
Thu Aug 3 07:07:33 GMT 2006
hi to everyone,
I've tried yesterday to migrate from an NT4 server to a Samba3 server,
but without success. I was using tdbsam for storing the accounts.
Unfortunately it didn't work as expected and so, I put everything as
it was before.
All works fine: shares, authentication (done through winbind) and
printers. The only snag is that on the shares provided by Samba3,
there are some (apparently) random displayed username as file owner.
On the filesystem, everything is set fine and the share work as
expected in relation to the permissions set. But on the Security view
of the Properties dialog there are simply some user listed, e.g. ldap,
www, bin etc.
Can somebody explain me what happens?
Best regards,
Daniel
p.s.: here is a snippet of my smb.conf
<smb-conf-snippet>
[global]
workgroup = DOMAIN
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
passdb backend = smbpasswd
domain logons = no
local master = yes
wins server = 192.168.100.1
wins support = no
netbios name = server04
add machine script =
preferred master = auto
encrypt passwords = yes
security = domain
password server = *
winbind separator = +
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
template homedir = /home/%U
template shell = /bin/false
hosts allow = 192.168.100. 127.0.0.1
server string = %L
...
[users]
comment = All users
path = /samba/users
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
browseable = yes
guest ok = no
printable = no
admin users = Administrator
...
</smb-conf-snippet>
More information about the samba
mailing list