problems with smbpasswd (joining a SAMBA-Domain)

Ralf Jüngling junglin at
Tue Oct 12 09:50:53 GMT 1999


As stated in the NTDOM-FAQ, question 2.
one has to create a machine account for every workstation to be added to
the domain.

Now run the following command

          smbpasswd -a -m workstation_name

This will create an entry in the private/smbpasswd file in the form of
the form ..."

Doing this, I get the error message shown below:
bash# smbpasswd -a -m ifsw005
cli_nt_session_open: rpc bind failed. Error was RAP code 0
lsa query info failed
Can't setup password database vectors.

The line in /etc/passwd for ifsw005 looks like this:
ifsw005$:*:805:805:Rechner 5:/dev/null:

Head of smb.conf:
        workgroup = IFS_CIP
        server string = IFS_KING on TWIX
        log file = /usr/local/samba/var/log.%m
        max log size = 50
        read raw = No
        write raw = No
        socket options = IPTOS_LOWDELAY
        logon script = userskript.cmd
        logon path = \\%N\%U\ifscip\ntprofile
        logon drive = h:
        domain logons = Yes
        os level = 33
        preferred master = Yes
        local master = No
        domain master = Yes
        wins support = Yes
        dfree command = /usr/local/bin/dfree
        oplocks = No

        comment = Home Directories
        read only = No
        browseable = No

        comment = All Printers
        path = /tmp
        print ok = Yes
        browseable = No

I compiled 2.1.0prealpha-branch on AIX 4.2 .
Any idea what's going wrong here?

Best whishes,


Mit automatischen Gruessen,
Ralf Juengling


Institut fuer Angewandte Physik             Department of Applied
Westfaelische Wilhelms-Universitaet Muenster       University of
Corrensstrasse 2/4
D-48149 Muenster
junglin at
Fon: 0251 83-33534                                     Fax: 0251

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba-ntdom mailing list