[Samba] Re: root password error! What a headache!

Dragan Krnic dkrnic at lycos.com
Thu Jul 31 11:51:48 GMT 2003


> When trying to connect to a samba PDC I receive this error of wrong 
> network password. I've checked samba root's password, machine 
> account, user account and so but nothing seems to work. the other 
> day I go into the domain without a problem, now I cannot do that 
> ( I've change quite a lot parameters in /etc/samba/smb.conf ). Can 
> someone guide me in some way ( more exhaustive than samba-PDC-
> howto ... ). GRRRRRRRRRRRRRRR !!!!!!!!
> 
> These are my parameters ....

Your smb.conf is way overboard. I know you've listed the output of
testparm but that is really very inconsiderate. You're wasting the
space on the list and most people just skip such long rants. However,
allow me to cut your smb.conf to the very essentials and fix what 
deviates from my working smb.conf:

[global]
   workgroup = BS-INFORMATICA
   netbios name = GOLDRAKE
   wins support = Yes
   preferred master = Yes
   domain master = Yes
   encrypt passwords = Yes
   min passwd length = 5
   passwd program = /usr/bin/passwd %u
   unix password sync = Yes   # <---
   lanman auth = No   # <---
   admin log = Yes   # <---
   log level = 1
   log file = /var/log/samba/log.%m
   max log size = 50
   debug timestamp = Yes   # <---
   socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY   # <---
   load printers = Yes
   printing = cups
   printcap name = cups   # <---
   printer admin = root
   show add printer wizard = Yes
   character set = ISO8859-1
   domain admin group = root
   logon script = %U.bat
   logon path = \\GOLDRAKE\profiles\%U   # <---
   logon drive = U:   # <---
   logon home = \\GOLDRAKE\%U
   domain logons = Yes
   os level = 64   # <---
   lock dir = /var/cache/samba
   pid directory = /var/run/samba
   template homedir = /home/%U   # <---
   create mask = 0644   # <---
   directory mask = 0755
   inherit permissions = No
   printing = cups   # <---
   mangle case = Yes   # <---
   hide dot files = No   # <---
   map system = Yes   # <---
   map hidden = Yes   # <---
   dos filemode = Yes   # <---

[netlogon]
   path = /home/netlogon
   write list = root   # <---
   browseable = No

[homes]
   valid users = %U   # <---
   read only = No
   browseable = No
   inherit permissions = No
   security mask = 0777
   directory securit mask = 0777

[profiles]
   path = /home/profiles
   valid users = %U
   browseable = No
   read only = No
   inherit permissions = No
   security mask = 0777
   directory securit mask = 0777

[print$]
   path = /var/lib/samba/drivers
   browseable = Yes

Let's see what your next problem is.



More information about the samba mailing list