[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: smbk5pwd for REL_ENG_2_2 [SOLVED]



Howard Chu wrote:
> 
> José M. Fandiño wrote:
> 
> >Howard, Jonathan, Igor, thank you for your responses.
> >
> >I found something weird. If I run slapd as an unprivileged
> >user (ldap by default on SuSE) I get a segfault, only root
> >is able to run slapd without crash the process. Of course
> >filesystem permissions are correct so the ldap user can
> >read modules and database files.
> >
> >
> Like Igor said - run under gdb and see where it segfaults.

[.....]
open("/etc/krb5.conf", O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=1109, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404d2000
read(9, "[libdefaults]\n    default_realm "..., 4096) = 1109
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x404d2000, 4096)                = 0
getuid32()                              = 76
geteuid32()                             = 76
getgid32()                              = 70
getegid32()                             = 70
open("/var/heimdal/m-key", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied)

solution:

chmod ldap:ldap /var/heimdal/m-key