[Samba] Standalone PDC XP-Win7 clients can't join domain.

Adrian Levi adrian.levi at gmail.com
Tue Mar 2 14:37:39 MST 2010


On 2 March 2010 05:18, Dale Schroeder <dale at briannassaladdressing.com> wrote:
> Adrian,
>
> I had the same issue with Debian 3.4.3.  I eventually found an old post that
> mentioned adding the "-i" option (if using ldap) to the "add machine script"
> entry like this:
>    add machine script = /usr/sbin/smbldap-useradd -i -w '%u'
>
> I don't know which backend you're using, but smbpasswd also supports this
> option if adding machine accounts manually.
> I'm unaware of why it is needed or how a non-ldap PDC could use this option
> with an on-the-fly "add machine script" entry.  I only know that XP and Win7
> systems could now join the domain.
>
> Dale

Made no difference. The machine names are turning up in the Samba
server and have a RID attached to them

earth:~# net rpc user
Enter root's password:
backup
nobody
lp
sshd
root
adrian
chantal
postgres
asc1
asc2
earth:~#

earth:~# net usersidlist
nobody
 S-1-5-21-2461270777-1882490874-107353505-501
 S-1-1-0
 S-1-5-2
 S-1-5-11

sshd
 S-1-5-21-2461270777-1882490874-107353505-1202
 S-1-1-0
 S-1-5-2
 S-1-5-11

adrian
 S-1-5-21-2461270777-1882490874-107353505-3000
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2461270777-1882490874-107353505-1015

postgres
 S-1-5-21-2461270777-1882490874-107353505-1210
 S-1-1-0
 S-1-5-2
 S-1-5-11

asc2
 S-1-5-21-2461270777-1882490874-107353505-3008
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2461270777-1882490874-107353505-1015

earth:~# net rpc info
Enter root's password:
Domain Name: ASC
Domain SID: S-1-5-21-2461270777-1882490874-107353505
Sequence number: 1267565017
Num users: 10
Num domain groups: 9
Num local groups: 0
earth:~#



-- 
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


More information about the samba mailing list