[KLUG Members] help with samba permissions on red hat 9.0

Adam Tauno Williams adam at morrison-ind.com
Thu Apr 13 08:41:21 EDT 2006


> i think i screwed some things up last night on my redhat 9 file server. i wanted to add a user to 
> redhat and a user to samba so an employee could have access to some of my files. while i was adding 
> the user (gui mode) i accidentally deleted my user account...DOH! so i added myself back and of 
> course i could no longer connect via samba from my winxp machine. eventually, after restarting samba 
> service and rebooting my winxp machine, i finally was able to map the drive that i needed. however...
> i made sure that my redhat user name and passwd were the same as my windows user name and password. 
> then i made sure that my samba user name and smbpasswd were the same as my winxp user name and 
> password. not sure if that necessary but i like it simple.

Did you make sure your 'new' user account from before has the same
uidNumber?  Like the SID/RID on windows the uidNumber is the *real*
credential/context identifier on UNIX/LINUX.  The username is just an
alias/vanity to the uidNumber.  Ex: root = uidNumber 0;  you can call
the "root" account anything you like.

> also, i have an extra user account called "eng" (which stands for engineering) with a unique 
> password. i also checked the samba user "eng" and made the password equal to the redhat "eng" user 
> passwd. i use the "eng" account when i map the drive under winxp. don't ask why
> right now as it stands, i can view my entire dir structure but only have write permissions to some 
> of my folders. i need write permissions to all of them. what do i need to change? i have a folder 
> called /home/maple/. i want write permissions to all files and folders under that. hmmm....

What does the folder look like in a UNIX "ls -la"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.kalamazoolinux.org/pipermail/members/attachments/20060413/79bce0f4/attachment.bin


More information about the Members mailing list