LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need your help on SAMBA configuration (https://www.linuxquestions.org/questions/linux-software-2/need-your-help-on-samba-configuration-11541/)

vwhk 01-10-2002 10:00 PM

Need your help on SAMBA configuration
 
Hi All,

I have installed samba on my Linux redhat 6.2 (installed by during setup linux box). I configured smb.conf ...

workgroup = linux
server string = Samba Server
hosts allow = 192.168.1.

printcap name = /etc/printcap
load printers = yes

guest account = pcguest
log file = /var/log/samba/log.%m
max log size = 50

security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no

[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes

[Service]
comment = share services
path = /home/information
#valid users = test
public = yes
writable = yes

**I already add user list samba userlist by using "smbpasswd -a <username>"**

While access to the shared folder "Service" by using WIN98, a windows displays "\\linuxserver\IPC$" and I need keying in password. As the result, I cannot access this folder.

So, I make changing of security to "security = share" that I can access this folder "Service", no needing login username and password.

For purpose of anyone access to folder "Service" who should login his username and password to control accessing on users.


CHEERS :)

Thymox 01-11-2002 04:58 AM

I don't think that this is a Linux thing. Yesterday my housemate was accessing my machine (he was in XP and I was in ME) and we had the same thing. He was accessing '\\GRANT\IPC$' which doesn't exist, anywhere, not even as part of the windows registery. Sorry I can't be of more help, but that's the only time I've ever come across it. Sorry.

DavidPhillips 01-13-2002 05:53 PM

IPC$ is the share listings

On windows 2000 / XP you need to enable the guest account if the user is invalid so win98 / ME can access it


for your win98 you need to login to micro$oft networking with the valid linux / samba username then you can give the password and it will work with user mode sharing
you could also set a password for pcguest

windows should ask for networking name and password on boot, if not then goto start > logoff then login with valid user and password.

vwhk 01-13-2002 11:09 PM

Need your help again on SAMBA ......
 
Hi David,

Thank you for your help.

I have added a new user account on Linux box which same as NT's login user. After logining to micro$oft networking with the valid Linux / samba username then I give the password and it is work with user mode sharing.

How can I configure smb that asking me give username and password when I use Win98 access shard folder "Service" if the NT's login name and Linux (samba username) is different.

CHEERS :D

bluecadet 01-14-2002 06:12 AM

i think the file is smbusers, lists alias pairs


All times are GMT -5. The time now is 06:25 PM.