[Samba] migrating files along with acls
Hello, I am migrating files from an NT4 server to a Samba server using the command line: net rpc share MIGRATE FILES My_Share -S srv-nt4 -D srv-samba -UAdministrateur%passwd --attrs --acls -v Since these are french machines I think I am having trouble with accentuation: I get these errors: cannot check for directory \My_Share\Photos défenses: Call returned zero bytes (EOF) and could not handle file \My_Share\Photos d�fenses\photo.JPG: NT_STATUS_END_OF_FILE However, If I leave out the --acls option, file are copied correctly (of course leaving out correct acls) How can I effectively migrate my old shares without losing the acls? I am using the inherit owner=yes option but it doesn't seem to work all the time. Could someone please enlighten me on these matters, (I am using samba-3.0.23c-2.el5.2.0.2; wbinfo getent work fine, I AM mounting my filesystem with acl support) Regards Pierig. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] yet another wbinfo getent problem
Thanks for your answer, In fact release 3.0.23 of samba in RHEL5 is totally bugged and core dumps every 5 minutes or so. Upgrading to version 3.0.24 now works: wbinfo getent have a normal behaviour. I now have another problem while migrating files with acls to the server, but that deserve a new subject on the mailing list. Regards. Pierig, Ryan Suarez wrote: My problem is that wbinfo -u wbinfo -g work fine, but getent passwd only returns local linux users; Try setting 'winbind enum users = yes' and 'winbind enum groups = yes' in smb.conf -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] yet another wbinfo getent problem
Hello, I am running a RHEL5 server as a member in a NT4 domain. I am not using an AD. my nsswitch.conf and /etc/pam.d/{login,authconfig,samba} are configured accordingly. (auth-config in RHEL4 is now renamed to authconfig on RHEL5). My problem is that wbinfo -u wbinfo -g work fine, but getent passwd only returns local linux users; Also smbclient -L localhost -Uusers will only work anonymously... What could I be missing? Here are some of my configuration files. Regards, Pierig /etc/nsswitch.conf: passwd: files winbind shadow: files group: files winbind /etc/pam.d/authconfig: auth required /lib/security/pam_securetty.so auth required /lib/security/pam_nologin.so auth sufficient /lib/security/pam_winbind.so auth required /lib/security/pam_pwdb.so use_first_pass shadow nullok accountrequired /lib/security/pam_winbind.so /etc/pam.d/login: authrequired/lib/security/pam_securetty.so authsufficient /lib/security/pam_winbind.so authsufficient /lib/security/pam_unix.so use_first_pass authrequired/lib/security/pam_stack.so service=system-auth authrequired/lib/security/pam_nologin.so account sufficient /lib/security/pam_stack.so service=system-auth account sufficient /lib/security/pam_winbind.so passwordrequired/lib/security/pam_stack.so service=system-auth /etc/pam.d/samba: auth required /lib/security/pam_winbind.so auth required /lib/security/pam_pwdb.so nullok shadow account required /lib/security/pam_winbind.so account required /lib/security/pam_pwdb.so session required pam_stack.so service=system-auth password required pam_stack.so service=system-auth /etc/samba/smb.conf [global] unix charset = LOCALE workgroup = PARDIR security = DOMAIN #username map = /etc/samba/smbusers log level = 1 syslog = 0 log file = /var/log/samba/%m max log size = 0 smb ports = 139 name resolve order = wins bcast hosts #password server = * netbios name = SRV-SAMBA #printcap name = CUPS #inherit acl = yes #client schannel = no nt acl support = yes #map inherit acl = yess inherit owner = yes inherit permissions = yes local master = No os level = 33 domain master = no preferred master = no wins server = 172.25.1.9 idmap uid = 1-2 idmap gid = 1-2 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] ACLS, inherit owner=yes
Hello, I am currently migrating data from NT4 to Samba, and ownership is not preserved. Could someone please confirm the option inherit owner does not work on RHEL4 (samba-3.0.10-1.4E.11)? How can I get this working? Regards -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba