Re: [Samba] One account can access samba, another can't.
On Thu, 2010-07-08 at 21:07 -0500, Stan Hoeppner wrote: Michael Sullivan put forth on 7/8/2010 2:41 PM: [homes] path=/samba/michael valid users=michael writable=yes path=/samba/amy valid users=amy writeable=yes I'd suggest you set the UNIX HOME variable to match these non standard home paths. For instance, the default UNIX home dir is set as, in my case: [08:57:34][s...@greer]~$ set .. HOME=/home/stan .. In your case, set the HOME variable for each UNIX user account according to the correct but non standard path you are using: HOME=/samba/michael HOME=/samba/amy Read your distro documentation on how to set the user HOME variable. After you've done so, you should be able to use something like this in smb.conf: [homes] comment = Home Directories browseable = no read only = no create mask = 0775 directory mask = 0775 valid users = %S with success. There are probably other ways to skin this cat, but this is the setup I've been using and it works perfectly, albeit on Debian Lenny with Samba 3.2.5 (workgroup--not a domain controller). Once you've done this you can browse Windows Network Neighborhood and map the user home share to a drive letter. -- Stan I wish to keep the Unix home directories (/home/*) separate from the Samba homes. -Michael Sullivan- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] One account can access samba, another can't.SOLVED
On Thu, 2010-07-08 at 19:25 -0700, t...@tms3.com wrote: SNIP mich...@carter ~ $ smbclient //carter/homes/michael Yep. You need to use the home path stuff. Alternatively you could, just to make it very easy #Share for michael [MICHEAL] path = /samba/michael (etc.) #Share for amy [AMY] path = /samba/amy (etc.) Then the mount from cifs, or windoze is Thank you. I think this one is solved. For now, until I manage to screw it up again. Thank you again for your help... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] One account can access samba, another can't.
or directory [2010/07/08 14:32:45, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory [2010/07/08 14:32:45, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/07/08 14:32:45, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/07/08 14:33:32, 0] lib/util_sock.c:1564(matchname) matchname: host name/address mismatch: :::192.168.1.2 != carter.espersunited.com [2010/07/08 14:33:32, 0] lib/util_sock.c:1685(get_peer_name) Matchname failed on carter.espersunited.com :::192.168.1.2 [2010/07/08 14:33:32, 1] smbd/service.c:1063(make_connection_snum) carter (:::192.168.1.2) connect to service amy initially as user amy (uid=1001, gid=100) (pid 21335) [2010/07/08 14:34:13, 1] smbd/service.c:1240(close_cnum) carter (:::192.168.1.2) closed connection to service amy [2010/07/08 14:34:26, 0] lib/util_sock.c:1564(matchname) matchname: host name/address mismatch: :::192.168.1.2 != carter.espersunited.com [2010/07/08 14:34:26, 0] lib/util_sock.c:1685(get_peer_name) Matchname failed on carter.espersunited.com :::192.168.1.2 [2010/07/08 14:34:26, 1] smbd/service.c:676(make_connection_snum) create_connection_server_info failed: NT_STATUS_ACCESS_DENIED Please help me out. This makes no sense to me why it works for amy, but not for michael. -Michael Sullivan- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] One account can access samba, another can't.
to CUPS server /var/run/cups/cups.sock:631 - No such file or directory [2010/07/08 20:35:51, 0] printing/print_cups.c:103(cups_connect) Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory [2010/07/08 20:35:51, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/07/08 20:35:51, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/07/08 20:36:09, 0] lib/util_sock.c:1564(matchname) matchname: host name/address mismatch: :::192.168.1.2 != carter.espersunited.com [2010/07/08 20:36:09, 0] lib/util_sock.c:1685(get_peer_name) Matchname failed on carter.espersunited.com :::192.168.1.2 [2010/07/08 20:36:09, 0] smbd/service.c:1202(make_connection) carter (:::192.168.1.2) couldn't find service homes/michael [2010/07/08 20:36:34, 0] lib/util_sock.c:1564(matchname) matchname: host name/address mismatch: :::192.168.1.2 != carter.espersunited.com [2010/07/08 20:36:34, 0] lib/util_sock.c:1685(get_peer_name) Matchname failed on carter.espersunited.com :::192.168.1.2 [2010/07/08 20:36:34, 0] smbd/service.c:1202(make_connection) carter (:::192.168.1.2) couldn't find service homes/amy I do however appreciate your response. Thank you for trying to help me. -Michael Sullivan- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba