Domain Members can not join to Samba DC (ubuntu 9.10).

Bug #522482 reported by Rosa Ferrada
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: samba

I am unable to join my PDC or any other machine to the domain controler. When i do :
net rpc -S myPDC -UmyUser&passwd (i tried whit root and doamina administrator user) i got:
...

rpc_api_pipe: got frag len of 48 at offset 0: NT_STATUS_OK
rpc_api_pipe: host palm returned 48 bytes.
     samr_OpenDomain: struct samr_OpenDomain
        out: struct samr_OpenDomain
            domain_handle : *
                domain_handle: struct policy_handle
                    handle_type : 0x00000000 (0)
                    uuid : 00000000-0000-0000-0000-000000000000
            result : NT_STATUS_ACCESS_DENIED
could not open domain: NT_STATUS_ACCESS_DENIED
Unable to join domain RX.

log event log.myPDC
...
[2010/02/16 17:30:00, 5] lib/util.c:632(show_msg)
[2010/02/16 17:30:00, 5] lib/util.c:642(show_msg)
  size=35
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=1
  smb_pid=12760
  smb_uid=100
  smb_mid=16
  smt_wct=0
  smb_bcc=0
[2010/02/16 17:30:00, 5] lib/util_sock.c:526(read_socket_with_timeout)
  read_socket_with_timeout: blocking read. EOF from client.
[2010/02/16 17:30:00, 3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/02/16 17:30:00, 5] auth/token_util.c:522(debug_nt_user_token)
  NT user token: (NULL)
[2010/02/16 17:30:00, 5] auth/token_util.c:548(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2010/02/16 17:30:00, 5] smbd/uid.c:368(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2010/02/16 17:30:00, 3] smbd/connection.c:31(yield_connection)
  Yielding connection to
[2010/02/16 17:30:00, 3] smbd/server.c:848(exit_server_common)
  Server exit (failed to receive smb request)

I am not sure if is because the same problem but when i try to do:
root@palm:/var/log/samba# wbinfo -u -D10
Could not get domain info
getent and getgroup work fine

thanks a lot!

PD. The samba version is 3.4.0 - ubuntu 9.10

Revision history for this message
Draycen DeCator (ddecator) wrote :

Possible duplicate of bug 164544? Not sure if the patch on that report is still relevant after any upgrades.

Rosa Ferrada (roferrada)
description: updated
Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like a different issue.
Was that working for you in a previous release ? Any chance you could test with Lucid's 3.4.5 to see if that's covered by the post-3.4.0 patches already ?

Changed in samba (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Rosa Ferrada (roferrada) wrote :

HI Terry, not sure in ubuntu, but i was working with a old gentoo and smaba (3.0.X ) and it work join gento PDC and ubunut DMS. I just install samba 3.4.5 and i really hope it can work because i need to join windows clients and linux domain members

thanks

Rosa

Revision history for this message
Rosa Ferrada (roferrada) wrote :

I installed samba 3.4.5 and i work fine, finally. I needed to delete the files /var/lib/samba/ tdb, ldb and var/run/samba/* and /var/cache/samba/

Then do net rpc getsid and make sure the sid that i am getting is the same that i got on ldap (because i migrate ldap and asmaba to a new server).

So i can say solved.

Revision history for this message
Thierry Carrez (ttx) wrote :

Thanks Rosa, marking as fixed in the development release (lucid contains 3.4.5)

Changed in samba (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.