Solaris 11 and samba4 in non-standard dir, works all except finger
0
votes
2
answers
557
views
The Oracle packaged version of samba gave me some problems(error with krb5 and no join with AD samba4 server).
So I recompile by myself using IPS the latest version of samba(4.3.13).
After 30 minutes of compilation, my samba4 is installed. All works fine:
net ads join OK, wbinfo OK, wbinfo -i user OK
, all except two things: id winbinduser
and finger winbinduser
. I have resolved
for id, with this dirty but working solution(would be better to put those files in manifest and standard location, but I want to avoid conflict with Oracle samba standard package).
ln -sf /opt/gm/lib/nss_winbind.so.1 /usr/lib/amd64/nss_winbind.so.1
ln -sf /opt/gm/lib/nss_winbind.so.1 /usr/lib/nss_winbind.so.1
ln -sf /opt/gm/lib/security/pam_winbind.so /usr/lib/security/amd64/pam_winbind.so
ln -sf /opt/gm/lib/security/pam_winbind.so /usr/lib/security/amd64/pam_winbind.so.1
ln -sf /opt/gm/lib/security/pam_winbind.so /usr/lib/security/pam_winbind.so
ln -sf /opt/gm/lib/security/pam_winbind.so /usr/lib/security/pam_winbind.so.1
Id is working, but finger remain mute. What I miss?
id pino
uid=10005(pino) gid=10016(domain users)
root@solaris11:~# finger !$
finger pino
Login name: pino In real life: ???
This is the nsswitch.conf
passwd: files winbind
group: files winbind
hosts: files dns wins
ipnodes: files dns wins
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
netgroup: ldap
automount: files
aliases: files
services: files
project: files
auth_attr: files
prof_attr: files
tnrhtp: files
tnrhdb: files
sudoers: files
This is the output of truss.
Asked by elbarna
(13690 rep)
Jan 24, 2021, 01:26 AM
Last activity: Jan 25, 2021, 12:28 AM
Last activity: Jan 25, 2021, 12:28 AM