I am trying to configure Samba 2.2x with Win2K. I need that samba shares a directory in the Linux server and the users Windows access that without authentication. I created the UNIX users (etc/passwd). dic00037$:*:504:65533:DIC00037:/dev/null:/bin/false dic00024$:*:505:65533:DIC00024:/dev/null:/bin/false dic00021$:*:506:65533:DIC00021:/dev/null:/bin/false I creates the Samba users. smbpasswd -a -m dic00037 smbpasswd -a -m dic00024 smbpasswd -a -m dic00021 I'm trying to access by Windows with \\150.10.10.70, show me [homes] but I cannot access the folder. Any suggestion? Regards Jaime Attached additional information: peumo:/etc/samba # smbclient -L \\localhost -U% added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 added interface ip=150.10.10.70 bcast=150.10.255.255 nmask=255.255.0.0 Domain=[SANTIAGO] OS=[Unix] Server=[Samba 2.2.5-UL] Sharename Type Comment --------- ---- ------- homes Disk ComparteLinux IPC$ IPC IPC Service (Servidor Samba Linux) ADMIN$ Disk IPC Service (Servidor Samba Linux) Server Comment --------- ------- CAPRE-SANTIAGO PEUMO Servidor Samba Linux Workgroup Master --------- ------- SANTIAGO CAPRE-SANTIAGO /etc/samba/smb.conf [global] workgroup = SANTIAGO netbios name = peumo server string = Servidor Samba Linux unix extensions = yes security = share encrypt passwords = yes load printers = no socket options = IPTOS_LOWDELAY TCP_NODELAY hosts allow = 150.10.12. localhost interfaces = 127.0.0.1/8 150.10.10.70/16 bind interfaces only = yes password server = CAPRE-SANTIAGO username map = /etc/samba/smbusers smb passwd file = /etc/samba/smbpasswd log level = 1 large readwrite = yes max log size = 1000 auto services = homes log file = /var/log/samba/%m.log veto files = /*.eml/*.nws/riched20.dll/*.{*}/ local master = yes [homes] path = /home/compartelinux comment = ComparteLinux volume = Disco-Linux browseable = yes writeable = yes guest ok = yes
Jaime Amigo Pinilla wrote:>I am trying to configure Samba 2.2x with Win2K. > >I need that samba shares a directory in the Linux server and the users Windows access that without authentication. > >I created the UNIX users (etc/passwd). > >dic00037$:*:504:65533:DIC00037:/dev/null:/bin/false >dic00024$:*:505:65533:DIC00024:/dev/null:/bin/false >dic00021$:*:506:65533:DIC00021:/dev/null:/bin/false > > >I creates the Samba users. >smbpasswd -a -m dic00037 >smbpasswd -a -m dic00024 >smbpasswd -a -m dic00021 > >The above creates machine accounts which is unnecessary. This will not help. You need to read the docs about guest users. Another easy way is to create 1 samba user account and have everyone mount the drive using that account. Not very secure but that doesn't seem to be a concern for you.>I'm trying to access by Windows with \\150.10.10.70, show me [homes] but I cannot access the folder. > >Any suggestion? > > >Regards >Jaime > >Attached additional information: > >peumo:/etc/samba # smbclient -L \\localhost -U% >added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 >added interface ip=150.10.10.70 bcast=150.10.255.255 nmask=255.255.0.0 >Domain=[SANTIAGO] OS=[Unix] Server=[Samba 2.2.5-UL] > > Sharename Type Comment > --------- ---- ------- > homes Disk ComparteLinux > IPC$ IPC IPC Service (Servidor Samba Linux) > ADMIN$ Disk IPC Service (Servidor Samba Linux) > > Server Comment > --------- ------- > CAPRE-SANTIAGO > PEUMO Servidor Samba Linux > > Workgroup Master > --------- ------- > SANTIAGO CAPRE-SANTIAGO > >/etc/samba/smb.conf >[global] > workgroup = SANTIAGO > netbios name = peumo > server string = Servidor Samba Linux > unix extensions = yes > security = share > encrypt passwords = yes > load printers = no > socket options = IPTOS_LOWDELAY TCP_NODELAY > hosts allow = 150.10.12. localhost > interfaces = 127.0.0.1/8 150.10.10.70/16 > bind interfaces only = yes > password server = CAPRE-SANTIAGO > username map = /etc/samba/smbusers > smb passwd file = /etc/samba/smbpasswd > log level = 1 > large readwrite = yes > max log size = 1000 > auto services = homes > log file = /var/log/samba/%m.log > veto files = /*.eml/*.nws/riched20.dll/*.{*}/ > local master = yes > >[homes] > path = /home/compartelinux > comment = ComparteLinux > volume = Disco-Linux > browseable = yes > writeable = yes > guest ok = yes > >
Not quite sure what you want, but it sounds like you want to access your home share, without providing credentials? --mark -----Original Message----- From: samba-bounces+mes4294=lausd.k12.ca.us@lists.samba.org [mailto:samba-bounces+mes4294=lausd.k12.ca.us@lists.samba.org] On Behalf Of Jaime Amigo Pinilla Sent: Wednesday, June 15, 2005 2:43 PM To: samba@lists.samba.org Subject: [Samba] smbpasswd -a -m I am trying to configure Samba 2.2x with Win2K. I need that samba shares a directory in the Linux server and the users Windows access that without authentication. I created the UNIX users (etc/passwd). dic00037$:*:504:65533:DIC00037:/dev/null:/bin/false dic00024$:*:505:65533:DIC00024:/dev/null:/bin/false dic00021$:*:506:65533:DIC00021:/dev/null:/bin/false I creates the Samba users. smbpasswd -a -m dic00037 smbpasswd -a -m dic00024 smbpasswd -a -m dic00021 I'm trying to access by Windows with \\150.10.10.70, show me [homes] but I cannot access the folder. Any suggestion? Regards Jaime Attached additional information: peumo:/etc/samba # smbclient -L \\localhost -U% added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 added interface ip=150.10.10.70 bcast=150.10.255.255 nmask=255.255.0.0 Domain=[SANTIAGO] OS=[Unix] Server=[Samba 2.2.5-UL] Sharename Type Comment --------- ---- ------- homes Disk ComparteLinux IPC$ IPC IPC Service (Servidor Samba Linux) ADMIN$ Disk IPC Service (Servidor Samba Linux) Server Comment --------- ------- CAPRE-SANTIAGO PEUMO Servidor Samba Linux Workgroup Master --------- ------- SANTIAGO CAPRE-SANTIAGO /etc/samba/smb.conf [global] workgroup = SANTIAGO netbios name = peumo server string = Servidor Samba Linux unix extensions = yes security = share encrypt passwords = yes load printers = no socket options = IPTOS_LOWDELAY TCP_NODELAY hosts allow = 150.10.12. localhost interfaces = 127.0.0.1/8 150.10.10.70/16 bind interfaces only = yes password server = CAPRE-SANTIAGO username map = /etc/samba/smbusers smb passwd file = /etc/samba/smbpasswd log level = 1 large readwrite = yes max log size = 1000 auto services = homes log file = /var/log/samba/%m.log veto files = /*.eml/*.nws/riched20.dll/*.{*}/ local master = yes [homes] path = /home/compartelinux comment = ComparteLinux volume = Disco-Linux browseable = yes writeable = yes guest ok = yes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba