[Samba] PDC Problems

Michele Santucci tux at shiny.it
Mon Nov 18 20:35:01 GMT 2002


Hello,

That's what I got trying to join a Win2K workstation to my domain (managed
by a linux/samba server),
after I joined the domain the system refuse to logon/add any domain user
reporting a trust relationship failure...
1) All the clients are Windows 2000 sp3 machines (tcp + netbeui)
2) Linux server use a Mandrake 8.2 pro suite running samba 2.2.6

/etc/passwd

video$:x:504:421:Machine Account:/dev/null:/bin/false

/etc/samba/smbpasswd

video$:504:DD8EB67612E73F3842517E31664A1C6C:BC3911425DC8A72332F814FC212ABE91
:[W
         ]:LCT-3DD8E642:

^ seems like it created the machine account correctly



[root at server samba]# more log.video
[2002/11/18 14:08:17, 0] smbd/service.c:make_connection(381)
  make_connection: root logged in as admin user (root privileges)

As long as I add machine accounts it just show this

[2002/11/18 14:09:18, 0] smbd/password.c:authorise_login(863)
  authorise_login: rejected invalid user guest
[2002/11/18 14:10:30, 0] smbd/password.c:authorise_login(863)
  authorise_login: rejected invalid user guest

these lines appear after the procedure created the machine account and I try
to add a new local account (called michele) taking it from the domain.

[root at server samba]# more log.smbd
[2002/11/18 14:06:42, 0] smbd/server.c:main(707)
  smbd version 2.2.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/11/18 14:07:42, 0] smbd/server.c:open_sockets(238)
  Got SIGHUP

????

This's my CONFIGURATION file ...

[root at server samba]# more /etc/samba/smb.conf
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/11/18 13:52:01

# Global parameters
[global]
        workgroup = CCGM-DOM
        netbios name = CCGM-SERVER
        server string = Samba Server %v
        encrypt passwords = Yes
        update encrypted = Yes
        null passwords = Yes
        pam password change = Yes
        username map = /etc/samba/smbusers
        unix password sync = Yes
        admin log = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = lpstat
        domain admin group = @smb-admin
        domain guest group = @users
        add user script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false -M %u
        domain logons = Yes
        os level = 64
        preferred master = Yes
        domain master = Yes
        wins proxy = Yes
        wins support = Yes
        guest account = guest
        valid users = @smb-admin @ccgm @satyagra
        admin users = @smb-admin
        read list = @ccgm @satyagra
        write list = @smb-admin
        printer admin = @smb-admin
        printing = cups

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        guest ok = Yes
        printable = Yes
        print command = lpr-cups -P %p -o raw %s -r   # using client side
printer drivers.
        browseable = No

[print$]
        path = /var/lib/samba/printers
        write list = @smb-admin




    bye by(t)e[S]...TuX!


---
Questo messaggio è certificato Virus Free - AVG 6 Free Edition
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 13/11/2002




More information about the samba mailing list