M. Aftab Alam
2004-Dec-06 13:30 UTC
[Samba] (/usr/bin/passwd %u) requires a '%u' parameter
Hello, When I configuring samba 3.0.8 as a PDC. When I run the testparm command, I get the error: Error: the 'passwd program' (/usr/bin/passwd %u) requires a '%u' parameter. I have tried to find a solution for this problem and knew, it is a bug. If it is a bug, how can I solve this problem? Cheers #/etc/samba/smb.conf #Samba configurstion file als PDC [global] workgroup = office-santomis security = user netbios name = simpson server string = Samba PDC running %v ;PDC Master and Browser setting #passdb backend = smbpasswd #tdbsam os level = 64 prefered master = yes local master = yes domain master = yes ;security and logging settings security = user #username map = /etc/samba/smbusers domain logons = yes log file = /var/log/samba %m log level = 2 max log size = 50 ;user profiles and home directory logon home = \\%L\%U\.profile logon drive = H: logon path = \\%L\profiles\%U #logon script = netlogon.bat wins support = yes smb passwd file = /var/lib/samba/private/smbpasswd ;sync unix passwords unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*passwd* %n\n *Enter* new*UNIX*passwd* %n\n *Retype*new*UNIX*passwd* %n\n *passwd*successfully*cha nged* strict locking = yes time server = yes socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 interfaces = lo eth0 #bind interfaces only = yes #host allowed = 127.0.0.1 192.168.178.? ;Add user script for new machnies add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false - M %u [netlogon] comment = Domain login service path = /home/samba/netlogon public = no readonly = yes browsable = no [home] comment = Hove Directories path = %H browsable = no writeable = yes [profiles] path=/home/samba/profiles writeable = yes browseable = no create mask = 0600 directory mask = 0700 ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193
Gerald (Jerry) Carter
2004-Dec-06 15:09 UTC
[Samba] (/usr/bin/passwd %u) requires a '%u' parameter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 M. Aftab Alam wrote: | Hello, | > When I configuring samba 3.0.8 as a PDC. When I run | the testparm command, I get the error: | Error: the 'passwd program' (/usr/bin/passwd %u) requires | a '%u' parameter. I have tried to find a solution for | this problem and knew, it is a bug. If it is a bug, | how can I solve this problem? It was a bogus error message that has been corrected in 3.0.9. cheers, jerry - --------------------------------------------------------------------- Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBtHYXIR7qMdg1EfYRAvOzAJ9Q0fY7ody455oC3xbfA8UnYLAMMgCdFzAD Ps+qJDOO1+xsSRow9FH77Q0=0zGC -----END PGP SIGNATURE-----