Okay, so it's likewise that's causing the problem. This suggests that
there is a domain being specified in your samba config, which really
shouldn't be set up automatically by the GUI folder sharing tool. Wierd.
First things first add "debug=yes" under '[global]' in
/etc/security/pam_lwidentity.conf or whatever the path to the conf file
is and then monitor the logs again. Your problem is either that the PC
you are trying to access the share from does not have a machine account
in the AD of the linux machine, or that the samba server is expecting
username at domain format logins, not just username.
You may want to check out
http://ubuntuforums.org/showthread.php?p=5075548 for a discussion on a
Mick O'Toole wrote:
> I checked the logs and I'm getting the following (after entering Brendans
> details into smb.conf)
>> Aug 6 16:01:01 motoole-ubuntu sudo: pam_lwidentity(sudo): PAM config:
> global:krb5_ccache_type 'FILE'
> Aug 6 16:01:01 motoole-ubuntu sudo: pam_lwidentity(sudo): PAM config:
> global:skel '/etc/skel'
> Aug 6 16:01:01 motoole-ubuntu sudo: pam_lwidentity(sudo): failed to get GP
> Aug 6 16:01:01 motoole-ubuntu sudo: pam_lwidentity(sudo): request failed
>>> Any ideas?
>> 2008/8/6 Brendan Kehoe <brendan at zen.org>:
>>> Mick O'Toole wrote:
>>>>> I've got Ubuntu 8.04 connected to my work domain and attached to it I've
>>> an external USB hard drive. I've got a lot of documents and music on this
>>> drive that I'm trying to share out across the LAN. I've tried using the
>>> to share the folder and this seems to work OK until I use another machine
>>> connect to it and am prompted for a username and password.
>>>>>> I've tried setting up users on my machine and then also adding them as
>>> users but I'm still asked for a username and password. I've tried to do a
>>> recursove chmod on the folders and that makes no difference. I've even
>>> the details of the share to my smb.conf file but am still having no joy.
>>>>>>>> I'm using something like this:
>> security = user
>> path = /media/sda3/music
>> inherit acls = Yes
>> browsable = yes
>> browseable = yes
>> read only = Yes
>> guest ok = Yes
>>>> (Other stuff in 'global' but related to printing, workgroup, etc...)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!