[Samba] PDC Problems

Buchan Milne bgmilne at cae.co.za
Tue Nov 19 09:44:01 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Message: 18
> From: "Michele Santucci" <tux at shiny.it>
> To: "Samba" <samba at lists.samba.org>
> Date: Mon, 18 Nov 2002 21:34:13 +0100
> Subject: [Samba] PDC Problems
>
> 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.

Explain this more please. Are you trying to log in with a domain account
that exists on the samba server, which has been given an smbpasswd? The
user is being mapped to 'guest' which seems to not exist.

>
> [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

You may want to disable unix password sync and pam password change until
you have this working. You haven't got a 'passwd chat' configured, which
could cause this to fail.

>         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
>
>
>
>

- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE92gi9rJK6UGDSBKcRAjgsAKDDTIkG6nlPjohDHtP6mDlzXg7X7wCgrSwU
fmYQJKCcYdUK7wp7er5ILAo=
=WU74
-----END PGP SIGNATURE-----




More information about the samba mailing list