[H-GEN] Samba query

Harry Phillips harry at 4ward.com.au
Tue Mar 18 08:10:13 EST 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

I have come across problem with Samba.
1. I have a Samba server as a PDC running on Mandrake 8.2, the problem existed on both versions of Samba 2.2.3 and hte latest 2.2.7.
2. I have only one server on the network.
3. I have the following line in my [global] section of my smb.conf

add user script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %m$

4. I have the root user as a Samba account with a password.
5. I can get a W2K machine to join the domian by suppling the root user id/password without any problems.
6. I turn off the "require sign or seal" in the registry of the XP machine.
7. I try and get the XP machine to change the the domain - it fails with an error message "Access denied"
8. I look in the log and see the following:

Mar 18 18:56:37 tweety smbd[13167]: [2003/03/18 18:56:37, 0]
rpc_server/srv_netlog_nt.c:get_md4pw(188)
Mar 18 18:56:37 tweety smbd[13167]:   get_md4pw: Workstation deanlt$: no
account in domain
Mar 18 18:56:38 tweety smbd[13168]: [2003/03/18 18:56:38, 0]
rpc_server/srv_samr.c:api_samr_set_userinfo(670)
Mar 18 18:56:38 tweety smbd[13168]:   api_samr_set_userinfo: Unable to
unmarshall SAMR_Q_SET_USERINFO.
Mar 18 18:56:38 tweety smbd[13168]: [2003/03/18 18:56:38, 0]
libsmb/smbencrypt.c:decode_pw_buffer(260)
Mar 18 18:56:38 tweety smbd[13168]:   decode_pw_buffer: incorrect password
length (1665675298).

9. I figure that there must be a problem with the root password and rest it to something different.
10. I get the same message on both machines *still*.
11. I login from a Win98 PC using the new samba password for root, works fine, password is ok.
12. I set the root samba password to none.
13. The XP machines can join the domain.

At this point I figured that the XP machines have some sort of problem encoding the password that Samba can't handle so,

14. I change the root password.
15. I login to the XP machines as root with the new password, works fine.

Now I figure that XP must do something different to the password when suppling it to join the domain.

Has anybody else used Samba as a PDC and tried to get an XP machine to join the domain?

-- 

Regards,
Harry Phillips

--- Failure is not an option,
    it comes bundled with your Microsoft product.



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list