Win XP and Samba PDC

Rob Secombe robseco at teksupport.net.au
Fri Jan 11 18:23:03 GMT 2002


Hi all,

I am brand new to the group so please be kind :). 

I have used samba for serveral years with Win95-98 with great success. We
are now trying to provide a customer with a Samba solution (2.2.2) on
FreeBSD 4.3 who has a mix of '95, '98, ME and XP. and cannot get the XP box
to join the domain. Prior to joining the list I trawled through the
archives and found numerous people experiencing the same symptoms but have
not yet managed to extract a definitive solution. I was hoping that if
someone has actually got it to work can you could please help me out, or
tell me that it just won't work - yet.

When trying to join the domain from an XP workstation I get either:
'The procedure number is out of range'
'The remote procedure call failed'

The workstation log contains:
[2002/01/11 15:56:10, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2002/01/11 15:56:10, 0] lib/fault.c:fault_report(40)
  ===============================================================
[2002/01/11 15:56:10, 0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 15283 (2.2.2)
  Please read the file BUGS.txt in the distribution
[2002/01/11 15:56:10, 0] lib/fault.c:fault_report(43)
  ===============================================================
[2002/01/11 15:56:10, 0] lib/util.c:smb_panic(1055)


I have done the following:

Added 'root' to smbpasswd
Applied the WinXP_SignOrSeal hack
Modified FreeBSD 'pw' to permit '$' in usernames

If I remove the workstation trust account from the FreeBSD userbase and
smbpasswd and try again the entries are re-created but the join still
fails. I notice that the entry for the workstation in smbpasswd contains
'NO PASSWORDXXXXXXXXXXXXXXXXXXXXX' If I manually add the workstation trust
account by creating the FreeBSD user with the trailing '$' and then doing a
smbpasswd -a -m ws1 I still can't get a user joined. In this case the
client reports it can't find the workstation in the domain.

smb.conf is as follows:

[global]
        workgroup = HAB
        log file = /var/log/log.%m
        max log size = 50
        logon script = %U.bat
        domain master = yes
        security = user
        domain logons = yes
        wins support = yes
        socket options = TCP_NODELAY
        netbios name = samba
        browseable = yes
        local master = yes
        load printers = yes
        os level = 255
        encrypt passwords = yes
        server string = Samba Server
        add user script = /usr/sbin/pw useradd %u -d /dev/null -g samba -s
/sbin/nologin -h -
        delete user script = /usr/sbin/pw userdel %u -r
[homes]
   comment = Home Directories
   path = %H/smb_home
   browseable = no
   writeable = yes

[netlogon]
  comment = Network Logon Service
  path = /data/samba/netlogon
  guest ok = yes
  writeable = no
  write list = root

[Profiles]
   path = /data/samba/profiles
   browseable = no
   guest ok = yes

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writeable = no
   printable = yes

[shared]
  comment = Public Stuff
  path = /data/samba/shared
  public = yes
  browseable = yes
  writable = yes
  printable = no
  write list = @staff
  force group = staff
  force create mode = 770

[myob]
  comment = MYOB Data
  path = /data/samba/myob
  public = no
  browseable = yes
  writable = yes
  printable = no
  force user = myob
  force group = myob
  write list = @myob
  force create mode = 770

[apps]
  comment = Applications
  path = /data/samba/apps
  public = yes
  writable = yes
  printable = no
  write list = @wheel

[cdrom]
  comment = CDROM Drive
  path = /cdrom
  public = yes
  writeable = no
  printable = no


Thanks


Rob Secombe
Teksupport Pty. Ltd.
Melbourne Australia






More information about the samba mailing list