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

Hi,

I'm unable to create an account or change a password for an existing 
samba account using the swat passwd page. 

When I try to create a new samba user "testuser", the webpage says that 
the user was successfully created, but this is the corresponding entry 
that I get in the smbpasswd file:
testuser:625:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:
[DU         ]:LCT-00000000:

The password is not added to the smbpasswd file, even if I specify it on 
the  swat passwd page while creating the new user account. And the 
change password and enable user buttons on swat don't seem to work 
either. The samba logs don't show any errors.

Samba however works fine on this box. I am able to create accounts using 
"smbpasswd -a", and these accounts are accesible to other windows 
clients on the network.

What do I need to do to get the password changing functionality in swat 
working? (I'm perfectly happy running samba without swat, but my 
colleagues are not linux savvy and will need swat to change their 
passwords.). Rest of swat seems to be working okay... the shares, 
printers, wizard and status links.

Any help would be appreciated. Enclosed are some of the relevant 
configuration files.



Abbreviated portion of the smb.conf file --
[global]

workgroup = CMCLABGROUP
netbios name = server
server string = Medical College students computer lab
hosts allow = 192.168.0. 127.
printcap name = cups
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 50
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.0.1 127.0.0.1
bind interfaces only = yes
remote announce = 192.168.0.255
username map = /etc/samba/smbusers
dns proxy = no
log level = 0



[EMAIL PROTECTED] root]# cat /etc/pam.d/samba
#%PAM-1.0
auth       required     pam_nologin.so
auth       required     pam_stack.so service=system-auth
account    required     pam_stack.so service=system-auth
session    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAapt7fQe5A1YbfuURAsbsAKDqGZDPuKMEDtPjLkHrmp66lQRHQwCg5Rs4
emfd969nIJ7fo6BphyjsUtY=
=tKtb
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to