1834097 Members
2318 Online
110063 Solutions
New Discussion

Re: samba newbie

 
Ragni Singh
Super Advisor

samba newbie

Hello, I have just installed samba 3 on my unix 11.0 system. I also added a user to unix and also to samba.

On the windows side, I am trying to connect to the following.. system = win-trade-sql2 with a ip address of 172.24.10.40. When I try to connect, it gives me "access is denied"

Here is what teh smb.conf file look like.

Do I need to make any particular entry in my smb.conf file to reolsve this. Any help is truly appreciated.
5 REPLIES 5
Ragni Singh
Super Advisor

Re: samba newbie

Sorry I forgot the put the smb.conf file.

# Global parameters
[global]
workgroup = CORP
netbios name = PCX3
security = USER
encrypt passwords = Yes
min passwd length = 6
username map = /usr/local/samba/lib/username.map
kernel oplocks = No
invalid users = root daemon bin sys adm uucp lp nuucp hpdb www
create mask = 0775
directory mask = 0775
oplocks = No
guest account = smbnull
log file = /usr/local/samba/var/log.%m
log level = 3
debug timestamp = Yes
max log size = 4096

[homes]
comment = Home Directories
read only = No
browseable = No
Sundar_7
Honored Contributor

Re: samba newbie

How did you add the user to the samba ? did you use the smbpasswd command ?

Also make sure the UNIX user is having approriate permission to his home directory.
Learn What to do ,How to do and more importantly When to do ?
Ragni Singh
Super Advisor

Re: samba newbie

Yes, I added a user to /etc/passwd. Then I used smbpasswd to add the same user to samba. The permissions are all fine.

Do I need to add some entries to my smb.conf file? When I try to map the drive, I am under teh implression that it should prompt me for teh samba userid and password.
RAC_1
Honored Contributor

Re: samba newbie

What does the samba log file say??
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor

Re: samba newbie

Do you have smbnull in the /etc/passwd?

How did you install Samba?

Best to install HP's version:

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

You are using SECURITY=USER - any reason why?

Does the userid in Windows=userid in Unix?

If not, then you need to use a username.map file...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.