[Samba] can't add machine account

Juan Miscaro scry_mr at yahoo.ca
Sun May 13 19:23:27 GMT 2007


I am using FreeBSD 6.2 with Samba 3.0.24.

Samba is set up as PDC and using the tdbsam backend.  I'm having a hell
of a time logging in my first machine (say Windows machine BLAH).

First I created my login user on the system side (pw) and the samba
side (pdbedit).

# pw useradd username
# pdbedit -a -u username

Then I create the machine system account:

# pw useradd -g machines -c Machine -d /dev/null -s /bin/false -n blah$

Then on the Samba side:

# pdbedit -a -m -u blah

These two get created (confirmed).

Now when I log in my logs show:

[2007/05/13 15:08:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2007/05/13 15:08:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2007/05/13 15:08:26, 2] smbd/reply.c:reply_tcon_and_X(711)
  Serving IPC$ as a Dfs root
[2007/05/13 15:08:26, 2] libsmb/credentials.c:creds_server_check(218)
  creds_server_check: credentials check failed.
[2007/05/13 15:08:26, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(478)
  _net_auth2: creds_server_check failed. Rejecting auth request from
client BLAH machine account BLAH$
[2007/05/13 15:08:26, 2] libsmb/credentials.c:creds_server_check(218)
  creds_server_check: credentials check failed.
[2007/05/13 15:08:26, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(478)
  _net_auth2: creds_server_check failed. Rejecting auth request from
client BLAH machine account BLAH$

What is happening?

Juan 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the samba mailing list