Ok, I'm in need of some help that is explained simply for me. I'm a long time Linux user, but this networking is driving me crazy!!! I have a Windows XP computer a Kubuntu Fiesty computer and would like to share files between them easily. I followed this howto guide: http://ubuntuforums.org/showthread.php?t=202605
My problem is my Kubuntu and Windows don't have the same username or password. I'm getting confused on what passwords, and users to add etc. Here is my smb.conf :
HELP! I also posted at that how to, you can see my posts at the end. I came over here to post in case there is a Kubuntu specific problem or in case someone over here can give me some more insight! Thanks.
Shane
My problem is my Kubuntu and Windows don't have the same username or password. I'm getting confused on what passwords, and users to add etc. Here is my smb.conf :
Code:
[global]
; General server settings
netbios name = SAK
server string =
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = user
null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = no
printing = CUPS
printcap name = CUPS
syslog = 1
syslog only = yes
; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
;[homes]
;valid users = %S
;create mode = 0600
;directory mode = 0755
;browseable = no
;read only = no
;veto files = /*.{*}/.*/mail/bin/
; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
;path = /var/lib/samba/netlogon
;admin users = Administrator
;valid users = %U
;read only = no
; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
;path = /var/lib/samba/profiles
;valid users = %U
;create mode = 0600
;directory mode = 0700
;writeable = yes
;browseable = no
; NOTE: Inside this place you may build a printer driver repository for
; Windows - I'll cover this topic in another HOWTO.
[print$]
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root
create mask = 0664
directory mask = 0775
[printers]
path = /tmp
printable = yes
guest ok = yes
browseable = no
; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
;path = /media/cdrom
;browseable = yes
;read only = yes
;guest ok = yes
[MyFiles]
path = /home/shane/share/
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
force user = shane
force group = shane
Shane





Yeah, I knew that guide was a little old. The good news is that I can restore my original smb.conf file that came when I installed samba - the guide said to back it up, and eliminate all this confusion. Or if I removed Samba with the purge option doesn't that eliminate all my config files too? I'm still a little unclear on the users part. If I understand you correctly, I need to add a user to Linux with my XP us/pw? That is actually adding them to my user accounts. However then the share file is going to be in my home folder, and I linked another folder in that folder so that Linux user is going to need permissions to access that folder and link if I understand everything correctly.
I had configured ZoneAlarm to trust my IP, but I have ZoneAlarm set to the strictest settings, so even the trusted IP's don't have access to the computer
just that curiosity in me. Fixed the Samba permissions via the config file, and put TOM into my group, I actually really edited via the GUI the TOM user so that his home directory is the same as mine, and he is included in my group (shane). I also have went to the permissions on the shared folder and made them writable (I think) with the GUI. I'm not as familiar with the KDE GUI, but I'm really starting to like it. If I keep tinkering around I should be able to get it from here. It is mostly just playing with the permissions and getting them set right. I appreciate the help! If I run into any other problems I will post back. Thanks again!
Thanks.
Comment