[Samba] Can't login into PDC, Running Samba 2.2.7 on Suse 8.2

Adam Foreman adforeman at pathwayoflife.org
Thu Oct 30 17:20:59 GMT 2003

I am new to Linux and Samba, and I have attempted to set-up a Samba PDC.
However, every time I try to log in to my domain using Win XP or Y2K I
receive errors. Please keep in mind this is my first time doing this.
Steps Taken:
-Setup the samba configuration (smb.conf) using swat. [SEE BELOW]
-Created User Linux accounts, (default group:100, shell:/bin/false),
using YaST2.
-Created User Samba accounts, (smbpasswd -a "username")
-Created Machine Linux accounts, (/usr/sbin/useradd -g 100 -d /dev/null
-c "machine nickname" -s /bin/false machine_name$)
-Created Machine Samba accounts, (smbpasswd -a -m "machine_name")
-Added root to smbpasswd, (smbpasswd -a root)
-Ran testparm, results: OK
-Ran smbclient, and was able to login locally and remotely via ssh.
-Pinged server.
-Configured TCP/IP properties for DHCP, configured WINS to "Server IP". 
Final Result:
Able to add the machines to the domain, able to browse home directories
however, not able to create folders or add files. HOWEVER, HERE'S THE
CANNOT LOGIN INTO THE DOMAIN. I get 2 separate error messages for XP and
Y2K and I can only log in to the workstation locally.
WinXP Error:
The system cannot log you on because the domain POLC is not available.
WinY2K Error: The system cannot log you on to this domain because the
system's computer account in its primary domain is missing or the
password on that account is incorrect.
Checked log.smbd and found the following.
[2003/10/30 11:08:04, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  Domain=[]  NativeOS=[Windows 2002 2600] NativeLanMan=[Windows 2002
[2003/10/30 11:08:04, 3] smbd/reply.c:reply_sesssetup_and_X(868)
[2003/10/30 11:08:04, 3] smbd/reply.c:reply_sesssetup_and_X(1048)
  No such user  [] - using guest account
[2003/10/30 11:08:04, 1] smbd/reply.c:reply_sesssetup_and_X(1082)
  Username  is invalid on this system
[2003/10/30 11:08:04, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/10/30 11:08:04, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(1084) cmd=115 (SMBsesssetupX)
[2003/10/30 11:08:04, 3] smbd/process.c:timeout_processing(1098)
  end of file from client
I used a valid account so is the machine account causing this error? Did
I not setup my machine accounts properly?
# Global parameters
        workgroup = POLC
        netbios name = PATHWAY
        server string = Samba Server
        encrypt passwords = Yes
        map to guest = Bad User
        unix password sync = Yes
        log level = 3
        syslog = 0
        min protocol = NT1
        time server = Yes
        unix extensions = Yes
        printcap name = CUPS
        logon script = startup.bat
        logon drive = P
        domain logons = Yes
        os level = 99
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        guest account =
        admin users = adforeman
        printer admin = adforeman
        printing = cups
        veto files = /*.eml/*.nws/riched20.dll/*.{*}/
        hide files = /.*/DesktopFolderDB/TrashFor%m/resource.frk/
        comment = Home Directories
        valid users = %S
        create mask = 0640
        directory mask = 0750
        comment = All Printers
        path = /var/tmp
        create mask = 0600
        printable = Yes
        browseable = No
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
        path = /home/profile
        read only = No
        create mask = 0600
        directory mask = 0700
        profile acls = Yes
        csc policy = disable

More information about the samba mailing list