[Samba] smbd does not start NT_STATUS_NO_MEMORY
Dr. Lars Hanke
debian at lhanke.de
Mon Nov 14 08:32:53 UTC 2016
Okay, I tried a more modern config and the issue vanished. The old one
was from an install about 10 years ago! So this hints at a bug, i.e. a
wrong config should not produce out of memory errors, but anything more
useful.
Am 14.11.2016 um 00:32 schrieb Dr. Lars Hanke via samba:
> I'm trying to set up a simple test server, but smbd fails to start:
>
> [2016/11/14 00:21:24, 0] ../source3/smbd/server.c:1241(main)
> smbd version 4.2.10-Debian started.
> Copyright Andrew Tridgell and the Samba Team 1992-2014
> [2016/11/14 00:21:24.881448, 0]
> ../lib/util/charset/convert_string.c:391(convert_string_talloc_handle)
> convert_string_talloc: Conversion not supported.
> [2016/11/14 00:21:24.881497, 0]
> ../source3/auth/auth_util.c:1110(copy_session_info)
> copy_session_info(): ndr_pull_auth_session_info failed: Character
> Conversion Error
> open_rpc_pipe_p: copy_serverinfo failed
> dcerpc_winreg_int_openkey: Could not connect to winreg pipe:
> NT_STATUS_NO_MEMORY
> svcctl_init_winreg: Could not open SYSTEM\CurrentControlSet\Services -
> NT_STATUS_NO_MEMORY
> rpc_srv_register: Failed to call the svcctl init function!
> [2016/11/14 00:21:24.881554, 0]
> ../lib/util/become_daemon.c:111(exit_daemon)
> STATUS=daemon failed to start: Samba cannot setup ep pipe, error
> code 13
>
> however, there seems to be enough memory left:
>
> free -m
> total used free shared buffers cached
> Mem: 7892 5241 2651 18 32 4109
> -/+ buffers/cache: 1098 6793
> Swap: 15255 0 15255
>
> The configuration is simple:
>
> # Global parameters
> [global]
> unix charset = LOCALE
> workgroup = Workgroup
> server string = µAC-Samba %v on %h
> security = USER
> map to guest = Bad User
> idmap config * : backend = tdb
>
>
> [test]
> comment = Test share
> path = /srv/test
> guest ok = Yes
>
> Thanks for anything helpful,
>
> - lars.
>
>
>
>
More information about the samba
mailing list