Win2k joining Samba PDC (tried all other posts)

Cherik cheriks at rawmediatek.com
Fri Jun 1 13:03:55 GMT 2001


Hi,
Do you have the latest CVS 2.2 branch? What worked for me was removing
everything samba from my system (except a back up of my smb.conf) and
starting with a fresh CVS
Then I would remove your entries in for the computer account from /passwd as
the script will make entries in both password files for you. I was confused
on this at first aslo, and I am not sure if it really makes a difference or
not, but it's how I got mine to work. If you read my earlier post I went
step by step on how i finaly got mine working. If that doesn't help I don't
know what to say.
I can tell you that my sp2 machine takes 3 or 4 times of receiving that
error before it will join the domain. I have replicated it twice now. So you
may just try to keep joining a few times and it may work.
I wish I could give you a silver bullet but I don't think anyone knows what
it is yet.

Erik Peirson

p.s. are the quotes needed in your add user script?


Original Message -----
From: "BurningPoo" <burningpoo at burningpoo.zzn.com>
To: <samba-ntdom at lists.samba.org>
Sent: Friday, June 01, 2001 2:21 AM
Subject: Win2k joining Samba PDC (tried all other posts)


> Ok.  well, I have read all the previous posts about this in the last 3
> months in the achieves, and none of it was able to solve my problem.
>
> I continue to get the "The procedure number is out of range" error when I
> attempt to add the computer to the domain.  The computer name is NOT in
> smbpasswd, but it IS in passwd.  I setup the smb.conf file as noted:
> # Global parameters
> [global]
>  workgroup = POO
>  netbios name = POO
>  server string = Samba Server
>  encrypt passwords = Yes
>  ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
>  log file = /var/log/samba/%m.log
>  max log size = 0
>  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>  os level = 64
>  preferred master = Yes
>  domain master = Yes
>         local mater = Yes
>  dns proxy = No
>  wins support = Yes
>  guest account = poo
>  writeable = Yes
>  hosts allow = 192.168.0.
>  printing = lprng
>  security = user
>  domain logons = Yes
>  logon path = \\%N\profiles\%u
>
>  logon drive = H:
>  logon home = \\homeserver\%u
>  logon script = logon.cmd
>  add user script = "/usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M
> %u"
>
>
>
> [netlogon]
>  path = /usr/local/samba/lib/netlogon
>  writable = no
>  write list = root
>
> [profiles]
>  path = /usr/local/samba/lib/ntprofile
>  writable = yes
>  create mask = 0600
>  directory mask = 0700
>
> and the rest is more shares.
>
> I'm really getting sick of this error and I would be REALLY HAPPY if
> somebody could help me with this.
>
> BTW, I am using SP2 with Win2k.
>
> jk
> Sysop Seattle S|-|0e |30x (206.191.149.45) CS dust 24/7
> Webmaster  http://poo.foolclan.com/blacklist (The BlackList)
> Just a helpful guy....
>





More information about the samba-technical mailing list