maiurana
2008-08-20, 01:28 PM CDT
hi to all, this is my first post in this forum.
well, it is also the first time I install fedora, I did it in the server of the company where I work to try to migrate a windows xp server to linux (I was already a linux user :)
this migration is almost complete, all works well (web server, db server, all the stuff) except samba, which is required as there is still a win98 client :(
I did a system upgrade right after the installation, so the system is up to date, and the installed version of samba is the latest one (3.2.0-2.17.fc9).
now the problems:
looks like samba is having problems with his passwd.tdb. whenever I try to add a samba user with "smbpasswd -a" it spits out some lines like these:
lib/account_pol.c: account_policy_get(324) account_policy_get: tdb_fetch_uint32 failed for field $n....
then it says it created the user, but if I run "smbpasswd -a" again for the same user it doesn't ask me for the old password as it would be supposed to do, so I think the user was not really created. nothing change if I set the pass backend as smbpasswd instead of tdbsam.
I tried wiping out all tdb files in /var/lib/samba to make it start from scratch, but the problem occurs again.
also, I'm not able to connect to the server neither from the win98 host nor from the same machine; if I try to authenticate locally with smbclient it says NT_STATUS_LOGON_FAILURE (of course the samba user is also a unix user with the same password), while win98 asks me for the correct password because it is unable to connect to \\hostname\IPC$.
for now a workaround was to set "map to guest=Bad User", so that I'm able at least to print as guest from win98 client, but even with this I can't connect to the share from both machines.
I can see the win98 share from the fedora server, but not from nautilus' network explorer; I had to create a bookmark to connect to the server, so that after the connection I see an icon to the share on the desktop, and I can click it to browse there from nautilus.
sorry for not pasting smb.conf, I'm not in the office right now. what I can say is that I added in the default file these options:
lanman auth=yes
client lanman auth=yes
ntlm auth=no
client ntlmv2 auth=no
map to guest=Bad User
security is set to "user", homes are not exported, the only things exported are the printer (which it works as guest) and a public share.
I searched the web but didn't find anyone experiencing the same issues, so I'm stuck; any hint is much appreciated :D
there is also another problem, but I think I can get around it tomorrow:
on boot samba says it is unable to connect to cups, so the printer doesn't get loaded. it is loaded if I restart samba, so it has to be a matter of service priority on boot, i.e. samba is executed while cups is not up.
TIA and ciao from sicily.
well, it is also the first time I install fedora, I did it in the server of the company where I work to try to migrate a windows xp server to linux (I was already a linux user :)
this migration is almost complete, all works well (web server, db server, all the stuff) except samba, which is required as there is still a win98 client :(
I did a system upgrade right after the installation, so the system is up to date, and the installed version of samba is the latest one (3.2.0-2.17.fc9).
now the problems:
looks like samba is having problems with his passwd.tdb. whenever I try to add a samba user with "smbpasswd -a" it spits out some lines like these:
lib/account_pol.c: account_policy_get(324) account_policy_get: tdb_fetch_uint32 failed for field $n....
then it says it created the user, but if I run "smbpasswd -a" again for the same user it doesn't ask me for the old password as it would be supposed to do, so I think the user was not really created. nothing change if I set the pass backend as smbpasswd instead of tdbsam.
I tried wiping out all tdb files in /var/lib/samba to make it start from scratch, but the problem occurs again.
also, I'm not able to connect to the server neither from the win98 host nor from the same machine; if I try to authenticate locally with smbclient it says NT_STATUS_LOGON_FAILURE (of course the samba user is also a unix user with the same password), while win98 asks me for the correct password because it is unable to connect to \\hostname\IPC$.
for now a workaround was to set "map to guest=Bad User", so that I'm able at least to print as guest from win98 client, but even with this I can't connect to the share from both machines.
I can see the win98 share from the fedora server, but not from nautilus' network explorer; I had to create a bookmark to connect to the server, so that after the connection I see an icon to the share on the desktop, and I can click it to browse there from nautilus.
sorry for not pasting smb.conf, I'm not in the office right now. what I can say is that I added in the default file these options:
lanman auth=yes
client lanman auth=yes
ntlm auth=no
client ntlmv2 auth=no
map to guest=Bad User
security is set to "user", homes are not exported, the only things exported are the printer (which it works as guest) and a public share.
I searched the web but didn't find anyone experiencing the same issues, so I'm stuck; any hint is much appreciated :D
there is also another problem, but I think I can get around it tomorrow:
on boot samba says it is unable to connect to cups, so the printer doesn't get loaded. it is loaded if I restart samba, so it has to be a matter of service priority on boot, i.e. samba is executed while cups is not up.
TIA and ciao from sicily.