Samba Share to Win XP Workgroup
I'm trying to share a USB 1TB hard drive on my OpenSUSE10.3 system. I have been able to share the folder that I have created. I have also motified fstab to mount the drive buring boot. Here is my problem; I'm able to locate and mount the folder in my windows environment, but unable to WRITE to it. I have looked all over the 'net for a resolution, but all I find is everything I've tried (chmod etc...) I've gotten so far as to have wanted to start over again, due to the fact that even logged in as root I'm unable to change permissions for this folder, or is subdirectory.
Help please???? |
hello
can u post the smb.conf which you created for the share?
did you set up passwords for users with smbpasswd? lets see the config perhaps i can help you. |
Here is my smb.conf. I have changed some names for security;
# smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2007-09-22 [global] workgroup = NETWORK printing = cups printcap name = cups cups options = raw include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = Yes add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain master = no restrict anonymous = no preferred master = no server string = Samba SUSE-10.3 max protocol = NT acl compatibility = winnt ldap ssl = No server signing = Auto security = share map to guest = Bad User usershare max shares = 100 usershare owner only = False [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 ## Share disabled by YaST # [netlogon] [storage] comment = phr33k's storage path = /home/phr33k read only = No [BACKUP] path = /home/phr33k/LaCie/Backup/ guest ok = yes read only = no guest only = yes I have created 1 user for myself, w3hich is my username for the localcomputer. I also attempted to create anoter user as su but it said "Failed to modify password entry for 'user'" |
Dear friend
1. Please change the setting in conf file security=user 2. This is the type of security used to share files to windows. 3. It requires that a user provide a username/password before using the server. rgds bil Registered linux user # 467324 _________________________________________________________________ ALL HUMAN ACTIONS ARE EQUIVALENT............................... AND ALL ARE ON PRINCIPLE DOOMED 2 FAILURE _________________________________________________________________ |
I solved the problem, and thank you for all of your help everyone.
Here's what I did; First, I edited my smb.conf to reflect the change of Security=user I then created a user and made their home directory the folder I wanted shared Users can access (thanks to saving passwords in XP) the share to add backup files. |
All times are GMT -5. The time now is 12:10 AM. |