Ralf Gross
2006-Jul-21 14:08 UTC
[Samba] 3.0.23 - different errors on solaris 8 (Error in dskattr...)
Hi, I just compiled samba 3.0.23 on our Sun Solaris 8 server. 3.0.22 was running fine and I used the same compiler options for 3.0.23. $ ./configure --with-acl-support --prefix=/usr/local/samba3023 --with-quotas --with-included-popt --without-ldap --with-vfs gcc version 3.4.2 GNU Make 3.80 Running make now throws a lot these warnings: [-snip-] Linking nsswitch/libnss_wins.so ld: warning: option -o appears more than once, first setting taken [-snip-] Compiling groupdb/mapping.c with -fPIC Linking libsmbclient non-shared library bin/libsmbclient.a [-snip-] Compiling auth/auth_script.c with -fPIC Building plugin bin/script.so ld: warning: option -o appears more than once, first setting take [-snip-] After 'make install', I can still login, but smbclient gives me an error message if I try to list the content of a directory: Domain=[ERS] OS=[Unix] Server=[Samba 3.0.23] smb: \> ls do_list: [\*] NT_STATUS_OBJECT_PATH_NOT_FOUND Error in dskattr: NT_STATUS_OBJECT_PATH_NOT_FOUND some debug output: [2006/07/21 14:36:09, 5] auth/auth_util.c:debug_unix_user_token(475) UNIX token of user 362 Primary group is 300 and contains 11 supplementary groups Group[ 0]: 300 Group[ 1]: 1 Group[ 2]: 30000 Group[ 3]: 30004 Group[ 4]: 700 Group[ 5]: 30019 Group[ 6]: 33336 Group[ 7]: 4114 Group[ 8]: 4121 Group[ 9]: 4141 Group[ 10]: 4204 [2006/07/21 14:36:09, 5] smbd/uid.c:change_to_user(260) change_to_user uid=(0,362) gid=(0,300) [2006/07/21 14:36:09, 4] smbd/vfs.c:vfs_ChDir(741) vfs_ChDir to /export/home/rg [2006/07/21 14:36:09, 3] smbd/trans2.c:call_trans2qfilepathinfo(2908) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257 [2006/07/21 14:36:09, 5] smbd/filename.c:unix_convert(108) unix_convert called on file "bang/ralfgro" [2006/07/21 14:36:09, 5] smbd/filename.c:unix_convert(185) unix_convert begin: name = bang/ralfgro, dirpath = , start = bang/ralfgro [2006/07/21 14:36:09, 1] modules/vfs_extd_audit.c:audit_opendir(164) vfs_extd_audit: opendir . [2006/07/21 14:36:09, 5] smbd/filename.c:unix_convert(295) Intermediate not found bang [2006/07/21 14:36:09, 3] smbd/error.c:error_packet(146) error packet at smbd/trans2.c(2919) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_PATH_NOT_FOUND Any idea what's going on? Ralf
Ralf Gross
2006-Jul-24 15:07 UTC
[Samba] 3.0.23 - different errors on solaris 8 (Error in dskattr...)
[sorry for the full quote but I have to bring this up again, see below] Me said:> > I just compiled samba 3.0.23 on our Sun Solaris 8 server. 3.0.22 was > running fine and I used the same compiler options for 3.0.23. > > $ ./configure --with-acl-support --prefix=/usr/local/samba3023 > --with-quotas --with-included-popt --without-ldap --with-vfs > > gcc version 3.4.2 > GNU Make 3.80 > > Running make now throws a lot these warnings: > > [-snip-] > Linking nsswitch/libnss_wins.so > ld: warning: option -o appears more than once, first setting taken > [-snip-] > Compiling groupdb/mapping.c with -fPIC > Linking libsmbclient non-shared library bin/libsmbclient.a > [-snip-] > Compiling auth/auth_script.c with -fPIC > Building plugin bin/script.so > ld: warning: option -o appears more than once, first setting take > [-snip-] > > > After 'make install', I can still login, but smbclient gives me an error > message if I try to list the content of a directory: > > Domain=[ERS] OS=[Unix] Server=[Samba 3.0.23] > smb: \> ls > do_list: [\*] NT_STATUS_OBJECT_PATH_NOT_FOUND > Error in dskattr: NT_STATUS_OBJECT_PATH_NOT_FOUND > > some debug output: > > [2006/07/21 14:36:09, 5] auth/auth_util.c:debug_unix_user_token(475) > UNIX token of user 362 > Primary group is 300 and contains 11 supplementary groups > Group[ 0]: 300 > Group[ 1]: 1 > Group[ 2]: 30000 > Group[ 3]: 30004 > Group[ 4]: 700 > Group[ 5]: 30019 > Group[ 6]: 33336 > Group[ 7]: 4114 > Group[ 8]: 4121 > Group[ 9]: 4141 > Group[ 10]: 4204 > [2006/07/21 14:36:09, 5] smbd/uid.c:change_to_user(260) > change_to_user uid=(0,362) gid=(0,300) > [2006/07/21 14:36:09, 4] smbd/vfs.c:vfs_ChDir(741) > vfs_ChDir to /export/home/rg > [2006/07/21 14:36:09, 3] smbd/trans2.c:call_trans2qfilepathinfo(2908) > call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257 > [2006/07/21 14:36:09, 5] smbd/filename.c:unix_convert(108) > unix_convert called on file "bang/ralfgro" > [2006/07/21 14:36:09, 5] smbd/filename.c:unix_convert(185) > unix_convert begin: name = bang/ralfgro, dirpath = , start > bang/ralfgro > [2006/07/21 14:36:09, 1] modules/vfs_extd_audit.c:audit_opendir(164) > vfs_extd_audit: opendir . > [2006/07/21 14:36:09, 5] smbd/filename.c:unix_convert(295) > Intermediate not found bang > [2006/07/21 14:36:09, 3] smbd/error.c:error_packet(146) > error packet at smbd/trans2.c(2919) cmd=50 (SMBtrans2) > NT_STATUS_OBJECT_PATH_NOT_FOUND >I still have exactly the same problems with 3.0.23a. To be sure that no updates to my Solaris 8 broke something since compiling 3.0.22, I recompiled 3.0.22. But this is still woking fine! Thus there must be something with 3.0.23X that's not working with Solaris 8 here. Should I open a bug? Ralf
Possibly Parallel Threads
- vfs_shadow_copy2 with snapprefix & delimiter options
- file permissions with inherit permission + ACL's
- security = server, username map, different domain -> no login
- winbind - timeouts in domain with >100000 domain users
- domain/unix groups and valid users parameter