akshah123
asked on
Samba setup with winbind: Error looking up domain users
Hello,
I am trying to setup the samba for one linux box. I am not a regular linux user so please bare with me. Currently, I have a windows domain setup where all the windows box use domain to access all the computers and access remote folders. (Windows xp for pcs and 2003 for the domain server)
Now, I have added a linux machine to this network. Now, i need to share files on the linux machine to only certain users. Therefore, I was trying to configure samba to work as a member of already existing domain so that i can give permission accordingly. However, I am stuck where the linux machine shows up on the network places but I cannot access any of the folders or if I can access it cannot modify them. Remember, I need to restrict view and write access.
While debugging i found that when tried to do following
wbinfo -u
i recieved "Error looking up domain users" error.
I don't know what information to provide to further explain my situation as I don't know what would be helpful.
Any help is greatly appreciated.
Thank you for reading and/or replying to my post.
- akshah123
I am trying to setup the samba for one linux box. I am not a regular linux user so please bare with me. Currently, I have a windows domain setup where all the windows box use domain to access all the computers and access remote folders. (Windows xp for pcs and 2003 for the domain server)
Now, I have added a linux machine to this network. Now, i need to share files on the linux machine to only certain users. Therefore, I was trying to configure samba to work as a member of already existing domain so that i can give permission accordingly. However, I am stuck where the linux machine shows up on the network places but I cannot access any of the folders or if I can access it cannot modify them. Remember, I need to restrict view and write access.
While debugging i found that when tried to do following
wbinfo -u
i recieved "Error looking up domain users" error.
I don't know what information to provide to further explain my situation as I don't know what would be helpful.
Any help is greatly appreciated.
Thank you for reading and/or replying to my post.
- akshah123
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the comments ...
>>aravinthrk,
I have tried using the redhat's config options but to no avail. I even got the webmin running to see if that helps but I still couldn't get it to work. Since, it is hard to explain graphically the configuration of my server, i simply posted the resulting config file.
>> mpomery
I did run the winbind command to join with the domain. That did result in a success. Howver, i ran following command ...
NET JOIN -uAdministrator
>>aravinthrk,
I have tried using the redhat's config options but to no avail. I even got the webmin running to see if that helps but I still couldn't get it to work. Since, it is hard to explain graphically the configuration of my server, i simply posted the resulting config file.
>> mpomery
I did run the winbind command to join with the domain. That did result in a success. Howver, i ran following command ...
NET JOIN -uAdministrator
ASKER
Hey guys,
I think i found out the problem. THe issue i believe was with the file permissions. ONce i gave the linux user proper file permission to the webserver directories, it started to work.
Thanks again...
I think i found out the problem. THe issue i believe was with the file permissions. ONce i gave the linux user proper file permission to the webserver directories, it started to work.
Thanks again...
ASKER
[global]
netbios name = LINUX_BOX
password server = *
wins server = example.local
workgroup = example
os level = 20
username map = /etc/samba/user.map
encrypt passwords = yes
winbind trusted domains only = yes
realm = theorchard.local
security = domain
winbind separator = \
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind trusted domains only = yes
winbind use default domain = yes
obey pam restrictions = yes
[webserver]
revalidate = yes
browseable = no
comment = webserver
writeable = yes
valid users = test, root
path = /var/www/html/