Smbd startup failure caused by a failure to create an NT token for the guest account.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Chuck Short | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: samba
Hi
I've just intalled Ubuntu Server 8.04 LTS in order to run Samba/Ldap PDC but I,ve encountered an error which looks like a bug 3905 that was fixed in samba 3.0.23 according to changelog. I tried two different configuration both ends in the same moment with an error. first one is exact copy of solution from chapter 5 from "Samba3 by example". Second one based on SAMBA-LDAP Howto from smbldap-tools. Slapd is empty but working gives correct DSE responses. but when I lunch samba smbd crashes with this information in logs:
[2009/05/30 20:44:57, 10] lib/smbldap.
Failed search for base: ou=Groups,
[2009/05/30 20:44:57, 10] auth/auth_
pdb_enum_
[2009/05/30 20:44:57, 3] smbd/sec_
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/30 20:44:57, 10] auth/auth_
create_
[2009/05/30 20:44:57, 0] smbd/server.
ERROR: failed to setup guest info.
if I run: smbd -d 10 -i
Primary group is 0 and contains 0 supplementary groups
smbldap_search_ext: base => [ou=Groups,
Failed search for base: ou=Groups,
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: mapping failed for sid S-1-5-32-545
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
smbldap_search_ext: base => [ou=Groups,
Failed search for base: ou=Groups,
pdb_enum_
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
create_local_token failed: NT_STATUS_
ERROR: failed to setup guest info.
talloc report on 'null_context' (total 4427 bytes in 228 blocks)
auth_
struct passwd * contains 117 bytes in 7 blocks (ref 0) 0xa8ebd0
struct samu contains 582 bytes in 14 blocks (ref 0) 0xa8f8c0
main loop talloc (mainly parse_misc) contains 573 bytes in 7 blocks (ref 0) 0xa8e100
SORTED_TREE contains 915 bytes in 44 blocks (ref 0) 0xa8bb60
struct pdb_methods contains 704 bytes in 5 blocks (ref 0) 0xa81a30
lp_talloc contains 1317 bytes in 147 blocks (ref 0) 0x9da440
if I add
winbind nested groups = no
I can start smbd daemon but it is workaround not proper solution for server.
The same configuration on US 9.04 works without problems. Does anybody meet this error.
Changed in samba (Ubuntu Hardy): | |
assignee: | nobody → Chuck Short (zulcss) |
This is actually fixed in karmic according to the upstream changelog. Marking fixed for karmic will look at getting a fix for hardy for this.
Regards
chuck