[Samba] Keeping Windows ACL's when migrating to SAMBA Server

George greenadmins at gmail.com
Sat Dec 11 12:01:20 MST 2010


We setup a Ubuntu SAMBA 3.5 server and would like it to replace our 
current Windows 2003 file server. I can manually copy the files over but 
need to keep all the Windows UID's and GID's but am having trouble 
copying the files over. Does anyone have any idea what im doing wrong or 
have any ideas for me to do this?

I have pasted the contents of my smb.conf below my name.

George
..............................................................................................
smb.conf


[global]
     workgroup = DOMAIN
     realm = DOMAIN.LOCAL
     netbios name = bed-fs1
#    server string = %h server (Samba %v, Ubuntu)
     security = ADS
     syslog = 0
     log file = /var/log/samba/log.%m
     max log size = 1000
     domain master = No
     dns proxy = No
     usershare allow guests = Yes
     panic action = /usr/share/samba/panic-action %d
     idmap uid = 1000-29999
     idmap gid = 1000-29999
     template shell = /bin/bash
     winbind separator = +
     winbind enum users = Yes
     winbind enum groups = Yes
     winbind use default domain = Yes

#[homes]
#comment = Home Directories
#browseable = yes
#valid users = %S
#writable = yes


[servers]
path = /servers
valid users = @"DOMAIN+Domain Admins" , @"DOMAIN+Domain Users" , 
@"DOMAIN+Domain Team"
admin users = @"DOMAIN+Domain Admins" , root , administrator
write list = @"DOMAIN+Domain Team" , @"DOMAIN+Domain Admins" , 
@"DOMAIN+Domain Users" , root , administrator
directory mask = 0700
create mode = 0700
force create mode = 0700
force directory mode = 0700
read only = no
writeable = yes
available = yes
browseable = yes
public = yes
writable = yes
guest ok = yes
acl compatibility = auto
acl check permissions = Yes
acl group control = No
acl map full control = Yes
#acl map full control = no
force unknown acl user = No
dos filemode = no
inherit permissions = yes
store dos attributes = yes
map archive = No
map hidden = No
map system = No
map readonly = No
nt acl support = Yes
map acl inherit = yes
profile acls = No
inherit owner = No
inherit acls = yes
acl group control = yes
vfs objects = acl_xattr

[man_fs2_e]
path = /servers/man_fs2/e
valid users = @"DOMAIN+Domain Admins" , @"DOMAIN+Domain Users" , 
@"DOMAIN+Domain Team"
admin users = @"DOMAIN+Domain Admins" , root , administrator
write list = @"DOMAIN+Domain Team" , @"DOMAIN+Domain Admins" , 
@"DOMAIN+Domain Users" , root , administrator
directory mask = 0700
create mode = 0700
force create mode = 0700
force directory mode = 0700
read only = no
writeable = yes
available = yes
browseable = yes
public = yes
writable = yes
guest ok = yes
acl compatibility = auto
acl check permissions = Yes
acl group control = No
acl map full control = Yes
#acl map full control = no
force unknown acl user = No
dos filemode = no
inherit permissions = yes
store dos attributes = yes
map archive = No
map hidden = No
map system = No
map readonly = No
nt acl support = Yes
map acl inherit = yes
profile acls = No
inherit owner = No
inherit acls = yes
acl group control = yes
vfs objects = acl_xattr


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: smb.conf
URL: <http://lists.samba.org/pipermail/samba/attachments/20101211/439459b3/attachment.ksh>


More information about the samba mailing list