In trying to get samba on solaris 10 to integrate in our AD, I installed the version from blastwave. The problem I have now is that smbd seems to hang when I start it with smbd -D.
The log output with -d 10 is probably too long to post, but here is the last rows before the hang: [2007/05/15 13:05:15, 5] lib/charcnv.c:(81) Substituting charset '646' for LOCALE [2007/05/15 13:05:15, 5] lib/charcnv.c:(81) Substituting charset '646' for LOCALE [2007/05/15 13:05:16, 7] param/loadparm.c:(5112) lp_servicenumber: couldn't find printers [2007/05/15 13:05:16, 3] printing/pcap.c:(117) reloading printcap cache [2007/05/15 13:05:16, 5] printing/print_cups.c:(71) reloading cups printcap cache [2007/05/15 13:05:16, 10] printing/print_cups.c:(51) cups server left to default localhost Truss gives this as the last lines: sysinfo(SI_HOSTNAME, "sbl107.mydomain.se", 256) = 14 open64("/var/run/name_service_door", O_RDONLY) Err#2 ENOENT sysinfo(SI_SRPC_DOMAIN, "afa.se", 1024) = 7 door_info(4, 0xFFBC9850) = 0 door_call(4, 0xFFBC9838) = 0 sysinfo(SI_HOSTNAME, "sbl107.mydomain.se", 256) = 14 open64("/var/run/name_service_door", O_RDONLY) Err#2 ENOENT sysinfo(SI_SRPC_DOMAIN, "afa.se", 1024) = 7 door_info(4, 0xFFBC4190) = 0 door_call(4, 0xFFBC4178) = 0 sysinfo(SI_HOSTNAME, "sbl107.mydomain.se", 256) = 14 open64("/var/run/name_service_door", O_RDONLY) Err#2 ENOENT mmap(0x00000000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFDFC0000 lwp_park(0x00000000, 0) (sleeping...) And finally, pstack <pidofsmbd>, gives: febbc4a0 lwp_park (0, 0, 0) febb676c cond_wait_queue (fe811018, fee267b8, 0, 0, 0, 0) + 28 feb58ad4 nss_get_backend_u (ffbc3cdc, fe810a08, 0, 0, fe810a10, fe811018) + 124 feb59484 nss_search (4, febe77dc, febec8ac, ffbc3cf8, 1, febe4278) + e8 feda76dc _switch_gethostbyname_r (ffbc5f9c, 3943bc, 3943d0, 2120, fee31990, feda2bfc) + 50 feda300c _door_gethostbyname_r (ffbc5f9c, 3943bc, 3943d0, 2120, fee31990, ffbc5f9c) + 108 feda63cc _get_hostserv_inetnetdir_byname (0, ffbc5e9c, ffbc5e94, fedc7a70, ffbc5e2c, 0) + 844 feda2488 gethostbyname_r (ffbc5f9c, 3943bc, 3943d0, 2120, fee31990, fee2b070) + a0 ff36a704 ldap_pvt_gethostbyname_a (feb453a8, ffbc5f88, ffbc5f84, ffbc5f80, ffbc5f7c, 22294) + 24 ff36a890 ldap_pvt_get_fqdn (ffbc5f9c, ff38f7c4, 22144, feb52d0c, ff38f7c0, 15fc) + 68 ff369164 ldap_int_initialize (ff38f738, 23850, ff38f738, 0, ff38c984, 0) + 48 ff34bd9c ldap_create (1400, ffbc61c4, 40c30, 0, ff38f738, ff38c984) + 58 ff34bff4 ldap_init (398140, 185, 4e2, 4d8, 136, 0) + 4 fe3e45f8 openConnection (ffbc7270, 398140, 3992d8, a, 399ccc, 1) + 344 fe3e3a8c makeConnection (ffbc7adc, 398140, 3992d8, ffbc7b4c, a, 399ccc) + 1f0 fe3e5974 __s_api_getConnection (0, 397ad0, 0, ffbc7b4c, 0, 399ccc) + 448 fe3da624 get_current_session (399c88, 1, fe3db0e4, 3, 1d4, ffffffff) + 30 fe3db2b8 search_state_machine (399c88, 7, 0, 397a90, 0, fe404000) + 184 fe3dbd58 __ns_ldap_list (fe42f16c, ffbc8ee8, 399c6c, fe42e9a4, 0, 0) + 220 fe41b6c4 _nss_ldap_lookup (399c50, ffbc93b8, fe42f16c, ffbc8ee8, 0, fe41beac) + 44 fe41552c getbyname (399c50, ffbc93b8, febe8bc0, 18d1c, feb58a84, fe42e000) + 258 feb59570 nss_search (fe4152d4, febe77dc, febec8ac, ffbc93b8, 1, febe4278) + 1d4 feda76dc _switch_gethostbyname_r (ffbcb65c, 3943bc, 3943d0, 2120, fee31990, feda2bfc) + 50 . . . Samba version: 3.0.23b Solaris 10 Any ideas why this process hangs? Regards, /Johnny -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba