LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Sharing folders on External USB drive

[ILUG] Sharing folders on External USB drive

Padraig Kitterick info at padraigkitterick.com
Wed Aug 6 16:18:09 IST 2008


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 
similar problem.

Good luck,

Padraig.

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
> info
> Aug  6 16:01:01 motoole-ubuntu sudo: pam_lwidentity(sudo): request failed
> 
> 
> Any ideas?
> 
> Thanks
> 
> Mick
> 
> 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
>>> got
>>> 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
>>> GUI
>>> to share the folder and this seems to work OK until I use another machine
>>> to
>>> 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
>>> Samba
>>> 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
>>> added
>>> the details of the share to my smb.conf file but am still having no joy.
>>>
>>>
>> I'm using something like this:
>>
>>   [global]
>>       security = user
>>
>>   [music]
>>           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...)
>>
>> B
>>
>>
> 
> 



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell