[Samba] weird problem joining a domain (pdc)

Aleix Conchillo aleix.conchillo at scytl.com
Tue Jun 4 10:35:02 GMT 2002

hi all,

i configured a Samba PDC 6 months ago, everything was ok, and users
could join the domain without problem.

but now i have a problem joining the domain. i get this error:

[2002/06/04 18:31:15, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2002/06/04 18:31:15, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416)
  unable to open passdb database.

but accessing to  any resources in the domain  browsing them through the
network works fine, is just a joining to domain problem. file
permissions seem to be ok.

my box is a Debian GNU/Linux - Samba 2.2.4. Samba 2.2.3 did the same.

my smb.conf is at the bottom of the email.

any ideas of what could happen? thanks in advance.

best regards,



;*******************section global*****************
   workgroup = DOMAIN
   server string = DOMAIN Domain
   security = user
   status = yes
   encrypt passwords = yes
   domain logons = yes
   logon script = scripts\%U.bat
   domain admin group = @adm
   add user script = /usr/sbin/adduser --ingroup machines --gecos Machine --no-home --home /dev/null --shell /bin/false --force-badname --disabled-password %m$
   guest account = nobody
   os level=65
   unix password sync = true
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
   printcap name = lpstat
   printing = cups

   path = /etc/samba/netlogon
   writeable = no
   guest ok = no 

   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = yes 
   writable = no  
   print ok = yes 
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j

   comment = Your home directory
   browseable = no
   read only = no 
   create mode = 0755
   guest ok = no

More information about the samba mailing list