Dear allI'm running some deployment tests with SRS 5.4.2 on CentOS 6.3 and the latest 6.5. As recommended by Redhat I have configured LDAP using sssd prior to installing SRS.
Installation went like a charm and everything looks well except I cannot mount USB devices.
$ utdiskadm -l Device Partition Mount Path ------ --------- ---------- disk1 disk1 disk1 disk1p1 $ utdiskadm -m disk1p1 utdomount: invalid uid 21003 utdomount: invalid uid 21003 utdomount: invalid uid 21003 utdomount: invalid uid 21003 utdomount: invalid uid 21003 utdomount: invalid uid 21003The main problem seems to be in /opt/SUNWut/lib/utdomount command, which is in fact a binary executable. Debugging /opt/SUNWut/lib/utprepmount shows no difference between SRS on CentOS 5 and CentOS 6. Manually mounting the device as root using
mount -o uid=user-id,gid=group-id /tmp/SUNWut/units/IEEE802.0021287e8a17/dev/dsk/disk1p1 /tmp/SUNWut/mnt/user-id/usb-device-name
works fine. Manually using utdomount:utdomount -m -f vfat -b /tmp/SUNWut/units/IEEE802.0021287e8a17/dev/dsk/disk1p1 -i 21003 -p /tmp/SUNWut/mnt/{user_id}/usb-disk
shows the same invalid uid error as above. As far as I can see, utprepmount tries to determine the user of active the sunray session. On CentOS 5 either than CentOS 6 it states the numerical ID of the user, in my case it is the "21003". With this and other informations it tries to invoke utdomount. utdomount tries to convert the numerical ID to the real account name but fails to do so in CentOS 6. Stracing utdomount stops after a "getuid32()" call, ldd'ing utdomount shows all libraries are found.
Can anybody tell me if there have to be done some other changes maybe in pam configuration to let utdomount convert the uid's?
kind regards Andreas Bock CEN-IT Center for Earth System Research and Sustainability Universität Hamburg
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
