hello all!! I have just recently begun my trials and tribulations with samba. One of the things I was looking todo is allow a user (lets say joescmo useing ntws 4) connect to our samba server (solaris 2.6) and access his home directory as well as restricted access to a client directory that he manages. I dont want to make a static share just for him, but rather for a group (valid group = @client) the problem I am having is this, the user (joescmo) can login and see his home directory (share) but does not see the client share.. the client share resides under a client directory (/cust/client) would I need to use smbusers? and if so what is the syntax for an entry in the smbusers file (unable to find a doc / man page for smbusers) Thanxs for your assistance!! -Ron Ronald J. Yacketta Sr. System Administrator 770-933-5632 <<Ronald J. Yacketta.vcf>> -------------- next part -------------- A non-text attachment was scrubbed... Name: Ronald J. Yacketta.vcf Type: application/octet-stream Size: 163 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/19990215/e55f4477/RonaldJ.Yacketta.obj
At 02:06 AM 2/16/1999 +1100, Ronald J. Yacketta wrote:>------_=_NextPart_000_01BE58F4.0A0FE652 >Content-Type: text/plain; > charset="iso-8859-1" > >hello all!!I have just recently begun my trials and tribulations with samba. >One of the things I was looking todo is allow a user (lets say joescmo >useing ntws 4) connect to our samba server (solaris 2.6) and access his home >directory as well as restricted access to a client directory that he >manages. > >I dont want to make a static share just for him, but rather for a group >(valid group = @client)the problem I am having is this, the user (joescmo)can login and see his>home directory (share) but does not see the client share.. the client share >resides under a client directory (/cust/client) > >would I need to use smbusers? and if so what is the syntax for an entry in >the smbusers file (unable to find a doc / man page for smbusers)Thanxs foryour assistance!!> >-RonRonald J. Yacketta >Sr. System Administrator >770-933-5632 > <<Ronald J. Yacketta.vcf>> ------_=_NextPart_000_01BE58F4.0A0FE652 >First, check that joescmo is a member of group client. Check that the directory and files are owned by group client. Also check that the directory has group execute permissions, and that the files and directory have group read/write permissions. Mikkel --- Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup.
I originally had a user named 'chris' on my linux machine but then deleted the user by typing 'userdel chris' and then adding him again using 'useradd chris' I then assigned 'chris' a passwd in samba using 'smbpasswd' Before I originally deleted chris, his windows computer worked fine as long as he logged into his Win98 machine as 'chris'. My reason for deleting him from my linux machine was so that he could log into linux through samba with Win98 username 'christopher' To try and remedy this I tried to edit the smbusers file and added the following line chris = chris christopher Christopher Now, no matter what I try. When I log into the Win98 machine as either 'chris' or 'christopher' and open network neighborhood, my linux machine tells me that the passwd is invalid. -any help would be great. THANX! Ryan
Dear samba bug solvers, I just upgraded to Linux RedHat 7.0 with current patches on my server. I have samba-common-2.0.7-21ssl samba-client-2.0.7-21ssl samba-2.0.7-21ssl on the system. Most of my users log onto an auxilliary disk with disk quotas. Only my regular account and a few others are in /home. This was the setup for RedHat 6.2 and the samba 2.0.6-9 which worked for all users. The /etc/smb.conf file from the old server has been placed in /etc/samba on the updated system. On the new system if I log into the server through a windows computer, I can see my directory and open my directory after supplying a passwd. My home directory is in /home. If I log into the server as a user who has their home directory on an auxilliary disk, I can see the user's home directory on the server. However after supplying the appropriate passwd, samba says that my passwd is incorrect. I had just added the user's passwd using smbpasswd on the server, so I am sure of the passwd. I have tried this repeatedly with users logging into home directories on /home and users on the auxilliary disk. The logins work for the home directories on /home, but not the others. This was an upgrade of a production system, so I need a solution as quickly as possible. What is the function of the /etc/samba/smbusers file? The names which can open their home directories on the server from the PC, are not listed there. Margaret Doll (x3-1982) margaret_doll@brown.edu (401) 745-7306 (beeper)
I found the problem. This system was upgraded as a clean install. One of the files I forgot to redo was the /etc/group file. The group for the users on the auxilliary disk did not have a group defined in /etc/group, so the system created a new group called "guest". You apparently can't log into files owned by the group "guest." As soon as I defined a new group, everyone can log in. Dear samba bug solvers, I just upgraded to Linux RedHat 7.0 with current patches on my server. I have samba-common-2.0.7-21ssl samba-client-2.0.7-21ssl samba-2.0.7-21ssl on the system. Most of my users log onto an auxilliary disk with disk quotas. Only my regular account and a few others are in /home. This was the setup for RedHat 6.2 and the samba 2.0.6-9 which worked for all users. The /etc/smb.conf file from the old server has been placed in /etc/samba on the updated system. On the new system if I log into the server through a windows computer, I can see my directory and open my directory after supplying a passwd. My home directory is in /home. If I log into the server as a user who has their home directory on an auxilliary disk, I can see the user's home directory on the server. However after supplying the appropriate passwd, samba says that my passwd is incorrect. I had just added the user's passwd using smbpasswd on the server, so I am sure of the passwd. I have tried this repeatedly with users logging into home directories on /home and users on the auxilliary disk. The logins work for the home directories on /home, but not the others. This was an upgrade of a production system, so I need a solution as quickly as possible. What is the function of the /etc/samba/smbusers file? The names which can open their home directories on the server from the PC, are not listed there. Margaret Doll (x3-1982) margaret_doll@brown.edu (401) 745-7306 (beeper)