[Bug 299306] Re: Permission denied of usershares statfile in Samba 3.0.28a-1ubuntu4.7
This bug report can be closed The Problem was an error in mapping user and group ID to the LDAP UID/GID! I have set the right UID/GID in the smb.conf with uid map = 1-2 gid map = 500-600 - no errors in config!! -- Permission denied of usershares statfile in Samba 3.0.28a-1ubuntu4.7 https://bugs.launchpad.net/bugs/299306 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 299306] [NEW] Permission denied of usershares statfile in Samba 3.0.28a-1ubuntu4.7
This bug report can be closed The Problem was an error in mapping user and group ID to the LDAP UID/GID! I have set the right UID/GID in the smb.conf with uid map = 1-2 gid map = 500-600 - no errors in config!! Meslo wrote: Public bug reported: Hello, I have migrate my running Samba-PDC Setup with LDAP from Debian Etch to Ubuntu Hardy Server 8.04. LDAP ist running correct. Samba Setup ist working right, but acces to Users Home has a poor performance. Access to a PUBLIC Folder is much faster! The Usershare Folder: drwxrwx--T 2 root sambashare 4096 Nov 17 20:10 usershares Error in log.PC09: USERNAME stands for the login user 2008/11/18 02:32:31, 3] smbd/process.c:process_smb(1069) Transaction 17 of length 110 [2008/11/18 02:32:31, 3] smbd/process.c:switch_message(927) switch message SMBtrans2 (pid 915) conn 0x8535d40 [2008/11/18 02:32:33, 3] smbd/service.c:find_service(286) checking for home directory USERNAME gave (NULL) [2008/11/18 02:32:33, 0] param/loadparm.c:process_usershare_file(4606) process_usershare_file: stat of /var/lib/samba/usershares/ USERNAME failed. Permission denied [2008/11/18 02:32:33, 3] smbd/service.c:find_service(360) find_service() failed to find service USERNAME [2008/11/18 02:32:33, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(6307) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND [2008/11/18 02:32:33, 3] smbd/process.c:process_smb(1069) Transaction 307 of length 104 [2008/11/18 02:32:33, 3] smbd/process.c:switch_message(927) switch message SMBntcreateX (pid 914) conn 0x8515a18 [2008/11/18 02:32:33, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (31033, 544) - sec_ctx_stack_ndx = 0 /etc/samba/smb.conf [profiles] path= /srv/profiles/ browseable = no writeable = yes guest ok= yes hide files = /desktop.ini/ntuser.ini/NTUSER.*/thumbs.db/ write list = %U, @Domain Users, @Domain Admins create mode = 0600 directory mode = 0700 default case= lower preserve case = no case sensitive = no force group = Domain Users [homes] comment = Home Directory %U, %u path= /srv/user-homes/%U browseable = no valid users = %S read only = no writeable = yes guest ok= no inherit permissions = yes create mask = 0644 directory mask = 0775 force user = root force group = Domain Users ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- Permission denied of usershares statfile in Samba 3.0.28a-1ubuntu4.7 https://bugs.launchpad.net/bugs/299306 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 299306] [NEW] Permission denied of usershares statfile in Samba 3.0.28a-1ubuntu4.7
Public bug reported: Hello, I have migrate my running Samba-PDC Setup with LDAP from Debian Etch to Ubuntu Hardy Server 8.04. LDAP ist running correct. Samba Setup ist working right, but acces to Users Home has a poor performance. Access to a PUBLIC Folder is much faster! The Usershare Folder: drwxrwx--T 2 root sambashare 4096 Nov 17 20:10 usershares Error in log.PC09: USERNAME stands for the login user 2008/11/18 02:32:31, 3] smbd/process.c:process_smb(1069) Transaction 17 of length 110 [2008/11/18 02:32:31, 3] smbd/process.c:switch_message(927) switch message SMBtrans2 (pid 915) conn 0x8535d40 [2008/11/18 02:32:33, 3] smbd/service.c:find_service(286) checking for home directory USERNAME gave (NULL) [2008/11/18 02:32:33, 0] param/loadparm.c:process_usershare_file(4606) process_usershare_file: stat of /var/lib/samba/usershares/ USERNAME failed. Permission denied [2008/11/18 02:32:33, 3] smbd/service.c:find_service(360) find_service() failed to find service USERNAME [2008/11/18 02:32:33, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(6307) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND [2008/11/18 02:32:33, 3] smbd/process.c:process_smb(1069) Transaction 307 of length 104 [2008/11/18 02:32:33, 3] smbd/process.c:switch_message(927) switch message SMBntcreateX (pid 914) conn 0x8515a18 [2008/11/18 02:32:33, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (31033, 544) - sec_ctx_stack_ndx = 0 /etc/samba/smb.conf [profiles] path= /srv/profiles/ browseable = no writeable = yes guest ok= yes hide files = /desktop.ini/ntuser.ini/NTUSER.*/thumbs.db/ write list = %U, @Domain Users, @Domain Admins create mode = 0600 directory mode = 0700 default case= lower preserve case = no case sensitive = no force group = Domain Users [homes] comment = Home Directory %U, %u path= /srv/user-homes/%U browseable = no valid users = %S read only = no writeable = yes guest ok= no inherit permissions = yes create mask = 0644 directory mask = 0775 force user = root force group = Domain Users ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- Permission denied of usershares statfile in Samba 3.0.28a-1ubuntu4.7 https://bugs.launchpad.net/bugs/299306 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 299306] [NEW] Permission denied of usershares statfile in Samba 3.0.28a-1ubuntu4.7
Public bug reported: Hello, I have migrate my running Samba-PDC Setup with LDAP from Debian Etch to Ubuntu Hardy Server 8.04. LDAP ist running correct. Samba Setup ist working right, but acces to Users Home has a poor performance. Access to a PUBLIC Folder is much faster! The Usershare Folder: drwxrwx--T 2 root sambashare 4096 Nov 17 20:10 usershares Error in log.PC09: USERNAME stands for the login user 2008/11/18 02:32:31, 3] smbd/process.c:process_smb(1069) Transaction 17 of length 110 [2008/11/18 02:32:31, 3] smbd/process.c:switch_message(927) switch message SMBtrans2 (pid 915) conn 0x8535d40 [2008/11/18 02:32:33, 3] smbd/service.c:find_service(286) checking for home directory USERNAME gave (NULL) [2008/11/18 02:32:33, 0] param/loadparm.c:process_usershare_file(4606) process_usershare_file: stat of /var/lib/samba/usershares/ USERNAME failed. Permission denied [2008/11/18 02:32:33, 3] smbd/service.c:find_service(360) find_service() failed to find service USERNAME [2008/11/18 02:32:33, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(6307) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND [2008/11/18 02:32:33, 3] smbd/process.c:process_smb(1069) Transaction 307 of length 104 [2008/11/18 02:32:33, 3] smbd/process.c:switch_message(927) switch message SMBntcreateX (pid 914) conn 0x8515a18 [2008/11/18 02:32:33, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (31033, 544) - sec_ctx_stack_ndx = 0 /etc/samba/smb.conf [profiles] path= /srv/profiles/ browseable = no writeable = yes guest ok= yes hide files = /desktop.ini/ntuser.ini/NTUSER.*/thumbs.db/ write list = %U, @Domain Users, @Domain Admins create mode = 0600 directory mode = 0700 default case= lower preserve case = no case sensitive = no force group = Domain Users [homes] comment = Home Directory %U, %u path= /srv/user-homes/%U browseable = no valid users = %S read only = no writeable = yes guest ok= no inherit permissions = yes create mask = 0644 directory mask = 0775 force user = root force group = Domain Users ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- Permission denied of usershares statfile in Samba 3.0.28a-1ubuntu4.7 https://bugs.launchpad.net/bugs/299306 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs