Re: [Samba] Change file owner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luciano Andre Baramarchi escreveu: > When I run smbstatus the Username logged still is administrator ... > > [EMAIL PROTECTED] samba]# smbstatus > > Samba version 3.0.10-1.4E > PID Username Group Machine > --- > 29242 administrator Domain Users server01 (XXX.XXX.1.1) > > Now the message when I try changing owner is: > > "Unable to set new owner to Test > Access denied" > > I think the system isn't understanding that the user is root ... Looks like an uid problem. You are running an old version of Samba (3.0.10), to have an admin user in versions until 3.0.12 you have to set uid 0 to the user. The smbstatus info show that you are in Domain Users group, not in Domain Admins, it is a good idea to clean the admin users that you created and set a new admin with uid/gid 0. Best regards, - -- Felipe Augusto van de Wiel <[EMAIL PROTECTED]> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFDb0weCj65ZxU4gPQRAprrAJ430zfFEN/t1XyeZd7uMb0KsGowHwCeKyQb TbN/YdXi8e5e0JCE+eNF5AE= =57EA -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Change file owner
Hi ... I tried this first ... [PUBLICO] comment = Diretorio Publico Acesso Geral path = /vol10/ARQ/Publico writeable = yes guest ok = yes veto files = /*.mp3/*.wma/*.wmv/ admin users = administrator and tried this after ... username map = /etc/samba/username.map cat /etc/samba/username.map root = admin administrator When I run smbstatus the Username logged still is administrator ... [EMAIL PROTECTED] samba]# smbstatus Samba version 3.0.10-1.4E PID Username Group Machine --- 29242 administrator Domain Users server01 (XXX.XXX.1.1) Now the message when I try changing owner is: "Unable to set new owner to Test Access denied" I think the system isn't understanding that the user is root ... - Luciano Andre Baramarchi Multitask Consultoria Ltda [EMAIL PROTECTED] (47) 9911 4484 - Em 06/11/2005, às 15:37, Henrik Zagerholm escreveu: Hi! Try adding admin users = Administrator to the Share options in smb.conf. cheers henrik 6 nov 2005 kl. 18.23 skrev Luciano Andre Baramarchi: Hi all ... I have a Linux with EXT3 file system and ACL enabled shared by samba. The samba is integrated with M$ AD by Winbind and Domain … When I try changing the folder owner called “Test” by Window$ Explorer properties I have an error: “Unable to set new owner on Test Access is denied” This occurs with files too. I am logged with user “Administrator” on Window$ and he is member of “Domain Admins” group. I also created “administrator” user in passwd linux file. The result for getpwent function is: [EMAIL PROTECTED] Publico]# getent passwd | grep -i adminis administrator:*:0:1::/home/X/administrator:/bin/false administrator:*:10166:1::/home/X/administrator:/bin/false I was included the first line in passwd file and second is generated by “Winbind” service. The directory owner in Linux is “administrator” drwxrwxr-x+ 2 administrator Domain Users 4096 Nov 6 14:55 Test How I can change the file owner by Window$ Explorer? My smb.conf is displayed to follow. Thanks. [global] workgroup = realm = .LOCAL netbios aliases = SRV_ server string = Samba Server security = DOMAIN map to guest = Bad User password server = XXX.XXX.1.1 log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap dns proxy = No wins server = XXX.XXX.1.1 idmap uid = 1-2 idmap gid = 1-2 winbind separator = - winbind use default domain = Yes comment = Pasta compartilhada com a Sec Exec. path = /vol10/ARQ//beal read only = No guest ok = Yes cups options = raw veto files = lost+found [PUBLICO] comment = Diretorio Publico Acesso Geral path = /vol10/ARQ/Publico veto files = /*.mp3/*.wma/*.wmv/ - Luciano Andre Baramarchi Multitask Consultoria Ltda [EMAIL PROTECTED] - -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Change file owner
Hi! Try adding admin users = Administrator to the Share options in smb.conf. cheers henrik 6 nov 2005 kl. 18.23 skrev Luciano Andre Baramarchi: Hi all ... I have a Linux with EXT3 file system and ACL enabled shared by samba. The samba is integrated with M$ AD by Winbind and Domain … When I try changing the folder owner called “Test” by Window$ Explorer properties I have an error: “Unable to set new owner on Test Access is denied” This occurs with files too. I am logged with user “Administrator” on Window$ and he is member of “Domain Admins” group. I also created “administrator” user in passwd linux file. The result for getpwent function is: [EMAIL PROTECTED] Publico]# getent passwd | grep -i adminis administrator:*:0:1::/home/X/administrator:/bin/false administrator:*:10166:1::/home/X/administrator:/bin/false I was included the first line in passwd file and second is generated by “Winbind” service. The directory owner in Linux is “administrator” drwxrwxr-x+ 2 administrator Domain Users 4096 Nov 6 14:55 Test How I can change the file owner by Window$ Explorer? My smb.conf is displayed to follow. Thanks. [global] workgroup = realm = .LOCAL netbios aliases = SRV_ server string = Samba Server security = DOMAIN map to guest = Bad User password server = XXX.XXX.1.1 log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap dns proxy = No wins server = XXX.XXX.1.1 idmap uid = 1-2 idmap gid = 1-2 winbind separator = - winbind use default domain = Yes comment = Pasta compartilhada com a Sec Exec. path = /vol10/ARQ//beal read only = No guest ok = Yes cups options = raw veto files = lost+found [PUBLICO] comment = Diretorio Publico Acesso Geral path = /vol10/ARQ/Publico veto files = /*.mp3/*.wma/*.wmv/ - Luciano Andre Baramarchi Multitask Consultoria Ltda [EMAIL PROTECTED] - -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Change file owner
Hi all ... I have a Linux with EXT3 file system and ACL enabled shared by samba. The samba is integrated with M$ AD by Winbind and Domain … When I try changing the folder owner called “Test” by Window$ Explorer properties I have an error: “Unable to set new owner on Test Access is denied” This occurs with files too. I am logged with user “Administrator” on Window$ and he is member of “Domain Admins” group. I also created “administrator” user in passwd linux file. The result for getpwent function is: [EMAIL PROTECTED] Publico]# getent passwd | grep -i adminis administrator:*:0:1::/home/X/administrator:/bin/false administrator:*:10166:1::/home/X/administrator:/bin/false I was included the first line in passwd file and second is generated by “Winbind” service. The directory owner in Linux is “administrator” drwxrwxr-x+ 2 administrator Domain Users 4096 Nov 6 14:55 Test How I can change the file owner by Window$ Explorer? My smb.conf is displayed to follow. Thanks. [global] workgroup = realm = .LOCAL netbios aliases = SRV_ server string = Samba Server security = DOMAIN map to guest = Bad User password server = XXX.XXX.1.1 log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap dns proxy = No wins server = XXX.XXX.1.1 idmap uid = 1-2 idmap gid = 1-2 winbind separator = - winbind use default domain = Yes comment = Pasta compartilhada com a Sec Exec. path = /vol10/ARQ//beal read only = No guest ok = Yes cups options = raw veto files = lost+found [PUBLICO] comment = Diretorio Publico Acesso Geral path = /vol10/ARQ/Publico veto files = /*.mp3/*.wma/*.wmv/ - Luciano Andre Baramarchi Multitask Consultoria Ltda [EMAIL PROTECTED] - -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba