[opensuse] Samba Server Authentication Fails
OpenSuSE 11.1 (same problem when it was 10.3) Clients are Windows XPP Samba is 3.2.4-5.2 winbind installed shares, users, groups assigned[global] workgroup = mbd printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Never include = /etc/samba/dhcp.conf security = user encrypt passwords = yes domain logons = no local master = yes oplocks = yes level2 oplocks = no passdb backend = smbpasswd add machine script = preferred master = auto netbios name = mbdserver user passwords added with smbpasswd -a, no errors, but smbpasswd file is empty windows and samba user names and passwords are the same. Can't log in or authenticate, Windows see's the Samba Server, just can't authenticate. Don't know what to check next...? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Tech Mail wrote:
OpenSuSE 11.1 (same problem when it was 10.3) Clients are Windows XPP Samba is 3.2.4-5.2 winbind installed shares, users, groups assigned[global] workgroup = mbd printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Never include = /etc/samba/dhcp.conf security = user encrypt passwords = yes domain logons = no local master = yes oplocks = yes level2 oplocks = no passdb backend = smbpasswd add machine script = preferred master = auto netbios name = mbdserver
user passwords added with smbpasswd -a, no errors, but smbpasswd file is empty windows and samba user names and passwords are the same. Can't log in or authenticate, Windows see's the Samba Server, just can't authenticate. Don't know what to check next...?
Techmail, I just finished the 11.1 x86-64 install and samba config and I have no problems connecting. Granted, I just copied my /etc/samba files from a 11.1 Beta 5 install over and didn't recreate them, but samba was working only a few days ago and it's still working on the new 11.1 install, so I bet your issue is configuration. Your smbpasswd file should not be empty of course. Dumb question, but I'll ask, you did run smbpasswd -a as root, right? Not sudo smbpasswd? Do you have any clues in the /var/log/samba/log.smbd or /var/log/messages? First you must fix the smbpasswd problem and I think your problems will be solved. For what it's worth, after that is done, here is my global and homes from smb.conf that works just fine as a local master with Linux, XP, 98, and Vista clients: global] use sendfile = No workgroup = rb_law server string = Samba %v printcap name = cups load printers = yes printing = cups show add printer wizard = no disable spoolss = yes log file = /var/log/samba/log.%m max log size = 100 time server = yes admin users = david smb ports = 139 hosts allow = 192.168.7. 192.168.6. 192.168.8. 192.168.5. 127. 66.76.63.60 domain logons = yes map to guest = bad user security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY local master = yes os level = 69 domain master = yes preferred master = yes name resolve order = wins lmhosts bcast wins support = yes dns proxy = no usershare allow guests = No [homes] comment = Home Directories browseable = no writable = yes Post more facts and I'll make more guesses ;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 12/20/2008 12:35 AM, David C. Rankin wrote:
Tech Mail wrote:
OpenSuSE 11.1 (same problem when it was 10.3) Clients are Windows XPP Samba is 3.2.4-5.2 winbind installed shares, users, groups assigned[global] workgroup = mbd printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Never include = /etc/samba/dhcp.conf security = user encrypt passwords = yes domain logons = no local master = yes oplocks = yes level2 oplocks = no passdb backend = smbpasswd add machine script = preferred master = auto netbios name = mbdserver
user passwords added with smbpasswd -a, no errors, but smbpasswd file is empty windows and samba user names and passwords are the same. Can't log in or authenticate, Windows see's the Samba Server, just can't authenticate. Don't know what to check next...?
Techmail,
I just finished the 11.1 x86-64 install and samba config and I have no problems connecting. Granted, I just copied my /etc/samba files from a 11.1 Beta 5 install over and didn't recreate them, but samba was working only a few days ago and it's still working on the new 11.1 install, so I bet your issue is configuration.
Your smbpasswd file should not be empty of course. Dumb question, but I'll ask, you did run smbpasswd -a as root, right? Not sudo smbpasswd? Do you have any clues in the /var/log/samba/log.smbd or /var/log/messages? First you must fix the smbpasswd problem and I think your problems will be solved. For what it's worth, after that is done, here is my global and homes from smb.conf that works just fine as a local master with Linux, XP, 98, and Vista clients:
I did do smbpasswd -a, no errors, but still an empty smbpasswd file. While looking for the logs, I discovered that the smbpasswd file was being written to / copying that file to /etc/samba didn't work, but copying the contents to /etc/samba/smbpasswd did. It seems to be working now, but I'd still like to know why the system doesn't have the right default location for Samba files
global] use sendfile = No workgroup = rb_law server string = Samba %v printcap name = cups load printers = yes printing = cups show add printer wizard = no disable spoolss = yes log file = /var/log/samba/log.%m max log size = 100 time server = yes admin users = david smb ports = 139 hosts allow = 192.168.7. 192.168.6. 192.168.8. 192.168.5. 127. 66.76.63.60 domain logons = yes map to guest = bad user security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY local master = yes os level = 69 domain master = yes preferred master = yes name resolve order = wins lmhosts bcast wins support = yes dns proxy = no usershare allow guests = No [homes] comment = Home Directories browseable = no writable = yes
Post more facts and I'll make more guesses ;-)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Tech Mail wrote:
I did do smbpasswd -a, no errors, but still an empty smbpasswd file.
While looking for the logs, I discovered that the smbpasswd file was being written to / copying that file to /etc/samba didn't work, but copying the contents to /etc/samba/smbpasswd did.
It seems to be working now, but I'd still like to know why the system doesn't have the right default location for Samba files
The problem is that samba was not configured with the option "--with-privatedir=/etc/samba/" Not uncommon at all with a new release. I am having problems with the nut ups package and grub. All the little nits will get handled in the next few days or weeks depending on priority. They get resolved faster if you will submit a bug report to bugzilla.novell.com. Otherwise you have to wait until someone else posts the bug report. If it's not posted in the next day or two, I'll test and confirm and post it. Thanks. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
David C. Rankin
-
Tech Mail