Hallo
ich moechte das sich die User des SAMBA Servers Ihre Passwoerter
per WEBBrowser aendern koennen, sprich
http://<IP-DES-SEVERS>:901
Nun habe ich das Problem das der SYNC nicht funkt. !
Die User duerfen Sich am Server auf der Console nicht anmelden !
Sonst koennte Sie sich ja das Passwort fuer Console und SAMBA aendern
...
aber das sollen Sie nicht !!!
daher habe Sie alle in der /etc/passwd /bin/false
habe folgende /etc/samba/smb.conf
# Samba config file created using SWAT
# from 10.1.0.104 (10.1.0.104)
# Date: 2004/06/15 08:48:45
# Global parameters
[global]
workgroup = MYGROUP
server string = Samba Server
interfaces = eth0
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat =
*New*password*%n\n*Retype*new*password*%n\n*updated*successfully*
passwd chat debug = Yes
passwd chat timeout = 4
unix password sync = Yes
log level = 2
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
ldap ssl = no
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[tmp]
comment = Temporary file space
path = /var/tmp
read only = No
guest ok = Yes
wenn ich als ROOT via passwd das Passwort aendere habe ich folgende
Output:
[root@localhost samba]# passwd test1
Changing password for user test1.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@localhost samba]#
daher glaube ich das meine Zeile:
passwd chat =
*New*password*%n\n*Retype*new*password*%n\n*updated*successfully*
passt, weiss es aber nicht !!!
Wenn der User "test1" sich via Browser anmeldet
erhalte ich folgenden Output in der /var/log/messages
Jun 15 08:49:13 localhost smbd[31467]: [2004/06/15 08:49:13, 0]
smbd/chgpasswd.c:check_oem_password(832)
Jun 15 08:49:13 localhost smbd[31467]: check_oem_password:
incorrect password length (-790795798).
Wer kann mir sagen was ich falsch mache ?
Info zum OS:
Fedora Core 1
Kernel: 2.4.22-1.2188.nptl
Inst. Samba Pakete
samba-common-3.0.2-7.FC1
samba-3.0.2-7.FC1
samba-swat-3.0.2-7.FC1
samba-client-3.0.2-7.FC1
Danke
Gruss Dennis
ich moechte das sich die User des SAMBA Servers Ihre Passwoerter
per WEBBrowser aendern koennen, sprich
http://<IP-DES-SEVERS>:901
Nun habe ich das Problem das der SYNC nicht funkt. !
Die User duerfen Sich am Server auf der Console nicht anmelden !
Sonst koennte Sie sich ja das Passwort fuer Console und SAMBA aendern
...
aber das sollen Sie nicht !!!
daher habe Sie alle in der /etc/passwd /bin/false
habe folgende /etc/samba/smb.conf
# Samba config file created using SWAT
# from 10.1.0.104 (10.1.0.104)
# Date: 2004/06/15 08:48:45
# Global parameters
[global]
workgroup = MYGROUP
server string = Samba Server
interfaces = eth0
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat =
*New*password*%n\n*Retype*new*password*%n\n*updated*successfully*
passwd chat debug = Yes
passwd chat timeout = 4
unix password sync = Yes
log level = 2
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
ldap ssl = no
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[tmp]
comment = Temporary file space
path = /var/tmp
read only = No
guest ok = Yes
wenn ich als ROOT via passwd das Passwort aendere habe ich folgende
Output:
[root@localhost samba]# passwd test1
Changing password for user test1.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@localhost samba]#
daher glaube ich das meine Zeile:
passwd chat =
*New*password*%n\n*Retype*new*password*%n\n*updated*successfully*
passt, weiss es aber nicht !!!
Wenn der User "test1" sich via Browser anmeldet
erhalte ich folgenden Output in der /var/log/messages
Jun 15 08:49:13 localhost smbd[31467]: [2004/06/15 08:49:13, 0]
smbd/chgpasswd.c:check_oem_password(832)
Jun 15 08:49:13 localhost smbd[31467]: check_oem_password:
incorrect password length (-790795798).
Wer kann mir sagen was ich falsch mache ?
Info zum OS:
Fedora Core 1
Kernel: 2.4.22-1.2188.nptl
Inst. Samba Pakete
samba-common-3.0.2-7.FC1
samba-3.0.2-7.FC1
samba-swat-3.0.2-7.FC1
samba-client-3.0.2-7.FC1
Danke
Gruss Dennis