This is a discussion on Samba was working, but prompts for log-in from Windows boxes now within the Linux Networking forums, part of the Linux Forums category; Hi all, On Slackware 10.0 I'm running Samba 3.0.4 and it was working perfectly for several ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
On Slackware 10.0 I'm running Samba 3.0.4 and it was working perfectly for several months until I tried to add a printer. Now it just prompts for users to log-in with username/password, yet it never lets them log-in no matter what is entered. Here's what happened: Via Webmin I added the network IP printer (HP Laserjet 5n) and all was fine. I then went into the Samba config via webmin to add printer to samba (first time to use Webmin with samba -- generally edit smb.conf by hand). I messed around with the printer settings before deciding to do it manually. I added the printer line and restarted samba. That's it. I rebooted and winbind and smbd are both running. I'll attach my smb.conf and other files at end of this email. I know I'm still connected fine to our Windows NT 4.0 domain because 'wbinfo -u', 'wbinfo -g', 'getent passwd', and 'getent group' all work fine and show our domain users and groups with no problems. When I try to browse to server from Windows 2000 Pro it says 'Incorrect password or unknown username for: \\linuxserver Connect As .... Password ...'. When I enter like DOMAIN+USERNAME with password it says Username invalid but anything else says "The Credentials supplied conflict with an existing set of credentials". For my PC the log shows this: [2004/11/05 15:14:18, 1] passdb/passdb.c:pdb_set_sam_sids(201) NULL guest account!?!? [2004/11/05 15:14:18, 0] auth/auth_util.c:make_server_info_info3(1120) make_server_info_info3: pdb_init_sam failed! Any ideas? HEre are the critical files: /etc/nsswitch.conf: passwd: files winbind shadow: files group: files winbind hosts: files dns #(all else is commented out) /etc/samba/smb.conf: [global] log file = /var/log/samba/%m.log guest account = name resolve order = wins hosts lmhosts bcast idmap gid = 10000-20000 socket options = SO_SNDBUF=16384 SO_RCVBUF=16384 wins server = 10.142.120.6 domain master = False encrypt passwords = yes public = yes level2 oplocks = False oplocks = False netbios name = HOSER write cache size = 8388608 server string = Samba Server winbind enum users = yes idmap uid = 10000-20000 password server = * workgroup = HBMC os level = 10 winbind enum groups = yes security = domain preferred master = no winbind separator = + log level = 1 I've given everything I can think of... and nothing has changed as far as I know. I just stopped and restarted the server to add a freakin printer. If anyone sees anything that could be screwing-up, I'd love some feedback. The logs for the PC are the only thing that's changed, but not sure what they mean. Thanks in advanced for any suggestions or ideas... Ringo |
|
|||
|
"Ringo Langly" <rlangly@gmail.com> wrote in message news:7d96e89e.0411051420.364fcc3f@posting.google.c om... > Hi all, > > On Slackware 10.0 I'm running Samba 3.0.4 and it was working perfectly > for several months until I tried to add a printer. Now it just > prompts for users to log-in with username/password, yet it never lets > them log-in no matter what is entered. > > Here's what happened: > > Via Webmin I added the network IP printer (HP Laserjet 5n) and all was > fine. I then went into the Samba config via webmin to add printer to > samba (first time to use Webmin with samba -- generally edit smb.conf > by hand). I messed around with the printer settings before deciding > to do it manually. I added the printer line and restarted samba. > That's it. > > I rebooted and winbind and smbd are both running. I'll attach my > smb.conf and other files at end of this email. I know I'm still > connected fine to our Windows NT 4.0 domain because 'wbinfo -u', > 'wbinfo -g', 'getent passwd', and 'getent group' all work fine and > show our domain users and groups with no problems. > > When I try to browse to server from Windows 2000 Pro it says > 'Incorrect password or unknown username for: \\linuxserver Connect As > ... Password ...'. > > When I enter like DOMAIN+USERNAME with password it says Username > invalid but anything else says "The Credentials supplied conflict with > an existing set of credentials". > > For my PC the log shows this: > [2004/11/05 15:14:18, 1] passdb/passdb.c:pdb_set_sam_sids(201) > NULL guest account!?!? > [2004/11/05 15:14:18, 0] auth/auth_util.c:make_server_info_info3(1120) > make_server_info_info3: pdb_init_sam failed! > > Any ideas? HEre are the critical files: > > /etc/nsswitch.conf: > passwd: files winbind > shadow: files > group: files winbind > hosts: files dns > #(all else is commented out) > > /etc/samba/smb.conf: > > [global] > log file = /var/log/samba/%m.log > guest account = You need a valid guest account. Take this line out. The default is nobody. Or you can specify one if you don't want to use the nobody account. Use guest account = ftp or some other account. > name resolve order = wins hosts lmhosts bcast > idmap gid = 10000-20000 > socket options = SO_SNDBUF=16384 SO_RCVBUF=16384 > wins server = 10.142.120.6 > domain master = False > encrypt passwords = yes > public = yes > level2 oplocks = False > oplocks = False > netbios name = HOSER > write cache size = 8388608 > server string = Samba Server > winbind enum users = yes > idmap uid = 10000-20000 > password server = * > workgroup = HBMC > os level = 10 > winbind enum groups = yes > security = domain > preferred master = no > winbind separator = + > log level = 1 > > I've given everything I can think of... and nothing has changed as far > as I know. I just stopped and restarted the server to add a freakin > printer. If anyone sees anything that could be screwing-up, I'd love > some feedback. The logs for the PC are the only thing that's changed, > but not sure what they mean. > > Thanks in advanced for any suggestions or ideas... > > Ringo |