Hi people,
I'm having an issue with the utmountd daemon since I've configured my
server to also authenticate remote users identified via LDAP, not just
locals.
The configuration works fine, I'm able to authenticate remote users,
create their homes, etc. The only problem is when they stick in an USB
device, it doesn't get mounted.
Digging a bit I checked the utmountd.log and saw this:
2014.06.12 14:29:48.619816 WEST [device uid=125568 xid=11 ctlmin=1
devroot=/tmp/SUNWut/units/IEEE802.00144f574400 media=disk]
utdomount: invalid uid 125568
utdomount: invalid uid 125568
utdomount: invalid uid 125568
utdomount: invalid uid 125568
utdomount: invalid uid 125568
utdomount: invalid uid 125568
So basically I assume that utdomount doesn't manage IDs for remote
users. I also noticed that utdiskadm performs this command to mount the
device:
$UTDOMOUNTCMD -m -f $FSTYPE -b $BLOCKDEVPATH $MNT_ARGS -i $UTUSER_ID
I could simply hardcode the $UTUSER_ID for some other that would make
the user have access, but does someone know a 'cleaner' way to solve
this issue?
In order for LDAP, I'm using sssd with a pretty much simple
configuration, although I don't know whether utdomount is based on sssd
or even how it tries to get the users.
The configuration is the following:
[domain/ldap]
id_provider = ldap
auth_provider = ldap
ldap_id_use_start_tls = false
ldap_search_base = dc=myschool,dc=es
ldap_uri = ldap://openldap.myschool.es/
ldap_tls_reqcert = never
ldap_user_home_directory = homeDirectory
[sssd]
services = nss, pam
config_file_version = 2
domains = ldap
Any help will be very appreciated!
Regards,
Nicolás
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users