On Thu, 2010-07-08 at 18:01 -0700, [email protected] wrote: > Erm, the [homes] isn't an outline heading. It is a share name. It is > unique, and has a unique path. You probably want to use an auto login > for homes such that a user connects to > > \\sever\share\%U > > where the share in smb.conf would be say > > [homes] > path = /samba > valid users = michael, amy > writeable = yes > > Then setting up the sub directories michael and amy under /samba and, > since this is a nice simple setup > > chmod -R 700 /samba/michael (and amy) > chown -R michael ./samba/michael > > You get the point. Check > > man smb.conf > > for options on setting up home directory shares. > > Cheers, > > TMS III carter ~ # cat /etc/samba/smb.conf
As per your suggestion, /etc/samba/smb.conf is now: [global] workgroup = MYGROUP security = user encrypt passwords = yes guest account = guest wins support = yes local master = yes os level = 99 domain master = yes preferred master = yes hosts allow = 192.168.1. 127. interfaces = eth0 log level = 1 [tmp] path=/tmp writeable=yes [homes] path=/samba valid users=michael, amy writable=yes Neither user can get in: carter ~ # su - michael mich...@carter ~ $ smbclient //carter/homes/michael Enter michael's password: Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6] tree connect failed: NT_STATUS_BAD_NETWORK_NAME mich...@carter ~ $ exit logout carter ~ # su - amy a...@carter ~ $ smbclient //carter/homes/amy Enter amy's password: Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6] tree connect failed: NT_STATUS_BAD_NETWORK_NAME a...@carter ~ $ exit logout and here's the log: carter ~ # cat /var/log/samba/log.smbd [2010/07/08 14:24:52, 0] smbd/server.c:1073(main) smbd version 3.4.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/07/08 14:24:52, 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:24:52, 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:24:52, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/07/08 14:24:52, 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:44, 0] smbd/server.c:1073(main) smbd version 3.4.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [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] 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: ::ffff: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 ::ffff:192.168.1.2 [2010/07/08 14:33:32, 1] smbd/service.c:1063(make_connection_snum) carter (::ffff: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 (::ffff: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: ::ffff: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 ::ffff: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 [2010/07/08 14:43:10, 0] smbd/server.c:1073(main) smbd version 3.4.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/07/08 14:43:10, 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:43:10, 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:43:10, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/07/08 14:43:10, 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:1073(main) smbd version 3.4.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [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] 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: ::ffff: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 ::ffff:192.168.1.2 [2010/07/08 20:36:09, 0] smbd/service.c:1202(make_connection) carter (::ffff: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: ::ffff: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 ::ffff:192.168.1.2 [2010/07/08 20:36:34, 0] smbd/service.c:1202(make_connection) carter (::ffff: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
